is_selinux_enabled(3) -- Linux man page

 

NAME

is_selinux_enabled - check whether SE Linux is enabled  

SYNOPSIS

#include <selinux/selinux.h>

int is_selinux_enabled();

 

DESCRIPTION

is_selinux_enabled returns 1 if SE Linux is running or 0 if it is not. May change soon.