[EACCES] |
| Search permission is denied for a component of the path prefix, or the object exists and the process does not have appropriate access rights. |
[EBADF] |
| The fd argument is not a valid file descriptor. |
[EINVAL] |
| Argument acl does not point to a valid ACL. One or more of the required ACL entries is not present in acl. The ACL contains entries that are not unique. The file system rejects the ACL based on fs-specific semantics issues. |
[ENAMETOOLONG] |
| A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. |
[ENOENT] |
| The named object does not exist, or the path_p argument points to an empty string. |
[ENOMEM] |
| Insufficient memory available to fulfill request. |
[EOPNOTSUPP] |
| The file system does not support ACL retrieval. |
|