]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[S390] kprobes: forbid probing of stnsm/stosm/epsw
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 26 May 2010 21:26:20 +0000 (23:26 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 26 May 2010 21:26:29 +0000 (23:26 +0200)
commitbac9f154acd175afdf702cb7d7f5de1254b4b119
tree46a9dc8dc42336842fa9410504e5b07b00173ad2
parent215b3096371907e5d866bb219be7ef3d5ce6c083
[S390] kprobes: forbid probing of stnsm/stosm/epsw

The probed instructions will be executed in a single stepped and irq
disabled context. Therefore the results of stnsm, stosm and epsw would
be wrong if probed.
So let's just disallow probing of these functions. If really needed a
fixup could be written for each of them, but I doubt it's worth it.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/kprobes.c