Subject: port-mips/26410: fp.S not updated for siginfo
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthew Orgass <darkstar@city-net.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     darkstar@city-net.com
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
>Description:

  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.

>How-To-Repeat:

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

>Fix:

   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.
>Release-Note:
>Audit-Trail:
>Unformatted: