acl_get.3 (84306) | acl_get.3 (108037) |
---|---|
1.\"- 2.\" Copyright (c) 2000 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 2000 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/lib/libc/posix1e/acl_get.3 84306 2001-10-01 16:09:29Z ru $ | 26.\" $FreeBSD: head/lib/libc/posix1e/acl_get.3 108037 2002-12-18 12:45:11Z ru $ |
27.\" 28.Dd January 28, 2000 29.Dt ACL_GET 3 30.Os 31.Sh NAME 32.Nm acl_get_fd , 33.Nm acl_get_fd_np , 34.Nm acl_get_file --- 11 unchanged lines hidden (view full) --- 46.Fn acl_get_fd_np "int fd" "acl_type_t type" 47.Sh DESCRIPTION 48The 49.Fn acl_get_file , 50.Fn acl_get_fd , 51and 52.Fn acl_get_fd_np 53each allow the retrieval of an ACL from a file. | 27.\" 28.Dd January 28, 2000 29.Dt ACL_GET 3 30.Os 31.Sh NAME 32.Nm acl_get_fd , 33.Nm acl_get_fd_np , 34.Nm acl_get_file --- 11 unchanged lines hidden (view full) --- 46.Fn acl_get_fd_np "int fd" "acl_type_t type" 47.Sh DESCRIPTION 48The 49.Fn acl_get_file , 50.Fn acl_get_fd , 51and 52.Fn acl_get_fd_np 53each allow the retrieval of an ACL from a file. |
54The |
|
54.Fn acl_get_file | 55.Fn acl_get_file |
56function |
|
55is a POSIX.1e call that allows the retrieval of a 56specified type of ACL from a file by name; 57.Fn acl_get_fd 58is a POSIX.1e call that allows the retrieval of an ACL of type 59ACL_TYPE_ACCESS 60from a file descriptor. | 57is a POSIX.1e call that allows the retrieval of a 58specified type of ACL from a file by name; 59.Fn acl_get_fd 60is a POSIX.1e call that allows the retrieval of an ACL of type 61ACL_TYPE_ACCESS 62from a file descriptor. |
63The |
|
61.Fn acl_get_fd_np | 64.Fn acl_get_fd_np |
65function |
|
62is a non-portable form of 63.Fn acl_get_fd 64that allows the retrieval of any type of ACL from a file descriptor. 65.Pp 66This function may cause memory to be allocated. The caller should free 67any releasable memory, when the new ACL is no longer required, by calling 68.Xr acl_free 3 69with the --- 70 unchanged lines hidden --- | 66is a non-portable form of 67.Fn acl_get_fd 68that allows the retrieval of any type of ACL from a file descriptor. 69.Pp 70This function may cause memory to be allocated. The caller should free 71any releasable memory, when the new ACL is no longer required, by calling 72.Xr acl_free 3 73with the --- 70 unchanged lines hidden --- |