PDF 文書ファイルをダウンロードする (1911 KB)
acl_trivial(3SEC)Name | Synopsis | Description | Return Values | Errors | Attributes | See Also Name
Synopsiscc [ flag… ] file… -lsec [ library… ] #include <sys/acl.h> int acl_trivial(char *path); DescriptionThe acl_trivial() function is used to determine whether a file has a trivial ACL. Whether an ACL is trivial depends on the type of the ACL. A POSIX draft ACL is trivial if it has greater than MIN_ACL_ENTRIES. An NFSv4/ZFS-style ACL is trivial if it either has entries other than owner@, group@, and everyone@, has inheritance flags set, or is not ordered in a manner that meets POSIX access control requirements. Return ValuesUpon successful completion, acl_trivial() returns 0 if the file's ACL is trivial and 1 if the file's ACL is not trivial. If it could not be determined whether a file's ACL is trivial, -1 is returned and errno is set to indicate the error. Errors
The acl_trivial() function will fail if: AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.11 Last Revised 6 Oct 2005Name | Synopsis | Description | Return Values | Errors | Attributes | See Also |
|||||||