Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:py_regset_from_user - store into thread's user_regset data from 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_from_user(struct task_struct *target, const struct user_regset_view *view, unsigned int setno, unsigned int offset, unsigned int size, const void __user *data)

Type:int

Parameter:

TypeParameterName
struct task_struct *target
const struct user_regset_view *view
unsigned intsetno
unsigned intoffset
unsigned intsize
const void __user *data
397  regset = regsets[setno]
399  If Not set Then Return -EOPNOTSUPP
402  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
405  Return set(target, regset, offset, size, NULL, data)
Caller
NameDescribe
arch_ptrace