These system calls get and set process privilege sets. Refer to the getppriv(2) man page.
int getppriv(priv_ptype_t type, priv_set_t *priv_set); int setppriv(priv_op_t op, priv_ptype_t type, priv_set_t *priv_set);
You can also use the library routines below to access process privilege sets. The syntax is a little different, but the semantics are the same.