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

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

acl_set_qualifier(3)

Contents


NAME    [Toc]    [Back]

       acl_set_qualifier - Sets the tag qualifier (UID or GID) on
       an ACL entry

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       int acl_set_qualifier(
               acl_entry_t entry_d,
               void *tag_qualifier_p );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

       Designates the working storage internal representation ACL
       entry  to set the tag qualifier in.  Designates the uid or
       gid to set the tag qualifier to.

DESCRIPTION    [Toc]    [Back]

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

       Given  an ACL entry, the acl_set_qualifier() function sets
       the id in the ACL entry. If the tag type of the given  ACL
       entry  is  ACL_USER then tag_qualifier_p is evaluated as a
       pointer of type *uid_t. If the tag type of the  given  ACL
       entry  is ACL_GROUP then tag_qualifier_p is evaluated as a
       pointer of type *gid_t. Any other ACL tag type results  in
       an error.

RETURN VALUES    [Toc]    [Back]

       Upon  successful completion, the acl_set_qualifier() function
 returns a value of 0 (zero).  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_set_qualifier() function sets errno to the corresponding
 value:

       Argument entry_d does not refer to a valid ACL entry.  The
       value of the tag type in ACL entry referred to by  entry_d
       is  ACL_USER_OBJ,  ACL_GROUP_OBJ,  or  ACL_OTHER_OBJ.  The
       value of the entry in tag_qualifier_p is not valid.  There
       is  not  enough  memory  available   to  allocate  the ACL
       uid/gid storage.

SEE ALSO    [Toc]    [Back]

      
      
       acl_free_qualifier(3), acl_get_qualifier(3)

       Security



                                             acl_set_qualifier(3)
[ Back ]
 Similar pages
Name OS Title
acl_get_qualifier FreeBSD retrieve the qualifier from an ACL entry
acl_get_qualifier Tru64 Retrieves the tag qualifier (ID) for an ACL entry
acl_free_qualifier Tru64 Frees the storage for the qualifier for an ACL entry
acl_set_qualifier FreeBSD set ACL tag qualifier
acl_set_permset Tru64 Sets permissions in a given ACL entry
acl_set_tag_type Tru64 Sets the tag type in an ACL entry
DXmSvnSetEntryPosition Tru64 Sets the position of an entry in
setpup IRIX sets the display characteristics of a given pop up menu entry
rpccp_add_element HP-UX Adds an element to a profile in a name service entry; if the specified entry does not exist, creates the entry
rpccp_add_member HP-UX Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service