函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_btf_get_fd_by_id

函数原型:static int bpf_btf_get_fd_by_id(const union bpf_attr *attr)

返回类型:int

参数:

类型参数名称
const union bpf_attr *attr
2854  如果helper macro to check that unused fields 'union bpf_attr' are zero (BPF_BTF_GET_FD_BY_ID)则返回:负EINVAL
2857  如果非操作权限检查则返回:负EPERM
2860  返回:btf_get_fd_by_id(btf_id)