X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=box%2Fbox.c;h=71ec68c75cd9767d690c429de13379e1a1b8f360;hb=28c3aa2bd73958557fc5e5441bcb7a2a2ca1c375;hp=0788ac4b51ec54b3484b054d5b9ac67bef42e06d;hpb=84b464bb23734b1d2dbaa4eada95d1282ff664ae;p=moe.git diff --git a/box/box.c b/box/box.c index 0788ac4..71ec68c 100644 --- a/box/box.c +++ b/box/box.c @@ -292,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, @@ -423,6 +425,7 @@ static struct path_rule default_path_rules[] = { { "/proc/meminfo", A_YES }, { "/proc/self/stat", A_YES }, { "/proc/self/exe", A_YES }, // Needed by FPC 2.0.x runtime + { "/proc/self/maps", A_YES }, // Needed by glibc when it reports arena corruption }; static struct path_rule *user_path_rules;