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



  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