Bug#527101: i386 missing syscall detection still broken under xen
Package: linux-image-2.6.26-2-xen-amd64
Version: 2.6.26-15
Severity: important
Hi,
It seems the patch in #518921 is not being applied to the xen variant
of the amd64 kernel:
root@akuma:~# set -x
root@akuma:~# cat test.c; ./test; echo $?
+ cat test.c
/* gcc -o int80-badsys -m32 -g int80-badsys.c
Run on x86-64 kernel.
Note to reproduce the bug you need auditd never to have started. */
#include <errno.h>
#include <stdio.h>
int
main (void)
{
long res;
asm ("int $0x80" : "=a" (res) : "0" (99999));
printf ("bad syscall returns %ld\n", res);
return res != -ENOSYS;
}
+ ./test
bad syscall returns 99999
+ echo 1
1
This causes i386 cowbuilders to fail when running under domU, which is
problematic, as it is generating false build failures for me with my
continuous integration server project for debian packaging.
Please apply the patch to #518921 to the Xen amd64 variant.
William
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-rc3-tip (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: