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

  man pages->IRIX man pages -> acl_valid (3c)              
Title
Content
Arch
Section
 

Contents


ACL_VALID(3C)							 ACL_VALID(3C)


NAME    [Toc]    [Back]

     acl_valid - validate an ACL

SYNOPSIS    [Toc]    [Back]

     #include <sys/acl.h>

     int acl_valid( struct acl *aclp);

DESCRIPTION    [Toc]    [Back]

     Check that	the format of an ACL is	valid.

     First, aclp must be non null.  The	three required entries (ACL_USER_OBJ,
     ACL_GROUP_OBJ, and	ACL_OTHER) must	exist exactly once in the ACL.	If the
     ACL contains any ACL_USER,	ACL_GROUP, or any implementation-defined
     entries in	the file group class, then one ACL_MASK	entry is required. The
     ACL may contain at	most one ACL_MASK entry.

     The qualifier field must be unique	among all entries of the same type.

RETURN VALUES    [Toc]    [Back]

     acl_valid returns 0 if the	ACL is valid, -1 otherwise.

ERRORS    [Toc]    [Back]

     EINVAL	     ACL is not	valid.

SEE ALSO    [Toc]    [Back]

      
      
     acl(4).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
val IRIX validate SCCS file
val HP-UX validate SCCS file
validateproj IRIX validate a project name for a user
RSA_check_key OpenBSD validate private RSA keys
RSA_check_key Tru64 Validate private RSA keys
RSA_check_key NetBSD validate private RSA keys
ascheck IRIX validate the array services configuration
mac_valid IRIX validate a MAC, MSEN, or MINT label
cr_isaddr HP-UX validate whether physical page number was dumped
VOP_LEASE FreeBSD validate a vnode for a particular set of credentials and operation type
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service