nsexec: Align clone child stack ptr to 16

This is required on ARM64 builds that use the clone syscall. Check [1].

[1] http://lxr.free-electrons.com/source/arch/arm64/kernel/process.c#L264

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
This commit is contained in:
Bogdan Purcareata 2015-10-06 10:41:14 +00:00
parent cc84f2cc9b
commit 4c5eb45862
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ struct clone_arg {
* Reserve some space for clone() to locate arguments
* and retcode in this place
*/
char stack[4096] __attribute__ ((aligned(8)));
char stack[4096] __attribute__ ((aligned(16)));
char stack_ptr[0];
jmp_buf *env;
};