Home | History | Annotate | Download | only in android

Lines Matching defs:secontext

1229     char *secontext = *secontextp;
1295 ctx = context_new(secontext);
1304 secontext = context_str(ctx);
1305 if (!secontext)
1308 if (!strcmp(secontext, *secontextp))
1311 rc = security_check_context(secontext);
1316 *secontextp = strdup(secontext);
1339 char *secontext = NULL;
1343 if (selabel_lookup(fc_sehandle, &secontext, pathname, sb->st_mode) < 0)
1360 if (pkgdir_selabel_lookup(pathname, seinfo, uid, &secontext) < 0)
1364 if (strcmp(oldsecontext, secontext) != 0) {
1367 "SELinux: Relabeling %s from %s to %s.\n", pathname, oldsecontext, secontext);
1369 if (lsetfilecon(pathname, secontext) < 0)
1378 freecon(secontext);