Get the type of tag from an ACL entry
Synopsis:
#include <sys/acl.h>
int acl_get_tag_type( acl_entry_t entry_d,
acl_tag_t *tag_type_p );
Arguments:
- entry_d
- The descriptor of the entry that you want to get the tag type of.
- tag_type_p
- A pointer to a location where the function can store the tag type; one of the following:
- ACL_GROUP — a named group.
- ACL_GROUP_OBJ — the owning group.
- ACL_MASK — the maximum permissions allowed for named users,
named groups, and the owning group.
- ACL_OTHER — users whose process attributes don't match any other
ACL entry; the world.
- ACL_USER — named users.
- ACL_USER_OBJ — the owning user.
Library:
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
Description:
The acl_get_tag_type() function gets the tag type from an ACL entry and stores it in the
location pointed to by tag_type_p.
Classification:
QNX Neutrino
This function is based on the withdrawn POSIX draft P1003.1e.
Safety: |
|
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |