Skip to content

Commit e8ff76e

Browse files
committed
fix: align child_stack to 16-byte boundary
Signed-off-by: Ramkumar Chinchani <[email protected]>
1 parent c0a7165 commit e8ff76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/stacker/lxc-wrapper/lxc-wrapper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static int do_nsexec(char* mode, int argc, char *argv[], int *status)
136136
pid_t pid;
137137
int ret, cur, group_start = -1, command_start = -1;
138138
char c = 'x', thepid[20];
139-
static char child_stack[STACK_SIZE];
139+
static char child_stack[STACK_SIZE] __attribute__ ((aligned (16)));
140140
struct child_args args;
141141

142142
// userns - should a userns be used?

0 commit comments

Comments
 (0)