Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dverifier.c186 #define BPF_MAP_PTR_UNPRIV 1UL macro
189 #define BPF_MAP_PTR(X) ((struct bpf_map *)((X) & ~BPF_MAP_PTR_UNPRIV))
201 return aux->map_ptr_state & BPF_MAP_PTR_UNPRIV; in bpf_map_ptr_unpriv()
207 BUILD_BUG_ON((unsigned long)BPF_MAP_PTR_POISON & BPF_MAP_PTR_UNPRIV); in bpf_map_ptr_store()
210 (unpriv ? BPF_MAP_PTR_UNPRIV : 0UL); in bpf_map_ptr_store()