aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-12-03 15:59:45 +0100
committerLibravatar GitHub <noreply@github.com>2019-12-03 15:59:45 +0100
commitd6c332cbe4e7b7d3783127e31fb80ed05e537176 (patch)
tree57a8c6a51715f3db59eea456c4888f688fa9ed54 /src
parentfix stack alignment (diff)
downloadfirejail-d6c332cbe4e7b7d3783127e31fb80ed05e537176.tar.gz
firejail-d6c332cbe4e7b7d3783127e31fb80ed05e537176.tar.zst
firejail-d6c332cbe4e7b7d3783127e31fb80ed05e537176.zip
cleanup
Diffstat (limited to 'src')
-rw-r--r--src/firejail/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c
index 05074e73b..e711a59fb 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -55,11 +55,7 @@ uid_t firejail_uid = 0;
55gid_t firejail_gid = 0; 55gid_t firejail_gid = 0;
56 56
57#define STACK_SIZE (1024 * 1024) 57#define STACK_SIZE (1024 * 1024)
58#ifdef __arm__
59#define STACK_ALIGNMENT 8 // see #3010
60#else
61#define STACK_ALIGNMENT 16 58#define STACK_ALIGNMENT 16
62#endif
63static char child_stack[STACK_SIZE] __attribute__((aligned(STACK_ALIGNMENT))); // space for child's stack 59static char child_stack[STACK_SIZE] __attribute__((aligned(STACK_ALIGNMENT))); // space for child's stack
64 60
65Config cfg; // configuration 61Config cfg; // configuration