Print this page
Code review comments from jeffpc
*** 9,35 ****
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
.\" Copyright 2016, Richard Lowe.
.\"
! .Dd May 14, 2016
.Dt PSECFLAGS 3PROC
.Os
.Sh NAME
.Nm Psecflags ,
.Nm Psecflags_free
.Nd get and free process security flags
.Sh SYNOPSIS
.Lb libproc
.In libproc.h
.Ft int
! .Fo Ppriv
.Fa "struct ps_prochandle *P"
.Fa "prsecflags_t **psf"
.Fc
.Ft void
! .Fo Ppriv_free
.Fa "struct ps_prochandle *P"
.Fa "prsecflags_t *psf"
.Fc
.Sh DESCRIPTION
The
--- 9,35 ----
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
.\" Copyright 2016, Richard Lowe.
.\"
! .Dd June 06, 2016
.Dt PSECFLAGS 3PROC
.Os
.Sh NAME
.Nm Psecflags ,
.Nm Psecflags_free
.Nd get and free process security flags
.Sh SYNOPSIS
.Lb libproc
.In libproc.h
.Ft int
! .Fo Psecflags
.Fa "struct ps_prochandle *P"
.Fa "prsecflags_t **psf"
.Fc
.Ft void
! .Fo Psecflags_free
.Fa "struct ps_prochandle *P"
.Fa "prsecflags_t *psf"
.Fc
.Sh DESCRIPTION
The
*** 57,67 ****
.Fn Psecflags
function returns
.Sy 0
and
.Fa psf
! is updated with a pointer to the allocated privilege set. Otherwise,
.Sy -1
is returned and
.Fa psf
is not updated.
.Sh INTERFACE STABILITY
--- 57,67 ----
.Fn Psecflags
function returns
.Sy 0
and
.Fa psf
! is updated with a pointer to the allocated security flags. Otherwise,
.Sy -1
is returned and
.Fa psf
is not updated.
.Sh INTERFACE STABILITY