Home
last modified time | relevance | path

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

/linux/include/linux/
A Dbpf.h1093 #define BPF_MAP_CAN_WRITE BIT(1) macro
1105 return BPF_MAP_CAN_WRITE; in bpf_map_flags_to_cap()
1107 return BPF_MAP_CAN_READ | BPF_MAP_CAN_WRITE; in bpf_map_flags_to_cap()
/linux/kernel/bpf/
A Dverifier.c3312 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()

Completed in 28 milliseconds