Linux Kernel
3.7.1
|
#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/user.h>
#include <linux/security.h>
#include <linux/audit.h>
#include <linux/signal.h>
#include <linux/elf.h>
#include <linux/regset.h>
#include <linux/tracehook.h>
#include <linux/seccomp.h>
#include <linux/compat.h>
#include <trace/syscall.h>
#include <asm/segment.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
#include <asm/switch_to.h>
#include "entry.h"
#include <trace/events/syscalls.h>
Go to the source code of this file.
Macros | |
#define | CREATE_TRACE_POINTS |
#define | __ADDR_MASK 3 |
Enumerations | |
enum | s390_regset { REGSET_GENERAL, REGSET_FP, REGSET_LAST_BREAK, REGSET_TDB, REGSET_SYSTEM_CALL, REGSET_GENERAL_EXTENDED } |
Functions | |
void | update_per_regs (struct task_struct *task) |
void | user_enable_single_step (struct task_struct *task) |
void | user_disable_single_step (struct task_struct *task) |
void | ptrace_disable (struct task_struct *task) |
long | arch_ptrace (struct task_struct *child, long request, unsigned long addr, unsigned long data) |
asmlinkage long | do_syscall_trace_enter (struct pt_regs *regs) |
asmlinkage void | do_syscall_trace_exit (struct pt_regs *regs) |
struct user_regset_view * | task_user_regset_view (struct task_struct *task) |
unsigned long | regs_get_register (struct pt_regs *regs, unsigned int offset) |
int | regs_query_register_offset (const char *name) |
const char * | regs_query_register_name (unsigned int offset) |
unsigned long | regs_get_kernel_stack_nth (struct pt_regs *regs, unsigned int n) |
enum s390_regset |
asmlinkage long do_syscall_trace_enter | ( | struct pt_regs * | regs | ) |
asmlinkage void do_syscall_trace_exit | ( | struct pt_regs * | regs | ) |
void ptrace_disable | ( | struct task_struct * | task | ) |
regs_get_kernel_stack_nth() - get Nth entry of the stack :pt_regs which contains kernel stack pointer.
:stack entry number.
regs_get_kernel_stack_nth() returns
th entry of the kernel stack which is specifined by . If the
th entry is NOT in the kernel stack, this returns 0.
regs_query_register_name() - query register name from its offset : the offset of a register in struct pt_regs.
regs_query_register_name() returns the name of a register from its offset in struct pt_regs. If the is invalid, this returns NULL;
|
read |
void update_per_regs | ( | struct task_struct * | task | ) |
void user_disable_single_step | ( | struct task_struct * | task | ) |
void user_enable_single_step | ( | struct task_struct * | task | ) |