Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbpf.h1054 #define BPF_MAP_CAN_READ BIT(0) macro
1065 return BPF_MAP_CAN_READ; in bpf_map_flags_to_cap()
1069 return BPF_MAP_CAN_READ | BPF_MAP_CAN_WRITE; in bpf_map_flags_to_cap()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c2803 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()