函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-27 14:06:11
Last Modify:2022-05-19 18:06:12 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Initially all BPF programs could be loaded w/o specifying* expected_attach_type

函数原型:static void bpf_prog_load_fixup_attach_type(union bpf_attr *attr)

返回类型:void

参数:

类型参数名称
union bpf_attr *attr
1627  : one of enum bpf_prog_type 恒等于BPF_PROG_TYPE_CGROUP_SOCK
1631  如果非 For some prog types expected attach type must be known at * load time to verify attach type specific parts of prog * (context accesses, allowed helpers, etc). For some prog types expected attach type must be known at * load time to verify attach type specific parts of prog * (context accesses, allowed helpers, etc).等于BPF_CGROUP_INET_SOCK_CREATE
1634  退出
调用者
名称描述
bpf_prog_load