NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/55990 CVS commit: [netbsd-9] src/sys/arch/m68k/m68k



The following reply was made to PR port-m68k/55990; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55990 CVS commit: [netbsd-9] src/sys/arch/m68k/m68k
Date: Thu, 25 Feb 2021 09:36:27 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Thu Feb 25 09:36:27 UTC 2021
 
 Modified Files:
 	src/sys/arch/m68k/m68k [netbsd-9]: reenter_syscall.s
 
 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #1214):
 
 	sys/arch/m68k/m68k/reenter_syscall.s: revision 1.5
 	sys/arch/m68k/m68k/reenter_syscall.s: revision 1.6
 	sys/arch/m68k/m68k/reenter_syscall.s: revision 1.7
 
 Replace magic numbers with proper macros prepared in assym.h.
 
 No binary changes.
 
 Note this is a preparation for a possible fix of PR port-m68k/55990.
 
 Consistently use motorola style.  No binary changes.
 Seems missed in rev 1.3:
  https://mail-index.netbsd.org/source-changes/2013/08/01/msg046378.html
 
 Plug kernel stack leaks in reenter_syscall() for setcontext(2).
 This fixes long standing kernel crashes (MMU fault, address error,
 and silent freeze by a double bus fault etc. seen for ~10 years)
 caused by kernel stack overflow, especially on x68k and sun3 running
 Xorg based servers.  See PR/55990 for more details.
 
 "This change seems perfectly reasonable" from thorpej@ and
 jklos@ also reported this also solved freeze of his mac68k system
 with 10 megabyes of memory.
 
 Should be pulled up to netbsd-9 and netbsd-8.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.4.34.1 src/sys/arch/m68k/m68k/reenter_syscall.s
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index