d35df493b4e7684c50d2d2fa032ee3a7ac228009 |
|
16-Feb-2017 |
Elliott Hughes <enh@google.com> |
Upgrade strace to 4.16 from 4.14. Noteworthy changes in release 4.16 (2017-02-14) * Improvements * Implemented syscall return value injection (-e inject=SET:retval= option). * Implemented signal injection (-e inject=SET:signal= option). * Implemented decoding of SUID_DUMP_* constants in PR_[GS]ET_DUMPABLE. * Implemented decoding of all SG_* ioctl commands. * Implemented decoding of ustat syscall. * Implemented decoding of BPF_OBJ_PIN, BPF_OBJ_GET, BPF_PROG_ATTACH, and BPF_PROG_DETACH commands of bpf syscall. * Enhanced decoding of sg_io_hdr and sg_io_v4 structures. * Enhanced decoding of get_robust_list, getrandom, io_submit, set_robust_list syscalls. * Enhanced decoding of entities of kernel long type on x32 and mips n32 ABIs. * Updated lists of IP_*, IPV6_*, and LOOP_* constants. * Updated lists of ioctl commands from Linux 4.10. * Added decoding of recently added syscalls on avr32, microblaze, ppc, and ppc64. * Bug fixes * Fixed pathmatch of oldselect syscall on 64-bit architectures. * Fixed decoding of mmap2 syscall on s390 when arguments are not available. * Fixed decoding of kexec_file_load, mprotect, pkey_mprotect, prctl, preadv*, and pwritev* syscalls on x32. * Fixed printing of string arguments of getxattr and setxattr syscalls when -s option is used to limit the printed string size. * Fixed decoding of ifconf, ifreq, and loop_info structures on non-native personalities. * Fixed decoding of SG_* and LOOP_* ioctl commands. * Fixed build on mips with musl libc. * Fixed cross-building of ioctlsort. * Applied minor formatting fixes to the manual page. Noteworthy changes in release 4.15 (2016-12-14) * Changes in behavior * Time stamps are now printed according to ISO 8601. * Changed output format of val3 parameter of futex FUTEX_WAKE_OP operation. * The last argument of mincore, sched_getaffinity, and sched_setaffinity syscalls is now formatted as an array. * Improvements * Implemented syscall fault injection (-e fault=... option). * Implemented decoding of DM_* ioctl commands. * Implemented decoding of attr parameter of perf_event_open syscall. * Implemented decoding of pkey_alloc, pkey_free, and pkey_mprotect syscalls. * Implemented dumping of mq_timedsend and mq_timedreceive syscalls. * Implemented decoding of PR_SET_FP_MODE and PR_GET_FP_MODE operations of prctl syscall. * Implemented PTRACE_GETREGS API support on m68k. * Updated lists of ARCH_*, BPF_*, BTRFS_*, FALLOC_*, MS_*, *_MAGIC, and V4L2_* constants. * Updated lists of ioctl commands from Linux 4.9. * Added decoding of recently added syscalls on arc, x32, and xtensa. * Enhanced manual page. * Bug fixes * Fixed corner cases in decoding of exit, exit_group, futimesat, getgroups, getresuid, init_module, inotify_init1, kcmp, kexec_load, lookup_dcookie, mq_getsetattr, mq_notify, mq_open, mq_timedreceive, mq_timedsend, name_to_handle_at, prctl, process_vm_readv, process_vm_writev, setfsuid, setgroups, setns, unshare, and utimes syscalls. * Fixed handling of verbose flag in printing of controls array of struct v4l2_ext_controls. * Fixed omission of field names in the output of capability, sigaction, sigevent, statfs, timespec, timeval, and utimbuf structures. * Fixed printing of unknown syscalls in siginfo structure. * Fixed decoding of ioctl constants on m68k. * Fixed cris architecture support. * Fixed cross build when host compiler does not support the same set of warning flags as the cross compiler. * Fixed build on SLE10 and SLE11. Bug: N/A Test: manual Change-Id: I590bf5db1652aa1dfdc0eb16e30fd97c82af2261
/external/strace/lseek.c
|
031fc80059746ba0d125ed0f1965217a22e41da3 |
|
23-Aug-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Rename widen_to_ull to zero_extend_signed_to_ull * defs.h (widen_to_ull): Rename to zero_extend_signed_to_ull. All callers changed. * tests/tests.h: Likewise.
/external/strace/lseek.c
|
b0c51131a38355dfaaed5b13b887f333cb20dfa7 |
|
17-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Introduce HAVE_STRUCT_TCB_EXT_ARG macro Check for "if HAVE_STRUCT_TCB_EXT_ARG" instead of "if defined LINUX_MIPSN32 || defined X32". * defs.h (HAVE_STRUCT_TCB_EXT_ARG): Define for LINUX_MIPSN32 || X32. (struct tcb): Check it instead of LINUX_MIPSN32 || X32. (RVAL_LUDECIMAL): Likewise. * io.c (print_lld_from_low_high_val): Likewise. * lseek.c (SYS_FUNC(lseek)): Likewise. * mem.c (SYS_FUNC(mmap)): Likewise. * syscall.c (trace_syscall_exiting): Likewise. * util.c (getllval): Likewise.
/external/strace/lseek.c
|
84a979c9eea59658aabc9b7d547e642b090922be |
|
26-May-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix explicit casts of signed integer types to unsigned long long * defs.h (widen_to_ull): New macro. * dirent.c (print_old_dirent, SYS_FUNC(getdents)): Use it in place of explicit casts to unsigned long long. * io.c (print_lld_from_low_high_val): Likewise. * lseek.c (SYS_FUNC(llseek)): Likewise. * printsiginfo.c (print_si_info): Likewise. * printstat.h (DO_PRINTSTAT): Likewise. * sysinfo.c (SYS_FUNC(sysinfo)): Likewise. * times.c (SYS_FUNC(times)): Likewise. * fetch_struct_statfs.c (ASSIGN_NUMBER): Remove. (fetch_struct_statfs, fetch_struct_statfs64): Replace ASSIGN_NUMBER with widen_to_ull.
/external/strace/lseek.c
|
ddbede5d9c452c076a46e9096fe5ed1921d1d008 |
|
15-Feb-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Print offsets in lseek and _llseek syscalls as signed integers * lseek.c (SYS_FUNC(lseek)): Print offset using %lld format. (SYS_FUNC(llseek)): Likewise. Treat high and low components of offset as unsigned long integers. * tests/llseek.c (main): Check that negative offset is printed properly. * tests/lseek.c (main): Likewise.
/external/strace/lseek.c
|
38a34c9349267c99ce1ddbd0b6e985147415d355 |
|
17-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Add copyright headers to some files which lack them Before this change, all files that exist since 20th century had copyright headers, while most files that appeared later didn't. This change fixes the inconsistency by adding missing copyright headers. It doesn't mean that copyright headers became maintained. In my view, git history provides much better information on this subject and is much more accurate than copyright headers.
/external/strace/lseek.c
|
a5aa080ae68a95e2fbc3466b242987fd2879b28a |
|
04-Dec-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
x32: fix decoding of i386 personality lseek syscall On x32, tcp->ext_arg is not initialized for i386 personality, so tcp->u_arg has to be used instead. * lseek.c (SYS_FUNC(lseek)) [X32]: Handle "current_personality == 1" case.
/external/strace/lseek.c
|
ed88a506309c5439c9a144190b57c1b256d238a8 |
|
20-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
lseek.c: make use of RVAL_DECODED * lseek.c (sys_lseek): Update for RVAL_DECODED.
/external/strace/lseek.c
|
7db808d749662b46244ec018de99d54f0b8187a7 |
|
20-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
lseek.c: use printnum_int64 * lseek.c (sys_llseek): Use printnum_int64.
/external/strace/lseek.c
|
a0bd3749fc6fdf6364c1e269a4c02e8c153eb84b |
|
07-Apr-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Declare syscall parsers using SYS_FUNC macro Introduce SYS_FUNC macro to declare and define all syscall parsers. * Makefile.am (BUILT_SOURCES, CLEANFILES): Add sys_func.h. (sys_func.h): New rule. * defs.h (SYS_FUNC_NAME, SYS_FUNC): New macros. * linux/syscall.h: Include "sys_func.h". [NEED_UID16_PARSERS]: Use SYS_FUNC to declare uid16 syscall parsers. Remove other declarations. * linux/alpha/syscallent.h (160, 161): Add sys_ prefix to osf_statfs and osf_fstatfs syscall parsers. * *.c: Use SYS_FUNC to define syscall parsers.
/external/strace/lseek.c
|
b5d25ec2f9820953f489cd10a9330e28341f451b |
|
06-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
file.c: move lseek and llseek parsers to a separate file * lseek.c: New file. * Makefile.am (strace_SOURCES): Add it. * file.c: Move sys_lseek, sys_llseek, and related code to lseek.c.
/external/strace/lseek.c
|