acl_copy_int(3)acl_copy_int(3)NAMEacl_copy_int - Copies the ACL from contiguous, persistent format to
internal working space format
SYNOPSIS
#include <sys/acl.h>
acl_t acl_copy_int(
void *buf_p );
LIBRARY
Security Library (libpacl.a)
PARAMETERS
The buffer containing the contiguous, persistent form of the ACL to be
copied.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 stan‐
dard.
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.
RETURN VALUES
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.
ERRORS
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.
SEE ALSOacl_copy_ext(3)
Security
acl_copy_int(3)