Implement userfaultfd syscall decoding

* userfaultfd.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* xlat/uffd_flags.in: New file.
* linux/dummy.h (userfaultfd): Remove.
* tests/userfaultfd.c: New file.
* tests/userfaultfd.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add userfaultfd.
(TESTS): Add userfaultfd.test.
* tests/.gitignore: Add userfaultfd.
8 files changed
tree: 1b50424d21030a4ff59c9f17e1bf20fed70206dd
  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. fcntl.c
  47. fetch_seccomp_fprog.c
  48. file.c
  49. flock.c
  50. futex.c
  51. generate_mpers_am.sh
  52. generate_sen.sh
  53. generate_xlat_in.sh
  54. get_robust_list.c
  55. getcpu.c
  56. getcwd.c
  57. getrandom.c
  58. git-set-file-times
  59. git-version-gen
  60. gitlog-to-changelog
  61. HACKING-scripts
  62. hostname.c
  63. inotify.c
  64. INSTALL
  65. io.c
  66. ioctl.c
  67. ioctlsort.c
  68. ioprio.c
  69. ipc_defs.h
  70. ipc_msg.c
  71. ipc_msgctl.c
  72. ipc_sem.c
  73. ipc_shm.c
  74. ipc_shmctl.c
  75. kexec.c
  76. keyctl.c
  77. ldt.c
  78. link.c
  79. loop.c
  80. lseek.c
  81. make-dist
  82. Makefile.am
  83. mem.c
  84. memfd_create.c
  85. mknod.c
  86. mount.c
  87. mpers.awk
  88. mpers.sh
  89. mpers_test.sh
  90. mpers_type.h
  91. mq.c
  92. mtd.c
  93. native_defs.h
  94. net.c
  95. NEWS
  96. open.c
  97. or1k_atomic.c
  98. pathtrace.c
  99. perf.c
  100. personality.c
  101. poll.c
  102. prctl.c
  103. print_mq_attr.c
  104. print_msgbuf.c
  105. print_sigevent.c
  106. print_time.c
  107. print_timex.c
  108. printmode.c
  109. printrusage.c
  110. printsiginfo.c
  111. printsiginfo.h
  112. printstat.h
  113. process.c
  114. process_vm.c
  115. ptp.c
  116. ptrace.h
  117. quota.c
  118. readahead.c
  119. readlink.c
  120. README
  121. README-hacking
  122. README-linux-ptrace
  123. README-mpers
  124. reboot.c
  125. regs.h
  126. renameat.c
  127. resource.c
  128. rtc.c
  129. sched.c
  130. scsi.c
  131. seccomp.c
  132. seccomp_fprog.h
  133. sendfile.c
  134. sigaltstack.c
  135. signal.c
  136. signalent.sh
  137. signalfd.c
  138. sigreturn.c
  139. sock.c
  140. socketutils.c
  141. sram_alloc.c
  142. statfs.c
  143. strace-graph
  144. strace-log-merge
  145. strace.1
  146. strace.c
  147. strace.spec
  148. stream.c
  149. swapon.c
  150. sync_file_range.c
  151. syscall.c
  152. syscallent.sh
  153. sysctl.c
  154. sysinfo.c
  155. syslog.c
  156. sysmips.c
  157. term.c
  158. time.c
  159. times.c
  160. truncate.c
  161. uid.c
  162. uid16.c
  163. umask.c
  164. umount.c
  165. uname.c
  166. unwind.c
  167. userfaultfd.c
  168. util.c
  169. utime.c
  170. utimes.c
  171. v4l2.c
  172. vsprintf.c
  173. wait.c
  174. xattr.c
  175. xlate.el
  176. xmalloc.c