Home | History | Annotate | Download | only in android

Lines Matching defs:secontext

1347     char *secontext = *secontextp;
1413 ctx = context_new(secontext);
1422 secontext = context_str(ctx);
1423 if (!secontext)
1426 if (!strcmp(secontext, *secontextp))
1429 rc = security_check_context(secontext);
1434 *secontextp = strdup(secontext);
1457 char *secontext = NULL;
1461 if (selabel_lookup(fc_sehandle, &secontext, pathname, sb->st_mode) < 0)
1478 if (pkgdir_selabel_lookup(pathname, seinfo, uid, &secontext) < 0)
1482 if (strcmp(oldsecontext, secontext) != 0) {
1485 "SELinux: Relabeling %s from %s to %s.\n", pathname, oldsecontext, secontext);
1487 if (lsetfilecon(pathname, secontext) < 0)
1496 freecon(secontext);