Package libacl-devel

Files needed for building programs with libacl

http://acl.bestbits.at/

This package contains header files and documentation needed to develop
programs which make use of the access control list programming interface
defined in POSIX 1003.1e draft standard 17.

Library Functions (Section 3)
acl_add_perm
The acl_add_perm() function adds the permission contained in the argument perm to the permission set referred to by the argument permset_d. An attempt to add a...
acl_calc_mask
The acl_calc_mask() function calculates and sets the permissions associated with the ACL_MASK ACL entry of the ACL referred to by acl_p. The value of the new...
acl_check
The acl_check() function checks the ACL referred to by the argument acl for validity. The three required entries ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER must...
acl_clear_perms
The acl_clear_perms() function clears all permissions from the permission set referred to by the argument permset_d. Any existing descriptors that refer to...
acl_cmp
The acl_cmp() function compares the ACLs pointed to by the arguments acl1 and acl2 for equality. The two ACLs are considered equal if for each entry in acl1...
acl_copy_entry
The acl_copy_entry() function copies the contents of the ACL entry indicated by the src_d descriptor to the existing ACL entry indicated by the dest_d...
acl_copy_ext
The acl_copy_ext() function copies the ACL pointed to by acl from system-managed space to the user managed space pointed to by buf_p. The size parameter...
acl_copy_int
The acl_copy_int() function copies an exportable, contiguous, persistent form of an ACL, pointed to by buf_p, to the internal representation. This function may...
acl_create_entry
The acl_create_entry() function creates a new ACL entry in the ACL pointed to by the contents of the pointer argument acl_p. On success, the function returns a...
acl_delete_def_file
The acl_delete_def_file() function deletes a default ACL from the directory whose pathname is pointed to by the argument path_p. The effective user ID of the...
acl_delete_entry
The acl_delete_entry() function removes the ACL entry indicated by the entry_d descriptor from the ACL pointed to by acl. Any existing ACL entry descriptors...
acl_delete_perm
The acl_delete_perm() function deletes the permission contained in the argument perm from the permission set referred to by the argument permset_d. An attempt...
acl_dup
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...
acl_entries
The acl_entries() function returns the number of ACL entries that are contained in the ACL referred to by the argument acl.
acl_equiv_mode
The acl_equiv_mode() function checks if the ACL pointed to by the argument acl contains only the required ACL entries of tag types ACL_USER_OBJ, ACL_GROUP_OBJ...
acl_error
The acl_error() function converts an ACL error code such as returned by the acl_check() function to a text message describing the error condition. In the...
acl_extended_fd
The acl_extended_fd() function returns 1 if the file identified by the argument fd is associated with an extended access ACL. The function returns 0 if the file...
acl_extended_file
The acl_extended_file() function returns 1 if the file or directory referred to by the argument path_p is associated with an extended access ACL, or if the...
acl_free
The acl_free() function frees any releasable memory currently allocated by to the ACL data object identified by obj_p. The argument obj_p may identify an ACL...
acl_from_mode
The acl_from_mode() function creates a minimal ACL that contains the three entries with tag types ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER, with permissions...
acl_from_text
The acl_from_text() function converts the text form of the ACL referred to by buf_p into the internal form of an ACL and returns a pointer to the working...
acl_get_entry
The acl_get_entry() function obtains a descriptor for an ACL entry as specified by entry_id within the ACL indicated by the argument acl. If the value of...
acl_get_fd
The acl_get_fd() function retrieves the access ACL associated with the file referred to by fd. The ACL is placed into working storage and acl_get_fd() returns a...
acl_get_file
The acl_get_file() function retrieves the access ACL associated with a file or directory, or the default ACL associated with a directory. The pathname for the...
acl_get_perm
The acl_get_perm() function tests if the permission specified by the argument perm is contained in the ACL permission set pointed to by the argument permset_d...
acl_get_permset
The acl_get_permset() function returns in permset_p a descriptor to the permission set in the ACL entry indicated by entry_d. Subsequent operations using the...
acl_get_qualifier
The acl_get_qualifier() function retrieves the qualifier from the ACL entry indicated by the argument entry_d into working storage and returns a pointer to that...
acl_get_tag_type
The acl_get_tag_type() function assigns to the value pointed to by tag_type_p the tag type for the ACL entry indicated by the argument entry_d. The argument...
acl_init
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...
acl_set_fd
The acl_set_fd() function associates an access ACL with the file referred to by fd. The effective user ID of the process must match the owner of the file or the...
acl_set_file
The acl_set_file() function associates an access ACL with a file or directory, or associates a default ACL with a directory. The pathname for the file or...
acl_set_permset
The acl_set_permset() function sets the permission set of the ACL entry indicated by the argument entry_d to the permissions contained in the argument...
acl_set_qualifier
The acl_set_qualifier() function sets the qualifier of the ACL entry indicated by the argument entry_d to the value referred to by the argument qualifier_p. If...
acl_set_tag_type
The acl_set_tag_type() function sets the tag type of the ACL entry indicated by the argument entry_d to the value of the argument tag_type. Any ACL entry...
acl_size
The acl_size() function return the size, in bytes, of the buffer required to hold the exportable, contiguous, persistent form of the ACL pointed to by the...
acl_to_any_text
The acl_to_any_text() function translates the ACL pointed to by the argument acl into a NULL terminated character string. This character string is composed of...
acl_to_text
The acl_to_text() function translates the ACL pointed to by the argument acl into a NULL terminated character string. If the pointer len_p is not NULL, then the...
acl_valid
The acl_valid() function checks the ACL referred to by the argument acl for validity. The three required entries ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER must...