2 File: linux/posix_acl_xattr.h
4 Extended attribute system call representation of Access Control Lists.
6 Copyright (C) 2000 by Andreas Gruenbacher <a.gruenbacher@computer.org>
7 Copyright (C) 2002 SGI - Silicon Graphics, Inc <linux-xfs@oss.sgi.com>
9 #ifndef _POSIX_ACL_XATTR_H
10 #define _POSIX_ACL_XATTR_H
12 #include <uapi/linux/xattr.h>
14 /* Supported ACL a_version fields */
15 #define POSIX_ACL_XATTR_VERSION 0x0002
17 /* An undefined entry e_id value */
18 #define ACL_UNDEFINED_ID (-1)
24 } posix_acl_xattr_entry;
28 posix_acl_xattr_entry a_entries[0];
29 } posix_acl_xattr_header;
31 extern const struct xattr_handler nop_posix_acl_access;
32 extern const struct xattr_handler nop_posix_acl_default;
34 #endif /* _POSIX_ACL_XATTR_H */