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()
1119 char *secontext = NULL; in mzExtractRecursive() local1122 selabel_lookup(sehnd, &secontext, targetFile, UNZIP_FILEMODE); in mzExtractRecursive()1123 setfscreatecon(secontext); in mzExtractRecursive()1128 if (secontext) { in mzExtractRecursive()1129 freecon(secontext); in mzExtractRecursive()
81 char *secontext = NULL; in MountFn() local84 selabel_lookup(sehandle, &secontext, mount_point, 0755); in MountFn()85 setfscreatecon(secontext); in MountFn()90 if (secontext) { in MountFn()91 freecon(secontext); in MountFn()