acl_copy_int - Copies the ACL from user managed space to system managed space
Security Library (libpacl.a)
The data package (contiguous) internal representation of the ACL entry to be copied.
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The function may change as the P1003.6 standard is finalized.
The acl_copy_int() function copies the contents of the ACL from the user space buffer pointed to by buf_p to the working storage internal representation in system space. The system space is allocated as required. Upon successful completion a pointer to working storage is returned.
Upon successful completion, the acl_copy_entry function returns a pointer to the working storage. Otherwise a NULL pointer is returned and errno is set to indicate the error.
If any of the following conditions occur, the acl_copy_int() function sets errno to the corresponding value:
The ACL referenced by buf_p is not valid.
The ACL working storage could not be allocated.
Security delim off