Home
last modified time | relevance | path

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

/linux/Documentation/bpf/
H A Dsigning.rst112 ``map->excl_prog_sha == prog->digest`` for every map a program uses, so the
141 ``excl_prog_sha``) and a plain array map (``BPF_MAP_TYPE_ARRAY``); only an
165 The digest binding (``excl_prog_sha == prog->digest``) is enforced by the
/linux/kernel/bpf/
H A Dsyscall.c894 kfree(map->excl_prog_sha); in bpf_map_free()
1603 map->excl_prog_sha = kzalloc(SHA256_DIGEST_SIZE, GFP_KERNEL); in map_create_alloc()
1604 if (!map->excl_prog_sha) { in map_create_alloc()
1609 if (copy_from_bpfptr(map->excl_prog_sha, uprog_hash, SHA256_DIGEST_SIZE)) { in map_create_alloc()
H A Dverifier.c18769 if (map->excl_prog_sha && in check_map_prog_compatibility()
18770 memcmp(map->excl_prog_sha, prog->digest, SHA256_DIGEST_SIZE)) { in check_map_prog_compatibility()
21076 if (!map->excl_prog_sha) { in bpf_prog_verify_signature()
/linux/include/linux/
H A Dbpf.h343 char *excl_prog_sha; member