Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_prog_new_fd

Proto:int bpf_prog_new_fd(struct bpf_prog *prog)

Type:int

Parameter:

TypeParameterName
struct bpf_prog *prog
1508  ret = security_bpf_prog(prog)
1509  If ret < 0 Then Return ret
1512  Return anon_inode_getfd("bpf-prog", & bpf_prog_fops, prog, O_RDWR | O_CLOEXEC)
Caller
NameDescribe
bpf_prog_load
bpf_prog_get_fd_by_id
bpf_obj_get_user