Scroll to navigation

COPY_REGSET_FROM_USE(9) Machine State COPY_REGSET_FROM_USE(9)

NAME

copy_regset_from_user - store into thread´s user_regset data from user memory

SYNOPSIS

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);

ARGUMENTS

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 bytes

size

amount of data to copy, in bytes

data

user-mode pointer to copy from
April 2023 Kernel Hackers Manual 2.6.