Home
last modified time | relevance | path

Searched refs:scon (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Dinit.c173 char *scon = NULL; in service_start() local
214 scon = strdup(svc->seclabel); in service_start()
215 if (!scon) { in service_start()
236 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &scon); in service_start()
237 if (rc == 0 && !strcmp(scon, mycon)) { in service_start()
274 si->perm, si->uid, si->gid, si->socketcon ?: scon); in service_start()
280 freecon(scon); in service_start()
281 scon = NULL; in service_start()
359 freecon(scon); in service_start()