diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2009-05-22 15:56:43 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2009-05-22 15:56:43 +0000 |
commit | ae1add4e55214610068712ef35b5787f01fcae53 (patch) | |
tree | c4c23f9c8441dec7c3000e786fd64356cf1e6e07 /lib/libc/posix1e/acl_delete.c | |
parent | 682eec57c4d5bf357744d47e2f23bb0ee8829b39 (diff) | |
download | src-ae1add4e55214610068712ef35b5787f01fcae53.tar.gz src-ae1add4e55214610068712ef35b5787f01fcae53.zip |
Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide
compatibility interfaces in both kernel and libc.
Reviewed by: rwatson
Notes
Notes:
svn path=/head/; revision=192586
Diffstat (limited to 'lib/libc/posix1e/acl_delete.c')
-rw-r--r-- | lib/libc/posix1e/acl_delete.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_delete.c b/lib/libc/posix1e/acl_delete.c index a93cd7b2ec9d..1bbadd583396 100644 --- a/lib/libc/posix1e/acl_delete.c +++ b/lib/libc/posix1e/acl_delete.c @@ -38,6 +38,8 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" #include <sys/errno.h> +#include "acl_support.h" + int acl_delete_def_file(const char *path_p) { @@ -56,6 +58,7 @@ int acl_delete_file_np(const char *path_p, acl_type_t type) { + type = _acl_type_unold(type); return (__acl_delete_file(path_p, type)); } @@ -63,13 +66,14 @@ int acl_delete_link_np(const char *path_p, acl_type_t type) { + type = _acl_type_unold(type); return (__acl_delete_link(path_p, type)); } - int acl_delete_fd_np(int filedes, acl_type_t type) { + type = _acl_type_unold(type); return (___acl_delete_fd(filedes, type)); } |