Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_internal.h64 struct selabel_digest { struct
72 extern int digest_add_specfile(struct selabel_digest *digest, FILE *fp, argument
76 extern void digest_gen_hash(struct selabel_digest *digest);
80 struct selabel_digest *digest);
122 struct selabel_digest *digest;
Dlabel.c102 struct selabel_digest *digest) in selabel_subs_init()
170 static inline struct selabel_digest *selabel_is_digest_set in selabel_is_digest_set()
173 struct selabel_digest *entry) in selabel_is_digest_set()
175 struct selabel_digest *digest = NULL; in selabel_is_digest_set()
208 static void selabel_digest_fini(struct selabel_digest *ptr) in selabel_digest_fini()
485 int selabel_digest(struct selabel_handle *rec, in selabel_digest() function
Dlabel_support.c116 void hidden digest_gen_hash(struct selabel_digest *digest) in digest_gen_hash()
144 int hidden digest_add_specfile(struct selabel_digest *digest, FILE *fp, in digest_add_specfile()
Dselinux_restorecon.c1049 if (selabel_digest(fc_sehandle, &fc_digest, &fc_digest_len, in selinux_restorecon_set_sehandle()
Dlabel_file.c528 const char *prefix, struct selabel_digest *digest) in process_file()
/external/selinux/libselinux/utils/
Dselabel_digest.c28 static int run_check_digest(char *cmd, char *selabel_digest) in run_check_digest() argument
47 rc = strncmp(selabel_digest, files_ptr + 1, digest_len * 2); in run_check_digest()
51 selabel_digest, files_ptr + 1); in run_check_digest()
53 printf("Passed validation - digest: %s\n", selabel_digest); in run_check_digest()
140 rc = selabel_digest(hnd, &sha1_digest, &digest_len, &specfiles, in main()
D.gitignore17 selabel_digest
/external/selinux/libselinux/include/selinux/
Dlabel.h126 int selabel_digest(struct selabel_handle *rec,
/external/selinux/policycoreutils/setfiles/
Drestorecon_xattr.c128 if (selabel_digest(hnd, &fc_digest, &fc_digest_len, in main()