Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acl_copy_ext(3)

acl_copy_int(3)  —  Subroutines

NAME

acl_copy_int − Copies the ACL from user managed space to system managed space

LIBRARY

Security Library (libpacl.a)

SYNOPSIS

#include <sys/acl.h> acl_t acl_copy_int(
void ∗buf_p);

PARAMETERS

buf_pThe data package (contiguous) internal representation of the ACL entry to be copied. 

DESCRIPTION

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. 

RETURN VALUES

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. 

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. 

RELATED INFORMATION

acl_copy_ext(3)

Security

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026