1
linux/arch/s390
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
..
appldata [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
boot Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:14:55 -07:00
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2011-05-20 17:24:14 -07:00
hypfs treewide: remove extra semicolons 2011-04-10 17:01:05 +02:00
include/asm [S390] mm: fix storage key handling 2011-05-29 12:40:51 +02:00
kernel ptrace: kill trivial tracehooks 2011-06-22 19:26:28 +02:00
kvm [S390] kvm-390: Let kernel exit SIE instruction on work 2011-04-20 10:15:44 +02:00
lib [S390] delay: implement ndelay 2011-05-26 09:48:25 +02:00
math-emu s390: change to new flag variable 2011-03-17 14:02:57 +01:00
mm [S390] mm: fix mmu_gather rework 2011-05-29 12:40:51 +02:00
oprofile [S390] hwsampler: allow cpu hotplug 2011-05-26 09:48:25 +02:00
defconfig [S390] Update default configuration 2011-01-12 09:55:24 +01:00
Kbuild [S390] standardize Kbuild rules 2010-10-25 16:10:14 +02:00
Kconfig [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
Kconfig.debug [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
Makefile [S390] remove redundant stack check option 2011-03-15 17:08:22 +01:00