libksysguard: show Mandatory Access Control (SELinux/AppArmor) context
ClosedPublic

Authored by topimiettinen on Apr 26 2019, 9:56 PM.

Details

Summary

Collect and display Mandatory Access Control (SELinux/AppArmor) context info from /proc/PID/attr/current.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>

Diff Detail

Repository
R111 KSysguard Library
Branch
master
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 11350
Build 11368: arc lint + arc unit
topimiettinen created this revision.Apr 26 2019, 9:56 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 26 2019, 9:56 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
topimiettinen requested review of this revision.Apr 26 2019, 9:56 PM

Fedora with SELinux

hide selinux column view by default

davidedmundson accepted this revision.May 2 2019, 10:46 PM
This revision is now accepted and ready to land.May 2 2019, 10:46 PM

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.

update to reflect that this also shows AppArmor context

topimiettinen retitled this revision from process: show SELinux context to libksysguard: show Mandatory Access Control (SELinux/AppArmor) context.May 20 2019, 5:06 PM
topimiettinen edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.