Searched refs:is_selinux_enabled (Results 1 - 25 of 42) sorted by relevance

12

/external/toybox/toys/android/
H A Dgetenforce.c22 if (!is_selinux_enabled()) puts("Disabled");
H A Dsetenforce.c25 if (!is_selinux_enabled()) error_exit("SELinux is disabled");
/external/selinux/libselinux/utils/
H A Dselinuxenabled.c8 return !is_selinux_enabled();
H A Dgetenforce.c11 rc = is_selinux_enabled();
13 fputs("getenforce: is_selinux_enabled() failed", stderr);
H A Dsetenforce.c23 if (is_selinux_enabled() <= 0) {
H A Dgetsebool.c25 if (is_selinux_enabled() <= 0) {
49 if (is_selinux_enabled() <= 0) {
H A Dgetconlist.c40 if (!is_selinux_enabled()) {
H A Dtogglesebool.c28 if (is_selinux_enabled() <= 0) {
H A Dgetdefaultcon.c51 if (!is_selinux_enabled()) {
/external/libselinux/src/
H A Denabled.c11 int is_selinux_enabled(void) function
19 hidden_def(is_selinux_enabled)
H A DcheckAccess.c15 selinux_enabled = is_selinux_enabled();
H A Dselinux_internal.h28 hidden_proto(is_selinux_enabled)
/external/selinux/libselinux/src/
H A Denabled.c11 int is_selinux_enabled(void) function
23 hidden_def(is_selinux_enabled)
H A DcheckAccess.c26 selinux_enabled = is_selinux_enabled();
84 if (is_selinux_enabled() == 0)
H A Dsetexecfilecon.c13 if (is_selinux_enabled() < 1)
H A Dcallbacks.c19 if (is_selinux_enabled() == 0) return 0;
H A Dselinux_internal.h32 hidden_proto(is_selinux_enabled)
/external/toybox/lib/
H A Dlsm.h9 #define is_selinux_enabled() 0 macro
40 else return is_selinux_enabled() == 1;
/external/mesa3d/src/mapi/mapi/
H A Du_execmem.c73 if (is_selinux_enabled()) {
/external/mesa3d/src/mesa/main/
H A Dexecmem.c72 if (is_selinux_enabled()) {
/external/selinux/policycoreutils/load_policy/
H A Dload_policy.c68 if (is_selinux_enabled() == 1) {
/external/libselinux/include/selinux/
H A Dselinux.h12 extern int is_selinux_enabled(void);
/external/selinux/policycoreutils/restorecond/
H A Drestorecond.c166 if (is_selinux_enabled() != 1) return 0;
/external/selinux/policycoreutils/run_init/
H A Drun_init.c358 if (!is_selinux_enabled()) {
/external/openssh/openbsd-compat/
H A Dport-linux.c45 /* Wrapper around is_selinux_enabled() to log its return value once only */
52 enabled = (is_selinux_enabled() == 1);

Completed in 2917 milliseconds

12