Trusted Solaris Developer's Guide

Single Privileges

One privilege is represented by the priv_t type definition. You initialize a variable of type priv_t with a privilege ID that can be either the constant name or numeric ID. The constant name is preferred because it makes your code easier to read.

priv_t priv_id = PRIV_FILE_DAC_WRITE;