acl_set.3 (a889d1fb766450bff9b27c3bccfe18fc39cd753d) acl_set.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_SET 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_SET 3
30.Os FreeBSD 4.0
31.Sh NAME
32.Fd int
33.Nm acl_set_file ,
34.Nm acl_set_fd ,
35.Nm acl_set_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

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

60allows only the setting of ACLs of type ACL_TYPE_ACCESS
61where as
62.Fn acl_set_fd_np
63allows the setting of ACLs of any type.
64.Sh IMPLEMENTATION NOTES
65FreeBSD's support for POSIX.1e interfaces and features is still under
66development at this time.
67.Sh RETURN VALUES
32.Nm acl_set_file ,
33.Nm acl_set_fd ,
34.Nm acl_set_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

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

59allows only the setting of ACLs of type ACL_TYPE_ACCESS
60where as
61.Fn acl_set_fd_np
62allows the setting of ACLs of any type.
63.Sh IMPLEMENTATION NOTES
64FreeBSD's support for POSIX.1e interfaces and features is still under
65development at this time.
66.Sh RETURN VALUES
68Upon successfull completion, the function shall return a value of zero.
67Upon successful completion, the function shall return a value of zero.
69Otherwise, a value of -1 shall be returned and
70.Va errno
71shall be set to indicate the error.
72.Sh ERRORS
73If any of the following conditions occur, these functions shall return
74-1 and set
75.Va errno
76to the corresponding value:

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

111.Xr acl 3 ,
112.Xr acl_delete 3 ,
113.Xr acl_get 3 ,
114.Xr acl_valid 3 ,
115.Xr posix1e 3
116.Sh STANDARDS
117POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion
118of the draft continues on the cross-platform POSIX.1e implementation
68Otherwise, a value of -1 shall be returned and
69.Va errno
70shall be set to indicate the error.
71.Sh ERRORS
72If any of the following conditions occur, these functions shall return
73-1 and set
74.Va errno
75to the corresponding value:

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

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