Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/android/
Dandroid_device.c154 static struct selabel_handle *fc_sehandle = NULL; variable
158 if (!fc_sehandle) in file_context_init()
159 fc_sehandle = selinux_android_file_context_handle(); in file_context_init()
511 if (selabel_lookup(fc_sehandle, &secontext, pathname, sb->st_mode) < 0) in restorecon_sb()
571 bool status = selabel_hash_all_partial_matches(fc_sehandle, pathname, in check_context_match_for_dir()
641 if (!fc_sehandle) in selinux_android_restorecon_common()
732 if (issys && !selabel_partial_match(fc_sehandle, ftsent->fts_path)) { in selinux_android_restorecon_common()
845 fc_sehandle = (struct selabel_handle *) hndl; in selinux_android_set_sehandle()
/external/selinux/libselinux/src/
Dselinux_restorecon.c44 static struct selabel_handle *fc_sehandle = NULL; variable
96 if (!fc_sehandle) { in restorecon_init()
322 match = selabel_get_digests_all_partial_matches(fc_sehandle, directory, in add_xattr_entry()
649 rc = selabel_lookup_raw(fc_sehandle, &newcon, "/", in restorecon_sb()
652 rc = selabel_lookup_raw(fc_sehandle, &newcon, lookup_path, in restorecon_sb()
803 status = selabel_get_digests_all_partial_matches(fc_sehandle, pathname, in check_context_match_for_dir()
924 !selabel_partial_match(fc_sehandle, in selinux_restorecon_thread()
1070 if (!fc_sehandle) in selinux_restorecon_common()
1369 fc_sehandle = hndl; in selinux_restorecon_set_sehandle()
1370 if (!fc_sehandle) in selinux_restorecon_set_sehandle()
[all …]