ACL_INIT(3) BSD Library Functions Manual ACL_INIT(3)NAME
acl_init -- initialize ACL working storage
LIBRARY
Standard C Library (libc, -lc)
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. A pointer to the working
storage is returned. The working storage allocated to contain the ACL is freed by a call to acl_free(3). When the area is first allocated,
it shall contain an ACL that contains no ACL entries.
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 as an argument.
RETURN VALUES
Upon successful completion, this function shall return a pointer to the working storage. Otherwise, a value of (acl_t)NULL shall be
returned, and errno shall be set to indicate the error.
ERRORS
If any of the following conditions occur, the acl_init() function shall return a value of (acl_t)NULL and set 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.
SEE ALSO acl(3), acl_free(3), posix1e(3)STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17.
AUTHORS
Michael Smith
Robert N M Watson
BSD January 28, 2000 BSD
Check Out this Related 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
hai i am working on sun with T3 storage i am having 2 storage mirrored T3a andT3b . nowT3b is showing faulty that is the digital to optical coverter is not workig so it has to be replaced. since it will take another 5 days due to some reasons. i want to know will it create any problem while... (2 Replies)
Dear All,
Please help me to do this.
I have a file like this.
5|94662240807|94776109911|94776325901|94779007172||||||
5|94112925421|94352240384|94352259199|94672229012||||||
5|94714242745|94722952461|94777660793|94788914465||||||
5|94242224624|94776145420|94776172499|94776531059||||||
... (7 Replies)
Hey everyone. Right now I am working through Red Hat's online storage reconfiguration guide for a project that we're working on. For removing storage paths to a volume using multipaths, it says that the first step is to type:
echo offline> /sys/block/sda/device/state
Does it actually mean SDA?... (2 Replies)
I have SAN storage allocated to my server but ACL and Quotas mount options are not working on it. Is there a reason why?
Thank you!
/dev/mapper/datavg-datalv /data ext4 defaults,usrquota,grpquota 1 2
mount -o remount /data
tune2fs -l /dev/mapper/datavg-datalv | grep 'Default... (1 Reply)