Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\regset.h Create Date:2022-07-28 07:49:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:py_regset_to_user - fetch a thread's user_regset data into user memory*@target: thread to be examined*@view: &struct user_regset_view describing user thread machine state*@setno: index in @view->regsets*@offset: offset into the regset data, in

Proto:static inline int copy_regset_to_user(struct task_struct *target, const struct user_regset_view *view, unsigned int setno, unsigned int offset, unsigned int size, void __user *data)

Type:int

Parameter:

TypeParameterName
struct task_struct *target
const struct user_regset_view *view
unsigned intsetno
unsigned intoffset
unsigned intsize
void __user *data
371  regset = regsets[setno]
373  If Not get Then Return -EOPNOTSUPP
376  If Not access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(data, size) Then Return -EFAULT
379  Return get(target, regset, offset, size, NULL, data)
Caller
NameDescribe
arch_ptrace