Mpersify tprint_msgsnd and tprint_msgrcv

Fix multiple personalities support in tprint_msgsnd and tprint_msgrcv
by converting tprint_msgbuf into a mpersified printer.

* print_msgbuf.c (msgbuf_t): New typedef.  Mpersify it.
(tprint_msgbuf): Use it instead of long.
Wrap function name into MPERS_PRINTER_DECL.
* ipc_msg.c (tprint_msgsnd, tprint_msgrcv): Use mpersified
tprint_msgbuf.
2 files changed
tree: 14da947718fe70029ff1176398b0bace670e7ebf
  1. debian/
  2. linux/
  3. m4/
  4. maint/
  5. qemu_multiarch_testing/
  6. test/
  7. tests/
  8. xlat/
  9. .gitignore
  10. .mailmap
  11. access.c
  12. affinity.c
  13. aio.c
  14. AUTHORS
  15. bjm.c
  16. block.c
  17. bootstrap
  18. bpf.c
  19. build_static_example.sh
  20. cacheflush.c
  21. capability.c
  22. caps0.h
  23. caps1.h
  24. ChangeLog-CVS
  25. chdir.c
  26. chmod.c
  27. clone.c
  28. configure.ac
  29. COPYING
  30. count.c
  31. CREDITS.in
  32. defs.h
  33. desc.c
  34. dirent.c
  35. empty.h
  36. epoll.c
  37. errnoent.sh
  38. evdev.c
  39. eventfd.c
  40. execve.c
  41. exit.c
  42. fadvise.c
  43. fallocate.c
  44. fanotify.c
  45. fchownat.c
  46. file.c
  47. futex.c
  48. generate_mpers_am.sh
  49. generate_sen.sh
  50. generate_xlat_in.sh
  51. get_robust_list.c
  52. getcpu.c
  53. getcwd.c
  54. getrandom.c
  55. git-set-file-times
  56. git-version-gen
  57. gitlog-to-changelog
  58. HACKING-scripts
  59. hostname.c
  60. inotify.c
  61. INSTALL
  62. io.c
  63. ioctl.c
  64. ioctlsort.c
  65. ioprio.c
  66. ipc_defs.h
  67. ipc_msg.c
  68. ipc_msgctl.c
  69. ipc_sem.c
  70. ipc_shm.c
  71. ipc_shmctl.c
  72. kexec.c
  73. keyctl.c
  74. ldt.c
  75. link.c
  76. loop.c
  77. lseek.c
  78. make-dist
  79. Makefile.am
  80. mem.c
  81. memfd_create.c
  82. mknod.c
  83. mount.c
  84. mpers.awk
  85. mpers.sh
  86. mpers_test.sh
  87. mpers_type.h
  88. mq.c
  89. mtd.c
  90. net.c
  91. NEWS
  92. open.c
  93. or1k_atomic.c
  94. pathtrace.c
  95. perf.c
  96. personality.c
  97. poll.c
  98. prctl.c
  99. print_mq_attr.c
  100. print_msgbuf.c
  101. print_time.c
  102. printmode.c
  103. printrusage.c
  104. printsiginfo.c
  105. printsiginfo.h
  106. printstat.h
  107. process.c
  108. process_vm.c
  109. ptp.c
  110. ptrace.h
  111. quota.c
  112. readahead.c
  113. readlink.c
  114. README
  115. README-hacking
  116. README-linux-ptrace
  117. README-mpers
  118. reboot.c
  119. regs.h
  120. renameat.c
  121. resource.c
  122. rtc.c
  123. sched.c
  124. scsi.c
  125. seccomp.c
  126. sendfile.c
  127. sigaltstack.c
  128. signal.c
  129. signalent.sh
  130. signalfd.c
  131. sigreturn.c
  132. sock.c
  133. socketutils.c
  134. sram_alloc.c
  135. statfs.c
  136. strace-graph
  137. strace-log-merge
  138. strace.1
  139. strace.c
  140. strace.spec
  141. stream.c
  142. swapon.c
  143. sync_file_range.c
  144. syscall.c
  145. syscallent.sh
  146. sysctl.c
  147. sysinfo.c
  148. syslog.c
  149. sysmips.c
  150. term.c
  151. time.c
  152. times.c
  153. truncate.c
  154. uid.c
  155. uid16.c
  156. umask.c
  157. umount.c
  158. uname.c
  159. unwind.c
  160. util.c
  161. utime.c
  162. utimes.c
  163. v4l2.c
  164. vsprintf.c
  165. wait.c
  166. xattr.c
  167. xlate.el
  168. xmalloc.c