Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dverifier.c160 #define BPF_MAP_PTR_UNPRIV 1UL macro
163 #define BPF_MAP_PTR(X) ((struct bpf_map *)((X) & ~BPF_MAP_PTR_UNPRIV))
172 return aux->map_state & BPF_MAP_PTR_UNPRIV; in bpf_map_ptr_unpriv()
178 BUILD_BUG_ON((unsigned long)BPF_MAP_PTR_POISON & BPF_MAP_PTR_UNPRIV); in bpf_map_ptr_store()
181 (unpriv ? BPF_MAP_PTR_UNPRIV : 0UL); in bpf_map_ptr_store()