script_core 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +8 -6
  4. data/.ruby-version +1 -1
  5. data/Gemfile +2 -1
  6. data/bin/sandbox +1 -1
  7. data/ext/enterprise_script_service/Rakefile +1 -1
  8. data/ext/enterprise_script_service/flags.rb +5 -0
  9. data/ext/enterprise_script_service/libseccomp/CHANGELOG +15 -0
  10. data/ext/enterprise_script_service/libseccomp/CREDITS +3 -0
  11. data/ext/enterprise_script_service/libseccomp/Makefile.am +1 -1
  12. data/ext/enterprise_script_service/libseccomp/README.md +1 -1
  13. data/ext/enterprise_script_service/libseccomp/SECURITY.md +45 -0
  14. data/ext/enterprise_script_service/libseccomp/configure.ac +3 -3
  15. data/ext/enterprise_script_service/libseccomp/doc/admin/MAINTAINER_PROCESS.md +95 -0
  16. data/ext/enterprise_script_service/libseccomp/{RELEASE_PROCESS.md → doc/admin/RELEASE_PROCESS.md} +9 -1
  17. data/ext/enterprise_script_service/libseccomp/include/Makefile.am +1 -1
  18. data/ext/enterprise_script_service/libseccomp/include/seccomp-syscalls.h +2292 -0
  19. data/ext/enterprise_script_service/libseccomp/include/seccomp.h.in +3 -1065
  20. data/ext/enterprise_script_service/libseccomp/src/arch-aarch64-syscalls.c +35 -3
  21. data/ext/enterprise_script_service/libseccomp/src/arch-arm-syscalls.c +35 -3
  22. data/ext/enterprise_script_service/libseccomp/src/arch-mips-syscalls.c +43 -11
  23. data/ext/enterprise_script_service/libseccomp/src/arch-mips64-syscalls.c +33 -1
  24. data/ext/enterprise_script_service/libseccomp/src/arch-mips64n32-syscalls.c +33 -1
  25. data/ext/enterprise_script_service/libseccomp/src/arch-parisc-syscalls.c +34 -2
  26. data/ext/enterprise_script_service/libseccomp/src/arch-ppc-syscalls.c +43 -11
  27. data/ext/enterprise_script_service/libseccomp/src/arch-ppc64-syscalls.c +44 -12
  28. data/ext/enterprise_script_service/libseccomp/src/arch-s390-syscalls.c +46 -14
  29. data/ext/enterprise_script_service/libseccomp/src/arch-s390.c +142 -18
  30. data/ext/enterprise_script_service/libseccomp/src/arch-s390x-syscalls.c +47 -15
  31. data/ext/enterprise_script_service/libseccomp/src/arch-s390x.c +143 -17
  32. data/ext/enterprise_script_service/libseccomp/src/arch-x32-syscalls.c +33 -1
  33. data/ext/enterprise_script_service/libseccomp/src/arch-x86-syscalls.c +94 -12
  34. data/ext/enterprise_script_service/libseccomp/src/arch-x86.c +142 -19
  35. data/ext/enterprise_script_service/libseccomp/src/arch-x86_64-syscalls.c +33 -1
  36. data/ext/enterprise_script_service/libseccomp/src/db.c +1 -0
  37. data/ext/enterprise_script_service/libseccomp/src/gen_bpf.c +10 -3
  38. data/ext/enterprise_script_service/libseccomp/src/python/Makefile.am +4 -4
  39. data/ext/enterprise_script_service/libseccomp/src/python/seccomp.pyx +2 -0
  40. data/ext/enterprise_script_service/libseccomp/tests/.gitignore +1 -0
  41. data/ext/enterprise_script_service/libseccomp/tests/50-sim-hash_collision.c +98 -0
  42. data/ext/enterprise_script_service/libseccomp/tests/50-sim-hash_collision.py +61 -0
  43. data/ext/enterprise_script_service/libseccomp/tests/50-sim-hash_collision.tests +18 -0
  44. data/ext/enterprise_script_service/libseccomp/tests/Makefile.am +6 -3
  45. data/ext/enterprise_script_service/libseccomp/tools/Makefile.am +0 -2
  46. data/ext/enterprise_script_service/libseccomp/tools/check-syntax +1 -0
  47. data/ext/enterprise_script_service/libseccomp/tools/scmp_bpf_sim.c +2 -0
  48. data/ext/enterprise_script_service/mruby-mpdecimal/src/ext.c +1 -1
  49. data/ext/enterprise_script_service/mruby/.gitignore +2 -2
  50. data/ext/enterprise_script_service/mruby/CONTRIBUTING.md +10 -3
  51. data/ext/enterprise_script_service/mruby/Doxyfile +2408 -0
  52. data/ext/enterprise_script_service/mruby/README.md +21 -8
  53. data/ext/enterprise_script_service/mruby/Rakefile +4 -13
  54. data/ext/enterprise_script_service/mruby/appveyor_config.rb +1 -1
  55. data/ext/enterprise_script_service/mruby/build_config.rb +3 -3
  56. data/ext/enterprise_script_service/mruby/doc/guides/compile.md +42 -42
  57. data/ext/enterprise_script_service/mruby/doc/guides/debugger.md +1 -1
  58. data/ext/enterprise_script_service/mruby/doc/guides/mrbconf.md +45 -6
  59. data/ext/enterprise_script_service/mruby/doc/guides/mrbgems.md +5 -0
  60. data/ext/enterprise_script_service/mruby/doc/limitations.md +88 -38
  61. data/ext/enterprise_script_service/mruby/doc/mruby_logo_red_icon.png +0 -0
  62. data/ext/enterprise_script_service/mruby/doc/opcode.md +94 -94
  63. data/ext/enterprise_script_service/mruby/include/mrbconf.h +74 -11
  64. data/ext/enterprise_script_service/mruby/include/mruby.h +242 -146
  65. data/ext/enterprise_script_service/mruby/include/mruby/array.h +7 -7
  66. data/ext/enterprise_script_service/mruby/include/mruby/boxing_nan.h +2 -9
  67. data/ext/enterprise_script_service/mruby/include/mruby/boxing_no.h +11 -10
  68. data/ext/enterprise_script_service/mruby/include/mruby/boxing_word.h +104 -69
  69. data/ext/enterprise_script_service/mruby/include/mruby/class.h +7 -5
  70. data/ext/enterprise_script_service/mruby/include/mruby/common.h +9 -7
  71. data/ext/enterprise_script_service/mruby/include/mruby/compile.h +6 -6
  72. data/ext/enterprise_script_service/mruby/include/mruby/data.h +5 -5
  73. data/ext/enterprise_script_service/mruby/include/mruby/debug.h +2 -2
  74. data/ext/enterprise_script_service/mruby/include/mruby/dump.h +3 -7
  75. data/ext/enterprise_script_service/mruby/include/mruby/error.h +34 -6
  76. data/ext/enterprise_script_service/mruby/include/mruby/gc.h +2 -2
  77. data/ext/enterprise_script_service/mruby/include/mruby/hash.h +4 -11
  78. data/ext/enterprise_script_service/mruby/include/mruby/irep.h +16 -4
  79. data/ext/enterprise_script_service/mruby/include/mruby/istruct.h +4 -4
  80. data/ext/enterprise_script_service/mruby/include/mruby/khash.h +2 -2
  81. data/ext/enterprise_script_service/mruby/include/mruby/numeric.h +41 -7
  82. data/ext/enterprise_script_service/mruby/include/mruby/object.h +8 -9
  83. data/ext/enterprise_script_service/mruby/include/mruby/opcode.h +2 -2
  84. data/ext/enterprise_script_service/mruby/include/mruby/ops.h +6 -6
  85. data/ext/enterprise_script_service/mruby/include/mruby/proc.h +19 -13
  86. data/ext/enterprise_script_service/mruby/include/mruby/range.h +10 -4
  87. data/ext/enterprise_script_service/mruby/include/mruby/re.h +2 -2
  88. data/ext/enterprise_script_service/mruby/include/mruby/string.h +130 -107
  89. data/ext/enterprise_script_service/mruby/include/mruby/throw.h +2 -2
  90. data/ext/enterprise_script_service/mruby/include/mruby/value.h +137 -49
  91. data/ext/enterprise_script_service/mruby/include/mruby/variable.h +3 -5
  92. data/ext/enterprise_script_service/mruby/include/mruby/version.h +24 -10
  93. data/ext/enterprise_script_service/mruby/lib/mruby-core-ext.rb +2 -39
  94. data/ext/enterprise_script_service/mruby/lib/mruby/build.rb +32 -15
  95. data/ext/enterprise_script_service/mruby/lib/mruby/build/command.rb +63 -17
  96. data/ext/enterprise_script_service/mruby/lib/mruby/build/load_gems.rb +24 -10
  97. data/ext/enterprise_script_service/mruby/lib/mruby/gem.rb +11 -7
  98. data/ext/enterprise_script_service/mruby/lib/mruby/lockfile.rb +81 -0
  99. data/ext/enterprise_script_service/mruby/minirake +27 -11
  100. data/ext/enterprise_script_service/mruby/mrbgems/default.gembox +3 -0
  101. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/mrbgem.rake +0 -1
  102. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/mrblib/array.rb +47 -9
  103. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/src/array.c +3 -3
  104. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/test/array.rb +50 -29
  105. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c +3 -3
  106. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c +2 -2
  107. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdprint.c +3 -3
  108. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +2 -2
  109. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h +1 -1
  110. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h +4 -0
  111. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +28 -1
  112. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c +1 -2
  113. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/bintest/mruby.rb +75 -8
  114. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +134 -90
  115. data/ext/enterprise_script_service/mruby/mrbgems/mruby-class-ext/src/class.c +7 -8
  116. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/codegen.c +69 -46
  117. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/keywords +0 -3
  118. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/lex.def +51 -59
  119. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/parse.y +430 -241
  120. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/mrbgem.rake +10 -0
  121. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/mrblib/complex.rb +122 -0
  122. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/src/complex.c +249 -0
  123. data/ext/enterprise_script_service/mruby/mrbgems/mruby-complex/test/complex.rb +153 -0
  124. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-chain/mrblib/chain.rb +19 -17
  125. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-chain/test/enum_chain.rb +41 -9
  126. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-ext/mrblib/enum.rb +30 -4
  127. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-ext/test/enum.rb +8 -3
  128. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/mrbgem.rake +0 -1
  129. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/mrblib/enumerator.rb +46 -14
  130. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/test/enumerator.rb +51 -2
  131. data/ext/enterprise_script_service/mruby/mrbgems/mruby-error/src/exception.c +10 -0
  132. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/src/eval.c +47 -44
  133. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/test/eval.rb +2 -2
  134. data/ext/enterprise_script_service/mruby/mrbgems/mruby-exit/src/mruby-exit.c +9 -4
  135. data/ext/enterprise_script_service/mruby/mrbgems/mruby-fiber/src/fiber.c +16 -12
  136. data/ext/enterprise_script_service/mruby/mrbgems/mruby-fiber/test/fiber.rb +1 -1
  137. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/mrbgem.rake +0 -2
  138. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/mrblib/hash.rb +3 -0
  139. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/test/hash.rb +3 -7
  140. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/README.md +1 -3
  141. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrbgem.rake +1 -1
  142. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/file.rb +0 -5
  143. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/io.rb +24 -38
  144. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/kernel.rb +16 -0
  145. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file.c +19 -18
  146. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file_test.c +5 -16
  147. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/io.c +54 -42
  148. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/file.rb +24 -20
  149. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/file_test.rb +4 -9
  150. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/io.rb +41 -35
  151. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/mruby_io_test.c +9 -36
  152. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/mrbgem.rake +1 -1
  153. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/src/kernel.c +9 -27
  154. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/test/kernel.rb +2 -0
  155. data/ext/enterprise_script_service/mruby/mrbgems/mruby-math/src/math.c +5 -2
  156. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/src/metaprog.c +39 -24
  157. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/test/metaprog.rb +48 -17
  158. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/method.rb +0 -12
  159. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/src/method.c +134 -101
  160. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/test/method.rb +9 -1
  161. data/ext/enterprise_script_service/mruby/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb +1 -5
  162. data/ext/enterprise_script_service/mruby/mrbgems/mruby-numeric-ext/src/numeric_ext.c +17 -37
  163. data/ext/enterprise_script_service/mruby/mrbgems/mruby-numeric-ext/test/numeric.rb +0 -8
  164. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/mrbgem.rake +1 -1
  165. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/mrblib/object.rb +15 -1
  166. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/src/object.c +35 -6
  167. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/test/nil.rb +4 -0
  168. data/ext/enterprise_script_service/mruby/mrbgems/mruby-objectspace/src/mruby_objectspace.c +1 -5
  169. data/ext/enterprise_script_service/mruby/mrbgems/mruby-objectspace/test/objectspace.rb +1 -1
  170. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/src/pack.c +28 -23
  171. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/test/pack.rb +43 -49
  172. data/ext/enterprise_script_service/mruby/mrbgems/mruby-print/mrblib/print.rb +3 -9
  173. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/src/proc.c +6 -9
  174. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/test/proc.rb +21 -5
  175. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/src/random.c +157 -124
  176. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/test/random.rb +72 -26
  177. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/mrblib/range.rb +38 -0
  178. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/src/range.c +26 -11
  179. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/test/range.rb +111 -1
  180. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/mrbgem.rake +5 -0
  181. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/mrblib/rational.rb +117 -0
  182. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/src/rational.c +209 -0
  183. data/ext/enterprise_script_service/mruby/mrbgems/mruby-rational/test/rational.rb +308 -0
  184. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/README.md +1 -1
  185. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/src/socket.c +10 -9
  186. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/src/kernel.c +2 -2
  187. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/src/sprintf.c +22 -24
  188. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/mrbgem.rake +0 -1
  189. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/mrblib/string.rb +8 -4
  190. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/src/string.c +116 -117
  191. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/test/numeric.rb +29 -0
  192. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/test/range.rb +26 -0
  193. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/test/string.rb +32 -50
  194. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/mrblib/struct.rb +5 -7
  195. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/src/struct.c +43 -57
  196. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/test/struct.rb +16 -11
  197. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/src/symbol.c +2 -2
  198. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/test/symbol.rb +1 -1
  199. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/driver.c +152 -1
  200. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/mrbgem.rake +4 -3
  201. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/vformat.c +200 -0
  202. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/include/mruby/time.h +2 -1
  203. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/src/time.c +199 -68
  204. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/test/time.rb +81 -46
  205. data/ext/enterprise_script_service/mruby/mrblib/array.rb +14 -16
  206. data/ext/enterprise_script_service/mruby/mrblib/enum.rb +13 -9
  207. data/ext/enterprise_script_service/mruby/mrblib/hash.rb +5 -7
  208. data/ext/enterprise_script_service/mruby/mrblib/kernel.rb +1 -1
  209. data/ext/enterprise_script_service/mruby/mrblib/numeric.rb +4 -4
  210. data/ext/enterprise_script_service/mruby/mrblib/range.rb +1 -1
  211. data/ext/enterprise_script_service/mruby/mrblib/string.rb +55 -112
  212. data/ext/enterprise_script_service/mruby/mruby-source.gemspec +1 -1
  213. data/ext/enterprise_script_service/mruby/oss-fuzz/config/mruby.dict +105 -0
  214. data/ext/enterprise_script_service/mruby/oss-fuzz/config/mruby_fuzzer.options +5 -0
  215. data/ext/enterprise_script_service/mruby/oss-fuzz/config/mruby_proto_fuzzer.options +4 -0
  216. data/ext/enterprise_script_service/mruby/oss-fuzz/mruby_fuzzer.c +18 -0
  217. data/ext/enterprise_script_service/mruby/oss-fuzz/mruby_proto_fuzzer.cpp +44 -0
  218. data/ext/enterprise_script_service/mruby/oss-fuzz/proto_to_ruby.cpp +455 -0
  219. data/ext/enterprise_script_service/mruby/oss-fuzz/proto_to_ruby.h +55 -0
  220. data/ext/enterprise_script_service/mruby/oss-fuzz/ruby.proto +201 -0
  221. data/ext/enterprise_script_service/mruby/src/array.c +95 -46
  222. data/ext/enterprise_script_service/mruby/src/backtrace.c +6 -8
  223. data/ext/enterprise_script_service/mruby/src/class.c +370 -278
  224. data/ext/enterprise_script_service/mruby/src/codedump.c +34 -34
  225. data/ext/enterprise_script_service/mruby/src/debug.c +2 -2
  226. data/ext/enterprise_script_service/mruby/src/dump.c +8 -6
  227. data/ext/enterprise_script_service/mruby/src/enum.c +1 -1
  228. data/ext/enterprise_script_service/mruby/src/error.c +157 -55
  229. data/ext/enterprise_script_service/mruby/src/etc.c +13 -46
  230. data/ext/enterprise_script_service/mruby/src/fmt_fp.c +2 -2
  231. data/ext/enterprise_script_service/mruby/src/gc.c +30 -11
  232. data/ext/enterprise_script_service/mruby/src/hash.c +23 -14
  233. data/ext/enterprise_script_service/mruby/src/kernel.c +16 -54
  234. data/ext/enterprise_script_service/mruby/src/load.c +40 -76
  235. data/ext/enterprise_script_service/mruby/src/numeric.c +164 -94
  236. data/ext/enterprise_script_service/mruby/src/object.c +16 -39
  237. data/ext/enterprise_script_service/mruby/src/pool.c +0 -2
  238. data/ext/enterprise_script_service/mruby/src/proc.c +47 -48
  239. data/ext/enterprise_script_service/mruby/src/range.c +22 -35
  240. data/ext/enterprise_script_service/mruby/src/state.c +5 -94
  241. data/ext/enterprise_script_service/mruby/src/string.c +874 -710
  242. data/ext/enterprise_script_service/mruby/src/symbol.c +73 -48
  243. data/ext/enterprise_script_service/mruby/src/variable.c +58 -38
  244. data/ext/enterprise_script_service/mruby/src/vm.c +133 -304
  245. data/ext/enterprise_script_service/mruby/tasks/doc.rake +48 -0
  246. data/ext/enterprise_script_service/mruby/tasks/toolchains/clang.rake +3 -4
  247. data/ext/enterprise_script_service/mruby/tasks/toolchains/gcc.rake +20 -19
  248. data/ext/enterprise_script_service/mruby/tasks/toolchains/visualcpp.rake +0 -12
  249. data/ext/enterprise_script_service/mruby/test/assert.rb +186 -25
  250. data/ext/enterprise_script_service/mruby/test/t/array.rb +34 -6
  251. data/ext/enterprise_script_service/mruby/test/t/class.rb +26 -0
  252. data/ext/enterprise_script_service/mruby/test/t/enumerable.rb +2 -2
  253. data/ext/enterprise_script_service/mruby/test/t/float.rb +17 -17
  254. data/ext/enterprise_script_service/mruby/test/t/hash.rb +2 -0
  255. data/ext/enterprise_script_service/mruby/test/t/integer.rb +14 -6
  256. data/ext/enterprise_script_service/mruby/test/t/kernel.rb +38 -19
  257. data/ext/enterprise_script_service/mruby/test/t/module.rb +87 -14
  258. data/ext/enterprise_script_service/mruby/test/t/numeric.rb +65 -23
  259. data/ext/enterprise_script_service/mruby/test/t/range.rb +4 -4
  260. data/ext/enterprise_script_service/mruby/test/t/string.rb +211 -49
  261. data/ext/enterprise_script_service/mruby/test/t/syntax.rb +19 -2
  262. data/ext/enterprise_script_service/mruby/test/t/vformat.rb +92 -0
  263. data/ext/enterprise_script_service/mruby/travis_config.rb +2 -2
  264. data/ext/enterprise_script_service/mruby_config.rb +10 -0
  265. data/ext/enterprise_script_service/mruby_engine.cpp +2 -2
  266. data/ext/enterprise_script_service/mruby_engine.gembox +1 -0
  267. data/ext/enterprise_script_service/msgpack/CHANGELOG.md +14 -0
  268. data/ext/enterprise_script_service/msgpack/Files.cmake +4 -0
  269. data/ext/enterprise_script_service/msgpack/README.md +1 -1
  270. data/ext/enterprise_script_service/msgpack/appveyor.yml +1 -1
  271. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_msgpack_tuple.hpp.erb +1 -1
  272. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_msgpack_tuple_decl.hpp.erb +1 -1
  273. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_zone.hpp.erb +3 -3
  274. data/ext/enterprise_script_service/msgpack/example/boost/asio_send_recv.cpp +1 -1
  275. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp11/timespec.hpp +16 -0
  276. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/wstring.hpp +15 -0
  277. data/ext/enterprise_script_service/msgpack/include/msgpack/object.h +2 -0
  278. data/ext/enterprise_script_service/msgpack/include/msgpack/pack_template.h +17 -9
  279. data/ext/enterprise_script_service/msgpack/include/msgpack/sysdep.h +27 -16
  280. data/ext/enterprise_script_service/msgpack/include/msgpack/type.hpp +2 -0
  281. data/ext/enterprise_script_service/msgpack/include/msgpack/unpack_template.h +5 -0
  282. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/array_ref.hpp +0 -1
  283. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/check_container_size.hpp +1 -1
  284. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/chrono.hpp +5 -5
  285. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/timespec.hpp +140 -0
  286. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
  287. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +32 -32
  288. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +6 -6
  289. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +10 -10
  290. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/ext.hpp +1 -1
  291. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/fixint.hpp +5 -4
  292. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/int.hpp +40 -13
  293. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/int_decl.hpp +3 -2
  294. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/wstring.hpp +121 -0
  295. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone.hpp +3 -3
  296. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp11_zone.hpp +3 -3
  297. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/object.hpp +6 -6
  298. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/object_fwd.hpp +1 -1
  299. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/pack.hpp +40 -5
  300. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/unpack.hpp +11 -11
  301. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/vrefbuffer.hpp +7 -7
  302. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/zbuffer.hpp +5 -5
  303. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/adaptor/int_decl.hpp +1 -1
  304. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/create_object_visitor.hpp +1 -1
  305. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/parse.hpp +13 -13
  306. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/x3_parse.hpp +28 -26
  307. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/int_decl.hpp +1 -1
  308. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/parse.hpp +13 -13
  309. data/ext/enterprise_script_service/msgpack/include/msgpack/version_master.h +2 -2
  310. data/ext/enterprise_script_service/msgpack/include/msgpack/zbuffer.h +6 -6
  311. data/ext/enterprise_script_service/msgpack/include/msgpack/zone.h +1 -1
  312. data/ext/enterprise_script_service/msgpack/src/objectc.c +83 -148
  313. data/ext/enterprise_script_service/msgpack/src/unpack.c +73 -47
  314. data/ext/enterprise_script_service/msgpack/test/CMakeLists.txt +1 -1
  315. data/ext/enterprise_script_service/msgpack/test/array_ref.cpp +5 -0
  316. data/ext/enterprise_script_service/msgpack/test/boost_fusion.cpp +5 -0
  317. data/ext/enterprise_script_service/msgpack/test/boost_optional.cpp +7 -0
  318. data/ext/enterprise_script_service/msgpack/test/boost_string_ref.cpp +7 -0
  319. data/ext/enterprise_script_service/msgpack/test/boost_string_view.cpp +6 -0
  320. data/ext/enterprise_script_service/msgpack/test/boost_variant.cpp +15 -9
  321. data/ext/enterprise_script_service/msgpack/test/buffer.cpp +7 -0
  322. data/ext/enterprise_script_service/msgpack/test/carray.cpp +7 -0
  323. data/ext/enterprise_script_service/msgpack/test/cases.cpp +7 -1
  324. data/ext/enterprise_script_service/msgpack/test/convert.cpp +6 -0
  325. data/ext/enterprise_script_service/msgpack/test/fixint.cpp +7 -1
  326. data/ext/enterprise_script_service/msgpack/test/fixint_c.cpp +6 -1
  327. data/ext/enterprise_script_service/msgpack/test/fuzz_unpack_pack_fuzzer_cpp11.cpp +5 -0
  328. data/ext/enterprise_script_service/msgpack/test/iterator_cpp11.cpp +8 -2
  329. data/ext/enterprise_script_service/msgpack/test/json.cpp +6 -0
  330. data/ext/enterprise_script_service/msgpack/test/limit.cpp +7 -0
  331. data/ext/enterprise_script_service/msgpack/test/msgpack_basic.cpp +128 -6
  332. data/ext/enterprise_script_service/msgpack/test/msgpack_c.cpp +7 -2
  333. data/ext/enterprise_script_service/msgpack/test/msgpack_container.cpp +20 -3
  334. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp11.cpp +159 -0
  335. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp17.cpp +5 -0
  336. data/ext/enterprise_script_service/msgpack/test/msgpack_stream.cpp +8 -3
  337. data/ext/enterprise_script_service/msgpack/test/msgpack_tuple.cpp +6 -0
  338. data/ext/enterprise_script_service/msgpack/test/msgpack_vref.cpp +5 -0
  339. data/ext/enterprise_script_service/msgpack/test/msgpack_x3_parse.cpp +23 -18
  340. data/ext/enterprise_script_service/msgpack/test/object.cpp +77 -45
  341. data/ext/enterprise_script_service/msgpack/test/object_with_zone.cpp +28 -10
  342. data/ext/enterprise_script_service/msgpack/test/pack_unpack.cpp +25 -18
  343. data/ext/enterprise_script_service/msgpack/test/pack_unpack_c.cpp +7 -0
  344. data/ext/enterprise_script_service/msgpack/test/raw.cpp +17 -12
  345. data/ext/enterprise_script_service/msgpack/test/reference.cpp +6 -0
  346. data/ext/enterprise_script_service/msgpack/test/reference_cpp11.cpp +6 -0
  347. data/ext/enterprise_script_service/msgpack/test/reference_wrapper_cpp11.cpp +6 -0
  348. data/ext/enterprise_script_service/msgpack/test/shared_ptr_cpp11.cpp +6 -0
  349. data/ext/enterprise_script_service/msgpack/test/size_equal_only.cpp +6 -2
  350. data/ext/enterprise_script_service/msgpack/test/streaming.cpp +10 -3
  351. data/ext/enterprise_script_service/msgpack/test/streaming_c.cpp +7 -0
  352. data/ext/enterprise_script_service/msgpack/test/unique_ptr_cpp11.cpp +6 -0
  353. data/ext/enterprise_script_service/msgpack/test/user_class.cpp +5 -0
  354. data/ext/enterprise_script_service/msgpack/test/version.cpp +6 -0
  355. data/ext/enterprise_script_service/msgpack/test/visitor.cpp +7 -0
  356. data/ext/enterprise_script_service/msgpack/test/zone.cpp +6 -0
  357. data/lib/script_core/version.rb +1 -1
  358. data/lib/tasks/mruby/engine.gembox.example +1 -0
  359. data/lib/tasks/script_core.rake +21 -3
  360. data/spec/dummy/app/helpers/fields_helper.rb +2 -2
  361. data/spec/dummy/mruby/engine.gembox +1 -0
  362. data/spec/script_core_spec.rb +1 -1
  363. metadata +38 -22
  364. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/.gitignore +0 -1
  365. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/.travis.yml +0 -2
  366. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/run_test.rb +0 -26
  367. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/mrblib/kernel.rb +0 -15
  368. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/unbound_method.rb +0 -9
  369. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/.gitignore +0 -5
  370. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/.travis.yml +0 -2
  371. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/packtest.rb +0 -157
  372. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/run_test.rb +0 -26
  373. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/src/mt19937ar.c +0 -224
  374. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/src/mt19937ar.h +0 -80
  375. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/src/random.h +0 -12
  376. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/.gitignore +0 -4
  377. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/.travis.yml +0 -29
  378. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/.travis_build_config.rb +0 -6
  379. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/Rakefile +0 -29
  380. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/.travis.yml +0 -4
  381. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/run_test.rb +0 -28
@@ -26,7 +26,7 @@
26
26
  #include "arch.h"
27
27
  #include "arch-aarch64.h"
28
28
 
29
- /* NOTE: based on Linux 4.15-rc7 */
29
+ /* NOTE: based on Linux v5.4-rc4 */
30
30
  const struct arch_syscall_def aarch64_syscall_table[] = { \
31
31
  { "_llseek", __PNR__llseek },
32
32
  { "_newselect", __PNR__newselect },
@@ -58,11 +58,17 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
58
58
  { "chown32", __PNR_chown32 },
59
59
  { "chroot", 51 },
60
60
  { "clock_adjtime", 266 },
61
+ { "clock_adjtime64", __PNR_clock_adjtime64 },
61
62
  { "clock_getres", 114 },
63
+ { "clock_getres_time64", __PNR_clock_getres_time64 },
62
64
  { "clock_gettime", 113 },
65
+ { "clock_gettime64", __PNR_clock_gettime64 },
63
66
  { "clock_nanosleep", 115 },
67
+ { "clock_nanosleep_time64", __PNR_clock_nanosleep_time64 },
64
68
  { "clock_settime", 112 },
69
+ { "clock_settime64", __PNR_clock_settime64 },
65
70
  { "clone", 220 },
71
+ { "clone3", __PNR_clone3 },
66
72
  { "close", 57 },
67
73
  { "connect", 203 },
68
74
  { "copy_file_range", 285 },
@@ -106,7 +112,11 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
106
112
  { "flock", 32 },
107
113
  { "fork", __PNR_fork },
108
114
  { "fremovexattr", 16 },
115
+ { "fsconfig", 431 },
109
116
  { "fsetxattr", 7 },
117
+ { "fsmount", 432 },
118
+ { "fsopen", 430 },
119
+ { "fspick", 433 },
110
120
  { "fstat", 80 },
111
121
  { "fstat64", __PNR_fstat64 },
112
122
  { "fstatat64", __PNR_fstatat64 },
@@ -117,6 +127,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
117
127
  { "ftruncate", 46 },
118
128
  { "ftruncate64", __PNR_ftruncate64 },
119
129
  { "futex", 98 },
130
+ { "futex_time64", __PNR_futex_time64 },
120
131
  { "futimesat", __PNR_futimesat },
121
132
  { "get_kernel_syms", __PNR_get_kernel_syms },
122
133
  { "get_mempolicy", 236 },
@@ -148,7 +159,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
148
159
  { "getresgid32", __PNR_getresgid32 },
149
160
  { "getresuid", 148 },
150
161
  { "getresuid32", __PNR_getresuid32 },
151
- { "getrlimit", 163 },
162
+ { "getrlimit", __PNR_getrlimit },
152
163
  { "getrusage", 165 },
153
164
  { "getsid", 156 },
154
165
  { "getsockname", 204 },
@@ -169,8 +180,12 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
169
180
  { "io_destroy", 1 },
170
181
  { "io_getevents", 4 },
171
182
  { "io_pgetevents", 292 },
183
+ { "io_pgetevents_time64", __PNR_io_pgetevents_time64 },
172
184
  { "io_setup", 0 },
173
185
  { "io_submit", 2 },
186
+ { "io_uring_setup", 425 },
187
+ { "io_uring_enter", 426 },
188
+ { "io_uring_register", 427 },
174
189
  { "ioctl", 29 },
175
190
  { "ioperm", __PNR_ioperm },
176
191
  { "iopl", __PNR_iopl },
@@ -214,6 +229,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
214
229
  { "mmap2", __PNR_mmap2 },
215
230
  { "modify_ldt", __PNR_modify_ldt },
216
231
  { "mount", 40 },
232
+ { "move_mount", 429 },
217
233
  { "move_pages", 239 },
218
234
  { "mprotect", 226 },
219
235
  { "mpx", __PNR_mpx },
@@ -221,7 +237,9 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
221
237
  { "mq_notify", 184 },
222
238
  { "mq_open", 180 },
223
239
  { "mq_timedreceive", 183 },
240
+ { "mq_timedreceive_time64", __PNR_mq_timedreceive_time64 },
224
241
  { "mq_timedsend", 182 },
242
+ { "mq_timedsend_time64", __PNR_mq_timedsend_time64 },
225
243
  { "mq_unlink", 181 },
226
244
  { "mremap", 216 },
227
245
  { "msgctl", 187 },
@@ -246,6 +264,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
246
264
  { "oldwait4", __PNR_oldwait4 },
247
265
  { "open", __PNR_open },
248
266
  { "open_by_handle_at", 265 },
267
+ { "open_tree", 428 },
249
268
  { "openat", 56 },
250
269
  { "pause", __PNR_pause },
251
270
  { "pciconfig_iobase", __PNR_pciconfig_iobase },
@@ -253,6 +272,8 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
253
272
  { "pciconfig_write", __PNR_pciconfig_write },
254
273
  { "perf_event_open", 241 },
255
274
  { "personality", 92 },
275
+ { "pidfd_open", 434 },
276
+ { "pidfd_send_signal", 424 },
256
277
  { "pipe", __PNR_pipe },
257
278
  { "pipe2", 59 },
258
279
  { "pivot_root", 41 },
@@ -261,6 +282,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
261
282
  { "pkey_mprotect", 288 },
262
283
  { "poll", __PNR_poll },
263
284
  { "ppoll", 73 },
285
+ { "ppoll_time64", __PNR_ppoll_time64 },
264
286
  { "prctl", 167 },
265
287
  { "pread64", 67 },
266
288
  { "preadv", 69 },
@@ -271,6 +293,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
271
293
  { "prof", __PNR_prof },
272
294
  { "profil", __PNR_profil },
273
295
  { "pselect6", 72 },
296
+ { "pselect6_time64", __PNR_pselect6_time64 },
274
297
  { "ptrace", 117 },
275
298
  { "putpmsg", __PNR_putpmsg },
276
299
  { "pwrite64", 68 },
@@ -288,6 +311,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
288
311
  { "recv", __PNR_recv },
289
312
  { "recvfrom", 207 },
290
313
  { "recvmmsg", 243 },
314
+ { "recvmmsg_time64", __PNR_recvmmsg_time64 },
291
315
  { "recvmsg", 212 },
292
316
  { "remap_file_pages", 234 },
293
317
  { "removexattr", 14 },
@@ -305,6 +329,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
305
329
  { "rt_sigreturn", 139 },
306
330
  { "rt_sigsuspend", 133 },
307
331
  { "rt_sigtimedwait", 137 },
332
+ { "rt_sigtimedwait_time64", __PNR_rt_sigtimedwait_time64 },
308
333
  { "rt_tgsigqueueinfo", 240 },
309
334
  { "rtas", __PNR_rtas },
310
335
  { "s390_guarded_storage", __PNR_s390_guarded_storage },
@@ -319,6 +344,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
319
344
  { "sched_getparam", 121 },
320
345
  { "sched_getscheduler", 120 },
321
346
  { "sched_rr_get_interval", 127 },
347
+ { "sched_rr_get_interval_time64", __PNR_sched_rr_get_interval_time64 },
322
348
  { "sched_setaffinity", 122 },
323
349
  { "sched_setattr", 274 },
324
350
  { "sched_setparam", 118 },
@@ -331,6 +357,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
331
357
  { "semget", 190 },
332
358
  { "semop", 193 },
333
359
  { "semtimedop", 192 },
360
+ { "semtimedop_time64", __PNR_semtimedop_time64 },
334
361
  { "send", __PNR_send },
335
362
  { "sendfile", 71 },
336
363
  { "sendfile64", __PNR_sendfile64 },
@@ -364,7 +391,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
364
391
  { "setresuid32", __PNR_setresuid32 },
365
392
  { "setreuid", 145 },
366
393
  { "setreuid32", __PNR_setreuid32 },
367
- { "setrlimit", 164 },
394
+ { "setrlimit", __PNR_setrlimit },
368
395
  { "setsid", 157 },
369
396
  { "setsockopt", 208 },
370
397
  { "settimeofday", 170 },
@@ -424,11 +451,15 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
424
451
  { "timer_delete", 111 },
425
452
  { "timer_getoverrun", 109 },
426
453
  { "timer_gettime", 108 },
454
+ { "timer_gettime64", __PNR_timer_gettime64 },
427
455
  { "timer_settime", 110 },
456
+ { "timer_settime64", __PNR_timer_settime64 },
428
457
  { "timerfd", __PNR_timerfd },
429
458
  { "timerfd_create", 85 },
430
459
  { "timerfd_gettime", 87 },
460
+ { "timerfd_gettime64", __PNR_timerfd_gettime64 },
431
461
  { "timerfd_settime", 86 },
462
+ { "timerfd_settime64", __PNR_timerfd_settime64 },
432
463
  { "times", 153 },
433
464
  { "tkill", 130 },
434
465
  { "truncate", 45 },
@@ -450,6 +481,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
450
481
  { "ustat", __PNR_ustat },
451
482
  { "utime", __PNR_utime },
452
483
  { "utimensat", 88 },
484
+ { "utimensat_time64", __PNR_utimensat_time64 },
453
485
  { "utimes", __PNR_utimes },
454
486
  { "vfork", __PNR_vfork },
455
487
  { "vhangup", 58 },
@@ -37,7 +37,7 @@
37
37
  #define __SCMP_NR_BASE __SCMP_NR_OABI_SYSCALL_BASE
38
38
  #endif
39
39
 
40
- /* NOTE: based on Linux 4.15-rc7 */
40
+ /* NOTE: based on Linux v5.4-rc4 */
41
41
  const struct arch_syscall_def arm_syscall_table[] = { \
42
42
  /* NOTE: arm_sync_file_range() and sync_file_range2() share values */
43
43
  { "_llseek", (__SCMP_NR_BASE + 140) },
@@ -70,11 +70,17 @@ const struct arch_syscall_def arm_syscall_table[] = { \
70
70
  { "chown32", (__SCMP_NR_BASE + 212) },
71
71
  { "chroot", (__SCMP_NR_BASE + 61) },
72
72
  { "clock_adjtime", (__SCMP_NR_BASE + 372) },
73
+ { "clock_adjtime64", (__SCMP_NR_BASE + 405) },
73
74
  { "clock_getres", (__SCMP_NR_BASE + 264) },
75
+ { "clock_getres_time64", (__SCMP_NR_BASE + 406) },
74
76
  { "clock_gettime", (__SCMP_NR_BASE + 263) },
77
+ { "clock_gettime64", (__SCMP_NR_BASE + 403) },
75
78
  { "clock_nanosleep", (__SCMP_NR_BASE + 265) },
79
+ { "clock_nanosleep_time64", (__SCMP_NR_BASE + 407) },
76
80
  { "clock_settime", (__SCMP_NR_BASE + 262) },
81
+ { "clock_settime64", (__SCMP_NR_BASE + 404) },
77
82
  { "clone", (__SCMP_NR_BASE + 120) },
83
+ { "clone3", (__SCMP_NR_BASE + 435) },
78
84
  { "close", (__SCMP_NR_BASE + 6) },
79
85
  { "connect", (__SCMP_NR_BASE + 283) },
80
86
  { "copy_file_range", (__SCMP_NR_BASE + 391) },
@@ -118,7 +124,11 @@ const struct arch_syscall_def arm_syscall_table[] = { \
118
124
  { "flock", (__SCMP_NR_BASE + 143) },
119
125
  { "fork", (__SCMP_NR_BASE + 2) },
120
126
  { "fremovexattr", (__SCMP_NR_BASE + 237) },
127
+ { "fsconfig", (__SCMP_NR_BASE + 431) },
121
128
  { "fsetxattr", (__SCMP_NR_BASE + 228) },
129
+ { "fsmount", (__SCMP_NR_BASE + 432) },
130
+ { "fsopen", (__SCMP_NR_BASE + 430) },
131
+ { "fspick", (__SCMP_NR_BASE + 433) },
122
132
  { "fstat", (__SCMP_NR_BASE + 108) },
123
133
  { "fstat64", (__SCMP_NR_BASE + 197) },
124
134
  { "fstatat64", (__SCMP_NR_BASE + 327) },
@@ -129,6 +139,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
129
139
  { "ftruncate", (__SCMP_NR_BASE + 93) },
130
140
  { "ftruncate64", (__SCMP_NR_BASE + 194) },
131
141
  { "futex", (__SCMP_NR_BASE + 240) },
142
+ { "futex_time64", (__SCMP_NR_BASE + 422) },
132
143
  { "futimesat", (__SCMP_NR_BASE + 326) },
133
144
  { "get_kernel_syms", __PNR_get_kernel_syms },
134
145
  { "get_mempolicy", (__SCMP_NR_BASE + 320) },
@@ -181,8 +192,12 @@ const struct arch_syscall_def arm_syscall_table[] = { \
181
192
  { "io_destroy", (__SCMP_NR_BASE + 244) },
182
193
  { "io_getevents", (__SCMP_NR_BASE + 245) },
183
194
  { "io_pgetevents", (__SCMP_NR_BASE + 399) },
195
+ { "io_pgetevents_time64", (__SCMP_NR_BASE + 416) },
184
196
  { "io_setup", (__SCMP_NR_BASE + 243) },
185
197
  { "io_submit", (__SCMP_NR_BASE + 246) },
198
+ { "io_uring_setup", (__SCMP_NR_BASE + 425) },
199
+ { "io_uring_enter", (__SCMP_NR_BASE + 426) },
200
+ { "io_uring_register", (__SCMP_NR_BASE + 427) },
186
201
  { "ioctl", (__SCMP_NR_BASE + 54) },
187
202
  { "ioperm", __PNR_ioperm },
188
203
  { "iopl", __PNR_iopl },
@@ -190,7 +205,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
190
205
  { "ioprio_set", (__SCMP_NR_BASE + 314) },
191
206
  { "ipc", __PNR_ipc },
192
207
  { "kcmp", (__SCMP_NR_BASE + 378) },
193
- { "kexec_file_load", __PNR_kexec_file_load },
208
+ { "kexec_file_load", (__SCMP_NR_BASE + 401) },
194
209
  { "kexec_load", (__SCMP_NR_BASE + 347) },
195
210
  { "keyctl", (__SCMP_NR_BASE + 311) },
196
211
  { "kill", (__SCMP_NR_BASE + 37) },
@@ -213,7 +228,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
213
228
  { "mbind", (__SCMP_NR_BASE + 319) },
214
229
  { "membarrier", (__SCMP_NR_BASE + 389) },
215
230
  { "memfd_create", (__SCMP_NR_BASE + 385) },
216
- { "migrate_pages", __PNR_migrate_pages },
231
+ { "migrate_pages", (__SCMP_NR_BASE + 400) },
217
232
  { "mincore", (__SCMP_NR_BASE + 219) },
218
233
  { "mkdir", (__SCMP_NR_BASE + 39) },
219
234
  { "mkdirat", (__SCMP_NR_BASE + 323) },
@@ -226,6 +241,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
226
241
  { "mmap2", (__SCMP_NR_BASE + 192) },
227
242
  { "modify_ldt", __PNR_modify_ldt },
228
243
  { "mount", (__SCMP_NR_BASE + 21) },
244
+ { "move_mount", (__SCMP_NR_BASE + 429) },
229
245
  { "move_pages", (__SCMP_NR_BASE + 344) },
230
246
  { "mprotect", (__SCMP_NR_BASE + 125) },
231
247
  { "mpx", __PNR_mpx },
@@ -233,7 +249,9 @@ const struct arch_syscall_def arm_syscall_table[] = { \
233
249
  { "mq_notify", (__SCMP_NR_BASE + 278) },
234
250
  { "mq_open", (__SCMP_NR_BASE + 274) },
235
251
  { "mq_timedreceive", (__SCMP_NR_BASE + 277) },
252
+ { "mq_timedreceive_time64", (__SCMP_NR_BASE + 419) },
236
253
  { "mq_timedsend", (__SCMP_NR_BASE + 276) },
254
+ { "mq_timedsend_time64", (__SCMP_NR_BASE + 418) },
237
255
  { "mq_unlink", (__SCMP_NR_BASE + 275) },
238
256
  { "mremap", (__SCMP_NR_BASE + 163) },
239
257
  { "msgctl", (__SCMP_NR_BASE + 304) },
@@ -258,6 +276,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
258
276
  { "oldwait4", __PNR_oldwait4 },
259
277
  { "open", (__SCMP_NR_BASE + 5) },
260
278
  { "open_by_handle_at", (__SCMP_NR_BASE + 371) },
279
+ { "open_tree", (__SCMP_NR_BASE + 428) },
261
280
  { "openat", (__SCMP_NR_BASE + 322) },
262
281
  { "pause", (__SCMP_NR_BASE + 29) },
263
282
  { "pciconfig_iobase", (__SCMP_NR_BASE + 271) },
@@ -265,6 +284,8 @@ const struct arch_syscall_def arm_syscall_table[] = { \
265
284
  { "pciconfig_write", (__SCMP_NR_BASE + 273) },
266
285
  { "perf_event_open", (__SCMP_NR_BASE + 364) },
267
286
  { "personality", (__SCMP_NR_BASE + 136) },
287
+ { "pidfd_open", (__SCMP_NR_BASE + 434) },
288
+ { "pidfd_send_signal", (__SCMP_NR_BASE + 424) },
268
289
  { "pipe", (__SCMP_NR_BASE + 42) },
269
290
  { "pipe2", (__SCMP_NR_BASE + 359) },
270
291
  { "pivot_root", (__SCMP_NR_BASE + 218) },
@@ -273,6 +294,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
273
294
  { "pkey_mprotect", (__SCMP_NR_BASE + 394) },
274
295
  { "poll", (__SCMP_NR_BASE + 168) },
275
296
  { "ppoll", (__SCMP_NR_BASE + 336) },
297
+ { "ppoll_time64", (__SCMP_NR_BASE + 414) },
276
298
  { "prctl", (__SCMP_NR_BASE + 172) },
277
299
  { "pread64", (__SCMP_NR_BASE + 180) },
278
300
  { "preadv", (__SCMP_NR_BASE + 361) },
@@ -283,6 +305,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
283
305
  { "prof", __PNR_prof },
284
306
  { "profil", __PNR_profil },
285
307
  { "pselect6", (__SCMP_NR_BASE + 335) },
308
+ { "pselect6_time64", (__SCMP_NR_BASE + 413) },
286
309
  { "ptrace", (__SCMP_NR_BASE + 26) },
287
310
  { "putpmsg", __PNR_putpmsg },
288
311
  { "pwrite64", (__SCMP_NR_BASE + 181) },
@@ -300,6 +323,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
300
323
  { "recv", (__SCMP_NR_BASE + 291) },
301
324
  { "recvfrom", (__SCMP_NR_BASE + 292) },
302
325
  { "recvmmsg", (__SCMP_NR_BASE + 365) },
326
+ { "recvmmsg_time64", (__SCMP_NR_BASE + 417) },
303
327
  { "recvmsg", (__SCMP_NR_BASE + 297) },
304
328
  { "remap_file_pages", (__SCMP_NR_BASE + 253) },
305
329
  { "removexattr", (__SCMP_NR_BASE + 235) },
@@ -317,6 +341,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
317
341
  { "rt_sigreturn", (__SCMP_NR_BASE + 173) },
318
342
  { "rt_sigsuspend", (__SCMP_NR_BASE + 179) },
319
343
  { "rt_sigtimedwait", (__SCMP_NR_BASE + 177) },
344
+ { "rt_sigtimedwait_time64", (__SCMP_NR_BASE + 421) },
320
345
  { "rt_tgsigqueueinfo", (__SCMP_NR_BASE + 363) },
321
346
  { "rtas", __PNR_rtas },
322
347
  { "s390_guarded_storage", __PNR_s390_guarded_storage },
@@ -331,6 +356,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
331
356
  { "sched_getparam", (__SCMP_NR_BASE + 155) },
332
357
  { "sched_getscheduler", (__SCMP_NR_BASE + 157) },
333
358
  { "sched_rr_get_interval", (__SCMP_NR_BASE + 161) },
359
+ { "sched_rr_get_interval_time64", (__SCMP_NR_BASE + 423) },
334
360
  { "sched_setaffinity", (__SCMP_NR_BASE + 241) },
335
361
  { "sched_setattr", (__SCMP_NR_BASE + 380) },
336
362
  { "sched_setparam", (__SCMP_NR_BASE + 154) },
@@ -343,6 +369,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
343
369
  { "semget", (__SCMP_NR_BASE + 299) },
344
370
  { "semop", (__SCMP_NR_BASE + 298) },
345
371
  { "semtimedop", (__SCMP_NR_BASE + 312) },
372
+ { "semtimedop_time64", (__SCMP_NR_BASE + 420) },
346
373
  { "send", (__SCMP_NR_BASE + 289) },
347
374
  { "sendfile", (__SCMP_NR_BASE + 187) },
348
375
  { "sendfile64", (__SCMP_NR_BASE + 239) },
@@ -436,11 +463,15 @@ const struct arch_syscall_def arm_syscall_table[] = { \
436
463
  { "timer_delete", (__SCMP_NR_BASE + 261) },
437
464
  { "timer_getoverrun", (__SCMP_NR_BASE + 260) },
438
465
  { "timer_gettime", (__SCMP_NR_BASE + 259) },
466
+ { "timer_gettime64", (__SCMP_NR_BASE + 408) },
439
467
  { "timer_settime", (__SCMP_NR_BASE + 258) },
468
+ { "timer_settime64", (__SCMP_NR_BASE + 409) },
440
469
  { "timerfd", __PNR_timerfd },
441
470
  { "timerfd_create", (__SCMP_NR_BASE + 350) },
442
471
  { "timerfd_gettime", (__SCMP_NR_BASE + 354) },
472
+ { "timerfd_gettime64", (__SCMP_NR_BASE + 410) },
443
473
  { "timerfd_settime", (__SCMP_NR_BASE + 353) },
474
+ { "timerfd_settime64", (__SCMP_NR_BASE + 411) },
444
475
  { "times", (__SCMP_NR_BASE + 43) },
445
476
  { "tkill", (__SCMP_NR_BASE + 238) },
446
477
  { "truncate", (__SCMP_NR_BASE + 92) },
@@ -462,6 +493,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
462
493
  { "ustat", (__SCMP_NR_BASE + 62) },
463
494
  { "utime", __PNR_utime },
464
495
  { "utimensat", (__SCMP_NR_BASE + 348) },
496
+ { "utimensat_time64", (__SCMP_NR_BASE + 412) },
465
497
  { "utimes", (__SCMP_NR_BASE + 269) },
466
498
  { "vfork", (__SCMP_NR_BASE + 190) },
467
499
  { "vhangup", (__SCMP_NR_BASE + 111) },
@@ -30,7 +30,7 @@
30
30
  /* O32 ABI */
31
31
  #define __SCMP_NR_BASE 4000
32
32
 
33
- /* NOTE: based on Linux 4.15-rc7 */
33
+ /* NOTE: based on Linux v5.4-rc4 */
34
34
  const struct arch_syscall_def mips_syscall_table[] = { \
35
35
  { "_llseek", (__SCMP_NR_BASE + 140) },
36
36
  { "_newselect", (__SCMP_NR_BASE + 142) },
@@ -62,11 +62,17 @@ const struct arch_syscall_def mips_syscall_table[] = { \
62
62
  { "chown32", (__PNR_chown32) },
63
63
  { "chroot", (__SCMP_NR_BASE + 61) },
64
64
  { "clock_adjtime", (__SCMP_NR_BASE + 341) },
65
+ { "clock_adjtime64", (__SCMP_NR_BASE + 405) },
65
66
  { "clock_getres", (__SCMP_NR_BASE + 264) },
67
+ { "clock_getres_time64", (__SCMP_NR_BASE + 406) },
66
68
  { "clock_gettime", (__SCMP_NR_BASE + 263) },
69
+ { "clock_gettime64", (__SCMP_NR_BASE + 403) },
67
70
  { "clock_nanosleep", (__SCMP_NR_BASE + 265) },
71
+ { "clock_nanosleep_time64", (__SCMP_NR_BASE + 407) },
68
72
  { "clock_settime", (__SCMP_NR_BASE + 262) },
73
+ { "clock_settime64", (__SCMP_NR_BASE + 404) },
69
74
  { "clone", (__SCMP_NR_BASE + 120) },
75
+ { "clone3", (__SCMP_NR_BASE + 435) },
70
76
  { "close", (__SCMP_NR_BASE + 6) },
71
77
  { "connect", (__SCMP_NR_BASE + 170) },
72
78
  { "copy_file_range", (__SCMP_NR_BASE + 360) },
@@ -110,7 +116,11 @@ const struct arch_syscall_def mips_syscall_table[] = { \
110
116
  { "flock", (__SCMP_NR_BASE + 143) },
111
117
  { "fork", (__SCMP_NR_BASE + 2) },
112
118
  { "fremovexattr", (__SCMP_NR_BASE + 235) },
119
+ { "fsconfig", (__SCMP_NR_BASE + 431) },
113
120
  { "fsetxattr", (__SCMP_NR_BASE + 226) },
121
+ { "fsmount", (__SCMP_NR_BASE + 432) },
122
+ { "fsopen", (__SCMP_NR_BASE + 430) },
123
+ { "fspick", (__SCMP_NR_BASE + 433) },
114
124
  { "fstat", (__SCMP_NR_BASE + 108) },
115
125
  { "fstat64", (__SCMP_NR_BASE + 215) },
116
126
  { "fstatat64", (__SCMP_NR_BASE + 293) },
@@ -121,6 +131,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
121
131
  { "ftruncate", (__SCMP_NR_BASE + 93) },
122
132
  { "ftruncate64", (__SCMP_NR_BASE + 212) },
123
133
  { "futex", (__SCMP_NR_BASE + 238) },
134
+ { "futex_time64", (__SCMP_NR_BASE + 422) },
124
135
  { "futimesat", (__SCMP_NR_BASE + 292) },
125
136
  { "get_kernel_syms", (__SCMP_NR_BASE + 130) },
126
137
  { "get_mempolicy", (__SCMP_NR_BASE + 269) },
@@ -173,8 +184,12 @@ const struct arch_syscall_def mips_syscall_table[] = { \
173
184
  { "io_destroy", (__SCMP_NR_BASE + 242) },
174
185
  { "io_getevents", (__SCMP_NR_BASE + 243) },
175
186
  { "io_pgetevents", (__SCMP_NR_BASE + 368) },
187
+ { "io_pgetevents_time64", (__SCMP_NR_BASE + 416) },
176
188
  { "io_setup", (__SCMP_NR_BASE + 241) },
177
189
  { "io_submit", (__SCMP_NR_BASE + 244) },
190
+ { "io_uring_setup", (__SCMP_NR_BASE + 425) },
191
+ { "io_uring_enter", (__SCMP_NR_BASE + 426) },
192
+ { "io_uring_register", (__SCMP_NR_BASE + 427) },
178
193
  { "ioctl", (__SCMP_NR_BASE + 54) },
179
194
  { "ioperm", (__SCMP_NR_BASE + 101) },
180
195
  { "iopl", (__SCMP_NR_BASE + 110) },
@@ -218,6 +233,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
218
233
  { "mmap2", (__SCMP_NR_BASE + 210) },
219
234
  { "modify_ldt", (__SCMP_NR_BASE + 123) },
220
235
  { "mount", (__SCMP_NR_BASE + 21) },
236
+ { "move_mount", (__SCMP_NR_BASE + 429) },
221
237
  { "move_pages", (__SCMP_NR_BASE + 308) },
222
238
  { "mprotect", (__SCMP_NR_BASE + 125) },
223
239
  { "mpx", (__SCMP_NR_BASE + 56) },
@@ -225,13 +241,15 @@ const struct arch_syscall_def mips_syscall_table[] = { \
225
241
  { "mq_notify", (__SCMP_NR_BASE + 275) },
226
242
  { "mq_open", (__SCMP_NR_BASE + 271) },
227
243
  { "mq_timedreceive", (__SCMP_NR_BASE + 274) },
244
+ { "mq_timedreceive_time64", (__SCMP_NR_BASE + 419) },
228
245
  { "mq_timedsend", (__SCMP_NR_BASE + 273) },
246
+ { "mq_timedsend_time64", (__SCMP_NR_BASE + 418) },
229
247
  { "mq_unlink", (__SCMP_NR_BASE + 272) },
230
248
  { "mremap", (__SCMP_NR_BASE + 167) },
231
- { "msgctl", __PNR_msgctl },
232
- { "msgget", __PNR_msgget },
233
- { "msgrcv", __PNR_msgrcv },
234
- { "msgsnd", __PNR_msgsnd },
249
+ { "msgctl", (__SCMP_NR_BASE + 402) },
250
+ { "msgget", (__SCMP_NR_BASE + 399) },
251
+ { "msgrcv", (__SCMP_NR_BASE + 401) },
252
+ { "msgsnd", (__SCMP_NR_BASE + 400) },
235
253
  { "msync", (__SCMP_NR_BASE + 144) },
236
254
  { "multiplexer", __PNR_multiplexer },
237
255
  { "munlock", (__SCMP_NR_BASE + 155) },
@@ -250,6 +268,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
250
268
  { "oldwait4", __PNR_oldwait4 },
251
269
  { "open", (__SCMP_NR_BASE + 5) },
252
270
  { "open_by_handle_at", (__SCMP_NR_BASE + 340) },
271
+ { "open_tree", (__SCMP_NR_BASE + 428) },
253
272
  { "openat", (__SCMP_NR_BASE + 288) },
254
273
  { "pause", (__SCMP_NR_BASE + 29) },
255
274
  { "pciconfig_iobase", __PNR_pciconfig_iobase },
@@ -257,6 +276,8 @@ const struct arch_syscall_def mips_syscall_table[] = { \
257
276
  { "pciconfig_write", __PNR_pciconfig_write },
258
277
  { "perf_event_open", (__SCMP_NR_BASE + 333) },
259
278
  { "personality", (__SCMP_NR_BASE + 136) },
279
+ { "pidfd_open", (__SCMP_NR_BASE + 434) },
280
+ { "pidfd_send_signal", (__SCMP_NR_BASE + 424) },
260
281
  { "pipe", (__SCMP_NR_BASE + 42) },
261
282
  { "pipe2", (__SCMP_NR_BASE + 328) },
262
283
  { "pivot_root", (__SCMP_NR_BASE + 216) },
@@ -265,6 +286,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
265
286
  { "pkey_mprotect", (__SCMP_NR_BASE + 363) },
266
287
  { "poll", (__SCMP_NR_BASE + 188) },
267
288
  { "ppoll", (__SCMP_NR_BASE + 302) },
289
+ { "ppoll_time64", (__SCMP_NR_BASE + 414) },
268
290
  { "prctl", (__SCMP_NR_BASE + 192) },
269
291
  { "pread64", (__SCMP_NR_BASE + 200) },
270
292
  { "preadv", (__SCMP_NR_BASE + 330) },
@@ -275,6 +297,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
275
297
  { "prof", (__SCMP_NR_BASE + 44) },
276
298
  { "profil", (__SCMP_NR_BASE + 98) },
277
299
  { "pselect6", (__SCMP_NR_BASE + 301) },
300
+ { "pselect6_time64", (__SCMP_NR_BASE + 413) },
278
301
  { "ptrace", (__SCMP_NR_BASE + 26) },
279
302
  { "putpmsg", (__SCMP_NR_BASE + 209) },
280
303
  { "pwrite64", (__SCMP_NR_BASE + 201) },
@@ -292,6 +315,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
292
315
  { "recv", (__SCMP_NR_BASE + 175) },
293
316
  { "recvfrom", (__SCMP_NR_BASE + 176) },
294
317
  { "recvmmsg", (__SCMP_NR_BASE + 335) },
318
+ { "recvmmsg_time64", (__SCMP_NR_BASE + 417) },
295
319
  { "recvmsg", (__SCMP_NR_BASE + 177) },
296
320
  { "remap_file_pages", (__SCMP_NR_BASE + 251) },
297
321
  { "removexattr", (__SCMP_NR_BASE + 233) },
@@ -309,6 +333,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
309
333
  { "rt_sigreturn", (__SCMP_NR_BASE + 193) },
310
334
  { "rt_sigsuspend", (__SCMP_NR_BASE + 199) },
311
335
  { "rt_sigtimedwait", (__SCMP_NR_BASE + 197) },
336
+ { "rt_sigtimedwait_time64", (__SCMP_NR_BASE + 421) },
312
337
  { "rt_tgsigqueueinfo", (__SCMP_NR_BASE + 332) },
313
338
  { "rtas", __PNR_rtas },
314
339
  { "s390_guarded_storage", __PNR_s390_guarded_storage },
@@ -323,6 +348,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
323
348
  { "sched_getparam", (__SCMP_NR_BASE + 159) },
324
349
  { "sched_getscheduler", (__SCMP_NR_BASE + 161) },
325
350
  { "sched_rr_get_interval", (__SCMP_NR_BASE + 165) },
351
+ { "sched_rr_get_interval_time64", (__SCMP_NR_BASE + 423) },
326
352
  { "sched_setaffinity", (__SCMP_NR_BASE + 239) },
327
353
  { "sched_setattr", (__SCMP_NR_BASE + 349) },
328
354
  { "sched_setparam", (__SCMP_NR_BASE + 158) },
@@ -331,10 +357,11 @@ const struct arch_syscall_def mips_syscall_table[] = { \
331
357
  { "seccomp", (__SCMP_NR_BASE + 352) },
332
358
  { "security", __PNR_security },
333
359
  { "select", __PNR_select },
334
- { "semctl", __PNR_semctl },
335
- { "semget", __PNR_semget },
360
+ { "semctl", (__SCMP_NR_BASE + 394) },
361
+ { "semget", (__SCMP_NR_BASE + 393) },
336
362
  { "semop", __PNR_semop },
337
363
  { "semtimedop", __PNR_semtimedop },
364
+ { "semtimedop_time64", (__SCMP_NR_BASE + 420) },
338
365
  { "send", (__SCMP_NR_BASE + 178) },
339
366
  { "sendfile", (__SCMP_NR_BASE + 207) },
340
367
  { "sendfile64", (__SCMP_NR_BASE + 237) },
@@ -376,10 +403,10 @@ const struct arch_syscall_def mips_syscall_table[] = { \
376
403
  { "setuid32", __PNR_setuid32 },
377
404
  { "setxattr", (__SCMP_NR_BASE + 224) },
378
405
  { "sgetmask", (__SCMP_NR_BASE + 68) },
379
- { "shmat", __PNR_shmat },
380
- { "shmctl", __PNR_shmctl },
381
- { "shmdt", __PNR_shmdt },
382
- { "shmget", __PNR_shmget },
406
+ { "shmat", (__SCMP_NR_BASE + 397) },
407
+ { "shmctl", (__SCMP_NR_BASE + 396) },
408
+ { "shmdt", (__SCMP_NR_BASE + 398) },
409
+ { "shmget", (__SCMP_NR_BASE + 395) },
383
410
  { "shutdown", (__SCMP_NR_BASE + 182) },
384
411
  { "sigaction", (__SCMP_NR_BASE + 67) },
385
412
  { "sigaltstack", (__SCMP_NR_BASE + 206) },
@@ -428,11 +455,15 @@ const struct arch_syscall_def mips_syscall_table[] = { \
428
455
  { "timer_delete", (__SCMP_NR_BASE + 261) },
429
456
  { "timer_getoverrun", (__SCMP_NR_BASE + 260) },
430
457
  { "timer_gettime", (__SCMP_NR_BASE + 259) },
458
+ { "timer_gettime64", (__SCMP_NR_BASE + 408) },
431
459
  { "timer_settime", (__SCMP_NR_BASE + 258) },
460
+ { "timer_settime64", (__SCMP_NR_BASE + 409) },
432
461
  { "timerfd", (__SCMP_NR_BASE + 318) },
433
462
  { "timerfd_create", (__SCMP_NR_BASE + 321) },
434
463
  { "timerfd_gettime", (__SCMP_NR_BASE + 322) },
464
+ { "timerfd_gettime64", (__SCMP_NR_BASE + 410) },
435
465
  { "timerfd_settime", (__SCMP_NR_BASE + 323) },
466
+ { "timerfd_settime64", (__SCMP_NR_BASE + 411) },
436
467
  { "times", (__SCMP_NR_BASE + 43) },
437
468
  { "tkill", (__SCMP_NR_BASE + 236) },
438
469
  { "truncate", (__SCMP_NR_BASE + 92) },
@@ -454,6 +485,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
454
485
  { "ustat", (__SCMP_NR_BASE + 62) },
455
486
  { "utime", (__SCMP_NR_BASE + 30) },
456
487
  { "utimensat", (__SCMP_NR_BASE + 316) },
488
+ { "utimensat_time64", (__SCMP_NR_BASE + 412) },
457
489
  { "utimes", (__SCMP_NR_BASE + 267) },
458
490
  { "vfork", __PNR_vfork },
459
491
  { "vhangup", (__SCMP_NR_BASE + 111) },