sec_acl_get_mgr_types_semantics-Obtain list of ACL manager types on a protected object, together with information about the POSIX semantics they support.
#include <dce/daclif.h>
void sec_acl_get_mgr_types_semantics(
sec_acl_handle_t prot_obj_handle,
sec_acl_type_t acl_type,
unsigned32 count_max,
unsigned32 *count,
unsigned32 *num_manager_types,
uuid_t manager_types[],
sec_acl_posix_semantics_t posix_semantics[],
error_status_t *status);
Input
- prot_obj_handle
Handle referring to a protected object.
- acl_type
An ACL type of the protected object.
- count_max
Maximum number of elements the calling client is prepared to receive In its manager_types[] and posix_semantics[] arrays.
Output
- count
Actual number of elements returned to the calling client in its manager_types[] and posix_semantics[] arrays.
- num_manager_types
Total number of ACL manager types, of ACL type acl_type, at the heads of chains (seesec_acl_get_printstring() ), protecting the protected object.
- manager_types[]
Array of size count, of ACL manager types managing ACLs of ACL type acl_type on the protected object.
- posix_semantics[]
Array of size count, indicating the "POSIX-specific" semantics supported by the corresponding ACL manager in the manager_types array.
- status
Completion status. On successful completion, error_status_ok is returned. Otherwise, an error (!= error_status_ok) is returned.
Thesec_acl_get_mgr_types_semantics() routine is identical tosec_acl_get_manager_types() , except that it returns the additional posix_semantics[] array parameter. That array consists of flag words, each bit of which identifies a "POSIX-specific" semantic that the corresponding ACL manager in the manager_types array supports (posix_semantics[k] corresponds to manager_types[k]). Seesec_acl_posix_semantics_t for discussion.
Implementations layer this routine over the rdacl RPC interface operationrdacl_get_mgr_types_semantics() .
error_status_ok.
Functions:sec_acl_bind() ,sec_acl_bind_to_addr() ,sec_acl_get_printstring() .Protocols:
rdacl_get_mgr_types_semantics() .
Contents | Next section | Index |