summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2015-01-06 10:18:59 -0800
committerAndy Lutomirski <luto@amacapital.net>2015-01-06 10:18:59 -0800
commit15427d34e21c123806ef5b316bc994cf730b40d2 (patch)
treed9876c92a05926f685c4a29299028eb07f08a496
parent34884122b6ebe81d9b96e3e5128b6d6d95082c6e (diff)
downloadmisc-tests-15427d34e21c123806ef5b316bc994cf730b40d2.tar.gz
syscall_exit_regs: Fix spurious failures on x32-enabled kernels
-rw-r--r--syscall_exit_regs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syscall_exit_regs.c b/syscall_exit_regs.c
index f0fb557..2a410d5 100644
--- a/syscall_exit_regs.c
+++ b/syscall_exit_regs.c
@@ -162,10 +162,10 @@ int main()
sethandler(SIGILL, sigill, 0);
test_int80(0xFFFF);
- test_int80(0x40000000);
+ test_int80(0x4000FFFF);
test_syscall(0xFFFF);
- test_syscall(0x40000000);
+ test_syscall(0x4000FFFF);
test_syscallfn(0xFFFF);