Index Index for
Section 3
Index Alphabetical
listing for A
Bottom of page Bottom of
page

acl_copy_int(3)

NAME

acl_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

buf_p 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 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.

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: [EINVAL] The ACL referenced by buf_p is not valid. [ENOMEM] The ACL working storage could not be allocated.

SEE ALSO

acl_copy_ext(3) Security

Index Index for
Section 3
Index Alphabetical
listing for A
Top of page Top of
page