net.c: move fallback definition of struct mmsghdr to a separate file.

* msghdr.h: New file.
* Makefile.am (strace_SOURCES): Add it.
* net.c: Include it.  Move fallback definition of struct mmsghdr there.
* tests/mmsg.c: Include "msghdr.h".  Remove fallback definition
of struct mmsghdr.
4 files changed
tree: ee706c5756b1b53477782efa2fdea7a127d06e9d
  1. debian/
  2. linux/
  3. m4/
  4. maint/
  5. qemu_multiarch_testing/
  6. test/
  7. tests/
  8. xlat/
  9. .gitignore
  10. .mailmap
  11. .travis.yml
  12. access.c
  13. affinity.c
  14. aio.c
  15. alpha.c
  16. AUTHORS
  17. bjm.c
  18. block.c
  19. bootstrap
  20. bpf.c
  21. btrfs.c
  22. build_static_example.sh
  23. cacheflush.c
  24. capability.c
  25. caps0.h
  26. caps1.h
  27. ChangeLog-CVS
  28. chdir.c
  29. chmod.c
  30. clone.c
  31. configure.ac
  32. copy_file_range.c
  33. COPYING
  34. count.c
  35. CREDITS.in
  36. defs.h
  37. desc.c
  38. dirent.c
  39. dirent64.c
  40. empty.h
  41. epoll.c
  42. errnoent.sh
  43. evdev.c
  44. eventfd.c
  45. execve.c
  46. exit.c
  47. fadvise.c
  48. fallocate.c
  49. fanotify.c
  50. fchownat.c
  51. fcntl.c
  52. fetch_seccomp_fprog.c
  53. fetch_struct_flock.c
  54. fetch_struct_statfs.c
  55. file.c
  56. file_handle.c
  57. file_ioctl.c
  58. flock.c
  59. flock.h
  60. fs_x_ioctl.c
  61. fstatfs.c
  62. fstatfs64.c
  63. futex.c
  64. gcc_compat.h
  65. generate_mpers_am.sh
  66. generate_sen.sh
  67. generate_xlat_in.sh
  68. get_robust_list.c
  69. getcpu.c
  70. getcwd.c
  71. getrandom.c
  72. git-set-file-times
  73. git-version-gen
  74. gitlog-to-changelog
  75. HACKING-scripts
  76. hdio.c
  77. hostname.c
  78. inotify.c
  79. INSTALL
  80. io.c
  81. ioctl.c
  82. ioctlsort.c
  83. ioperm.c
  84. iopl.c
  85. ioprio.c
  86. ipc_defs.h
  87. ipc_msg.c
  88. ipc_msgctl.c
  89. ipc_sem.c
  90. ipc_shm.c
  91. ipc_shmctl.c
  92. kcmp.c
  93. kernel_types.h
  94. kexec.c
  95. keyctl.c
  96. ldt.c
  97. link.c
  98. lookup_dcookie.c
  99. loop.c
  100. lseek.c
  101. make-dist
  102. make-dsc
  103. Makefile.am
  104. mem.c
  105. membarrier.c
  106. memfd_create.c
  107. mknod.c
  108. mount.c
  109. mpers.awk
  110. mpers.sh
  111. mpers_test.sh
  112. mpers_type.h
  113. mq.c
  114. msghdr.h
  115. mtd.c
  116. native_defs.h
  117. net.c
  118. NEWS
  119. numa.c
  120. open.c
  121. or1k_atomic.c
  122. pathtrace.c
  123. perf.c
  124. personality.c
  125. poll.c
  126. prctl.c
  127. print_mq_attr.c
  128. print_msgbuf.c
  129. print_sigevent.c
  130. print_statfs.c
  131. print_time.c
  132. print_timex.c
  133. printmode.c
  134. printrusage.c
  135. printsiginfo.c
  136. printsiginfo.h
  137. printstat.h
  138. process.c
  139. process_vm.c
  140. ptp.c
  141. ptrace.h
  142. quota.c
  143. readahead.c
  144. readlink.c
  145. README
  146. README-hacking
  147. README-linux-ptrace
  148. README-mpers
  149. README.md
  150. reboot.c
  151. regs.h
  152. renameat.c
  153. resource.c
  154. rtc.c
  155. sched.c
  156. scsi.c
  157. seccomp.c
  158. seccomp_fprog.h
  159. sendfile.c
  160. sigaltstack.c
  161. sigevent.h
  162. signal.c
  163. signalent.sh
  164. signalfd.c
  165. sigreturn.c
  166. sock.c
  167. sockaddr.c
  168. socketutils.c
  169. sram_alloc.c
  170. statfs.c
  171. statfs.h
  172. statfs64.c
  173. strace-graph
  174. strace-log-merge
  175. strace.1
  176. strace.c
  177. strace.spec.in
  178. swapon.c
  179. sync_file_range.c
  180. sync_file_range2.c
  181. syscall.c
  182. syscallent.sh
  183. sysctl.c
  184. sysinfo.c
  185. syslog.c
  186. sysmips.c
  187. term.c
  188. time.c
  189. times.c
  190. travis-build.sh
  191. travis-install.sh
  192. travis-success.sh
  193. truncate.c
  194. ubi.c
  195. uid.c
  196. uid16.c
  197. umask.c
  198. umount.c
  199. uname.c
  200. unwind.c
  201. upeek.c
  202. userfaultfd.c
  203. util.c
  204. utime.c
  205. utimes.c
  206. v4l2.c
  207. vsprintf.c
  208. wait.c
  209. xattr.c
  210. xlat.h
  211. xlate.el
  212. xmalloc.c
README.md

This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.

strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.

See the file NEWS for information on what has changed in recent versions.

Please send bug reports and enhancements to the strace mailing list.

Build Status Code Coverage