https://github.com/torvalds/linux
Revision 96054569190bdec375fe824e48ca1f4e3b53dd36 authored by Linus Torvalds on 13 August 2010, 16:49:20 UTC, committed by Linus Torvalds on 13 August 2010, 16:49:20 UTC
It's wrong for several reasons, but the most direct one is that the
fault may be for the stack accesses to set up a previous SIGBUS.  When
we have a kernel exception, the kernel exception handler does all the
fixups, not some user-level signal handler.

Even apart from the nested SIGBUS issue, it's also wrong to give out
kernel fault addresses in the signal handler info block, or to send a
SIGBUS when a system call already returns EFAULT.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5528f91
History
Tip revision: 96054569190bdec375fe824e48ca1f4e3b53dd36 authored by Linus Torvalds on 13 August 2010, 16:49:20 UTC
x86: don't send SIGBUS for kernel page faults
Tip revision: 9605456
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 172.0 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top