align stack for child process
authorRon Lockwood-Childs <rchilds@vctlabs.com>
Tue, 17 Oct 2017 09:22:58 +0000 (02:22 -0700)
committerRon Lockwood-Childs <rchilds@vctlabs.com>
Tue, 17 Oct 2017 09:22:58 +0000 (02:22 -0700)
commit07b5a2a90cd2af846683960118639016287386d1
treeecd4a3656a52343ccb6f5a0f6388d329c0296449
parent411955c5aea32c65c3c8624b28ac5f0477323239
align stack for child process

Fixes "bus error" crashes on aarch64 caused by alignment faults.

On aarch64, the stack pointer needs to be 16-byte aligned; use gcc
builtin macro __BIGGEST_ALIGNMENT__ to specify a stack alignment
suitable for each platform.
subproc.c