]> git.baikalelectronics.ru Git - kernel.git/commit
s390/uprobes: implement arch_uretprobe_is_alive()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 16 Apr 2018 10:22:24 +0000 (12:22 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Apr 2018 05:57:16 +0000 (07:57 +0200)
commit322f315869f10a97b4354b878eb1aa478a838a37
tree0387a2112939da7c54f38fb0715217fdc9768254
parentc665e49ff05773b2fb55787c6d07f4bf77da8e50
s390/uprobes: implement arch_uretprobe_is_alive()

Implement s390 specific arch_uretprobe_is_alive() to avoid SIGSEGVs
observed with uretprobes in combination with setjmp/longjmp.

See commit 17a3f0515a8c ("powerpc/uprobes: Implement
arch_uretprobe_is_alive()") for more details.

With this implemented all test cases referenced in the above commit
pass.

Reported-by: Ziqian SUN <zsun@redhat.com>
Cc: <stable@vger.kernel.org> # v4.3+
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/uprobes.c