dce_acl_obj_add_id_entry(3sec) — Subroutines
NAME
dce_acl_obj_add_id_entry — Adds permissions for an ACL entry to the given ACL
Synopsis
void dce_acl_obj_add_id_entry(
sec_acl_t ∗acl,
sec_acl_entry_type_t entry_type,
sec_acl_permset_t permset,
uuid_t ∗id,
error_status_t ∗status);
Parameters
Input
aclA pointer to the ACL that is to be modified.
entry_typeMust be one of the following types:
•sec_acl_e_type_user
•sec_acl_e_type_group
•sec_acl_e_type_foreign_other
•sec_acl_e_type_user_deleg
•sec_acl_e_type_group_deleg
•sec_acl_e_type_for_other_deleg
permsetThe permissions to be granted to the user, group, or foreign_other.
idThe UUID identifying the user, group, or foreign_other to be added
Output
statusA pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.
Description
The dce_acl_obj_add_id_entry() routine adds an ACL entry (user or group, domestic or foreign) to the given ACL.
Errors
The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
sec_acl_invalid_entry_type
The type specified in entry_type is not one of the six specified types.
error_status_ok
The call was successful.
Related Information
Functions: dce_acl_obj_add_group_entry(3sec), dce_acl_obj_add_user_entry(3sec).