Home
last modified time | relevance | path

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

/third_party/eudev/src/shared/
Dselinux-util.c44 static struct selabel_handle *label_hnd = NULL; variable
79 if (label_hnd) in mac_selinux_init()
93 label_hnd = selabel_open(SELABEL_CTX_FILE, options, ELEMENTSOF(options)); in mac_selinux_init()
95 label_hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0); in mac_selinux_init()
97 if (!label_hnd) { in mac_selinux_init()
130 if (!label_hnd) in mac_selinux_finish()
133 selabel_close(label_hnd); in mac_selinux_finish()
134 label_hnd = NULL; in mac_selinux_finish()
147 if (!label_hnd) in mac_selinux_fix()
154 r = selabel_lookup_raw(label_hnd, &fcon, path, st.st_mode); in mac_selinux_fix()
[all …]