Collect and display Mandatory Access Control (SELinux/AppArmor) context info from /proc/PID/attr/current.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
davidedmundson |
Plasma |
Collect and display Mandatory Access Control (SELinux/AppArmor) context info from /proc/PID/attr/current.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I noticed that when the system uses AppArmor instead of SELinux, this also happens to show AppArmor profile and status. Then at least user facing bits should not be so SELinux oriented to avoid confusion. I suppose AppArmor is more widely used than SELinux.