函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:06:37 |
| Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_prog_attach_check_attach_type
函数原型:static int bpf_prog_attach_check_attach_type(const struct bpf_prog *prog, enum bpf_attach_type attach_type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct bpf_prog * | prog | |
| enum bpf_attach_type | attach_type |
| 2033 | 返回:如果attach_type恒等于 For some prog types 则0否则负EINVAL |
| 2034 | 当: Type of BPF program 恒等于BPF_PROG_TYPE_CGROUP_SKB |
| 2035 | 返回:如果 Enforce expected_attach_type checking at attach time 且 For some prog types 不等于attach_type则负EINVAL否则0 |
| 2038 | 默认 |
| 2039 | 返回:0 |
| 名称 | 描述 |
|---|---|
| bpf_prog_attach |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |