Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_flow_keys_access

Proto:static int check_flow_keys_access(struct bpf_verifier_env *env, int off, int size)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_env *env
intoff
intsize
2437  If size < 0 || off < 0 || off + size > sizeof(structbpf_flow_keys) Then
2439  verbose(env, "invalid access to flow keys off=%d size=%d\n", off, size)
2441  Return -EACCES
2443  Return 0
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 &&