acl_valid.3 (a889d1fb766450bff9b27c3bccfe18fc39cd753d) | acl_valid.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_VALID 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_VALID 3 30.Os FreeBSD 4.0 31.Sh NAME |
32.Fd int | |
33.Nm acl_valid , 34.Nm acl_valid_fd_np , 35.Nm acl_valid_file_np 36.Nd Validate an ACL 37.Sh SYNOPSIS 38.Fd #include <sys/types.h> 39.Fd #include <sys/acl.h> 40.Ft int --- 24 unchanged lines hidden (view full) --- 65the ACL contains any ACL_USER, ACL_GROUP, or any other 66implementation-defined entries in the file group class 67then one ACL_MASK entry shall also be required. The ACL 68shall contain at most on ACL_MASK entry. 69 70The qualifier field shall be unique among all entries of 71the same POSIX.1e ACL facility defined tag type. The 72tag type field shall contain valid values including any | 32.Nm acl_valid , 33.Nm acl_valid_fd_np , 34.Nm acl_valid_file_np 35.Nd Validate an ACL 36.Sh SYNOPSIS 37.Fd #include <sys/types.h> 38.Fd #include <sys/acl.h> 39.Ft int --- 24 unchanged lines hidden (view full) --- 64the ACL contains any ACL_USER, ACL_GROUP, or any other 65implementation-defined entries in the file group class 66then one ACL_MASK entry shall also be required. The ACL 67shall contain at most on ACL_MASK entry. 68 69The qualifier field shall be unique among all entries of 70the same POSIX.1e ACL facility defined tag type. The 71tag type field shall contain valid values including any |
73implementatino-defined values. Validation of the values | 72implementation-defined values. Validation of the values |
74of the qualifier field is implementation-defined. 75.Ed 76 77The POSIX.1e 78.Fn acl_valid 79function may reorder the ACL for the purposes of verification; the 80non-portable validation functions will not. 81.Sh IMPLEMENTATION NOTES 82FreeBSD's support for POSIX.1e interfaces and features is still under 83development at this time. 84.Sh RETURN VALUES | 73of the qualifier field is implementation-defined. 74.Ed 75 76The POSIX.1e 77.Fn acl_valid 78function may reorder the ACL for the purposes of verification; the 79non-portable validation functions will not. 80.Sh IMPLEMENTATION NOTES 81FreeBSD's support for POSIX.1e interfaces and features is still under 82development at this time. 83.Sh RETURN VALUES |
85Upon successfull completion, the function shall return a value of zero. | 84Upon successful completion, the function shall return a value of zero. |
86Otherwise, a value of -1 shall be returned and 87.Va errno 88shall be set to indicate the error. 89.Sh ERRORS 90If any of the following conditions occur, these functions shall return 91-1 and set 92.Va errno 93to the corresponding value: --- 35 unchanged lines hidden (view full) --- 129.Xr acl_set 3 , 130.Xr posix1e 3 131.Sh STANDARDS 132POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion 133of the draft continues on the cross-platform POSIX.1e implementation 134mailing list. To join this list, see the FreeBSD POSIX.1e implementation 135page for more information. 136.Sh HISTORY | 85Otherwise, a value of -1 shall be returned and 86.Va errno 87shall be set to indicate the error. 88.Sh ERRORS 89If any of the following conditions occur, these functions shall return 90-1 and set 91.Va errno 92to the corresponding value: --- 35 unchanged lines hidden (view full) --- 128.Xr acl_set 3 , 129.Xr posix1e 3 130.Sh STANDARDS 131POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion 132of the draft continues on the cross-platform POSIX.1e implementation 133mailing list. To join this list, see the FreeBSD POSIX.1e implementation 134page for more information. 135.Sh HISTORY |
137POSIX.1e support was introduced in FreeBSD 4.0, and development continues. | 136POSIX.1e support was introduced in 137.Fx 4.0 , 138and development continues. |
138.Sh AUTHORS | 139.Sh AUTHORS |
139Robert N M Watson | 140.An Robert N M Watson |
140.Sh BUGS 141These features are not yet fully implemented. In particular, the shipped 142version of UFS/FFS does not support storage of additional security labels, 143and so is unable to (easily) provide support for most of these features. | 141.Sh BUGS 142These features are not yet fully implemented. In particular, the shipped 143version of UFS/FFS does not support storage of additional security labels, 144and so is unable to (easily) provide support for most of these features. |