Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (5201 KB)
aclsort(3)NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO NAME
SYNOPSIS
#include <sys/acl.h>int aclsort(int nentries, int calclass, aclent_t *aclbufp); DESCRIPTION
aclbufp points to a buffer containing ACL entries. nentries specifies the number of ACL entries in the buffer. calclass, 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. aclsort() sorts the contents of the ACL buffer as follows: aclsort() will succeed if all of the following are true: RETURN VALUESUpon successful completion, the return value is 0. Otherwise, the return value is -1. ATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSOSunOS 5.7 Last Revised 30 Jul1998NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO |
||||