GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ACL_CMP_NP(3) FreeBSD Library Functions Manual ACL_CMP_NP(3)

acl_cmpcompare between two ACLs

Standard C Library (libc, -lc)

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

int
acl_cmp_np(acl_t acl1, acl_t acl2);

The () function is a non-portable call that checks if ACLs pointed to by acl1 and acl2 are equivalent. The two ACLs are considered equal when they contain the same entries with matching tag types, qualifiers and permissions.

Upon successful completion, this function returns 0 if the given ACLs are equivalent and 1 if they differ. Otherwise, the value -1 is returned, and errno indicates the error.

If any of the following conditions occur, the acl_cmp_np() function shall return a value of -1 and set errno to the corresponding value:

[]
Either first or second argument does not point to a valid ACL.

acl(3), posix1e(3)

POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft continues on the cross-platform POSIX.1e implementation mailing list. To join this list, see the FreeBSD POSIX.1e implementation page for more information.

POSIX.1e support was introduced in FreeBSD 4.0, and development continues.

Gleb Popov

January 20, 2021 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.