Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_init(3) [centos man page]

ACL_INIT(3)						   BSD Library Functions Manual 					       ACL_INIT(3)

NAME
acl_init -- initialize ACL working storage LIBRARY
Linux Access Control Lists library (libacl, -lacl). SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> acl_t acl_init(int count); DESCRIPTION
The acl_init() function allocates and initializes the working storage for an ACL of at least count ACL entries. The ACL created initially contains no ACL entries. A pointer to the working storage is returned. This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by calling acl_free(3) with the (void*)acl_t returned by acl_init() as an argument. RETURN VALUE
On success, this function returns a pointer to the working storage. On error, a value of (acl_t)NULL is returned, and errno is set appropri- ately. ERRORS
If any of the following conditions occur, the acl_init() function returns a value of (acl_t)NULL and sets errno to the corresponding value: [EINVAL] The value of count is less than zero. [ENOMEM] The acl_t to be returned requires more memory than is allowed by the hardware or system-imposed memory management con- straints. STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned) SEE ALSO
acl_get_file(3), acl_free(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

Check Out this Related Man Page

ACL_DUP(3)						   BSD Library Functions Manual 						ACL_DUP(3)

NAME
acl_dup -- duplicate an ACL LIBRARY
Linux Access Control Lists library (libacl, -lacl). SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> acl_t acl_dup(acl_t acl); DESCRIPTION
The acl_dup() function returns a pointer to a copy of the ACL pointed to by acl. This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by calling acl_free(3) with the (void*)acl_t returned by acl_dup() as an argument. RETURN VALUE
On success, this function returns a pointer to the working storage. On error, a value of (acl_t)NULL is returned, and errno is set appropri- ately. ERRORS
If any of the following conditions occur, the acl_dup() function returns a value of (acl_t)NULL and sets errno to the corresponding value: [EINVAL] The argument acl is not a valid pointer to an ACL. [ENOMEM] The acl_t to be returned requires more memory than is allowed by the hardware or system-imposed memory management con- straints. STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned) SEE ALSO
acl_free(3), acl_get_entry(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
Man Page

4 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Creative Dxr3 dvd-card & FreeBSD

Has any1 get Dxr3 working, it looks like its not supported by hardware list but there supposed to be unofficial drivers for bsd... but the link is dead. And i wondered if any1 has it working (1 Reply)
Discussion started by: sputnick
1 Replies

2. UNIX for Dummies Questions & Answers

Linux on custom hardware

I would like to configure a bare minimum Linux with internet browser on a system with Flash & RAM (but no harddisk or any other nonvolatile storage). Please advise. (5 Replies)
Discussion started by: rherb
5 Replies

3. SuSE

Suse Linux 11.4 Internet connection

Hi I am new to Linux. I installed 11.4, it went smooth and everything was working fine. After Update i rebooted the system and all of sudden internet connection is not working. Could any one tell me how to check and change the settings. Rgds Kashch (1 Reply)
Discussion started by: kashch
1 Replies

4. UNIX for Dummies Questions & Answers

Career path help

I am working in a company in which my work includes working on Linux nodes. The "uname -arv" command outputs - "Linux clx28ap01 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux". I generally use various command to stop/start the servers, checking space,... (7 Replies)
Discussion started by: csrohit
7 Replies