summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_delete.c
diff options
context:
space:
mode:
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