blob: 574bea4013b618d0816d2280ced3670fa4e75bd4 [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 *);
13int generic_check_acl(struct inode *inode, int mask);
Andreas Gruenbacherf0c8bd12006-09-29 02:01:34 -070014
Christoph Hellwig1c7c4742009-11-03 16:44:44 +010015#endif /* LINUX_GENERIC_ACL_H */