NetBSD-Bugs archive

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

PR/59327 CVS commit: src/tests/kernel



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/tests/kernel
Date: Sat, 26 Apr 2025 19:23:06 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Apr 26 19:23:06 UTC 2025
 
 Modified Files:
 	src/tests/kernel: t_signal_and_sp.c
 
 Log Message:
 t_signal_and_sp: Define __EXPOSE_STACK to get STACK_ALIGNBYTES.
 
 This is a bit silly: sys/param.h unconditionally defines
 STACK_ALIGNBYTES if machine/param.h does, but if machine/param.h
 doesn't, then it only provides the default
 
 #define STACK_ALIGNBYTES __ALIGNBYTES
 
 under the condition that __EXPOSE_STACK is defined.
 
 But using __EXPOSE_STACK here is a lower-risk change than touching
 sys/param.h.
 
 PR kern/59327: user stack pointer is not aligned properly
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.19 -r1.20 src/tests/kernel/t_signal_and_sp.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