blob: 0437e377b555ca0c4f26d4d3c244f189e289929b [file] [log] [blame]
Christoph Hellwig1c7c4742009-11-03 16:44:44 +01001#ifndef LINUX_GENERIC_ACL_H
2#define LINUX_GENERIC_ACL_H
Andreas Gruenbacherf0c8bd12006-09-29 02:01:34 -07003
Christoph Hellwig1c7c4742009-11-03 16:44:44 +01004#include <linux/xattr.h>
Andreas Gruenbacherf0c8bd12006-09-29 02:01:34 -07005
Christoph Hellwig1c7c4742009-11-03 16:44:44 +01006struct inode;
Andreas Gruenbacherf0c8bd12006-09-29 02:01:34 -07007
Stephen Hemmingerbb435452010-05-13 17:53:14 -07008extern const struct xattr_handler generic_acl_access_handler;
9extern const struct xattr_handler generic_acl_default_handler;
Andreas Gruenbacherf0c8bd12006-09-29 02:01:34 -070010
Christoph Hellwig1c7c4742009-11-03 16:44:44 +010011int generic_acl_init(struct inode *, struct inode *);
12int generic_acl_chmod(struct inode *);
Nick Pigginb74c79e2011-01-07 17:49:58 +110013int generic_check_acl(struct inode *inode, int mask, unsigned int flags);
Andreas Gruenbacherf0c8bd12006-09-29 02:01:34 -070014
Christoph Hellwig1c7c4742009-11-03 16:44:44 +010015#endif /* LINUX_GENERIC_ACL_H */