acl_init(3) Library Functions Manual acl_init(3)NAME
acl_init - Allocate and initialize ACL internal working storage
LIBRARY
Security Library (libpacl.a)
SYNOPSIS
#include <sys/acl.h>
acl_t acl_init( const size_t size);
PARAMETERS
Specifies the size of the working storage in bytes.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard.
The acl_init() function allocates and initializes working storage for an ACL of at least size bytes. A pointer to the working storage is
returned. When the area is first allocated, it contains a ACL that has no ACL entries.
RETURN VALUES
Upon successful completion, the acl_init() function returns a pointer to the working storage. Otherwise, a NULL pointer is returned and
errno is set to indicate the error.
ERRORS
If any of the following conditions occur, the acl_init() function returns a value of NULL and sets errno to the corresponding value: The
acl_t to be returned requires more memory than allowed by the hardware or system-imposed memory management constraints. The function is
not supported by the implementation.
RELATED INFORMATION acl_add_perm(3), acl_clear_perm(3), acl_create_entry(3), acl_free(3)
Security delim off
acl_init(3)
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.
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
Hello Again,
Those that have noticed my earlier posts will know that I have succesfully installed Solaris 8 onto my pc. I haven't been able to get x-server working (i think it doesn't like my video card) though I've been able to log into root (with a bit of help from unix forums :o ) and have... (2 Replies)
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)
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)
Hi,
Where are the static variables actually stored in memory. Is it in .bss? In that case how is its storage different from global variables? From the ELF data is it possible to see the storage of different variables used in the program?
eg:
static int temp1;
int gtemp1;
main() {... (1 Reply)
Hello all,
I have a file - 12.txt
cat 12.txt
===============================================
Number of executions = 2 Total execution time (sec.ms) = 0.009883
Number of executions = 8 Total execution time (sec.ms) = 0.001270
Number of... (1 Reply)
Hello everyone.
We have a environment where we have DS8K storage and ES800 storage, the way to check to which storage the box is connected is using the LUN ID I get frm " pcmpath query device " command.
for ex:
75CXX - DS8K storage
26860 - ES 800 Storage
I was told to check... (4 Replies)
Dear All
i am working on windows plattform and i am interested in Aix so i have done IBM Aix certification, can you please suggest Aix filed is good for my carrier,currently i am working as Desktop admin
edit by bakunin: please understand that the question you raised has nothing to do with the... (1 Reply)
I'm running Solaris 10 5/09 X86 suddenly numpad stop working
it's working on jds dt logon screen but in not working in the os only right enter key is working
any ideas
thanks in advance (2 Replies)
Hi All,
I am using cygwin 2.697.
When i was working with LAN its working fine.
But when i am trying to working via ( Aventail Smart Tunnel), It close after 20 mins.
But Exceed-10 is working fine, but it take more resource and its not freeware.
so kindly help me in this regards.
I have a... (1 Reply)
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)
Hello All,
I am working on an issue, where I need to check the max file size of a file. If the file size exceeds 2 GB, then I need to generate an error message. Since the file system does not allow a file to be created larger than 2 GB, I am planning to use named pipes & AWK file to acheive my... (6 Replies)
Hi,
How to establish in band communication in solaris 10 to connect 6140 storage. one lun is mapped to this storage.
My storage both controller IP not working. When i tried to connect serial cable console also not coming.
thanks (2 Replies)
Hi,
Is there any advantage is making all my storage LUNS ( hdisk ) of uniform size. Currently the LUN's are having different size () eg: 50G / 60G / 75G etc ).
I am planning for a storage migration....so should i go for uniform lun size or with current LUN size pattern ?
Regards,
jibu (3 Replies)
I've been working on a script with pf for a while and so far it is half way working. It handles smaller lists of ips I add to tables fine. However, anything larger I get the following error:
/etc/pf.conf:45: cannot define table table_name: Cannot allocate memoryI looked through some... (1 Reply)