Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\queue_stack_maps.c Create Date:2022-07-28 13:14:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called from syscall

Proto:static int queue_stack_map_alloc_check(union bpf_attr *attr)

Type:int

Parameter:

TypeParameterName
union bpf_attr *attr
48  If Not Check operation authority Then Return -EPERM
52  If max number of entries in a map == 0 || size of key in bytes != 0 || size of value in bytes == 0 || BPF_MAP_CREATE related * flags defined above. & ~QUEUE_STACK_CREATE_FLAG_MASK || Not bpf_map_flags_access_ok( BPF_MAP_CREATE related * flags defined above.) Then Return -EINVAL
58  If size of value in bytes > Maximum allocatable size Then Return -E2BIG
64  Return 0