AIX C library functions
Subroutines and macros are provided to manipulate additional Trusted AIX® functionality.
- accredrange
- Determine if a sensitivity label is within accreditation range.
- clbtohr
- Convert the given binary clearance label to human readable format
- clhrtob
- Convert the given human readable clearance label to binary format
- getfsfbitindex, getfsfbitstring
- Routines to get the File Security flag Strings and indices
- getmax_sl, getmax_tl
- Retrieve maximum sensitivity and integrity labels from the Label Encoding file.
- getmin_sl, getmin_tl
- Retrieve minimum sensitivity and integrity labels from the Label Encoding file.
- getsecconfig, setsecconfig
- Routines to retrieve and set the kernel security configuration flags for the runmodes
- initlabeldb, endlabeldb
- Label Database initialization and termination routines.
- maxlen_sl, maxlen_cl, maxlen_tl
- Retrieve maximum length of Human readable labels based on the initialized Label Encoding file.
- priv_isnull
- Determines if any privileges are set in the given privilege set
- priv_lower
- Privilege set operations
- priv_raise
- Privilege set operations
- priv_remove
- Privilege set operations
- priv_subset
- Privilege set operations
- privbit_clr
- Clears a specified privilege in the specified privilege set
- priv_clrall
- Clears all privileges in the specified privilege set
- priv_comb
- Combines the first two specified privilege sets and places the result in the third specified privilege set
- priv_copy
- Copies the first specified privilege set into the second specified privilege set
- priv_isnull
- Determines if no privileges are set in the given privilege set
- priv_mask
- Computes the intersection of the first two specified privilege sets and places the result in the third specified privilege set
- priv_rem
- Removes the privileges in the second specified privilege set from the first specified privilege set and places the result in the third specified privilege set
- privbit_set
- Sets the specified privilege in the specified privilege set
- priv_setall
- Sets all privileges in the specified privilege set
- priv_subset
- Determines if the first specified privilege set is a subset of the second specified privilege set
- privbit_test
- Tests to see if the specified privilege is set in the specified privilege set
- slbtohr, clbtohr, tlbtohr
- Binary Label to Human readable conversion routines.
- slhrtob, clhrtob, tlhrtob
- Human readable to Binary Label conversion routines
- sl_clr, tl_clr
- Routines to reset the labels
- sl_cmp, tl_cmp
- Label comparison routines
- tl_cmp
- Compare integrity labels