NetBSD-Bugs archive

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

PR/55990 CVS commit: src/sys/arch/m68k/m68k

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

From: "Izumi Tsutsui" <>
Subject: PR/55990 CVS commit: src/sys/arch/m68k/m68k
Date: Tue, 23 Feb 2021 16:54:17 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Tue Feb 23 16:54:17 UTC 2021
 Modified Files:
 	src/sys/arch/m68k/m68k: reenter_syscall.s
 Log Message:
 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.6 -r1.7 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