summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_delete.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-01-26 04:19:38 +0000
committerrwatson <rwatson@FreeBSD.org>2000-01-26 04:19:38 +0000
commitbca585a108d2bd5fc957868c934f851e28cc1fdc (patch)
tree9bf727d760779145abf4d333b026744f16082345 /lib/libc/posix1e/acl_delete.c
parent994e477fcd5e774b309e83aa9a4b9dc634ce39e2 (diff)
downloadFreeBSD-src-bca585a108d2bd5fc957868c934f851e28cc1fdc.zip
FreeBSD-src-bca585a108d2bd5fc957868c934f851e28cc1fdc.tar.gz
Minor fixes to library interface to improve POSIX.1e compliance. This
adds _np to a couple of function prototypes that provided more broad/useful interfaces than POSIX.1e interfaces included. Also, move from using a heuristic to identify POSIX.1e-semantic ACLs to using different ACL types for non-POSIX.1e ACLs. This should clean up the existing fuzzy logic that determined when acl_sort() should be applied before kernel submission.
Diffstat (limited to 'lib/libc/posix1e/acl_delete.c')
-rw-r--r--lib/libc/posix1e/acl_delete.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/libc/posix1e/acl_delete.c b/lib/libc/posix1e/acl_delete.c
index c3aa268..8998400 100644
--- a/lib/libc/posix1e/acl_delete.c
+++ b/lib/libc/posix1e/acl_delete.c
@@ -34,14 +34,6 @@
#include <sys/errno.h>
int
-acl_delete_def_fd(int filedes)
-{
-
- return (__acl_delete_fd(filedes, ACL_TYPE_DEFAULT));
-}
-
-
-int
acl_delete_def_file(const char *path_p)
{
@@ -50,7 +42,7 @@ acl_delete_def_file(const char *path_p)
int
-acl_delete_file(const char *path_p, acl_type_t type)
+acl_delete_file_np(const char *path_p, acl_type_t type)
{
return (__acl_delete_file(path_p, type));
@@ -58,7 +50,7 @@ acl_delete_file(const char *path_p, acl_type_t type)
int
-acl_delete_fd(int filedes, acl_type_t type)
+acl_delete_fd_np(int filedes, acl_type_t type)
{
return (__acl_delete_fd(filedes, type));
OpenPOWER on IntegriCloud