PDF 文書ファイルをダウンロードする (1911 KB)
aclsort(3SEC)Name | Synopsis | Description | Return Values | Attributes | See Also Name
Synopsiscc [ flag ... ] file ... -lsec [ library ... ] #include <sys/acl.h> int aclsort(int nentries, int calclass, aclent_t *aclbufp); Description
The aclbufp argument points to a buffer containing ACL entries. The nentries argument specifies the number of ACL entries in the buffer. The calclass argument, if non-zero, indicates that the CLASS_OBJ (ACL mask) permissions should be recalculated. The union of the permission bits associated with all ACL entries in the buffer other than CLASS_OBJ, OTHER_OBJ, and USER_OBJ is calculated. The result is copied to the permission bits associated with the CLASS_OBJ entry. The aclsort() function sorts the contents of the ACL buffer as follows: The aclsort() function will succeed if all of the following are true: Return ValuesUpon successful completion, the function returns 0. Otherwise, it returns -1. AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.11 Last Revised 10 Dec 2001Name | Synopsis | Description | Return Values | Attributes | See Also |
|||||||