#include <generated/compile.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/regset.h>
#include <linux/user.h>
#include <linux/elf.h>
#include <asm/user.h>
Go to the source code of this file.
|
#define | ONEXT(KPT_REG, USR_REG) |
|
#define | INEXT(KPT_REG, USR_REG) |
|
#define INEXT |
( |
|
KPT_REG, |
|
|
|
USR_REG |
|
) |
| |
Value:
ret = user_regset_copyin(&
pos, &
count, &kbuf, &ubuf, \
sizeof(unsigned long));
#define ONEXT |
( |
|
KPT_REG, |
|
|
|
USR_REG |
|
) |
| |
Value:
ret = user_regset_copyout(&
pos, &
count, &kbuf, &ubuf, \
sizeof(unsigned long));
task_user_regset_view - Return the process's native regset view. : a thread of the process in question
Return the &struct user_regset_view that is native for the given process. For example, what it would access when it called ptrace(). Throughout the life of the process, this only changes at exec.
Definition at line 165 of file ptrace.c.