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>
This commit is contained in:
committed by
Craig Small
parent
6fcb690099
commit
5da390422d
Reference in New Issue
Block a user