1
linux/arch/s390/kernel
Tejun Heo a288eecce5 ptrace: kill trivial tracehooks
At this point, tracehooks aren't useful to mainline kernel and mostly
just add an extra layer of obfuscation.  Although they have comments,
without actual in-kernel users, it is difficult to tell what are their
assumptions and they're actually trying to achieve.  To mainline
kernel, they just aren't worth keeping around.

This patch kills the following trivial tracehooks.

* Ones testing whether task is ptraced.  Replace with ->ptrace test.

	tracehook_expect_breakpoints()
	tracehook_consider_ignored_signal()
	tracehook_consider_fatal_signal()

* ptrace_event() wrappers.  Call directly.

	tracehook_report_exec()
	tracehook_report_exit()
	tracehook_report_vfork_done()

* ptrace_release_task() wrapper.  Call directly.

	tracehook_finish_release_task()

* noop

	tracehook_prepare_release_task()
	tracehook_report_death()

This doesn't introduce any behavior change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
2011-06-22 19:26:28 +02:00
..
vdso32 [S390] vdso: disable gcov profiling 2011-05-23 10:24:29 +02:00
vdso64 [S390] vdso: disable gcov profiling 2011-05-23 10:24:29 +02:00
asm-offsets.c [S390] pfault: cpu hotplug vs missing completion interrupts 2011-05-23 10:24:29 +02:00
audit.c
audit.h
base.S
bitmap.c
compat_audit.c
compat_exec_domain.c
compat_linux.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
compat_linux.h Mark arguments to certain syscalls as being const 2010-08-13 16:53:13 -07:00
compat_ptrace.h [S390] ptrace cleanup 2011-01-05 12:47:31 +01:00
compat_signal.c
compat_wrapper.S ns: Wire up the setns system call 2011-05-28 10:48:39 -07:00
cpcmd.c
crash.c
debug.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
diag.c [S390] replace diag10() with diag10_range() function 2011-05-10 17:13:43 +02:00
dis.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
early.c [S390] early: limit savesys cmd string handling 2011-03-23 10:15:14 +01:00
ebcdic.c
entry64.S [S390] pfault: cpu hotplug vs missing completion interrupts 2011-05-23 10:24:29 +02:00
entry.h [S390] ptrace cleanup 2011-01-05 12:47:31 +01:00
entry.S [S390] pfault: cpu hotplug vs missing completion interrupts 2011-05-23 10:24:29 +02:00
ftrace.c [S390] cleanup ftrace backend functions 2011-01-05 12:47:31 +01:00
head31.S [S390] correct address of _stext with CONFIG_SHARED_KERNEL=y 2010-05-12 09:32:26 +02:00
head64.S [S390] correct address of _stext with CONFIG_SHARED_KERNEL=y 2010-05-12 09:32:26 +02:00
head.S [S390] compile fix for latest binutils 2011-04-04 09:43:33 +02:00
init_task.c
ipl.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
irq.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
jump_label.c jump label: Add s390 support 2011-04-04 13:43:16 -04:00
kprobes.c [S390] ptrace cleanup 2011-01-05 12:47:31 +01:00
machine_kexec.c [S390] kexec: Disable ftrace during kexec 2011-03-15 17:08:24 +01:00
Makefile [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
mcount64.S [S390] cleanup ftrace backend functions 2011-01-05 12:47:31 +01:00
mcount.S [S390] cleanup ftrace backend functions 2011-01-05 12:47:31 +01:00
mem_detect.c Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
module.c modules: Fix module_bug_list list corruption race 2010-10-05 11:29:27 -07:00
nmi.c [S390] irq: have detailed statistics for interrupt types 2011-01-05 12:47:25 +01:00
process.c [S390] Remove unused includes in process.c 2011-05-23 10:24:32 +02:00
processor.c [S390] prevent unneccesary loops_per_jiffy recalculation 2011-01-05 12:47:32 +01:00
ptrace.c [S390] ptrace cleanup 2011-01-05 12:47:31 +01:00
reipl64.S Fix common misspellings 2011-03-31 11:26:23 -03:00
reipl.S
relocate_kernel64.S
relocate_kernel.S
s390_ksyms.c
sclp.S Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
setup.c [S390] Remove data execution protection 2011-05-23 10:24:28 +02:00
signal.c [S390] ptrace cleanup 2011-01-05 12:47:31 +01:00
smp.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
stacktrace.c
suspend.c
switch_cpu64.S [S390] Fix parameter passing for smp_switch_to_cpu() 2011-04-04 09:43:32 +02:00
switch_cpu.S [S390] Fix parameter passing for smp_switch_to_cpu() 2011-04-04 09:43:32 +02:00
swsusp_asm64.S Merge branch 'for-35' of git://repo.or.cz/linux-kbuild 2010-06-01 08:55:52 -07:00
sys_s390.c [S390] sys_personality: follow u_long to unsigned int conversion 2010-08-13 10:06:54 +02:00
syscalls.S ns: Wire up the setns system call 2011-05-28 10:48:39 -07:00
sysinfo.c [S390] topology: add SCHED_MC config option 2010-10-29 16:50:49 +02:00
time.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
topology.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00
traps.c ptrace: kill trivial tracehooks 2011-06-22 19:26:28 +02:00
vdso.c mm: arch: rename in_gate_area_no_task to in_gate_area_no_mm 2011-03-23 16:36:55 -04:00
vmlinux.lds.S percpu: Always align percpu output section to PAGE_SIZE 2011-03-24 18:50:09 +01:00
vtime.c [S390] irq: merge irq.c and s390_ext.c 2011-05-26 09:48:24 +02:00