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
3297 files changed
tree: d9bb3d25790b210e9df18b5300e328def95b7060
  1. debian/
  2. linux/
  3. m4/
  4. mpers-m32/
  5. mpers-mx32/
  6. tests/
  7. tests-m32/
  8. tests-mx32/
  9. xlat/
  10. access.c
  11. aclocal.m4
  12. affinity.c
  13. aio.c
  14. alpha.c
  15. Android.mk
  16. AUTHORS
  17. bjm.c
  18. block.c
  19. bpf.c
  20. btrfs.c
  21. cacheflush.c
  22. capability.c
  23. caps0.h
  24. caps1.h
  25. ChangeLog
  26. ChangeLog-CVS
  27. chdir.c
  28. chmod.c
  29. clone.c
  30. compile
  31. config.guess
  32. config.h.in
  33. config.status
  34. config.sub
  35. configure
  36. configure.ac
  37. copy_file_range.c
  38. COPYING
  39. count.c
  40. CREDITS
  41. defs.h
  42. depcomp
  43. desc.c
  44. dirent.c
  45. dirent64.c
  46. dm.c
  47. empty.h
  48. epoll.c
  49. evdev.c
  50. eventfd.c
  51. execve.c
  52. fadvise.c
  53. fallocate.c
  54. fanotify.c
  55. fchownat.c
  56. fcntl.c
  57. fetch_seccomp_fprog.c
  58. fetch_struct_flock.c
  59. fetch_struct_mmsghdr.c
  60. fetch_struct_msghdr.c
  61. fetch_struct_stat.c
  62. fetch_struct_stat64.c
  63. fetch_struct_statfs.c
  64. file_handle.c
  65. file_ioctl.c
  66. flock.c
  67. flock.h
  68. fs_x_ioctl.c
  69. fstatfs.c
  70. fstatfs64.c
  71. futex.c
  72. gcc_compat.h
  73. generate_sen.sh
  74. get_robust_list.c
  75. getcpu.c
  76. getcwd.c
  77. getrandom.c
  78. hdio.c
  79. hostname.c
  80. inotify.c
  81. INSTALL
  82. install-sh
  83. io.c
  84. ioctl.c
  85. ioctl_iocdef.c
  86. ioctl_iocdef.h
  87. ioctl_redefs1.h
  88. ioctl_redefs2.h
  89. ioctlent0.h
  90. ioctlent1.h
  91. ioctlent2.h
  92. ioctlsort.c
  93. ioperm.c
  94. iopl.c
  95. ioprio.c
  96. ipc.c
  97. ipc_defs.h
  98. ipc_msg.c
  99. ipc_msgctl.c
  100. ipc_sem.c
  101. ipc_shm.c
  102. ipc_shmctl.c
  103. kcmp.c
  104. kernel_types.h
  105. kexec.c
  106. keyctl.c
  107. ldt.c
  108. link.c
  109. lookup_dcookie.c
  110. loop.c
  111. lseek.c
  112. m32_funcs.h
  113. m32_printer_decls.h
  114. m32_printer_defs.h
  115. m32_type_defs.h
  116. Makefile
  117. Makefile.in
  118. mem.c
  119. membarrier.c
  120. memfd_create.c
  121. missing
  122. mknod.c
  123. mmsghdr.c
  124. MODULE_LICENSE_BSD
  125. mount.c
  126. mpers-m32.stamp
  127. mpers-mx32.stamp
  128. mpers.awk
  129. mpers.sh
  130. mpers_test.sh
  131. mpers_type.h
  132. mpers_xlat.h
  133. mq.c
  134. msghdr.c
  135. msghdr.h
  136. mtd.c
  137. mx32_funcs.h
  138. mx32_printer_decls.h
  139. mx32_printer_defs.h
  140. mx32_type_defs.h
  141. native_defs.h
  142. native_printer_decls.h
  143. native_printer_defs.h
  144. net.c
  145. netlink.c
  146. NEWS
  147. nsfs.c
  148. nsfs.h
  149. nsig.h
  150. numa.c
  151. oldstat.c
  152. open.c
  153. or1k_atomic.c
  154. pathtrace.c
  155. perf.c
  156. perf_event_struct.h
  157. personality.c
  158. pkeys.c
  159. poll.c
  160. prctl.c
  161. print_dev_t.c
  162. print_mq_attr.c
  163. print_msgbuf.c
  164. print_sg_req_info.c
  165. print_sigevent.c
  166. print_statfs.c
  167. print_struct_stat.c
  168. print_time.c
  169. print_timespec.c
  170. print_timeval.c
  171. print_timex.c
  172. printers.h
  173. printmode.c
  174. printrusage.c
  175. printsiginfo.c
  176. printsiginfo.h
  177. process.c
  178. process_vm.c
  179. ptp.c
  180. ptrace.h
  181. qualify.c
  182. quota.c
  183. readahead.c
  184. readlink.c
  185. README
  186. README-linux-ptrace
  187. reboot.c
  188. regs.h
  189. renameat.c
  190. resource.c
  191. rt_sigframe.c
  192. rt_sigreturn.c
  193. rtc.c
  194. sched.c
  195. sched_attr.h
  196. scno.h
  197. scno.head
  198. scsi.c
  199. seccomp.c
  200. seccomp_fprog.h
  201. sen.h
  202. sendfile.c
  203. sg_io_v3.c
  204. sg_io_v4.c
  205. sigaltstack.c
  206. sigevent.h
  207. signal.c
  208. signalfd.c
  209. sigreturn.c
  210. sock.c
  211. sockaddr.c
  212. socketcall.c
  213. socketutils.c
  214. sram_alloc.c
  215. stamp-h1
  216. stat.c
  217. stat.h
  218. stat64.c
  219. statfs.c
  220. statfs.h
  221. statfs64.c
  222. statx.c
  223. statx.h
  224. strace-graph
  225. strace-log-merge
  226. strace.1
  227. strace.c
  228. strace.spec
  229. strace.spec.in
  230. swapon.c
  231. sync_file_range.c
  232. sync_file_range2.c
  233. sys_func.h
  234. syscall.c
  235. sysctl.c
  236. sysent.h
  237. sysinfo.c
  238. syslog.c
  239. sysmips.c
  240. term.c
  241. test-driver
  242. time.c
  243. times.c
  244. truncate.c
  245. ubi.c
  246. uid.c
  247. uid16.c
  248. umask.c
  249. umount.c
  250. uname.c
  251. unwind.c
  252. upeek.c
  253. upoke.c
  254. userfaultfd.c
  255. ustat.c
  256. util.c
  257. utime.c
  258. utimes.c
  259. v4l2.c
  260. wait.c
  261. xattr.c
  262. xlat.h
  263. xlate.el
  264. xmalloc.c