1ACL_SET_TAG_TYPE(3)      BSD Library Functions Manual      ACL_SET_TAG_TYPE(3)
2

NAME

4     acl_set_tag_type — set the tag type of an ACL entry
5

LIBRARY

7     Linux Access Control Lists library (libacl, -lacl).
8

SYNOPSIS

10     #include <sys/types.h>
11     #include <sys/acl.h>
12
13     int
14     acl_set_tag_type(acl_entry_t entry_d, acl_tag_t tag_type);
15

DESCRIPTION

17     The acl_set_tag_type() function sets the tag type of the ACL entry indi‐
18     cated by the argument entry_d to the value of the argument tag_type.
19
20     Any ACL entry descriptors that refer to the entry referred to by entry_d
21     continue to refer to that entry.
22

RETURN VALUE

24     The acl_set_tag_type() function returns the value 0 if successful; other‐
25     wise the value -1 is returned and the global variable errno is set to
26     indicate the error.
27

ERRORS

29     If any of the following conditions occur, the acl_set_tag_type() function
30     returns -1 and sets errno to the corresponding value:
31
32     [EINVAL]           The argument entry_d is not a valid descriptor for an
33                        ACL entry.
34
35                        The argument tag_type is not a valid tag type.
36

STANDARDS

38     IEEE Std 1003.1e draft 17 (“POSIX.1e”, abandoned)
39

SEE ALSO

41     acl_create_entry(3), acl_get_permset(3), acl_get_qualifier(3),
42     acl_get_tag_type(3), acl_set_entry(3), acl_set_permset(3),
43     acl_set_qualifier(3), acl(5)
44

AUTHOR

46     Derived from the FreeBSD manual pages written by Robert N M Watson
47     <rwatson@FreeBSD.org>, and adapted for Linux by Andreas Gruenbacher
48     <a.gruenbacher@bestbits.at>.
49
50Linux ACL                       March 23, 2002                       Linux ACL
Impressum