ACL_CMP(3) BSD Library Functions Manual ACL_CMP(3)
NAME
acl_cmp — compare two ACLs
LIBRARY
Linux Access Control Lists library (libacl, −lacl).
SYNOPSIS
#include <sys/types.h>
#include <acl/libacl.h>
int
acl_cmp(acl_t acl1, acl_t acl2);
DESCRIPTION
The acl_cmp() function compares the ACLs pointed to by the arguments acl1 and acl2 for equality. The two ACLs are considered equal if for each entry in acl1 there is an entry in acl2 with matching tag type, qualifier, and permissions, and vice versa.
RETURN VALUE
If successful, the acl_cmp() function returns 0 if the two ACLs acl1 and acl2 are equal, and 1 if they differ. 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_cmp() function returns -1 and sets errno to the corresponding value:
[EINVAL]
The argument acl1 is not a valid pointer to an ACL.
The argument acl2 is not a valid pointer to an ACL.
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
acl(5)
AUTHOR
Written by Andreas Gruenbacher ⟨ a.gruenbacher@bestbits.at⟩ .
Linux ACL March 23, 2002 Linux ACL
More Linux Commands
manpages/uxterm.1.html
uxterm(1) - X terminal emulator for Unicode (UTF-8) environm
uxterm is a wrapper around the xterm(1) program that invokes the latter program with the UXTerm X resource class set. All arguments to uxterm are passed to xter
manpages/glEvalPoint2.3gl.html
glEvalPoint2(3gl) - generate and evaluate a single point in
glMapGrid and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. glEvalPoint can be used to evaluat
manpages/IO::Lines.3pm.html
IO::Lines(3pm) - IO:: interface for reading/writing an array
This class implements objects which behave just like FileHandle (or IO::Handle) objects, except that you may use them to write to (or read from) an array of lin
manpages/ber_bvarray_add.3.html
ber_bvarray_add(3) - OpenLDAP LBER types and allocation func
The following are the basic types and structures defined for use with the Lightweight BER library. ber_int_t is a signed integer of at least 32 bits. It is comm
manpages/perl5182delta.1.html
perl5182delta(1) what is new for perl v5.18.2 (Man Page)....
This document describes differences between the 5.18.1 release and the 5.18.2 release. If you are upgrading from an earlier release such as 5.18.0, first read p
manpages/wbkgrnd.3ncurses.html
wbkgrnd(3ncurses) - curses window complex background manipul
The bkgrndset and wbkgrndset routines manipulate the background of the named window. The window background is a cchar_t consisting of any combination of attribu
manpages/perf_event_open.2.html
perf_event_open(2) set up performance monitoring (Man Page)
Given a list of parameters, perf_event_open() returns a file descriptor, for use in subsequent system calls (read(2), mmap(2), prctl(2), fcntl(2), etc.). A call
manpages/checkproc.8.html
checkproc(8) - Checks for a process by full path name.......
checkproc checks for running processes that use the specified executable. checkproc does not use the pid to verify a process but the full path of the correspond
manpages/fdopendir.3.html
fdopendir(3) - open a directory (Library - Linux man page)
The opendir() function opens a directory stream corresponding to the directory name, and returns a pointer to the directory stream. The stream is positioned at
manpages/glVertex4iv.3gl.html
glVertex4iv(3gl) - specify a vertex - Linux manual page.....
glVertex commands are used within glBegin/glEnd pairs to specify point, line, and polygon vertices. The current color, normal, and texture coordinates are assoc
manpages/Tcl_FSGetFileSystemForPath.3.html
Tcl_FSGetFileSystemForPath(3) - procedures to interact with
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
manpages/sched_get_priority_max.2.html
sched_get_priority_max(2) - get static priority range.......
sched_get_priority_max() returns the maximum priority value that can be used with the scheduling algorithm identified by policy. sched_get_priority_min() return
