Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_obj_get

Proto:static int bpf_obj_get(const union bpf_attr *attr)

Type:int

Parameter:

TypeParameterName
const union bpf_attr *attr
1867  If helper macro to check that unused fields 'union bpf_attr' are zero (BPF_OBJ) || bpf_fd != 0 || file_flags & ~BPF_OBJ_FLAG_MASK Then Return -EINVAL
1871  Return bpf_obj_get_user(u64_to_user_ptr( anonymous struct used by BPF_OBJ_* commands ), file_flags)