2007-02-07 00:58:50 +05:30
|
|
|
/*
|
|
|
|
* selinuxenabled
|
2007-03-07 15:05:43 +05:30
|
|
|
*
|
2007-02-07 00:58:50 +05:30
|
|
|
* Based on libselinux 1.33.1
|
|
|
|
* Port to BusyBox Hiroshi Shinji <shiroshi@my.email.ne.jp>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#include "busybox.h"
|
|
|
|
|
2007-02-08 03:38:42 +05:30
|
|
|
int selinuxenabled_main(int argc, char **argv);
|
2007-02-07 00:58:50 +05:30
|
|
|
int selinuxenabled_main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
return !is_selinux_enabled();
|
|
|
|
}
|