PreviousNext

Constants

The following constants are used in sec_acl_ calls:

sec_acl_default_handle
The value of an unbound ACL manager handle.

sec_rgy_acct_key_t
The following 32-bit integer constants are used with the sec_rgy_acct_key_t data type:

sec_rgy_acct_key_none
Invalid key.

sec_rgy_acct_key_person
The person name alone is enough.

sec_rgy_acct_key_group
The person and group names are both necessary for the account abbreviation.

sec_rgy_acct_key_org
The person, group, and organization names are all necessary.

sec_rgy_acct_key_last
Key values must be less than this constant.

sec_rgy_pname_t_size
The maximum number of characters in a sec_rgy_pname_t.

sec_acl_permset_t
The following constants are defined for use with the sec_acl_permset_t data type:

sec_acl_perm_read
The ACL allows read access to the protected object.

sec_acl_perm_write
The ACL allows write access to the protected object.

sec_acl_perm_execute
The ACL allows execute access to the protected object.

sec_acl_perm_owner
The ACL allows owner-level access to the protected object.

sec_acl_perm_insert
The ACL allows insert access to the protected object.

sec_acl_perm_delete
The ACL allows delete access to the protected object.

sec_acl_perm_test
The ACL allows access to the protected object only to the extent of being able to test for existence.

sec_acl_perm_unused_00000080 - sec_acl_perm_unused_0x80000000

The bits from 0x00000080 to 0x80000000 are not used by the conventional ACL permission set. Constants have been defined so application programs can easily use these bits for extended ACLs.

sec_acl_printstring_len
The maximum length of the printable representation of an ACL permission. (See sec_acl_printstring_t.)

sec_acl_printstring_help_len
The maximum length of a help message to be associated with a supported ACL permission. (See sec_acl_printstring_t.)