X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=box%2Fbox.c;h=7b670a256f4e5b1bb3ac4aac705f015dd3463577;hb=16e8b14ad5ae0846de7c32218d1136d818a50b7c;hp=fb623763141233a5e7668d2e6b5c81ae579d745d;hpb=bf755d50d117057d2be1197341e1d91bc5f1a808;p=eval.git diff --git a/box/box.c b/box/box.c index fb62376..7b670a2 100644 --- a/box/box.c +++ b/box/box.c @@ -7,6 +7,8 @@ #define _LARGEFILE64_SOURCE #define _GNU_SOURCE +#include "autoconf.h" + #include #include #include @@ -290,7 +292,9 @@ static unsigned char syscall_action[NUM_ACTIONS] = { S(get_thread_area) = A_YES, S(set_tid_address) = A_YES, S(exit_group) = A_YES | A_SAMPLE_MEM, -#ifndef CONFIG_BOX_USER_AMD64 +#ifdef CONFIG_BOX_USER_AMD64 + S(arch_prctl) = A_YES, +#else S(oldfstat) = A_YES, S(ftruncate64) = A_YES, S(_llseek) = A_YES,