|PSETPRIV(3PROC)||Process Control Library Functions||PSETPRIV(3PROC)|
Psetpriv — set
Process Control Library (libproc, -lproc)
*P, prpriv_t *pprv);
function updates the privileges of the process handle
P to the set described by pprv.
The updated privilege set has restrictions on what it may change for a
process which are documented in the
section of proc(5). In addition, the
definition of the
structure is described in proc(5).
The current privilege set for the process may be obtained through a call to Ppriv(3PROC).
Note, the privilege set may only be updated for active processes. Process handles which correspond to core files, zombie processes, and files, may not have their privilege sets updated.
Psetpriv() function will fail if:
|May 11, 2016||OmniOS|