From 16e8b14ad5ae0846de7c32218d1136d818a50b7c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 18 Jul 2010 01:52:00 +0200 Subject: [PATCH] Box: Allow the arch_prctl syscall on amd64 It is needed by new versions of glibc. --- box/box.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/box/box.c b/box/box.c index 0788ac4..7b670a2 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, -- 2.39.2