Home
last modified time | relevance | path

Searched refs:is_selinux_enabled (Results 1 – 25 of 48) sorted by relevance

12

/external/selinux/libselinux/src/
Denabled.c11 int is_selinux_enabled(void) in is_selinux_enabled() function
23 hidden_def(is_selinux_enabled) in hidden_def() argument
DcheckAccess.c26 selinux_enabled = is_selinux_enabled(); in avc_init_once()
84 if (is_selinux_enabled() == 0) in selinux_check_passwd_access()
Dsetexecfilecon.c13 if (is_selinux_enabled() < 1) in setexecfilecon()
/external/toybox/lib/
Dlsm.h9 #define is_selinux_enabled() 0 macro
41 else return is_selinux_enabled() == 1; in lsm_enabled()
/external/selinux/libselinux/utils/
Dgetsebool.c25 if (is_selinux_enabled() <= 0) { in main()
49 if (is_selinux_enabled() <= 0) { in main()
Dselinuxenabled.c8 return !is_selinux_enabled(); in main()
Dgetenforce.c11 rc = is_selinux_enabled(); in main()
Dsetenforce.c23 if (is_selinux_enabled() <= 0) { in main()
Dgetconlist.c40 if (!is_selinux_enabled()) { in main()
Dtogglesebool.c28 if (is_selinux_enabled() <= 0) { in main()
Dgetdefaultcon.c51 if (!is_selinux_enabled()) { in main()
/external/libffi/src/
Dclosures.c166 #define is_selinux_enabled() (selinux_enabled >= 0 ? selinux_enabled \ macro
171 #define is_selinux_enabled() 0 macro
215 #define is_selinux_enabled() 0 macro
534 if (execfd == -1 && !is_selinux_enabled ()) in dlmmap()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Dclosures.c166 #define is_selinux_enabled() (selinux_enabled >= 0 ? selinux_enabled \ macro
171 #define is_selinux_enabled() 0 macro
215 #define is_selinux_enabled() 0 macro
506 if (execfd == -1 && !is_selinux_enabled ()) in dlmmap()
/external/toybox/toys/android/
Dgetenforce.c22 if (!is_selinux_enabled()) puts("Disabled"); in getenforce_main()
Dsetenforce.c25 if (!is_selinux_enabled()) error_exit("SELinux is disabled"); in setenforce_main()
/external/selinux/libselinux/
Dexported_vendor.map10 is_selinux_enabled;
Dexported.map11 is_selinux_enabled;
/external/mesa3d/src/mapi/
Du_execmem.c73 if (is_selinux_enabled()) { in init_map()
/external/mesa3d/src/mesa/main/
Dexecmem.c73 if (is_selinux_enabled()) { in init_heap()
/external/ltp/m4/
Dltp-selinux.m428 AC_CHECK_LIB(selinux,is_selinux_enabled,[
/external/selinux/restorecond/
Drestorecond.c148 if (is_selinux_enabled() != 1) in main()
/external/selinux/policycoreutils/setfiles/
Drestorecon_xattr.c54 if (is_selinux_enabled() <= 0) { in main()
/external/selinux/policycoreutils/run_init/
Drun_init.c358 if (!is_selinux_enabled()) {
/external/selinux/python/sepolicy/
Dtest_sepolicy.py118 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
/external/selinux/sandbox/
Dtest_sandbox.py110 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:

12