Home | History | Annotate | Download | only in os

Lines Matching full:selinux

4 import android.os.SELinux;
11 if(SELinux.isSELinuxEnabled() == false)
14 String ctx = SELinux.getFileContext("/system/bin/toolbox");
19 if(SELinux.isSELinuxEnabled() == false)
22 String mycon = SELinux.getContext();
27 if(SELinux.isSELinuxEnabled() == false)
30 String mycon = SELinux.getPidContext(Process.myPid());
35 if(SELinux.isSELinuxEnabled() == false)
38 String mycon = SELinux.getContext();
40 ret = SELinux.checkSELinuxAccess(mycon, mycon, "process", "fork");
42 ret = SELinux.checkSELinuxAccess(mycon, mycon, "memprotect", "mmap_zero");