Subject: port-mips/26410: fp.S not updated for siginfo
To: None <>
From: Matthew Orgass <>
List: netbsd-bugs
Date: 07/22/2004 23:53:44
>Number:         26410
>Category:       port-mips
>Synopsis:       fp.S not updated for siginfo
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 23 04:05:00 UTC 2004
>Release:        NetBSD 2.0_BETA

  The arch/mips/mips/fp.S file has not been updated for siginfo.  I
believe this means it is possible for an unpriviledged user to induce a
kernel TLB miss on any MIPS CPU.  Also, I think e_trapsignal should be
called by this code, not trapsignal directly.


  I triggered this cancelling a ftp transfer on a softfloat machine,
possibly assisted by a different problem I am investigating.


   I think the right thing to do would be to pass the info to a C function
in trap.c that sets up the ksi and calls e_trapsignal.