SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Other libacl1-devel-2.2.13-3sls.i586.rpm

ACL_CMP

Section: C Library Functions (3)
Index
BSD mandoc
Linux ACL 

NAME

acl_cmp - compare two ACLs  

LIBRARY

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

SYNOPSIS

In sys/types.hIn acl/libacl.hFt intFn acl_cmp acl_t acl1 acl_t acl2 

DESCRIPTION

TheFn acl_cmpfunction compares the ACLs pointed to by the argumentsacl1andacl2for equality. The two ACLs are considered equal if for each entry inacl1there is an entry inacl2with matching tag type, qualifier, and permissions, and vice versa. 

RETURN VALUE

If successful, theFn acl_cmpfunction returns0if the two ACLsacl1andacl2are equal, and1if they differ. Otherwise, the value-1is returned and the global variableerrnois set to indicate the error. 

ERRORS

If any of the following conditions occur, theFn acl_cmpfunction returns-1and setserrnoto the corresponding value:

Bq Er EINVAL
The argumentacl1is not a valid pointer to an ACL.

The argumentacl2is not a valid pointer to an ACL.

 

STANDARDS

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

SEE ALSO

acl(5) 

AUTHOR

Written byAn Andreas Gruenbacher Aq a.gruenbacherAATTcomputer.org .


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
STANDARDS
SEE ALSO
AUTHOR

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector