Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_SELinux.cpp36 std::atomic<selabel_handle*> sehandle{nullptr};
38 selabel_handle* GetSELabelHandle() { in GetSELabelHandle()
39 selabel_handle* h = sehandle.load(); in GetSELabelHandle()
45 selabel_handle* expected = nullptr; in GetSELabelHandle()
108 auto* selabel_handle = GetSELabelHandle(); in fileSelabelLookup() local
109 if (selabel_handle == NULL) { in fileSelabelLookup()
115 if (selabel_lookup(selabel_handle, &tmp, path_c_str, S_IFREG) != 0) { in fileSelabelLookup()
/frameworks/native/cmds/servicemanager/
DAccess.cpp46 static struct selabel_handle* getSehandle() { in getSehandle()
47 static struct selabel_handle* gSehandle = nullptr; in getSehandle()