systeminformation icon indicating copy to clipboard operation
systeminformation copied to clipboard

SELinux status and metadata

Open jgresham opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. For my app, I need to make a change if a Linux user has SELinux enabled. If you would like to add this to systeminformation, I can try to open a PR for this. If it doesn't belong here, I can put it into my application code. I do not need the other metadata at the moment.

Describe the solution you'd like Put some of this output into systeminformation's OS data(?)

'[nick@fedora nice-node]$ sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      33

jgresham avatar Oct 13 '23 20:10 jgresham

@jgresham ... nice idea. No need to make a PR ... will implement this (just need to think about where I will add this)

sebhildebrandt avatar Oct 13 '23 20:10 sebhildebrandt

great, thank you!

jgresham avatar Oct 13 '23 20:10 jgresham