acl_get_perm

NAME

LIBRARY

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

SYNOPSIS

n sys/types.h n acl/libacl.h

DESCRIPTION

The function tests if the permission specified by the argument is contained in the ACL permission set pointed to by the argument
Any existing descriptors that refer to continue to refer to that permission set.

RETURN VALUE

If successful, the function returns if the permission specified by is contained in the ACL permission set and if the permission is not contained in the permission set. Otherwise, the value is returned and the global variable is set to indicate the error.

ERRORS

If any of the following conditions occur, the function returns and sets to the corresponding value:
  • EINVAL The argument is not a valid descriptor for a permission set within an ACL entry.
The argument is not a valid value.

STANDARDS

This is a non-portable, Linux specific extension to the ACL manipulation functions defined in IEEE Std 1003.1e draft 17 (POSIX.1e, abandoned).

SEE ALSO

AUTHOR

Written by