]> Zhao Yanbai Git Server - minix.git/commit
Kernel: pass FPU restore exception to user process
authorDavid van Moolenbroek <david@minix3.org>
Sat, 3 Mar 2012 18:25:57 +0000 (19:25 +0100)
committerBen Gras <ben@minix3.org>
Tue, 6 Mar 2012 15:12:58 +0000 (16:12 +0100)
commit90b72ba7a899cea3beccc7b3b795501fbdda14d7
tree8da7f044b86e60bdce8fee7e9ffe0976b41dae6c
parentdb2eb776ccb465ff5f8ea3442c5ed91d13415471
Kernel: pass FPU restore exception to user process

Previously, user processes could cause a kernel panic upon FPU state
restore, by passing bogus FPU state to the kernel (through e.g.
sigreturn). With this patch, the process is now sent a SIGFPE signal
instead.
kernel/arch/i386/arch_system.c
kernel/arch/i386/exception.c
kernel/arch/i386/include/arch_proto.h
kernel/arch/i386/klib.S
kernel/arch/i386/mpx.S
kernel/proc.c
kernel/proto.h
test/Makefile
test/run
test/test62.c [new file with mode: 0644]