Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_delete_entry(3) [osf1 man page]

acl_delete_entry(3)					     Library Functions Manual					       acl_delete_entry(3)

NAME
acl_delete_entry - Deletes an ACL entry LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> int acl_delete_entry( acl_entry_t entry_d); PARAMETERS
Designates the working storage internal representation ACL entry to be deleted. DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. Deletes the designated ACL entry from the ACL that contains it. RETURN VALUES
Upon successful completion, the acl_delete_entry() function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
If any of the following conditions occur, the acl_delete_entry() function sets errno to the corresponding value: The argument entry_d does not refer to a valid ACL entry. RELATED INFORMATION
acl_copy_entry(3), acl_create_entry(3), acl_get_entry(3), acl_first_entry(3) Security delim off acl_delete_entry(3)

Check Out this Related Man Page

ACL_DELETE_ENTRY(3)					   BSD Library Functions Manual 				       ACL_DELETE_ENTRY(3)

NAME
acl_delete_entry, acl_delete_entry_np -- delete an ACL entry from an ACL LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> int acl_delete_entry(acl_t acl, acl_entry_t entry_d); int acl_delete_entry_np(acl_t acl, int index); DESCRIPTION
The acl_delete_entry() function is a POSIX.1e call that removes the ACL entry entry_d from ACL acl. The acl_delete_entry_np() function is a non-portable version that removes the ACL entry at position index from ACL acl. Positions are numbered starting from zero, i.e. calling acl_delete_entry_np() with index argument equal to zero will remove the first ACL entry. RETURN VALUES
The acl_delete_entry() 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
The acl_delete_entry() function fails if: [EINVAL] Argument acl does not point to a valid ACL. Argument entry_d is not a valid descriptor for an ACL entry in acl. Argument index is out of bounds. SEE ALSO
acl(3), acl_copy_entry(3), acl_get_entry(3), posix1e(3) STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17. HISTORY
POSIX.1e support was introduced in FreeBSD 4.0. The acl_delete_entry() function was added in FreeBSD 5.0. AUTHORS
The acl_delete_entry() function was written by Chris D. Faulhaber <jedgar@fxp.org>. BSD
June 25, 2009 BSD
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Kerbos Security

(1 Reply)
Discussion started by: premkumar
1 Replies

2. UNIX for Advanced & Expert Users

HPUX Security help

(1 Reply)
Discussion started by: andryk
1 Replies

3. What is on Your Mind?

Obtaining Security Clearance

(0 Replies)
Discussion started by: COSJM
0 Replies