Print this page
Code review comments from jeffpc
@@ -4,15 +4,13 @@
NAME
psecflags - inspect or modify process security flags
SYNOPSIS
- /usr/bin/psecflags -s spec -e command
- [arg]...
+ /usr/bin/psecflags -s spec -e command [arg]...
- /usr/bin/psecflags -s spec [-i idtype]
- id ...
+ /usr/bin/psecflags -s spec [-i idtype] id ...
/usr/bin/psecflags [-F] { pid | core }
/usr/bin/psecflags -l
@@ -134,11 +132,11 @@
example$ psecflags $$
100718: -sh
E: aslr
I: aslr
L: none
- U: aslr, forbidnullmap, noexecstack
+ U: aslr,forbidnullmap,noexecstack
Example 2 Run a user command with ASLR enabled in addition to any
inherited security flags.
@@ -147,11 +145,11 @@
$ psecflags $$
100724: -sh
E: none
I: aslr
L: none
- U: aslr, forbidnullmap, noexecstack
+ U: aslr,forbidnullmap,noexecstack
Example 3 Remove aslr from the inheritable flags of all Bob's
processes.
@@ -194,6 +192,6 @@
SEE ALSO
exec(2), attributes(5), contract(4), security-flags(5), zones(5)
- May 3, 2014 PSECFLAGS(1)
+ June 6, 2016 PSECFLAGS(1)