NetBSD-Bugs archive

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

Re: port-amd64/54052: bump STACK_ALIGNBYTES for COMPAT_LINUX



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

From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost, port-amd64-maintainer%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/54052: bump STACK_ALIGNBYTES for COMPAT_LINUX
Date: Mon, 11 Mar 2019 16:05:34 +0900

 >   On Mon, Mar 11, 2019 at 05:50:00AM +0000, rokuyama.rk%gmail.com@localhost wrote:
 >   >
 >   > +#define STACK_ALIGNBYTES	(16 - 1)	/* COMPAT_LINUX */
 >   
 >   Can the exec emulation deal with it instead?
 
 Yes, if we add, e.g., .e_stack_alignbytes into struct emul. However,
 I'm not sure on its necessity.
 
 Bumping STACK_ALIGNBYTES does not break anything. It merely adds
 extra memory at most 8 bytes per process.
 
 Thanks,
 rin
 


Home | Main Index | Thread Index | Old Index