acl_get_permset()

Updated: April 19, 2023

Get a permissions set from an ACL entry

Synopsis:

#include <sys/acl.h>

int acl_get_permset( acl_entry_t entry_d,
                     acl_permset_t *permset_p );

Arguments:

entry_d
A descriptor of the entry that you want to get the permissions from.
permset_p
A pointer to a location where the function can store the permissions set.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The acl_get_permset() function gets the permissions set from an ACL entry.

Returns:

0.

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