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
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.
IMPLEMENTATION NOTES
FreeBSD's support for POSIX.1e interfaces and features is still under development at this time.
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. 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.
HISTORY
POSIX.1e support was introduced in FreeBSD 4.0, and development continues.
AUTHORS
Robert N M Watson
BSD January 28, 2000 BSD
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)