Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dselinux_restorecon.c46 static struct selabel_handle *fc_sehandle = NULL; variable
94 if (!fc_sehandle) { in restorecon_init()
610 rc = selabel_lookup_raw(fc_sehandle, &newcon, "/", in restorecon_sb()
613 rc = selabel_lookup_raw(fc_sehandle, &newcon, lookup_path, in restorecon_sb()
790 if (!fc_sehandle) in selinux_restorecon()
965 if (issys && !selabel_partial_match(fc_sehandle, in selinux_restorecon()
1044 fc_sehandle = (struct selabel_handle *) hndl; in selinux_restorecon_set_sehandle()
1049 if (selabel_digest(fc_sehandle, &fc_digest, &fc_digest_len, in selinux_restorecon_set_sehandle()
1149 if (!fc_sehandle || !fc_digest_len) in selinux_restorecon_xattr()
/external/selinux/libselinux/src/android/
Dandroid.c1055 static struct selabel_handle *fc_sehandle = NULL; variable
1122 if (!fc_sehandle) in file_context_init()
1123 fc_sehandle = selinux_android_file_context_handle(); in file_context_init()
1344 if (selabel_lookup(fc_sehandle, &secontext, pathname, sb->st_mode) < 0) in restorecon_sb()
1427 if (!fc_sehandle) in selinux_android_restorecon_common()
1533 if (issys && !selabel_partial_match(fc_sehandle, ftsent->fts_path)) { in selinux_android_restorecon_common()
1730 fc_sehandle = (struct selabel_handle *) hndl; in selinux_android_set_sehandle()