Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_get_file_flag

Proto:int bpf_get_file_flag(int flags)

Type:int

Parameter:

TypeParameterName
intflags
535  If flags & Flags for accessing BPF object from syscall side. && flags & BPF_F_WRONLY Then Return -EINVAL
537  If flags & Flags for accessing BPF object from syscall side. Then Return O_RDONLY
539  If flags & BPF_F_WRONLY Then Return O_WRONLY
541  Return O_RDWR
Caller
NameDescribe
map_createalled via syscall
bpf_map_get_fd_by_id
bpf_obj_get_user