summaryrefslogtreecommitdiff
path: root/include/linux/generic_acl.h
blob: 0437e377b555ca0c4f26d4d3c244f189e289929b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef LINUX_GENERIC_ACL_H
#define LINUX_GENERIC_ACL_H

#include <linux/xattr.h>

struct inode;

extern const struct xattr_handler generic_acl_access_handler;
extern const struct xattr_handler generic_acl_default_handler;

int generic_acl_init(struct inode *, struct inode *);
int generic_acl_chmod(struct inode *);
int generic_check_acl(struct inode *inode, int mask, unsigned int flags);

#endif /* LINUX_GENERIC_ACL_H */