]> granicus.if.org Git - procps-ng/commit
ps: use attr/current as fallback for context
authorLaurent Bigonville <bigon@debian.org>
Sun, 3 Jan 2016 07:11:51 +0000 (18:11 +1100)
committerCraig Small <csmall@enc.com.au>
Fri, 15 Apr 2016 21:44:31 +0000 (07:44 +1000)
commit828540578cadb2e3e90e29754325cd3d8fab7033
tree98508c354b365a2842ec644f634e9afa4e677d95
parent8639a97250c0a9a34f895870100536c65959ac9b
ps: use attr/current as fallback for context

If SELINUX is enabled but the machine is using another MAC system
(like apparmor), ps will fallback to just parsing
"/proc/%d/attr/current", otherwise the label/context would not
be properly displayed in that case.

References:
 https://bugs.debian.org/786956

Signed-off-by: Craig Small <csmall@enc.com.au>
NEWS
ps/output.c