acl_get.3 (a889d1fb766450bff9b27c3bccfe18fc39cd753d) acl_get.3 (c32381ada4857b3c94e52f27fce687ebfdc75235)
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

--- 15 unchanged lines hidden (view full) ---

24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD$
27.\"
28.Dd January 28, 2000
29.Dt ACL_GET 3
30.Os FreeBSD 4.0
31.Sh NAME
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

--- 15 unchanged lines hidden (view full) ---

24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD$
27.\"
28.Dd January 28, 2000
29.Dt ACL_GET 3
30.Os FreeBSD 4.0
31.Sh NAME
32.Fd int
33.Nm acl_get_file ,
34.Nm acl_get_fd ,
35.Nm acl_get_fd_np
36.Nd Get an ACL for a file
37.Sh SYNOPSIS
38.Fd #include <sys/types.h>
39.Fd #include <sys/acl.h>
40.Ft int

--- 17 unchanged lines hidden (view full) ---

58ACL_TYPE_ACCESS
59from a file descriptor.
60.Fn acl_get_fd_np
61is a non-portable form of
62.Fn acl_get_fd
63that allows the retrieval of any type of ACL from a file descriptor.
64
65This function may cause memory to be allocated. The caller should free
32.Nm acl_get_file ,
33.Nm acl_get_fd ,
34.Nm acl_get_fd_np
35.Nd Get an ACL for a file
36.Sh SYNOPSIS
37.Fd #include <sys/types.h>
38.Fd #include <sys/acl.h>
39.Ft int

--- 17 unchanged lines hidden (view full) ---

57ACL_TYPE_ACCESS
58from a file descriptor.
59.Fn acl_get_fd_np
60is a non-portable form of
61.Fn acl_get_fd
62that allows the retrieval of any type of ACL from a file descriptor.
63
64This function may cause memory to be allocated. The caller should free
66any releaseable memory, when the new ACL is no longer required, by calling
65any releasable memory, when the new ACL is no longer required, by calling
67.Xr acl_free 3
68with the
69.Va (void *)acl_t
70as an argument.
71
72The ACL in the working storage is an independent copy of the ACL associated
73with the object referred to by
74.Va fd .

--- 43 unchanged lines hidden (view full) ---

118.Xr acl 3 ,
119.Xr acl_free 3 ,
120.Xr acl_get 3 ,
121.Xr acl_set 3 ,
122.Xr posix1e 3
123.Sh STANDARDS
124POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion
125of the draft continues on the cross-platform POSIX.1e implementation
66.Xr acl_free 3
67with the
68.Va (void *)acl_t
69as an argument.
70
71The ACL in the working storage is an independent copy of the ACL associated
72with the object referred to by
73.Va fd .

--- 43 unchanged lines hidden (view full) ---

117.Xr acl 3 ,
118.Xr acl_free 3 ,
119.Xr acl_get 3 ,
120.Xr acl_set 3 ,
121.Xr posix1e 3
122.Sh STANDARDS
123POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion
124of the draft continues on the cross-platform POSIX.1e implementation
126mailing list. To join this list, see the FreeBSD POSIX.1e implementation
125mailing list. To join this list, see the
126.Fx
127POSIX.1e implementation
127page for more information.
128.Sh HISTORY
128page for more information.
129.Sh HISTORY
129POSIX.1e support was introduced in FreeBSD 4.0, and development continues.
130POSIX.1e support was introduced in
131.Fx 4.0 ,
132and development continues.
130.Sh AUTHORS
133.Sh AUTHORS
131Robert N M Watson
134.An Robert N M Watson
132.Sh BUGS
133These features are not yet fully implemented. In particular, the shipped
134version of UFS/FFS does not support storage of additional security labels,
135and so is unable to (easily) provide support for most of these features.
135.Sh BUGS
136These features are not yet fully implemented. In particular, the shipped
137version of UFS/FFS does not support storage of additional security labels,
138and so is unable to (easily) provide support for most of these features.