Sets the access control list (ACL) for a file.
The vnop_setacl entry point is used by the logical file system to set the access control list (ACL) on a file.
The vnop_setacl entry point can be called from the process environment only.
Item | Description |
---|---|
0 | Indicates success. |
Nonzero return values are returned from the /usr/include/sys/errno.h file to indicate failure. Valid values include:
Item | Description |
---|---|
ENOSPC | Indicates that the space cannot be allocated to hold the new ACL information. |
EPERM | Indicates that the effective user ID of the process is not the owner of the file and the process is not privileged. |