Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dce_acl_obj_add_obj_entry(3sec) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

dce_acl_obj_add_obj_entry(3sec)  —  Subroutines

NAME

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

Synopsis

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

aclA pointer to the ACL that is to be modified. 

entry_typeMust 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

permsetThe permissions to be granted. 

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_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 ACL entry type already exits for the given ACL. 

sec_acl_invalid_entry_type
The type specified in entry_type is not a valid ACL entry type. 

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). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026