Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
A Dima.c28 u64 ima_hash = 0; in ima_test_common() local
36 ret = bpf_ima_inode_hash(file->f_inode, &ima_hash, in ima_test_common()
37 sizeof(ima_hash)); in ima_test_common()
39 ret = bpf_ima_file_hash(file, &ima_hash, in ima_test_common()
40 sizeof(ima_hash)); in ima_test_common()
41 if (ret < 0 || ima_hash == 0) in ima_test_common()
48 *sample = ima_hash; in ima_test_common()

Completed in 3 milliseconds