Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/setfiles/
Drestorecon_xattr.c42 unsigned char *fc_digest = NULL; in main() local
128 if (selabel_digest(hnd, &fc_digest, &fc_digest_len, in main()
146 sprintf((&sha1_buf[i * 2]), "%02x", fc_digest[i]); in main()
/external/selinux/libselinux/src/
Dselinux_restorecon.c48 static unsigned char *fc_digest = NULL; variable
334 rc = memcmp(fc_digest, xattr_value, fc_digest_len); in add_xattr_entry()
904 memcmp(fc_digest, xattr_value, fc_digest_len) in selinux_restorecon()
999 if (setrestoreconlast && !flags.nochange && !error && fc_digest) { in selinux_restorecon()
1000 error = setxattr(pathname, RESTORECON_LAST, fc_digest, in selinux_restorecon()
1060 if (selabel_digest(fc_sehandle, &fc_digest, &fc_digest_len, in selinux_restorecon_set_sehandle()
1062 fc_digest = NULL; in selinux_restorecon_set_sehandle()
/external/selinux/libselinux/src/android/
Dandroid_platform.c75 uint8_t fc_digest[FC_DIGEST_SIZE]; variable
161 if (!compute_file_contexts_hash(fc_digest, opts, nopts)) { in selinux_android_file_context()