Print this page
Code review comments from jeffpc
@@ -6,14 +6,14 @@
SYNOPSIS
Process Control Library (libproc, -lproc)
#include <libproc.h>
int
- Ppriv(struct ps_prochandle *P, prsecflags_t **psf);
+ Psecflags(struct ps_prochandle *P, prsecflags_t **psf);
void
- Ppriv_free(struct ps_prochandle *P, prsecflags_t *psf);
+ Psecflags_free(struct ps_prochandle *P, prsecflags_t *psf);
DESCRIPTION
The Psecflags() 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
@@ -23,11 +23,11 @@
The Psecflags_free() function releases the storage in psf that was
allocated as a result of calling Psecflags().
RETURN VALUES
Upon successful completion, the Psecflags() function returns 0 and psf is
- updated with a pointer to the allocated privilege set. Otherwise, -1 is
+ updated with a pointer to the allocated security flags. Otherwise, -1 is
returned and psf is not updated.
INTERFACE STABILITY
Uncommitted
@@ -35,6 +35,6 @@
See LOCKING in libproc(3LIB).
SEE ALSO
libproc(3LIB), proc(4), security-flags(5)
-illumos May 14, 2016 illumos
+illumos June 6, 2016 illumos