diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-04-24 22:45:41 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-04-24 22:45:41 +0000 |
commit | 0f6263079e626b2fababe9cc131b589d1ecb3337 (patch) | |
tree | efb3dda9df6725fd1e4073173d30bd26c7a03b89 /lib/libc/posix1e/acl_from_text.c | |
parent | 15fca934f63619777be51e7b38a7f55dc69294d1 (diff) | |
download | src-0f6263079e626b2fababe9cc131b589d1ecb3337.tar.gz src-0f6263079e626b2fababe9cc131b589d1ecb3337.zip |
o Separate acl_t into internal and external representations as
required by POSIX.1e. This maintains the current 'struct acl'
in the kernel while providing the generic external acl_t
interface required to complete the ACL editing library.
o Add the acl_get_entry() function.
o Convert the existing ACL utilities, getfacl and setfacl, to
fully make use of the ACL editing library.
Obtained from: TrustedBSD Project
Notes
Notes:
svn path=/head/; revision=75928
Diffstat (limited to 'lib/libc/posix1e/acl_from_text.c')
-rw-r--r-- | lib/libc/posix1e/acl_from_text.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/posix1e/acl_from_text.c b/lib/libc/posix1e/acl_from_text.c index 8b4733860609..d3910898b917 100644 --- a/lib/libc/posix1e/acl_from_text.c +++ b/lib/libc/posix1e/acl_from_text.c @@ -109,13 +109,13 @@ acl_string_to_tag(char *tag, char *qualifier) acl_t acl_from_text(const char *buf_p) { - acl_tag_t t; - acl_perm_t p; - acl_t acl; - uid_t id; - char *mybuf_p, *line, *cur, *notcomment, *comment, *entry; - char *tag, *qualifier, *permission; - int error; + acl_tag_t t; + acl_perm_t p; + acl_t acl; + char *mybuf_p, *line, *cur, *notcomment, *comment, *entry; + char *tag, *qualifier, *permission; + int error; + uid_t id; /* Local copy we can mess up. */ mybuf_p = strdup(buf_p); |