Searched refs:fc_sehandle (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libselinux/src/ |
D | selinux_restorecon.c | 47 static struct selabel_handle *fc_sehandle = NULL; variable 95 if (!fc_sehandle) { in restorecon_init() 620 rc = selabel_lookup_raw(fc_sehandle, &newcon, "/", in restorecon_sb() 623 rc = selabel_lookup_raw(fc_sehandle, &newcon, lookup_path, in restorecon_sb() 800 if (!fc_sehandle) in selinux_restorecon() 976 if (issys && !selabel_partial_match(fc_sehandle, in selinux_restorecon() 1055 fc_sehandle = (struct selabel_handle *) hndl; in selinux_restorecon_set_sehandle() 1060 if (selabel_digest(fc_sehandle, &fc_digest, &fc_digest_len, in selinux_restorecon_set_sehandle() 1160 if (!fc_sehandle || !fc_digest_len) in selinux_restorecon_xattr()
|
/external/selinux/libselinux/src/android/ |
D | android_platform.c | 1236 static struct selabel_handle *fc_sehandle = NULL; variable 1240 if (!fc_sehandle) in file_context_init() 1241 fc_sehandle = selinux_android_file_context_handle(); in file_context_init() 1461 if (selabel_lookup(fc_sehandle, &secontext, pathname, sb->st_mode) < 0) in restorecon_sb() 1525 bool status = selabel_hash_all_partial_matches(fc_sehandle, pathname, in check_context_match_for_dir() 1595 if (!fc_sehandle) in selinux_android_restorecon_common() 1690 if (issys && !selabel_partial_match(fc_sehandle, ftsent->fts_path)) { in selinux_android_restorecon_common() 1803 fc_sehandle = (struct selabel_handle *) hndl; in selinux_android_set_sehandle()
|