diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-12-29 20:47:05 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-12-29 20:47:05 +0000 |
commit | bce6bfbbec294637e0155592caaded654445629a (patch) | |
tree | 985bdae2196acf3128685ad7f46fecd574f00a3f /lib/libc/posix1e/acl_delete.3 | |
parent | 22c41db3e52c6f1d4dc6adf5207326b1259e119b (diff) | |
download | FreeBSD-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.3')
-rw-r--r-- | lib/libc/posix1e/acl_delete.3 | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/lib/libc/posix1e/acl_delete.3 b/lib/libc/posix1e/acl_delete.3 index b3fb658..41d4a530 100644 --- a/lib/libc/posix1e/acl_delete.3 +++ b/lib/libc/posix1e/acl_delete.3 @@ -1,7 +1,9 @@ .\"- -.\" Copyright (c) 2000 Robert N. M. Watson +.\" Copyright (c) 2000, 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: @@ -25,13 +27,15 @@ .\" .\" $FreeBSD$ .\" -.Dd January 28, 2000 +.Dd December 29, 2002 .Dt ACL_DELETE 3 .Os .Sh NAME .Nm acl_delete_def_file , +.Nm acl_delete_def_link_np , .Nm acl_delete_fd_np , .Nm acl_delete_file_np +.Nm acl_delete_link_np .Nd delete an ACL from a file .Sh LIBRARY .Lb libc @@ -41,23 +45,35 @@ .Ft int .Fn acl_delete_def_file "const char *path_p" .Ft int -.Fn acl_delete_file_np "const char *path_p" "acl_type_t type" +.Fn acl_delete_def_link_np "const char *path_p" .Ft int .Fn acl_delete_fd_np "int filedes" "acl_type_t type" +.Ft int +.Fn acl_delete_file_np "const char *path_p" "acl_type_t type" +.Ft int +.Fn acl_delete_link_np "const char *path_p" "acl_type_t type" .Sh DESCRIPTION The .Fn acl_delete_def_file , +.Fn acl_delete_def_link_np , +.Fn acl_delete_fd_np , .Fn acl_delete_file_np , and -.Fn acl_delete_fd_np +.Fn acl_delete_link_np each allow the deletion of an ACL from a file. The .Fn acl_delete_def_file function is a POSIX.1e call that deletes the default ACL from a file (normally a -directory) by name; the other two calls are non-portable extensions that -allow deleting of arbitrary ACL types from a file/directory by either path -name, or by file descriptor. +directory) by name; the remainder of the calls are non-portable extensions +that permit the deletion of arbitrary ACL types from a file/directory +either by path name or file descriptor. +The +.Fn _file +variations follow a symlink if it occurs in the last segment of the +path name; the +.Fn _linke +variations operate on the symlink itself. .Sh IMPLEMENTATION NOTES .Fx Ns 's support for POSIX.1e interfaces and features is still under @@ -120,5 +136,3 @@ POSIX.1e support was introduced in and development continues. .Sh AUTHORS .An Robert N M Watson -.Sh BUGS -These features are not yet fully implemented. |