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:
parent
cc84f2cc9b
commit
4c5eb45862
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue