acl_get_permset.3




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

NAME

acl_get_permset — retrieve the permission set from an ACL entry

LIBRARY

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

SYNOPSIS

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

int

acl_get_permset(acl_entry_t entry_d, acl_permset_t *permset_p);

DESCRIPTION

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.

RETURN VALUE

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.

ERRORS

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

[EINVAL]

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

STANDARDS

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

SEE ALSO

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)

AUTHOR

Derived from the FreeBSD manual pages written by Robert N M Watson ⟨ rwatson@FreeBSD.org⟩ , and adapted for Linux by Andreas Gruenbacher ⟨ a.gruenbacher@bestbits.at⟩ .

Linux ACL March 23, 2002 Linux ACL



More Linux Commands

manpages/snmp.conf.5.html
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

manpages/tinyleaf.8.html
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

manpages/pam_sm_authenticate.3.html
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

manpages/urn.7.html
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

manpages/dracut-pre-udev.service.8.html
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

manpages/glEvalCoord2d.3gl.html
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

manpages/Mail::SPF::Mech::Exists.3pm.html
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

manpages/glIndexubv.3gl.html
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

manpages/rtstat.8.html
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

manpages/glCopyConvolutionFilter2D.3gl.html
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

manpages/sync_members.8.html
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

manpages/ophelp.1.html
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.