*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> acl_copy_ext (3)              
Title
Content
Arch
Section
 

acl_copy_ext(3)

Contents


NAME    [Toc]    [Back]

       acl_copy_ext  - Copies the ACL from internal working space
       format to a contiguous, persistent form of the ACL

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       int acl_copy_ext(
               void *buf_p,
               acl_t acl_d,
               ssize_t size );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

       User space to copy the contiguous, persistent for  of  the
       ACL  into.  Specifies the working storage, internal format
       ACL to copy.  Indicates the size of the buffer pointed  to
       by buf_p.

DESCRIPTION    [Toc]    [Back]

       NOTE:   This  function  is  based on Draft 13 of the POSIX
       P1003.6 standard.

       The acl_copy_ext() function copies the contents of the ACL
       in  internal  working  space  format, pointed to by acl_d,
       into the buffer pointed to by buf_p. The ACL  copied  into
       the  buffer  is  in contiguous, persistent formatxi and is
       not NULL terminated.

RETURN VALUES    [Toc]    [Back]

       Upon successful completion,  the  acl_copy_ext()  function
       returns the size of the ACL copied.  Otherwise, a value of
       -1 is returned and errno is set to indicate the error.

ERRORS    [Toc]    [Back]

       If  any   of   the   following   conditions   occur,   the
       acl_copy_ext()  function  sets  errno to the corresponding
       value:

       The size parameter is zero or negative. The ACL referenced
       by  acl_d  contains  one  or  more  improperly  formed ACL
       entries, or for some other reason can  not  be  translated
       into  contiguous  format.   The  size parameter is greater
       than 0, but smaller than the ACL to be copied.

SEE ALSO    [Toc]    [Back]

      
      
       acl_copy_int(3), acl_size(3)

       Security



                                                  acl_copy_ext(3)
[ Back ]
 Similar pages
Name OS Title
acl_copy_int Tru64 Copies the ACL from contiguous, persistent format to internal working space format
acl_size Tru64 Determines the size of the contiguous, persistent representation of the given ACL
copyoutstr Tru64 General: Copies a null-terminated string from a kernel address space to a user address space
copyinstr Tru64 General: Copies a null-terminated string from a user address space to a kernel address space
copyin Tru64 General: Copies data from a user address space to a kernel address space
copyout Tru64 General: Copies data from a kernel address space to a user address space
acl_init Tru64 Allocate and initialize ACL internal working storage
acl_free Tru64 Releases an ACL internal working storage area for an ACL
lvreduce HP-UX decrease space allocation or the number of mirror copies of logical volumes
gss_release_name Tru64 Delete an internal form name.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service