summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_delete.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-29 20:47:05 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-29 20:47:05 +0000
commitbce6bfbbec294637e0155592caaded654445629a (patch)
tree985bdae2196acf3128685ad7f46fecd574f00a3f /lib/libc/posix1e/acl_delete.c
parent22c41db3e52c6f1d4dc6adf5207326b1259e119b (diff)
downloadFreeBSD-src-bce6bfbbec294637e0155592caaded654445629a.zip
FreeBSD-src-bce6bfbbec294637e0155592caaded654445629a.tar.gz
Update libc POSIX.1e code and documentation to reflect:
- Updated copyrights, modified dates - Remove "BUGS" entry indicating that ACLs are unimplemented - Implement acl_*_link() library wrapper variants for get, set, delete, aclvalid. - Document acl_*_link() calls. Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc/posix1e/acl_delete.c')
-rw-r--r--lib/libc/posix1e/acl_delete.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_delete.c b/lib/libc/posix1e/acl_delete.c
index fc929c4..a93cd7b 100644
--- a/lib/libc/posix1e/acl_delete.c
+++ b/lib/libc/posix1e/acl_delete.c
@@ -1,7 +1,9 @@
/*-
- * Copyright (c) 1999, 2000, 2001 Robert N. M. Watson
+ * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson
* All rights reserved.
*
+ * This software was developed by Robert Watson for the TrustedBSD Project.
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -43,6 +45,12 @@ acl_delete_def_file(const char *path_p)
return (__acl_delete_file(path_p, ACL_TYPE_DEFAULT));
}
+int
+acl_delete_def_link_np(const char *path_p)
+{
+
+ return (__acl_delete_link(path_p, ACL_TYPE_DEFAULT));
+}
int
acl_delete_file_np(const char *path_p, acl_type_t type)
@@ -51,6 +59,13 @@ acl_delete_file_np(const char *path_p, acl_type_t type)
return (__acl_delete_file(path_p, type));
}
+int
+acl_delete_link_np(const char *path_p, acl_type_t type)
+{
+
+ return (__acl_delete_link(path_p, type));
+}
+
int
acl_delete_fd_np(int filedes, acl_type_t type)
OpenPOWER on IntegriCloud