selinux: how to query if selinux is enabled

Casey Schaufler casey at schaufler-ca.com
Thu Oct 8 17:05:57 UTC 2020


On 10/7/2020 5:40 PM, Olga Kornievskaia wrote:
> Hi folks,
>
> >From some linux kernel module, is it possible to query and find out
> whether or not selinux is currently enabled or not?

% cat /sys/kernel/security/lsm
capability,yamma,selinux

>
> Thank you.



More information about the Linux-security-module-archive mailing list