strace/linux
Dmitry V. Levin a1e94e9c7a Remove HAVE_STRUCT_TCB_EXT_ARG, ext_arg, and u_lrval
After transition from long to kernel_ulong_t these fields
are no longer needed.

* defs.h (HAVE_STRUCT_TCB_EXT_ARG): Remove.
(struct tcb) [HAVE_STRUCT_TCB_EXT_ARG]: Remove.
[HAVE_STRUCT_TCB_EXT_ARG]: Remove.
(RVAL_MASK): Update.
* io.c (print_lld_from_low_high_val): Check
[SIZEOF_KERNEL_LONG_T > SIZEOF_LONG]
instead of [HAVE_STRUCT_TCB_EXT_ARG].
Use u_arg instead of ext_arg.
* linux/mips/get_error.c (get_error) [LINUX_MIPSN32]: Remove.
* linux/mips/get_syscall_args.c (get_syscall_args) [LINUX_MIPSN32]:
Remove.
[LINUX_MIPSN64]: Extend to [LINUX_MIPSN32].
* linux/x86_64/get_error.c (get_error) [X32]: Remove.
* linux/x86_64/get_syscall_args.c (get_syscall_args) [X32]: Remove.
* lseek.c: Check [SIZEOF_KERNEL_LONG_T > SIZEOF_LONG]
instead of [HAVE_STRUCT_TCB_EXT_ARG].
[SIZEOF_KERNEL_LONG_T > SIZEOF_LONG] (SYS_FUNC(lseek)): Use u_arg
instead of ext_arg.  Use RVAL_UDECIMAL instead of RVAL_LUDECIMAL.
* mem.c (SYS_FUNC(mmap)): Pass offset syscall argument directly
to print_mmap.
* syscall.c (trace_syscall_exiting) [HAVE_STRUCT_TCB_EXT_ARG]: Remove.
* times.c (SYS_FUNC(times)): Use RVAL_UDECIMAL instead
of RVAL_LUDECIMAL.
* util.c (getllval): Check [SIZEOF_KERNEL_LONG_T > SIZEOF_LONG]
instead of [HAVE_STRUCT_TCB_EXT_ARG].  Use u_arg instead of ext_arg.
2016-12-26 10:43:35 +00:00
..
32 Move KVM_* ioctl entries from ioctls_inc*.h to ioctls_arch*.h 2016-11-22 00:21:01 +00:00
64 Move KVM_* ioctl entries from ioctls_inc*.h to ioctls_arch*.h 2016-11-22 00:21:01 +00:00
aarch64 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
alpha Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
arc Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
arm Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
avr32 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
bfin Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
crisv10 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
crisv32 Implement arch specific methods of changing syscall number and error code 2016-11-16 02:33:13 +00:00
hppa Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
i386 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
ia64 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
m68k Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
metag Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
microblaze Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
mips Remove HAVE_STRUCT_TCB_EXT_ARG, ext_arg, and u_lrval 2016-12-26 10:43:35 +00:00
nios2 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
or1k Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
powerpc Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
powerpc64 Implement arch specific methods of changing syscall number and error code 2016-11-16 02:33:13 +00:00
riscv Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
s390 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
s390x Move KVM_* ioctl entries from ioctls_inc*.h to ioctls_arch*.h 2016-11-22 00:21:01 +00:00
sh Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
sh64 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
sparc Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
sparc64 sparc64: remove redundant casts 2016-12-24 14:58:29 +00:00
tile Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
x32 x32: implement automatic argument truncation for compat syscalls 2016-12-20 05:10:21 +00:00
x86_64 Remove HAVE_STRUCT_TCB_EXT_ARG, ext_arg, and u_lrval 2016-12-26 10:43:35 +00:00
xtensa Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
arch_regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
arch_sigreturn.c Fix build on architectures for which arch_sigreturn is not implemented 2015-12-09 11:46:43 +00:00
asm_stat.h Include "kernel_types.h" in defs.h and tests/tests.h 2016-12-16 12:01:44 +00:00
dummy.h Rework ifdefery around print_user_desc 2016-12-21 23:35:27 +00:00
errnoent.h Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
getregs_old.h syscall.c: refactor getregs_old fallback in get_regs 2016-11-13 11:16:15 +00:00
inet_diag.h linux: add #include guards 2016-08-05 15:06:43 +00:00
mtd-abi.h Whitespace fix, no code changes 2013-02-14 13:39:53 +01:00
netlink_diag.h linux: add #include guards 2016-08-05 15:06:43 +00:00
personality.h Use prepared editions of recently imported linux headers 2014-02-05 12:56:26 +00:00
ptp_clock.h Decode ptp ioctls 2014-02-04 00:03:08 +00:00
signalent.h Regenerated 2001-08-03 21:51:48 +00:00
sock_diag.h linux: add #include guards 2016-08-05 15:06:43 +00:00
subcall.h linux/subcall.h: remove redundant definitions 2016-08-08 23:43:50 +00:00
syscall.h linux: add #include guards 2016-08-05 15:06:43 +00:00
ubi-user.h Use macros for gcc attributes 2015-03-30 00:33:06 +00:00
unix_diag.h linux: add #include guards 2016-08-05 15:06:43 +00:00
userent0.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00
userent.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00