#include <linux/config.h>#include <linux/kernel.h>#include <linux/sched.h>#include <linux/mm.h>#include <linux/smp.h>#include <linux/smp_lock.h>#include <linux/errno.h>#include <linux/ptrace.h>#include <linux/user.h>#include <linux/sys.h>#include <asm/uaccess.h>#include <asm/pgtable.h>#include <asm/system.h>#include <asm/processor.h>#include <asm/debugreg.h>Include dependency graph for i386/kernel/ptrace.c:

Go to the source code of this file.
Defines | |
| #define | FLAG_MASK 0x00044dd5 |
| #define | TRAP_FLAG 0x100 |
| #define | EFL_OFFSET ((EFL-2)*4-sizeof(struct pt_regs)) |
Functions | |
| static int | get_stack_long (struct task_struct *task, int offset) |
| static int | put_stack_long (struct task_struct *task, int offset, unsigned long data) |
| static unsigned long | get_long (struct task_struct *tsk, struct vm_area_struct *vma, unsigned long addr) |
| static void | put_long (struct task_struct *tsk, struct vm_area_struct *vma, unsigned long addr, unsigned long data) |
| static struct vm_area_struct * | find_extend_vma (struct task_struct *tsk, unsigned long addr) |
| static int | read_long (struct task_struct *tsk, unsigned long addr, unsigned long *result) |
| static int | write_long (struct task_struct *tsk, unsigned long addr, unsigned long data) |
| static int | putreg (struct task_struct *child, unsigned long regno, unsigned long value) |
| static unsigned long | getreg (struct task_struct *child, unsigned long regno) |
| asmlinkage int | sys_ptrace (long request, long pid, long addr, long data) |
| asmlinkage void | syscall_trace (void) |
|
|
Definition at line 37 of file i386/kernel/ptrace.c. Referenced by putreg(), and sys_ptrace(). |
|
|
Definition at line 29 of file i386/kernel/ptrace.c. Referenced by putreg(). |
|
|
Definition at line 32 of file i386/kernel/ptrace.c. Referenced by sys_ptrace(). |
|
||||||||||||
|
Definition at line 206 of file i386/kernel/ptrace.c. References find_vma(), NULL, PAGE_MASK, and RLIMIT_STACK. Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 77 of file i386/kernel/ptrace.c. References fault, force_sig(), handle_mm_fault(), MAP_NR, max_mapnr, page, PAGE_MASK, pgd_bad, pgd_clear, pgd_none, pgd_offset, pmd_bad, pmd_clear, pmd_none, pmd_offset, printk, pte_offset, pte_page, pte_present, and SIGKILL. Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 45 of file i386/kernel/ptrace.c. References stack. |
|
||||||||||||
|
Definition at line 359 of file i386/kernel/ptrace.c. References CS, DS, ES, FS, get_stack_long(), GS, and SS. Referenced by sys_ptrace(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Definition at line 141 of file i386/kernel/ptrace.c. References fault, flush_tlb, force_sig(), handle_mm_fault(), MAP_NR, max_mapnr, mk_pte, page, PAGE_MASK, pgd_bad, pgd_clear, pgd_offset, pgd_present, pmd_bad, pmd_clear, pmd_none, pmd_offset, printk, pte_mkdirty, pte_offset, pte_page, pte_present, pte_write, set_pte, and SIGKILL. Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 60 of file i386/kernel/ptrace.c. References stack. |
|
||||||||||||||||
|
Definition at line 319 of file i386/kernel/ptrace.c. References CS, DS, EFL, EFL_OFFSET, EIO, ES, FLAG_MASK, FS, get_stack_long(), GS, NR_syscalls, ORIG_EAX, put_stack_long(), and SS. Referenced by sys_ptrace(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 229 of file i386/kernel/ptrace.c. References EIO, find_extend_vma(), get_long(), high(), PAGE_MASK, and PAGE_SIZE. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
|
Definition at line 711 of file i386/kernel/ptrace.c. References current, notify_parent(), PT_PTRACED, PT_TRACESYS, schedule(), send_sig(), SIGCHLD, SIGTRAP, and TASK_STOPPED. Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 271 of file i386/kernel/ptrace.c. References EIO, find_extend_vma(), get_long(), high(), PAGE_MASK, PAGE_SIZE, and put_long(). Here is the call graph for this function: ![]() |