On Fri, 19 Mar 2004 21:08, Aleksey Nogin aleksey@nogin.org wrote:
I want to have a script that acts slightly differently depending on whether SELinux is being used or not. What is the best way to do it?
My initial attempts to use "-e /etc/security/selinux" or "-e /selinux/enforce" all create log messages:
I've attached my archive of man pages for SE Linux APIs. See is_selinux_enabled(3).