On Fri, 19 Mar 2004 21:08, Aleksey Nogin <aleksey@xxxxxxxxx> 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). -- http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
Attachment:
man.tgz
Description: application/tgz