sec_acl_calc_mask-Obtain MASK_OBJ from an ACL.
#include <dce/daclif.h>
void sec_acl_calc_mask(
sec_acl_list_t acl_list,
error_status_t *status);
Input/Output
- acl_list
An ACL list.
Output
- status
Completion status. On successful completion, error_status_ok is returned. Otherwise, an error (!= error_status_ok) is returned.
Thesec_acl_calc_mask() routine sets the permission bits of the (sec_acl_e_type_mask_obj) entry (creating it first, if necessary) of each of the ACLs in the specified ACL list (acl_list), to the "union" (bitwise OR) of the permissions of all the ACL entries in the ACL of types USER, FOREIGN_USER, GROUP_OBJ, GROUP, FOREIGN_GROUP, FOREIGN_OTHER and ANY_OTHER (but not USER_OBJ, OTHER_OBJ, UNAUTHENTICATED, EXTENDED or MASK_OBJ, if these exist).
error_status_ok, sec_acl_cant_allocate_memory.
Functions:sec_acl_get_manager_types_semantics() .
Contents | Next section | Index |