Set the qualifier for an ACL entry
#include <sys/acl.h> int acl_set_qualifier( acl_entry_t entry_d, const void *tag_qualifier_p );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The acl_set_qualifier() function sets the qualifier in an ACL entry. The data type of the value refered to by the tag_qualifier_p argument depends on the entry type:
Entry type | Data type |
---|---|
ACL_USER | uid_t |
ACL_GROUP | gid_t |
Other types | Invalid; the function fails |
0, or -1 if an error occurred (errno is set).
This function is based on the withdrawn POSIX draft P1003.1e.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |