acl_copy_int - Copies the ACL from contiguous, persistent
format to internal working space format
#include <sys/acl.h>
acl_t acl_copy_int(
void *buf_p );
Security Library (libpacl.a)
The buffer containing the contiguous, persistent form of
the ACL to be copied.
NOTE: This function is based on Draft 13 of the POSIX
P1003.6 standard.
The acl_copy_int() function copies the contents of the ACL
from the buffer pointed to by buf_p to the working storage
internal format. Space is allocated as required. Upon successful
completion, a pointer to the ACL internal working
storage is returned.
Upon successful completion, the acl_copy_int() 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.
acl_copy_ext(3)
Security
acl_copy_int(3)
[ Back ] |