Searched refs:secontext (Results 1 – 3 of 3) sorted by relevance
148 char *secontext = NULL; in dirCreateHierarchy() local151 selabel_lookup(sehnd, &secontext, cpath, mode); in dirCreateHierarchy()152 setfscreatecon(secontext); in dirCreateHierarchy()157 if (secontext) { in dirCreateHierarchy()158 freecon(secontext); in dirCreateHierarchy()
971 char *secontext = NULL; in mzExtractRecursive() local974 selabel_lookup(sehnd, &secontext, targetFile, UNZIP_FILEMODE); in mzExtractRecursive()975 setfscreatecon(secontext); in mzExtractRecursive()981 if (secontext) { in mzExtractRecursive()982 freecon(secontext); in mzExtractRecursive()
136 char *secontext = NULL; in MountFn() local139 selabel_lookup(sehandle, &secontext, mount_point, 0755); in MountFn()140 setfscreatecon(secontext); in MountFn()145 if (secontext) { in MountFn()146 freecon(secontext); in MountFn()