-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 177415 b: refs/heads/master c: 1c7c474 h: refs/heads/master i: 177413: b00fe39 177411: 2903ec8 177407: b509307 v: v3
- Loading branch information
Christoph Hellwig
authored and
Al Viro
committed
Dec 16, 2009
1 parent
9e65060
commit f1ed561
Showing
7 changed files
with
110 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 431547b3c4533b8c7fd150ab36980b9a3147797b | ||
refs/heads/master: 1c7c474c31aea6d5cb2fb35f31d9e9e91ae466b1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,15 @@ | ||
/* | ||
* include/linux/generic_acl.h | ||
* | ||
* (C) 2005 Andreas Gruenbacher <agruen@suse.de> | ||
* | ||
* This file is released under the GPL. | ||
*/ | ||
#ifndef LINUX_GENERIC_ACL_H | ||
#define LINUX_GENERIC_ACL_H | ||
|
||
#ifndef GENERIC_ACL_H | ||
#define GENERIC_ACL_H | ||
#include <linux/xattr.h> | ||
|
||
#include <linux/posix_acl.h> | ||
#include <linux/posix_acl_xattr.h> | ||
struct inode; | ||
|
||
/** | ||
* struct generic_acl_operations - filesystem operations | ||
* | ||
* Filesystems must make these operations available to the generic | ||
* operations. | ||
*/ | ||
struct generic_acl_operations { | ||
struct posix_acl *(*getacl)(struct inode *, int); | ||
void (*setacl)(struct inode *, int, struct posix_acl *); | ||
}; | ||
extern struct xattr_handler generic_acl_access_handler; | ||
extern struct xattr_handler generic_acl_default_handler; | ||
|
||
size_t generic_acl_list(struct inode *, struct generic_acl_operations *, int, | ||
char *, size_t); | ||
int generic_acl_get(struct inode *, struct generic_acl_operations *, int, | ||
void *, size_t); | ||
int generic_acl_set(struct inode *, struct generic_acl_operations *, int, | ||
const void *, size_t); | ||
int generic_acl_init(struct inode *, struct inode *, | ||
struct generic_acl_operations *); | ||
int generic_acl_chmod(struct inode *, struct generic_acl_operations *); | ||
int generic_acl_init(struct inode *, struct inode *); | ||
int generic_acl_chmod(struct inode *); | ||
int generic_check_acl(struct inode *inode, int mask); | ||
|
||
#endif | ||
#endif /* LINUX_GENERIC_ACL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.