Print this page
Code review comments from jeffpc
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Psecflags.3proc.man.txt
+++ new/usr/src/man/man3proc/Psecflags.3proc.man.txt
1 1 PSECFLAGS(3PROC) Process Control Library Functions PSECFLAGS(3PROC)
2 2
3 3 NAME
4 4 Psecflags, Psecflags_free - get and free process security flags
5 5
6 6 SYNOPSIS
7 7 Process Control Library (libproc, -lproc)
8 8 #include <libproc.h>
9 9
10 10 int
11 - Ppriv(struct ps_prochandle *P, prsecflags_t **psf);
11 + Psecflags(struct ps_prochandle *P, prsecflags_t **psf);
12 12
13 13 void
14 - Ppriv_free(struct ps_prochandle *P, prsecflags_t *psf);
14 + Psecflags_free(struct ps_prochandle *P, prsecflags_t *psf);
15 15
16 16 DESCRIPTION
17 17 The Psecflags() function obtains the security flags of the process handle
18 18 P. The security flags structure will be dynamically allocated and a
19 19 pointer to it will be placed in psf. It must be released with a call to
20 20 Psecflags_free(). The definition of the prsecflags_t structure is
21 21 documented in proc(4).
22 22
23 23 The Psecflags_free() function releases the storage in psf that was
24 24 allocated as a result of calling Psecflags().
25 25
26 26 RETURN VALUES
27 27 Upon successful completion, the Psecflags() function returns 0 and psf is
28 - updated with a pointer to the allocated privilege set. Otherwise, -1 is
28 + updated with a pointer to the allocated security flags. Otherwise, -1 is
29 29 returned and psf is not updated.
30 30
31 31 INTERFACE STABILITY
32 32 Uncommitted
33 33
34 34 MT-LEVEL
35 35 See LOCKING in libproc(3LIB).
36 36
37 37 SEE ALSO
38 38 libproc(3LIB), proc(4), security-flags(5)
39 39
40 -illumos May 14, 2016 illumos
40 +illumos June 6, 2016 illumos
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX