summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/ptrace_64.c
Commit message (Collapse)AuthorAgeFilesLines
* sh: Fix up the audit arch endian specification.Paul Mundt2008-08-011-1/+15
| | | | | | | | Presently this was always being set to AUDIT_ARCH_SH, which assumes big endian. Fix this up so that the architecture actually reflects what we're running on. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Make syscall tracer use tracehook notifiers, add TIF_NOTIFY_RESUME.Paul Mundt2008-08-011-26/+24Star
| | | | | | | | | | | | | | This follows the changes in commits: 7d6d637dac2050f30a1b57b0a3dc5de4a10616ba 4f72c4279eab1e5f3ed1ac4e55d4527617582392 on powerpc. Adding in TIF_NOTIFY_RESUME, and cleaning up the syscall tracing to be more generic. This is an incremental step to turning on tracehook, as well as unifying more of the ptrace and signal code across the 32/64 split. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: ptrace single stepping cleanups.Paul Mundt2008-08-011-65/+12Star
| | | | | | | | This converts the single stepping done by sh/sh64 ptrace implementations to use the generic user_enable/disable_single_step(), and subsequently rips out a lot of ptrace request cases that are now handled generically. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: seccomp support.Paul Mundt2008-08-011-0/+3
| | | | | | | This hooks up the seccomp thread flag and associated callback from the syscall tracer. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh64: add missing #include <asm/fpu.h>'sAdrian Bunk2008-04-151-0/+1
| | | | | | | | | | This patch fixes some compile errors due to missing save_fpu() prototypes on sh64 caused by commit 9bbafce2eec190ef7e44b0eb1095ba17ce6ad3af (sh: Fix occasional FPU register corruption under preempt). Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: syscall auditing for sh5, too.Paul Mundt2008-01-281-14/+24
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Bring the SH-5 FPU in line with the SH-4 FPU API.Paul Mundt2008-01-281-2/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move quad-word real-address I/O defs to io.h.Paul Mundt2008-01-281-1/+0Star
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Have SH-5 provide an {en,dis}able_fpu() impl.Paul Mundt2008-01-281-4/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move in the SH-5 ptrace impl.Paul Mundt2008-01-281-0/+332
Signed-off-by: Paul Mundt <lethal@linux-sh.org>