NetBSD-Bugs archive

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

PR/59327 CVS commit: src/sys/arch/mips/mips



The following reply was made to PR kern/59327; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59327 CVS commit: src/sys/arch/mips/mips
Date: Thu, 24 Apr 2025 23:55:18 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Thu Apr 24 23:55:18 UTC 2025
 
 Modified Files:
 	src/sys/arch/mips/mips: mips_machdep.c
 
 Log Message:
 mips: Make sure stack is aligned on exec.
 
 The only caller of setregs, sys/kern/kern_exec.c execve_runproc,
 already guarantees STACK_ALIGNBYTES alignment, so let's assert it but
 out of paranoia also clear the bits anyway just in case for non-
 DIAGNOSTIC builds.
 
 Based on a patch by rin@.
 
 PR kern/59327: user stack pointer is not aligned properly
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.307 -r1.308 src/sys/arch/mips/mips/mips_machdep.c
 
 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