 |
Index for Section 3 |
|
 |
Alphabetical listing for A |
|
 |
Bottom of page |
|
acl_set_tag_type(3)
NAME
acl_set_tag_type - Sets the tag type in an ACL entry
SYNOPSIS
#include <sys/acl.h>
int acl_set_tag_type(
acl_entry_t entry_d,
acl_tag_t tag_type_d );
LIBRARY
Security Library (libpacl.a)
PARAMETERS
entry_d
The working storage internal representation ACL entry to set the tag
type on.
tag_type_d
The tag type to set: ACL_USER, ACL_GROUP, ACL_USER_OBJ, ACL_GROUP_OBJ,
or ACL_OTHER_OBJ.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard.
Given a pointer to an ACL entry, the acl_set_tag_type() function sets the
ACL entry tag type.
RETURN VALUES
Upon successful completion, the acl_set_tag_type() function returns a value
of 0 (zero). Otherwise, a value of -1 is returned and errno is set to
indicate the error.
ERRORS
If any of the following conditions occur, the acl_set_tag_type() function
sets errno to the corresponding value:
[EINVAL]
Argument entry_d does not refer to a valid ACL entry.
Argument tag_type_d does not refer to a valid type.
SEE ALSO
acl_get_tag_type(3)
Security
 |
Index for Section 3 |
|
 |
Alphabetical listing for A |
|
 |
Top of page |
|