diff options
author | smitsohu <smitsohu@gmail.com> | 2019-12-03 15:59:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 15:59:45 +0100 |
commit | d6c332cbe4e7b7d3783127e31fb80ed05e537176 (patch) | |
tree | 57a8c6a51715f3db59eea456c4888f688fa9ed54 /src | |
parent | fix stack alignment (diff) | |
download | firejail-d6c332cbe4e7b7d3783127e31fb80ed05e537176.tar.gz firejail-d6c332cbe4e7b7d3783127e31fb80ed05e537176.tar.zst firejail-d6c332cbe4e7b7d3783127e31fb80ed05e537176.zip |
cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 4 |
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; | |||
55 | gid_t firejail_gid = 0; | 55 | gid_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 | ||
63 | static char child_stack[STACK_SIZE] __attribute__((aligned(STACK_ALIGNMENT))); // space for child's stack | 59 | static char child_stack[STACK_SIZE] __attribute__((aligned(STACK_ALIGNMENT))); // space for child's stack |
64 | 60 | ||
65 | Config cfg; // configuration | 61 | Config cfg; // configuration |