Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\inode.c Create Date:2022-07-28 13:06:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_obj_pin_user

Proto:int bpf_obj_pin_user(u32 ufd, const char __user *pathname)

Type:int

Parameter:

TypeParameterName
u32ufd
const char __user *pathname
429  pname = getname(pathname)
430  If IS_ERR(pname) Then Return PTR_ERR(pname)
433  raw = bpf_fd_probe_obj(ufd, & type)
434  If IS_ERR(raw) Then
435  ret = PTR_ERR(raw)
436  Go to out
439  ret = bpf_obj_do_pin(pname, raw, type)
440  If ret != 0 Then bpf_any_put(raw, type)
442  out :
443  putname(pname)
444  Return ret
Caller
NameDescribe
bpf_obj_pin