2.3 Access Masks
An access mask is a 32-bit set of rights. Masks can contain four generic
bits (KACS_ACCESS_GENERIC_READ/WRITE/EXECUTE/ALL) that stand in for
object-specific rights until they are mapped to a concrete object class.
uint32_t ;
peios_access_map_generic folds the generic bits of mask into
object-specific rights using the mapping m, and clears the generic bits from
the result. Each object class publishes its canonical mapping as a data symbol
you pass here — peios_file_generic_mapping (from
<peios/file.h>) and
peios_token_generic_mapping (from
<peios/token.h>). Use it
when you have a mask written in generic terms (say, from an SDDL string using
GR/GW) and need the concrete rights for a specific object type.