HomeSort by relevance Sort by last modified time
    Searched refs:mycon (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/tests/coretests/src/android/os/
SELinuxTest.java 22 String mycon = SELinux.getContext();
23 assertEquals(mycon, "u:r:untrusted_app:s0:c33");
30 String mycon = SELinux.getPidContext(Process.myPid());
31 assertEquals(mycon, "u:r:untrusted_app:s0:c33");
38 String mycon = SELinux.getContext();
40 ret = SELinux.checkSELinuxAccess(mycon, mycon, "process", "fork");
42 ret = SELinux.checkSELinuxAccess(mycon, mycon, "memprotect", "mmap_zero");
  /system/core/init/
init.c 207 char *mycon = NULL, *fcon = NULL; local
210 rc = getcon(&mycon);
219 freecon(mycon);
223 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &scon);
224 freecon(mycon);

Completed in 999 milliseconds