Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 12:58:21
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_map_is_rdonly

Proto:static bool bpf_map_is_rdonly(const struct bpf_map *map)

Type:bool

Parameter:

TypeParameterName
const struct bpf_map *map
2816  Return map_flags & Flags for accessing BPF object from program side. && write-once; write-protected by freeze_mutex
Caller
NameDescribe
check_mem_accessheck whether memory at (regno + off) is accessible for t = (read | write)* if t==write, value_regno is a register which value is stored into memory* if t==read, value_regno is a register which will receive the value from memory* if t==write &&