]> 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>
Sun, 3 Jan 2016 07:13:47 +0000 (18:13 +1100)
commit5da390422d2b58902731655ddd12439126a051da
tree5a835c012379ecd72222c0e0cba074493aaf1099
parent6fcb690099bd681930946492e8a93c61e82249d8
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