Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:52:02
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_map_new_fd

Proto:int bpf_map_new_fd(struct bpf_map *map, int flags)

Type:int

Parameter:

TypeParameterName
struct bpf_map *map
intflags
525  ret = security_bpf_map(map, OPEN_FMODE(flags))
526  If ret < 0 Then Return ret
529  Return anon_inode_getfd("bpf-map", & bpf_map_fops, map, flags | O_CLOEXEC)
Caller
NameDescribe
map_createalled via syscall
bpf_map_get_fd_by_id
bpf_obj_get_user