PreviousNext

dce_acl_obj_add_obj_entry(3sec)

Adds permissions for an object (obj) ACL entry to the given ACL

Synopsis

#include <dce/dce.h>
#include <dce/aclif.h>


void dce_acl_obj_add_obj_entry(
sec_acl_t *acl,
sec_acl_entry_type_t
entry_type,
sec_acl_permset_t
permset,
error_status_t *
status);

Parameters

Input

acl
A pointer to the ACL that is to be modified.

entry_type
Must be one of these types:

· sec_acl_e_type_unauthenticated

· sec_acl_e_type_any_other

· sec_acl_e_type_mask_obj

· sec_acl_e_type_user_obj

· sec_acl_e_type_group_obj

· sec_acl_e_type_other_obj

· sec_acl_e_type_user_obj_deleg

· sec_acl_e_type_group_obj_deleg

· sec_acl_e_type_other_obj_deleg

· sec_acl_e_type_any_other_deleg

permset
The permissions to be granted.

Output

status
A 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_obj_entry( ) routine adds an obj ACL entry 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_duplicate_entry
An obj AACL entry type already exists for the given ACL.

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_any_other_entry(3sec)

dce_acl_obj_add_unauth_entry(3sec)