Searched refs:secontext (Results 1 – 2 of 2) sorted by relevance
94 char* secontext = nullptr; in mkdir_recursively() local96 selabel_lookup(const_cast<selabel_handle*>(sehnd), &secontext, dir_path.c_str(), mode); in mkdir_recursively()97 setfscreatecon(secontext); in mkdir_recursively()100 if (secontext) { in mkdir_recursively()101 freecon(secontext); in mkdir_recursively()
375 char* secontext = nullptr; in MountFn() local378 selabel_lookup(sehandle, &secontext, mount_point.c_str(), 0755); in MountFn()379 setfscreatecon(secontext); in MountFn()384 if (secontext) { in MountFn()385 freecon(secontext); in MountFn()