ACL_GET_PERMSET(3) BSD Library Functions Manual ACL_GET_PERMSET(3)


acl_get_permset — retrieve the permission set from an ACL entry


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


#include <sys/types.h>
#include <sys/acl.h>


acl_get_permset(acl_entry_t entry_d, acl_permset_t *permset_p);


The acl_get_permset() function returns in permset_p a descriptor to the permission set in the ACL entry indicated by entry_d. Subsequent operations using the returned permission set descriptor operate on the permission set within the ACL entry.

Any ACL entry descriptors that refer to the entry referred to by entry_d shall continue to refer to those entries.


The acl_get_permset() function returns the value 0 if successful; otherwise the value −1 is returned and the global variable errno is set to indicate the error.


If any of the following conditions occur, the acl_get_permset() function returns -1 and sets errno to the corresponding value:


The argument entry_d is not a valid descriptor for an ACL entry.


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


acl_add_perm(3), acl_clear_perms(3), acl_delete_perm(3), acl_get_perm(3), acl_get_qualifier(3), acl_get_tag_type(3), acl_set_permset(3), acl_set_qualifier(3), acl_set_tag_type(3), acl(5)


Derived from the FreeBSD manual pages written by Robert N M Watson ⟨⟩ , and adapted for Linux by Andreas Gruenbacher ⟨⟩ .

Linux ACL March 23, 2002 Linux ACL

More Linux Commands

snmp.conf(5) - configuration files for the Net-SNMP applicat
Applications built using the Net-SNMP libraries typically use one or more configuration files to control various aspects of their operation. These files (snmp.c

tinyleaf(8) - Very simple IHAVE-only NNTP server (Man Page)
tinyleaf is intended to be the simplest possible transit news server that still does something useful. It must be run under inetd(8) or some equivalent, and onl

pam_sm_authenticate(3) - PAM service function for user authe
The pam_sm_authenticate function is the service modules implementation of the pam_authenticate(3) interface. This function performs the task of authenticating t

urn(7) - uniform resource identifier (URI), including a URL
A Uniform Resource Identifier (URI) is a short string of characters identifying an abstract or physical resource (for example, a web page). A Uniform Resource L

dracut-pre-udev.service(8) runs the dracut hooks before udev
This service runs all dracut hooks before udevd is started in the initramfs. AUTHORS Harald Hoyer SEE ALSO dracut.bootup(7) dracut(8) dracut-pre-udev.service.8

glEvalCoord2d(3gl) - evaluate enabled one- and two-dimension
glEvalCoord1 evaluates enabled one-dimensional maps at argument u. glEvalCoord2 does the same for two-dimensional maps using two domain values, u and v. To defi

Mail::SPF::Mech::Exists(3pm) - SPF record "exists" mechanism
An object of class Mail::SPF::Mech::Exists represents an SPF record mechanism of type exists. Constructors The following constructors are provided: new(%options

glIndexubv(3gl) - set the current color index (Man Page)....
glIndex updates the current (single-valued) color index. It takes one argument, the new value for the current color index. The current index is stored as a floa

rtstat(8) - unified linux network statistics (Man Page).....
This manual page documents briefly the lnstat command. lnstat is a generalized and more feature-complete replacement for the old rtstat program. In addition to

glCopyConvolutionFilter2D(3gl) - copy pixels into a two-dime
glCopyConvolutionFilter2D defines a two-dimensional convolution filter kernel with pixels from the current GL_READ_BUFFER (rather than from main memory, as is t

sync_members(8) - Synchronize a mailing list's membership wi
This script is useful if you have a Mailman mailing list and a sendmail :include: style list of addresses (also as is used in Majordomo). For every address in t

ophelp(1) list OProfile events (Commands - Linux man page)
By default, ophelp lists the available performance counter options. If you give it a symbolic event name, it will return the hardware value (e.g. ophelp DATA_ME

We can't live, work or learn in freedom unless the software we use is free.