39bac055674d23770b9a724221b728e443196ea7 |
|
26-May-2017 |
Elliott Hughes <enh@google.com> |
Upgrade strace to 4.17. Noteworthy changes in release 4.17 (2017-05-24) =============================================== * Changes in command line syntax * Syscall classes specified in -e trace= option now have % prefix (like -e trace=%process). Old style class names without leading % are still supported, but considered deprecated now. * Improvements * Optimized syscall filtering. * Improved representation of timestamps. * Enhanced decoding of sched_setattr syscall. * Added -e trace=%stat option for tracing variants of stat syscall. * Added -e trace=%lstat option for tracing variants of lstat syscall. * Added -e trace=%fstat option for tracing variants of fstat and fstatat syscalls. * Added -e trace=%%stat option for tracing syscalls used for querying file status information (stat, lstat, fstat, fstatat, statx, and their variations). * Added -e trace=%statfs option for tracing statfs, statfs64 and statvfs syscalls. * Added -e trace=%fstatfs option for tracing fstatfs, fstatfs64 and fstatvfs syscalls. * Added -e trace=%%statfs option for tracing syscalls used for querying file system statistics information (statfs-like, fstatfs-like and ustat). * Added -e trace=/regex option for filtering syscalls using regular expressions. * Added support for prepending of question mark before syscall qualification in -e trace expressions in order to suppress error in case no syscalls matched the provided qualification. * Implemented decoding of signal mask in rt_sigreturn syscall on alpha, arc, arm, avr32, bfin, cris, hppa, m68k, metag, microblaze, mips, nios2, or1k, powerpc, powerpc64, riscv, sh, sh64, sparc, sparc64, tile, x86, and xtensa architectures. * Implemented decoding of statx syscall. * Implemented decoding of NS_* ioctl commands. * Implemented decoding of the remaining V4L2_BUF_TYPE_* types. * Implemented decoding of VIDIOC_[SG]_TUNER ioctl commands. * Implemented decoding of NLMSG_ERROR netlink messages. * Improved decoding of BPF_PROG_ATTACH command of bpf syscall. * Improved decoding of misplaced parts in DM_* ioctl commands. * Updated lists of ioctl commands from Linux 4.11. * Bug fixes * Fixed decoding of flags argument of preadv2 and pwritev2 syscalls on x32. * Fixed the number of arguments and tracing flags of alpha specific syscalls. * Fixed decoding of old sigsuspend syscall on alpha, cris, mips, powerpc, powerpc64, sh, sh64, sparc, and sparc64. * Fixed decoding of sgetmask and ssetmask syscalls on 64-bit architectures. * Fixed decoding of netlink messages received within struct msghdr. * Worked around a bug in miscompiled aarch64 kernels leading to the 3rd argument of sched_getattr syscall being not quite 32-bit. * Fixed corner cases of printing inaccessible times argument of utimes and futimesat syscalls. Bug: N/A Test: strace date Change-Id: Idc4614a3f16ffe57fdca2a07a05253900d1c52bb
/external/strace/fanotify.c
|
6e381c67fd234fb04b3e20ab465cb713c819393f |
|
16-May-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix printing of fanotify_mark mask argument * fanotify.c (SYS_FUNC(fanotify_mark)): Print mask using printflags64.
/external/strace/fanotify.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/fanotify.c
|
5d22f0742a3a5df57780ffafd5315897935fa525 |
|
02-Aug-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
fanotify_init: mark return code with RVAL_FD flag * fanotify.c (sys_fanotify_init): Set RVAL_FD flag in the return code.
/external/strace/fanotify.c
|
a3a7ffee587a159593fccffa6f692fc0dcaeacd1 |
|
20-Jul-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
fanotify.c: make use of RVAL_DECODED * fanotify.c (sys_fanotify_init, sys_fanotify_mark): Update for RVAL_DECODED.
/external/strace/fanotify.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/fanotify.c
|
28e3d6fd1ce422b40d6eb689f7b0a1b1a0640fd8 |
|
26-Feb-2015 |
Mike Frysinger <vapier@gentoo.org> |
hppa: fix fanotify_mark decoding The parisc kernel has some legacy baggage here and decodes the 64bit field in the reverse order. Handle it in strace too. * fanotify.c [HPPA] (sys_fanotify_mark): Reverse the mask bits.
/external/strace/fanotify.c
|
34bbcc6270c7c1adc1687e4115aa64a265850730 |
|
19-Feb-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Remove linux/fanotify.h * linux/fanotify.h: Remove. * Makefile.am (EXTRA_DIST): Remove it. * fanotify.c: Do not include <linux/fanotify.h>. * xlat/fan_classes.in: Add default values. * xlat/fan_event_flags.in: Likewise. * xlat/fan_init_flags.in: Likewise. * xlat/fan_mark_flags.in: Likewise.
/external/strace/fanotify.c
|
1ea64735fc2cdd4d2814a6455b50f6989c7f1d34 |
|
10-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix fanotify_mark decoding on 32-bit architectures The fanotify_mark syscall takes a 64-bit mask, and on 32-bit architectures it is split up into two syscall arguments. * configure.ac (AC_CHECK_FUNCS): Add fanotify_mark. (AC_CHECK_HEADERS): Add sys/fanotify.h. * defs.h (getllval): New prototype. * util.c (getllval): New function based on printllval. (printllval): Use getllval. * fanotify.c (sys_fanotify_mark): Use getllval to properly decode 64-bit mask and two syscall arguments followed by it. * tests/fanotify_mark.c: New file. * tests/fanotify_mark.test: New test. * tests/Makefile.am (check_PROGRAMS): Add fanotify_mark. (TESTS): Add fanotify_mark.test. * tests/.gitignore: Add fanotify_mark.
/external/strace/fanotify.c
|
d35bdcad13caac3e167735e1f0fc50355b2f9523 |
|
26-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Compress blank lines Suppress empty lines left after automated xlat conversion.
/external/strace/fanotify.c
|
0ed617bd66624cec6138102545d73b2e2346f1f6 |
|
26-Apr-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Generate xlat/*.in files Automatically convert xlat structures from *.c files to xlat/*.in files using "./generate_xlat_in.sh *.c" command.
/external/strace/fanotify.c
|
99db95dd039d8fd700e7759bf4969abb55b979b9 |
|
05-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
Implement fanotify_init and fanotify_mark decoding * fanotify.c: New file. * linux/fanotify.h: Likewise. * Makefile.am (strace_SOURCES): Add fanotify.c. (EXTRA_DIST): Add linux/fanotify.h. * defs.h (print_dirfd): New prototype. * file.c (print_dirfd): Export. * linux/dummy.h (sys_fanotify_init, sys_fanotify_mark): Remove. * linux/syscall.h (sys_fanotify_init, sys_fanotify_mark): New prototypes. * pathtrace.c (pathtrace_match): Handle sys_fanotify_init and sys_fanotify_mark.
/external/strace/fanotify.c
|