Lines Matching full:secontext
477 char *secontext = NULL;
480 selabel_lookup(sehandle, &secontext, path, mode);
481 setfscreatecon(secontext);
486 if (secontext) {
488 freecon(secontext);
498 char *secontext = NULL;
507 if (selabel_lookup(sehandle, &secontext, pathname, sb.st_mode) < 0)
509 if (lsetfilecon(pathname, secontext) < 0) {
510 freecon(secontext);
513 freecon(secontext);