diff options
Diffstat (limited to 'linux/x86_64/get_scno.c')
-rw-r--r-- | linux/x86_64/get_scno.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/x86_64/get_scno.c b/linux/x86_64/get_scno.c index 687f8435..4b066387 100644 --- a/linux/x86_64/get_scno.c +++ b/linux/x86_64/get_scno.c @@ -5,7 +5,7 @@ * Copyright (c) 2008-2013 Denys Vlasenko <vda.linux@googlemail.com> * Copyright (c) 2012 H.J. Lu <hongjiu.lu@intel.com> * Copyright (c) 2010-2015 Dmitry V. Levin <ldv@altlinux.org> - * Copyright (c) 2015-2017 The strace developers. + * Copyright (c) 2015-2018 The strace developers. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -75,7 +75,6 @@ arch_get_scno(struct tcb *tcp) * __X32_SYSCALL_BIT logic does not apply. */ if ((long long) x86_64_regs.orig_rax != -1) { - scno -= __X32_SYSCALL_BIT; currpers = 2; } else { # ifdef X32 @@ -99,7 +98,6 @@ arch_get_scno(struct tcb *tcp) case 0x33: if (x86_64_regs.ds == 0x2b) { currpers = 2; - scno &= ~__X32_SYSCALL_BIT; } else currpers = 0; break; |