PSECFLAGS(3PROC) Process Control Library Functions PSECFLAGS(3PROC)

Psecflags, Psecflags_freeget and free process security flags

Process Control Library (libproc, -lproc)

#include <libproc.h>

Psecflags(struct ps_prochandle *P, prsecflags_t **psf);

Psecflags_free(struct ps_prochandle *P, prsecflags_t *psf);

The () function obtains the security flags of the process handle P. The security flags structure will be dynamically allocated and a pointer to it will be placed in psf. It must be released with a call to Psecflags_free(). The definition of the structure is documented in proc(5).

The () function releases the storage in psf that was allocated as a result of calling Psecflags().

Upon successful completion, the Psecflags() function returns and psf is updated with a pointer to the allocated security flags. Otherwise, is returned and psf is not updated.

See in libproc(3LIB).

libproc(3LIB), proc(5), security-flags(7)

June 6, 2016 OmniOS