Home
last modified time | relevance | path

Searched refs:secontext (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/otautil/
DDirUtil.cpp94 char* secontext = nullptr; in mkdir_recursively() local
96 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()
/bootable/recovery/updater/
Dinstall.cpp375 char* secontext = nullptr; in MountFn() local
378 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()