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()
95 char* secontext = nullptr; in Mount() local100 selabel_lookup(sehandle_, &secontext, mount_point_string.c_str(), 0755); in Mount()101 setfscreatecon(secontext); in Mount()106 if (secontext) { in Mount()107 freecon(secontext); in Mount()