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
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * Seccomp Library
3
3
  *
4
+ * Copyright (c) 2019 Cisco Systems <pmoore2@cisco.com>
4
5
  * Copyright (c) 2012,2013 Red Hat <pmoore@redhat.com>
5
6
  * Author: Paul Moore <paul@paul-moore.com>
6
7
  */
@@ -196,7 +197,7 @@ struct scmp_arg_cmp {
196
197
  * Convert a syscall name into the associated syscall number
197
198
  * @param x the syscall name
198
199
  */
199
- #define SCMP_SYS(x) (__NR_##x)
200
+ #define SCMP_SYS(x) (__SNR_##x)
200
201
 
201
202
  /* Helpers for the argument comparison macros, DO NOT USE directly */
202
203
  #define _SCMP_VA_NUM_ARGS(...) _SCMP_VA_NUM_ARGS_IMPL(__VA_ARGS__,2,1)
@@ -701,1070 +702,7 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd);
701
702
  #define __NR_SCMP_ERROR -1
702
703
  #define __NR_SCMP_UNDEF -2
703
704
 
704
- /* socket syscalls */
705
-
706
- #define __PNR_socket -101
707
- #ifndef __NR_socket
708
- #define __NR_socket __PNR_socket
709
- #endif /* __NR_socket */
710
-
711
- #define __PNR_bind -102
712
- #ifndef __NR_bind
713
- #define __NR_bind __PNR_bind
714
- #endif /* __NR_bind */
715
-
716
- #define __PNR_connect -103
717
- #ifndef __NR_connect
718
- #define __NR_connect __PNR_connect
719
- #endif /* __NR_connect */
720
-
721
- #define __PNR_listen -104
722
- #ifndef __NR_listen
723
- #define __NR_listen __PNR_listen
724
- #endif /* __NR_listen */
725
-
726
- #define __PNR_accept -105
727
- #ifndef __NR_accept
728
- #define __NR_accept __PNR_accept
729
- #endif /* __NR_accept */
730
-
731
- #define __PNR_getsockname -106
732
- #ifndef __NR_getsockname
733
- #define __NR_getsockname __PNR_getsockname
734
- #endif /* __NR_getsockname */
735
-
736
- #define __PNR_getpeername -107
737
- #ifndef __NR_getpeername
738
- #define __NR_getpeername __PNR_getpeername
739
- #endif /* __NR_getpeername */
740
-
741
- #define __PNR_socketpair -108
742
- #ifndef __NR_socketpair
743
- #define __NR_socketpair __PNR_socketpair
744
- #endif /* __NR_socketpair */
745
-
746
- #define __PNR_send -109
747
- #ifndef __NR_send
748
- #define __NR_send __PNR_send
749
- #endif /* __NR_send */
750
-
751
- #define __PNR_recv -110
752
- #ifndef __NR_recv
753
- #define __NR_recv __PNR_recv
754
- #endif /* __NR_recv */
755
-
756
- #define __PNR_sendto -111
757
- #ifndef __NR_sendto
758
- #define __NR_sendto __PNR_sendto
759
- #endif /* __NR_sendto */
760
-
761
- #define __PNR_recvfrom -112
762
- #ifndef __NR_recvfrom
763
- #define __NR_recvfrom __PNR_recvfrom
764
- #endif /* __NR_recvfrom */
765
-
766
- #define __PNR_shutdown -113
767
- #ifndef __NR_shutdown
768
- #define __NR_shutdown __PNR_shutdown
769
- #endif /* __NR_shutdown */
770
-
771
- #define __PNR_setsockopt -114
772
- #ifndef __NR_setsockopt
773
- #define __NR_setsockopt __PNR_setsockopt
774
- #endif /* __NR_getsockopt */
775
-
776
- #define __PNR_getsockopt -115
777
- #ifndef __NR_getsockopt
778
- #define __NR_getsockopt __PNR_getsockopt
779
- #endif /* __NR_getsockopt */
780
-
781
- #define __PNR_sendmsg -116
782
- #ifndef __NR_sendmsg
783
- #define __NR_sendmsg __PNR_sendmsg
784
- #endif /* __NR_sendmsg */
785
-
786
- #define __PNR_recvmsg -117
787
- #ifndef __NR_recvmsg
788
- #define __NR_recvmsg __PNR_recvmsg
789
- #endif /* __NR_recvmsg */
790
-
791
- #define __PNR_accept4 -118
792
- #ifndef __NR_accept4
793
- #define __NR_accept4 __PNR_accept4
794
- #endif /* __NR_accept4 */
795
-
796
- #define __PNR_recvmmsg -119
797
- #ifndef __NR_recvmmsg
798
- #define __NR_recvmmsg __PNR_recvmmsg
799
- #endif /* __NR_recvmmsg */
800
-
801
- #define __PNR_sendmmsg -120
802
- #ifndef __NR_sendmmsg
803
- #define __NR_sendmmsg __PNR_sendmmsg
804
- #endif /* __NR_sendmmsg */
805
-
806
- /* ipc syscalls */
807
-
808
- #define __PNR_semop -201
809
- #ifndef __NR_semop
810
- #define __NR_semop __PNR_semop
811
- #endif /* __NR_semop */
812
-
813
- #define __PNR_semget -202
814
- #ifndef __NR_semget
815
- #define __NR_semget __PNR_semget
816
- #endif /* __NR_semget */
817
-
818
- #define __PNR_semctl -203
819
- #ifndef __NR_semctl
820
- #define __NR_semctl __PNR_semctl
821
- #endif /* __NR_semctl */
822
-
823
- #define __PNR_semtimedop -204
824
- #ifndef __NR_semtimedop
825
- #define __NR_semtimedop __PNR_semtimedop
826
- #endif /* __NR_semtime */
827
-
828
- #define __PNR_msgsnd -211
829
- #ifndef __NR_msgsnd
830
- #define __NR_msgsnd __PNR_msgsnd
831
- #endif /* __NR_msgsnd */
832
-
833
- #define __PNR_msgrcv -212
834
- #ifndef __NR_msgrcv
835
- #define __NR_msgrcv __PNR_msgrcv
836
- #endif /* __NR_msgrcv */
837
-
838
- #define __PNR_msgget -213
839
- #ifndef __NR_msgget
840
- #define __NR_msgget __PNR_msgget
841
- #endif /* __NR_msgget */
842
-
843
- #define __PNR_msgctl -214
844
- #ifndef __NR_msgctl
845
- #define __NR_msgctl __PNR_msgctl
846
- #endif /* __NR_msgctl */
847
-
848
- #define __PNR_shmat -221
849
- #ifndef __NR_shmat
850
- #define __NR_shmat __PNR_shmat
851
- #endif /* __NR_shmat */
852
-
853
- #define __PNR_shmdt -222
854
- #ifndef __NR_shmdt
855
- #define __NR_shmdt __PNR_shmdt
856
- #endif /* __NR_shmdt */
857
-
858
- #define __PNR_shmget -223
859
- #ifndef __NR_shmget
860
- #define __NR_shmget __PNR_shmget
861
- #endif /* __NR_shmget */
862
-
863
- #define __PNR_shmctl -224
864
- #ifndef __NR_shmctl
865
- #define __NR_shmctl __PNR_shmctl
866
- #endif /* __NR_shmctl */
867
-
868
- /* single syscalls */
869
-
870
- #define __PNR_arch_prctl -10001
871
- #ifndef __NR_arch_prctl
872
- #define __NR_arch_prctl __PNR_arch_prctl
873
- #endif /* __NR_arch_prctl */
874
-
875
- #define __PNR_bdflush -10002
876
- #ifndef __NR_bdflush
877
- #define __NR_bdflush __PNR_bdflush
878
- #endif /* __NR_bdflush */
879
-
880
- #define __PNR_break -10003
881
- #ifndef __NR_break
882
- #define __NR_break __PNR_break
883
- #endif /* __NR_break */
884
-
885
- #define __PNR_chown32 -10004
886
- #ifndef __NR_chown32
887
- #define __NR_chown32 __PNR_chown32
888
- #endif /* __NR_chown32 */
889
-
890
- #define __PNR_epoll_ctl_old -10005
891
- #ifndef __NR_epoll_ctl_old
892
- #define __NR_epoll_ctl_old __PNR_epoll_ctl_old
893
- #endif /* __NR_epoll_ctl_old */
894
-
895
- #define __PNR_epoll_wait_old -10006
896
- #ifndef __NR_epoll_wait_old
897
- #define __NR_epoll_wait_old __PNR_epoll_wait_old
898
- #endif /* __NR_epoll_wait_old */
899
-
900
- #define __PNR_fadvise64_64 -10007
901
- #ifndef __NR_fadvise64_64
902
- #define __NR_fadvise64_64 __PNR_fadvise64_64
903
- #endif /* __NR_fadvise64_64 */
904
-
905
- #define __PNR_fchown32 -10008
906
- #ifndef __NR_fchown32
907
- #define __NR_fchown32 __PNR_fchown32
908
- #endif /* __NR_fchown32 */
909
-
910
- #define __PNR_fcntl64 -10009
911
- #ifndef __NR_fcntl64
912
- #define __NR_fcntl64 __PNR_fcntl64
913
- #endif /* __NR_fcntl64 */
914
-
915
- #define __PNR_fstat64 -10010
916
- #ifndef __NR_fstat64
917
- #define __NR_fstat64 __PNR_fstat64
918
- #endif /* __NR_fstat64 */
919
-
920
- #define __PNR_fstatat64 -10011
921
- #ifndef __NR_fstatat64
922
- #define __NR_fstatat64 __PNR_fstatat64
923
- #endif /* __NR_fstatat64 */
924
-
925
- #define __PNR_fstatfs64 -10012
926
- #ifndef __NR_fstatfs64
927
- #define __NR_fstatfs64 __PNR_fstatfs64
928
- #endif /* __NR_fstatfs64 */
929
-
930
- #define __PNR_ftime -10013
931
- #ifndef __NR_ftime
932
- #define __NR_ftime __PNR_ftime
933
- #endif /* __NR_ftime */
934
-
935
- #define __PNR_ftruncate64 -10014
936
- #ifndef __NR_ftruncate64
937
- #define __NR_ftruncate64 __PNR_ftruncate64
938
- #endif /* __NR_ftruncate64 */
939
-
940
- #define __PNR_getegid32 -10015
941
- #ifndef __NR_getegid32
942
- #define __NR_getegid32 __PNR_getegid32
943
- #endif /* __NR_getegid32 */
944
-
945
- #define __PNR_geteuid32 -10016
946
- #ifndef __NR_geteuid32
947
- #define __NR_geteuid32 __PNR_geteuid32
948
- #endif /* __NR_geteuid32 */
949
-
950
- #define __PNR_getgid32 -10017
951
- #ifndef __NR_getgid32
952
- #define __NR_getgid32 __PNR_getgid32
953
- #endif /* __NR_getgid32 */
954
-
955
- #define __PNR_getgroups32 -10018
956
- #ifndef __NR_getgroups32
957
- #define __NR_getgroups32 __PNR_getgroups32
958
- #endif /* __NR_getgroups32 */
959
-
960
- #define __PNR_getresgid32 -10019
961
- #ifndef __NR_getresgid32
962
- #define __NR_getresgid32 __PNR_getresgid32
963
- #endif /* __NR_getresgid32 */
964
-
965
- #define __PNR_getresuid32 -10020
966
- #ifndef __NR_getresuid32
967
- #define __NR_getresuid32 __PNR_getresuid32
968
- #endif /* __NR_getresuid32 */
969
-
970
- #define __PNR_getuid32 -10021
971
- #ifndef __NR_getuid32
972
- #define __NR_getuid32 __PNR_getuid32
973
- #endif /* __NR_getuid32 */
974
-
975
- #define __PNR_gtty -10022
976
- #ifndef __NR_gtty
977
- #define __NR_gtty __PNR_gtty
978
- #endif /* __NR_gtty */
979
-
980
- #define __PNR_idle -10023
981
- #ifndef __NR_idle
982
- #define __NR_idle __PNR_idle
983
- #endif /* __NR_idle */
984
-
985
- #define __PNR_ipc -10024
986
- #ifndef __NR_ipc
987
- #define __NR_ipc __PNR_ipc
988
- #endif /* __NR_ipc */
989
-
990
- #define __PNR_lchown32 -10025
991
- #ifndef __NR_lchown32
992
- #define __NR_lchown32 __PNR_lchown32
993
- #endif /* __NR_lchown32 */
994
-
995
- #define __PNR__llseek -10026
996
- #ifndef __NR__llseek
997
- #define __NR__llseek __PNR__llseek
998
- #endif /* __NR__llseek */
999
-
1000
- #define __PNR_lock -10027
1001
- #ifndef __NR_lock
1002
- #define __NR_lock __PNR_lock
1003
- #endif /* __NR_lock */
1004
-
1005
- #define __PNR_lstat64 -10028
1006
- #ifndef __NR_lstat64
1007
- #define __NR_lstat64 __PNR_lstat64
1008
- #endif /* __NR_lstat64 */
1009
-
1010
- #define __PNR_mmap2 -10029
1011
- #ifndef __NR_mmap2
1012
- #define __NR_mmap2 __PNR_mmap2
1013
- #endif /* __NR_mmap2 */
1014
-
1015
- #define __PNR_mpx -10030
1016
- #ifndef __NR_mpx
1017
- #define __NR_mpx __PNR_mpx
1018
- #endif /* __NR_mpx */
1019
-
1020
- #define __PNR_newfstatat -10031
1021
- #ifndef __NR_newfstatat
1022
- #define __NR_newfstatat __PNR_newfstatat
1023
- #endif /* __NR_newfstatat */
1024
-
1025
- #define __PNR__newselect -10032
1026
- #ifndef __NR__newselect
1027
- #define __NR__newselect __PNR__newselect
1028
- #endif /* __NR__newselect */
1029
-
1030
- #define __PNR_nice -10033
1031
- #ifndef __NR_nice
1032
- #define __NR_nice __PNR_nice
1033
- #endif /* __NR_nice */
1034
-
1035
- #define __PNR_oldfstat -10034
1036
- #ifndef __NR_oldfstat
1037
- #define __NR_oldfstat __PNR_oldfstat
1038
- #endif /* __NR_oldfstat */
1039
-
1040
- #define __PNR_oldlstat -10035
1041
- #ifndef __NR_oldlstat
1042
- #define __NR_oldlstat __PNR_oldlstat
1043
- #endif /* __NR_oldlstat */
1044
-
1045
- #define __PNR_oldolduname -10036
1046
- #ifndef __NR_oldolduname
1047
- #define __NR_oldolduname __PNR_oldolduname
1048
- #endif /* __NR_oldolduname */
1049
-
1050
- #define __PNR_oldstat -10037
1051
- #ifndef __NR_oldstat
1052
- #define __NR_oldstat __PNR_oldstat
1053
- #endif /* __NR_oldstat */
1054
-
1055
- #define __PNR_olduname -10038
1056
- #ifndef __NR_olduname
1057
- #define __NR_olduname __PNR_olduname
1058
- #endif /* __NR_olduname */
1059
-
1060
- #define __PNR_prof -10039
1061
- #ifndef __NR_prof
1062
- #define __NR_prof __PNR_prof
1063
- #endif /* __NR_prof */
1064
-
1065
- #define __PNR_profil -10040
1066
- #ifndef __NR_profil
1067
- #define __NR_profil __PNR_profil
1068
- #endif /* __NR_profil */
1069
-
1070
- #define __PNR_readdir -10041
1071
- #ifndef __NR_readdir
1072
- #define __NR_readdir __PNR_readdir
1073
- #endif /* __NR_readdir */
1074
-
1075
- #define __PNR_security -10042
1076
- #ifndef __NR_security
1077
- #define __NR_security __PNR_security
1078
- #endif /* __NR_security */
1079
-
1080
- #define __PNR_sendfile64 -10043
1081
- #ifndef __NR_sendfile64
1082
- #define __NR_sendfile64 __PNR_sendfile64
1083
- #endif /* __NR_sendfile64 */
1084
-
1085
- #define __PNR_setfsgid32 -10044
1086
- #ifndef __NR_setfsgid32
1087
- #define __NR_setfsgid32 __PNR_setfsgid32
1088
- #endif /* __NR_setfsgid32 */
1089
-
1090
- #define __PNR_setfsuid32 -10045
1091
- #ifndef __NR_setfsuid32
1092
- #define __NR_setfsuid32 __PNR_setfsuid32
1093
- #endif /* __NR_setfsuid32 */
1094
-
1095
- #define __PNR_setgid32 -10046
1096
- #ifndef __NR_setgid32
1097
- #define __NR_setgid32 __PNR_setgid32
1098
- #endif /* __NR_setgid32 */
1099
-
1100
- #define __PNR_setgroups32 -10047
1101
- #ifndef __NR_setgroups32
1102
- #define __NR_setgroups32 __PNR_setgroups32
1103
- #endif /* __NR_setgroups32 */
1104
-
1105
- #define __PNR_setregid32 -10048
1106
- #ifndef __NR_setregid32
1107
- #define __NR_setregid32 __PNR_setregid32
1108
- #endif /* __NR_setregid32 */
1109
-
1110
- #define __PNR_setresgid32 -10049
1111
- #ifndef __NR_setresgid32
1112
- #define __NR_setresgid32 __PNR_setresgid32
1113
- #endif /* __NR_setresgid32 */
1114
-
1115
- #define __PNR_setresuid32 -10050
1116
- #ifndef __NR_setresuid32
1117
- #define __NR_setresuid32 __PNR_setresuid32
1118
- #endif /* __NR_setresuid32 */
1119
-
1120
- #define __PNR_setreuid32 -10051
1121
- #ifndef __NR_setreuid32
1122
- #define __NR_setreuid32 __PNR_setreuid32
1123
- #endif /* __NR_setreuid32 */
1124
-
1125
- #define __PNR_setuid32 -10052
1126
- #ifndef __NR_setuid32
1127
- #define __NR_setuid32 __PNR_setuid32
1128
- #endif /* __NR_setuid32 */
1129
-
1130
- #define __PNR_sgetmask -10053
1131
- #ifndef __NR_sgetmask
1132
- #define __NR_sgetmask __PNR_sgetmask
1133
- #endif /* __NR_sgetmask */
1134
-
1135
- #define __PNR_sigaction -10054
1136
- #ifndef __NR_sigaction
1137
- #define __NR_sigaction __PNR_sigaction
1138
- #endif /* __NR_sigaction */
1139
-
1140
- #define __PNR_signal -10055
1141
- #ifndef __NR_signal
1142
- #define __NR_signal __PNR_signal
1143
- #endif /* __NR_signal */
1144
-
1145
- #define __PNR_sigpending -10056
1146
- #ifndef __NR_sigpending
1147
- #define __NR_sigpending __PNR_sigpending
1148
- #endif /* __NR_sigpending */
1149
-
1150
- #define __PNR_sigprocmask -10057
1151
- #ifndef __NR_sigprocmask
1152
- #define __NR_sigprocmask __PNR_sigprocmask
1153
- #endif /* __NR_sigprocmask */
1154
-
1155
- #define __PNR_sigreturn -10058
1156
- #ifndef __NR_sigreturn
1157
- #define __NR_sigreturn __PNR_sigreturn
1158
- #endif /* __NR_sigreturn */
1159
-
1160
- #define __PNR_sigsuspend -10059
1161
- #ifndef __NR_sigsuspend
1162
- #define __NR_sigsuspend __PNR_sigsuspend
1163
- #endif /* __NR_sigsuspend */
1164
-
1165
- #define __PNR_socketcall -10060
1166
- #ifndef __NR_socketcall
1167
- #define __NR_socketcall __PNR_socketcall
1168
- #endif /* __NR_socketcall */
1169
-
1170
- #define __PNR_ssetmask -10061
1171
- #ifndef __NR_ssetmask
1172
- #define __NR_ssetmask __PNR_ssetmask
1173
- #endif /* __NR_ssetmask */
1174
-
1175
- #define __PNR_stat64 -10062
1176
- #ifndef __NR_stat64
1177
- #define __NR_stat64 __PNR_stat64
1178
- #endif /* __NR_stat64 */
1179
-
1180
- #define __PNR_statfs64 -10063
1181
- #ifndef __NR_statfs64
1182
- #define __NR_statfs64 __PNR_statfs64
1183
- #endif /* __NR_statfs64 */
1184
-
1185
- #define __PNR_stime -10064
1186
- #ifndef __NR_stime
1187
- #define __NR_stime __PNR_stime
1188
- #endif /* __NR_stime */
1189
-
1190
- #define __PNR_stty -10065
1191
- #ifndef __NR_stty
1192
- #define __NR_stty __PNR_stty
1193
- #endif /* __NR_stty */
1194
-
1195
- #define __PNR_truncate64 -10066
1196
- #ifndef __NR_truncate64
1197
- #define __NR_truncate64 __PNR_truncate64
1198
- #endif /* __NR_truncate64 */
1199
-
1200
- #define __PNR_tuxcall -10067
1201
- #ifndef __NR_tuxcall
1202
- #define __NR_tuxcall __PNR_tuxcall
1203
- #endif /* __NR_tuxcall */
1204
-
1205
- #define __PNR_ugetrlimit -10068
1206
- #ifndef __NR_ugetrlimit
1207
- #define __NR_ugetrlimit __PNR_ugetrlimit
1208
- #endif /* __NR_ugetrlimit */
1209
-
1210
- #define __PNR_ulimit -10069
1211
- #ifndef __NR_ulimit
1212
- #define __NR_ulimit __PNR_ulimit
1213
- #endif /* __NR_ulimit */
1214
-
1215
- #define __PNR_umount -10070
1216
- #ifndef __NR_umount
1217
- #define __NR_umount __PNR_umount
1218
- #endif /* __NR_umount */
1219
-
1220
- #define __PNR_vm86 -10071
1221
- #ifndef __NR_vm86
1222
- #define __NR_vm86 __PNR_vm86
1223
- #endif /* __NR_vm86 */
1224
-
1225
- #define __PNR_vm86old -10072
1226
- #ifndef __NR_vm86old
1227
- #define __NR_vm86old __PNR_vm86old
1228
- #endif /* __NR_vm86old */
1229
-
1230
- #define __PNR_waitpid -10073
1231
- #ifndef __NR_waitpid
1232
- #define __NR_waitpid __PNR_waitpid
1233
- #endif /* __NR_waitpid */
1234
-
1235
- #define __PNR_create_module -10074
1236
- #ifndef __NR_create_module
1237
- #define __NR_create_module __PNR_create_module
1238
- #endif /* __NR_create_module */
1239
-
1240
- #define __PNR_get_kernel_syms -10075
1241
- #ifndef __NR_get_kernel_syms
1242
- #define __NR_get_kernel_syms __PNR_get_kernel_syms
1243
- #endif /* __NR_get_kernel_syms */
1244
-
1245
- #define __PNR_get_thread_area -10076
1246
- #ifndef __NR_get_thread_area
1247
- #define __NR_get_thread_area __PNR_get_thread_area
1248
- #endif /* __NR_get_thread_area */
1249
-
1250
- #define __PNR_nfsservctl -10077
1251
- #ifndef __NR_nfsservctl
1252
- #define __NR_nfsservctl __PNR_nfsservctl
1253
- #endif /* __NR_nfsservctl */
1254
-
1255
- #define __PNR_query_module -10078
1256
- #ifndef __NR_query_module
1257
- #define __NR_query_module __PNR_query_module
1258
- #endif /* __NR_query_module */
1259
-
1260
- #define __PNR_set_thread_area -10079
1261
- #ifndef __NR_set_thread_area
1262
- #define __NR_set_thread_area __PNR_set_thread_area
1263
- #endif /* __NR_set_thread_area */
1264
-
1265
- #define __PNR__sysctl -10080
1266
- #ifndef __NR__sysctl
1267
- #define __NR__sysctl __PNR__sysctl
1268
- #endif /* __NR__sysctl */
1269
-
1270
- #define __PNR_uselib -10081
1271
- #ifndef __NR_uselib
1272
- #define __NR_uselib __PNR_uselib
1273
- #endif /* __NR_uselib */
1274
-
1275
- #define __PNR_vserver -10082
1276
- #ifndef __NR_vserver
1277
- #define __NR_vserver __PNR_vserver
1278
- #endif /* __NR_vserver */
1279
-
1280
- #define __PNR_arm_fadvise64_64 -10083
1281
- #ifndef __NR_arm_fadvise64_64
1282
- #define __NR_arm_fadvise64_64 __PNR_arm_fadvise64_64
1283
- #endif /* __NR_arm_fadvise64_64 */
1284
-
1285
- #define __PNR_arm_sync_file_range -10084
1286
- #ifndef __NR_arm_sync_file_range
1287
- #define __NR_arm_sync_file_range __PNR_arm_sync_file_range
1288
- #endif /* __NR_arm_sync_file_range */
1289
-
1290
- #define __PNR_pciconfig_iobase -10086
1291
- #ifndef __NR_pciconfig_iobase
1292
- #define __NR_pciconfig_iobase __PNR_pciconfig_iobase
1293
- #endif /* __NR_pciconfig_iobase */
1294
-
1295
- #define __PNR_pciconfig_read -10087
1296
- #ifndef __NR_pciconfig_read
1297
- #define __NR_pciconfig_read __PNR_pciconfig_read
1298
- #endif /* __NR_pciconfig_read */
1299
-
1300
- #define __PNR_pciconfig_write -10088
1301
- #ifndef __NR_pciconfig_write
1302
- #define __NR_pciconfig_write __PNR_pciconfig_write
1303
- #endif /* __NR_pciconfig_write */
1304
-
1305
- #define __PNR_sync_file_range2 -10089
1306
- #ifndef __NR_sync_file_range2
1307
- #define __NR_sync_file_range2 __PNR_sync_file_range2
1308
- #endif /* __NR_sync_file_range2 */
1309
-
1310
- #define __PNR_syscall -10090
1311
- #ifndef __NR_syscall
1312
- #define __NR_syscall __PNR_syscall
1313
- #endif /* __NR_syscall */
1314
-
1315
- #define __PNR_afs_syscall -10091
1316
- #ifndef __NR_afs_syscall
1317
- #define __NR_afs_syscall __PNR_afs_syscall
1318
- #endif /* __NR_afs_syscall */
1319
-
1320
- #define __PNR_fadvise64 -10092
1321
- #ifndef __NR_fadvise64
1322
- #define __NR_fadvise64 __PNR_fadvise64
1323
- #endif /* __NR_fadvise64 */
1324
-
1325
- #define __PNR_getpmsg -10093
1326
- #ifndef __NR_getpmsg
1327
- #define __NR_getpmsg __PNR_getpmsg
1328
- #endif /* __NR_getpmsg */
1329
-
1330
- #define __PNR_ioperm -10094
1331
- #ifndef __NR_ioperm
1332
- #define __NR_ioperm __PNR_ioperm
1333
- #endif /* __NR_ioperm */
1334
-
1335
- #define __PNR_iopl -10095
1336
- #ifndef __NR_iopl
1337
- #define __NR_iopl __PNR_iopl
1338
- #endif /* __NR_iopl */
1339
-
1340
- #define __PNR_migrate_pages -10097
1341
- #ifndef __NR_migrate_pages
1342
- #define __NR_migrate_pages __PNR_migrate_pages
1343
- #endif /* __NR_migrate_pages */
1344
-
1345
- #define __PNR_modify_ldt -10098
1346
- #ifndef __NR_modify_ldt
1347
- #define __NR_modify_ldt __PNR_modify_ldt
1348
- #endif /* __NR_modify_ldt */
1349
-
1350
- #define __PNR_putpmsg -10099
1351
- #ifndef __NR_putpmsg
1352
- #define __NR_putpmsg __PNR_putpmsg
1353
- #endif /* __NR_putpmsg */
1354
-
1355
- #define __PNR_sync_file_range -10100
1356
- #ifndef __NR_sync_file_range
1357
- #define __NR_sync_file_range __PNR_sync_file_range
1358
- #endif /* __NR_sync_file_range */
1359
-
1360
- #define __PNR_select -10101
1361
- #ifndef __NR_select
1362
- #define __NR_select __PNR_select
1363
- #endif /* __NR_select */
1364
-
1365
- #define __PNR_vfork -10102
1366
- #ifndef __NR_vfork
1367
- #define __NR_vfork __PNR_vfork
1368
- #endif /* __NR_vfork */
1369
-
1370
- #define __PNR_cachectl -10103
1371
- #ifndef __NR_cachectl
1372
- #define __NR_cachectl __PNR_cachectl
1373
- #endif /* __NR_cachectl */
1374
-
1375
- #define __PNR_cacheflush -10104
1376
- #ifndef __NR_cacheflush
1377
- #ifdef __ARM_NR_cacheflush
1378
- #define __NR_cacheflush __ARM_NR_cacheflush
1379
- #else
1380
- #define __NR_cacheflush __PNR_cacheflush
1381
- #endif
1382
- #endif /* __NR_cacheflush */
1383
-
1384
- #define __PNR_sysmips -10106
1385
- #ifndef __NR_sysmips
1386
- #define __NR_sysmips __PNR_sysmips
1387
- #endif /* __NR_sysmips */
1388
-
1389
- #define __PNR_timerfd -10107
1390
- #ifndef __NR_timerfd
1391
- #define __NR_timerfd __PNR_timerfd
1392
- #endif /* __NR_timerfd */
1393
-
1394
- #define __PNR_time -10108
1395
- #ifndef __NR_time
1396
- #define __NR_time __PNR_time
1397
- #endif /* __NR_time */
1398
-
1399
- #define __PNR_getrandom -10109
1400
- #ifndef __NR_getrandom
1401
- #define __NR_getrandom __PNR_getrandom
1402
- #endif /* __NR_getrandom - NO LONGER NEEDED */
1403
-
1404
- #define __PNR_memfd_create -10110
1405
- #ifndef __NR_memfd_create
1406
- #define __NR_memfd_create __PNR_memfd_create
1407
- #endif /* __NR_memfd_create - NO LONGER NEEDED */
1408
-
1409
- #define __PNR_kexec_file_load -10111
1410
- #ifndef __NR_kexec_file_load
1411
- #define __NR_kexec_file_load __PNR_kexec_file_load
1412
- #endif /* __NR_kexec_file_load */
1413
-
1414
- #define __PNR_sysfs -10145
1415
- #ifndef __NR_sysfs
1416
- #define __NR_sysfs __PNR_sysfs
1417
- #endif /* __NR_sysfs */
1418
-
1419
- #define __PNR_oldwait4 -10146
1420
- #ifndef __NR_oldwait4
1421
- #define __NR_oldwait4 __PNR_oldwait4
1422
- #endif /* __NR_sysfs */
1423
-
1424
- #define __PNR_access -10147
1425
- #ifndef __NR_access
1426
- #define __NR_access __PNR_access
1427
- #endif /* __NR_access */
1428
-
1429
- #define __PNR_alarm -10148
1430
- #ifndef __NR_alarm
1431
- #define __NR_alarm __PNR_alarm
1432
- #endif /* __NR_alarm */
1433
-
1434
- #define __PNR_chmod -10149
1435
- #ifndef __NR_chmod
1436
- #define __NR_chmod __PNR_chmod
1437
- #endif /* __NR_chmod */
1438
-
1439
- #define __PNR_chown -10150
1440
- #ifndef __NR_chown
1441
- #define __NR_chown __PNR_chown
1442
- #endif /* __NR_chown */
1443
-
1444
- #define __PNR_creat -10151
1445
- #ifndef __NR_creat
1446
- #define __NR_creat __PNR_creat
1447
- #endif /* __NR_creat */
1448
-
1449
- #define __PNR_dup2 -10152
1450
- #ifndef __NR_dup2
1451
- #define __NR_dup2 __PNR_dup2
1452
- #endif /* __NR_dup2 */
1453
-
1454
- #define __PNR_epoll_create -10153
1455
- #ifndef __NR_epoll_create
1456
- #define __NR_epoll_create __PNR_epoll_create
1457
- #endif /* __NR_epoll_create */
1458
-
1459
- #define __PNR_epoll_wait -10154
1460
- #ifndef __NR_epoll_wait
1461
- #define __NR_epoll_wait __PNR_epoll_wait
1462
- #endif /* __NR_epoll_wait */
1463
-
1464
- #define __PNR_eventfd -10155
1465
- #ifndef __NR_eventfd
1466
- #define __NR_eventfd __PNR_eventfd
1467
- #endif /* __NR_eventfd */
1468
-
1469
- #define __PNR_fork -10156
1470
- #ifndef __NR_fork
1471
- #define __NR_fork __PNR_fork
1472
- #endif /* __NR_fork */
1473
-
1474
- #define __PNR_futimesat -10157
1475
- #ifndef __NR_futimesat
1476
- #define __NR_futimesat __PNR_futimesat
1477
- #endif /* __NR_futimesat */
1478
-
1479
- #define __PNR_getdents -10158
1480
- #ifndef __NR_getdents
1481
- #define __NR_getdents __PNR_getdents
1482
- #endif /* __NR_getdents */
1483
-
1484
- #define __PNR_getpgrp -10159
1485
- #ifndef __NR_getpgrp
1486
- #define __NR_getpgrp __PNR_getpgrp
1487
- #endif /* __NR_getpgrp */
1488
-
1489
- #define __PNR_inotify_init -10160
1490
- #ifndef __NR_inotify_init
1491
- #define __NR_inotify_init __PNR_inotify_init
1492
- #endif /* __NR_inotify_init */
1493
-
1494
- #define __PNR_lchown -10161
1495
- #ifndef __NR_lchown
1496
- #define __NR_lchown __PNR_lchown
1497
- #endif /* __NR_lchown */
1498
-
1499
- #define __PNR_link -10162
1500
- #ifndef __NR_link
1501
- #define __NR_link __PNR_link
1502
- #endif /* __NR_link */
1503
-
1504
- #define __PNR_lstat -10163
1505
- #ifndef __NR_lstat
1506
- #define __NR_lstat __PNR_lstat
1507
- #endif /* __NR_lstat */
1508
-
1509
- #define __PNR_mkdir -10164
1510
- #ifndef __NR_mkdir
1511
- #define __NR_mkdir __PNR_mkdir
1512
- #endif /* __NR_mkdir */
1513
-
1514
- #define __PNR_mknod -10165
1515
- #ifndef __NR_mknod
1516
- #define __NR_mknod __PNR_mknod
1517
- #endif /* __NR_mknod */
1518
-
1519
- #define __PNR_open -10166
1520
- #ifndef __NR_open
1521
- #define __NR_open __PNR_open
1522
- #endif /* __NR_open */
1523
-
1524
- #define __PNR_pause -10167
1525
- #ifndef __NR_pause
1526
- #define __NR_pause __PNR_pause
1527
- #endif /* __NR_pause */
1528
-
1529
- #define __PNR_pipe -10168
1530
- #ifndef __NR_pipe
1531
- #define __NR_pipe __PNR_pipe
1532
- #endif /* __NR_pipe */
1533
-
1534
- #define __PNR_poll -10169
1535
- #ifndef __NR_poll
1536
- #define __NR_poll __PNR_poll
1537
- #endif /* __NR_poll */
1538
-
1539
- #define __PNR_readlink -10170
1540
- #ifndef __NR_readlink
1541
- #define __NR_readlink __PNR_readlink
1542
- #endif /* __NR_readlink */
1543
-
1544
- #define __PNR_rename -10171
1545
- #ifndef __NR_rename
1546
- #define __NR_rename __PNR_rename
1547
- #endif /* __NR_rename */
1548
-
1549
- #define __PNR_rmdir -10172
1550
- #ifndef __NR_rmdir
1551
- #define __NR_rmdir __PNR_rmdir
1552
- #endif /* __NR_rmdir */
1553
-
1554
- #define __PNR_signalfd -10173
1555
- #ifndef __NR_signalfd
1556
- #define __NR_signalfd __PNR_signalfd
1557
- #endif /* __NR_signalfd */
1558
-
1559
- #define __PNR_stat -10174
1560
- #ifndef __NR_stat
1561
- #define __NR_stat __PNR_stat
1562
- #endif /* __NR_stat */
1563
-
1564
- #define __PNR_symlink -10175
1565
- #ifndef __NR_symlink
1566
- #define __NR_symlink __PNR_symlink
1567
- #endif /* __NR_symlink */
1568
-
1569
- #define __PNR_unlink -10176
1570
- #ifndef __NR_unlink
1571
- #define __NR_unlink __PNR_unlink
1572
- #endif /* __NR_unlink */
1573
-
1574
- #define __PNR_ustat -10177
1575
- #ifndef __NR_ustat
1576
- #define __NR_ustat __PNR_ustat
1577
- #endif /* __NR_ustat */
1578
-
1579
- #define __PNR_utime -10178
1580
- #ifndef __NR_utime
1581
- #define __NR_utime __PNR_utime
1582
- #endif /* __NR_utime */
1583
-
1584
- #define __PNR_utimes -10179
1585
- #ifndef __NR_utimes
1586
- #define __NR_utimes __PNR_utimes
1587
- #endif /* __NR_utimes */
1588
-
1589
- #define __PNR_getrlimit -10180
1590
- #ifndef __NR_getrlimit
1591
- #define __NR_getrlimit __PNR_getrlimit
1592
- #endif /* __NR_utimes */
1593
-
1594
- #define __PNR_mmap -10181
1595
- #ifndef __NR_mmap
1596
- #define __NR_mmap __PNR_mmap
1597
- #endif /* __NR_utimes */
1598
-
1599
- #define __PNR_breakpoint -10182
1600
- #ifndef __NR_breakpoint
1601
- #ifdef __ARM_NR_breakpoint
1602
- #define __NR_breakpoint __ARM_NR_breakpoint
1603
- #else
1604
- #define __NR_breakpoint __PNR_breakpoint
1605
- #endif
1606
- #endif /* __NR_breakpoint */
1607
-
1608
- #define __PNR_set_tls -10183
1609
- #ifndef __NR_set_tls
1610
- #ifdef __ARM_NR_set_tls
1611
- #define __NR_set_tls __ARM_NR_set_tls
1612
- #else
1613
- #define __NR_set_tls __PNR_set_tls
1614
- #endif
1615
- #endif /* __NR_set_tls */
1616
-
1617
- #define __PNR_usr26 -10184
1618
- #ifndef __NR_usr26
1619
- #ifdef __ARM_NR_usr26
1620
- #define __NR_usr26 __ARM_NR_usr26
1621
- #else
1622
- #define __NR_usr26 __PNR_usr26
1623
- #endif
1624
- #endif /* __NR_usr26 */
1625
-
1626
- #define __PNR_usr32 -10185
1627
- #ifndef __NR_usr32
1628
- #ifdef __ARM_NR_usr32
1629
- #define __NR_usr32 __ARM_NR_usr32
1630
- #else
1631
- #define __NR_usr32 __PNR_usr32
1632
- #endif
1633
- #endif /* __NR_usr32 */
1634
-
1635
- #define __PNR_multiplexer -10186
1636
- #ifndef __NR_multiplexer
1637
- #define __NR_multiplexer __PNR_multiplexer
1638
- #endif /* __NR_multiplexer */
1639
-
1640
- #define __PNR_rtas -10187
1641
- #ifndef __NR_rtas
1642
- #define __NR_rtas __PNR_rtas
1643
- #endif /* __NR_rtas */
1644
-
1645
- #define __PNR_spu_create -10188
1646
- #ifndef __NR_spu_create
1647
- #define __NR_spu_create __PNR_spu_create
1648
- #endif /* __NR_spu_create */
1649
-
1650
- #define __PNR_spu_run -10189
1651
- #ifndef __NR_spu_run
1652
- #define __NR_spu_run __PNR_spu_run
1653
- #endif /* __NR_spu_run */
1654
-
1655
- #define __PNR_swapcontext -10190
1656
- #ifndef __NR_swapcontext
1657
- #define __NR_swapcontext __PNR_swapcontext
1658
- #endif /* __NR_swapcontext */
1659
-
1660
- #define __PNR_sys_debug_setcontext -10191
1661
- #ifndef __NR_sys_debug_setcontext
1662
- #define __NR_sys_debug_setcontext __PNR_sys_debug_setcontext
1663
- #endif /* __NR_sys_debug_setcontext */
1664
-
1665
- #define __PNR_switch_endian -10191
1666
- #ifndef __NR_switch_endian
1667
- #define __NR_switch_endian __PNR_switch_endian
1668
- #endif /* __NR_switch_endian */
1669
-
1670
- #define __PNR_get_mempolicy -10192
1671
- #ifndef __NR_get_mempolicy
1672
- #define __NR_get_mempolicy __PNR_get_mempolicy
1673
- #endif /* __NR_get_mempolicy */
1674
-
1675
- #define __PNR_move_pages -10193
1676
- #ifndef __NR_move_pages
1677
- #define __NR_move_pages __PNR_move_pages
1678
- #endif /* __NR_move_pages */
1679
-
1680
- #define __PNR_mbind -10194
1681
- #ifndef __NR_mbind
1682
- #define __NR_mbind __PNR_mbind
1683
- #endif /* __NR_mbind */
1684
-
1685
- #define __PNR_set_mempolicy -10195
1686
- #ifndef __NR_set_mempolicy
1687
- #define __NR_set_mempolicy __PNR_set_mempolicy
1688
- #endif /* __NR_set_mempolicy */
1689
-
1690
- #define __PNR_s390_runtime_instr -10196
1691
- #ifndef __NR_s390_runtime_instr
1692
- #define __NR_s390_runtime_instr __PNR_s390_runtime_instr
1693
- #endif /* __NR_s390_runtime_instr */
1694
-
1695
- #define __PNR_s390_pci_mmio_read -10197
1696
- #ifndef __NR_s390_pci_mmio_read
1697
- #define __NR_s390_pci_mmio_read __PNR_s390_pci_mmio_read
1698
- #endif /* __NR_s390_pci_mmio_read */
1699
-
1700
- #define __PNR_s390_pci_mmio_write -10198
1701
- #ifndef __NR_s390_pci_mmio_write
1702
- #define __NR_s390_pci_mmio_write __PNR_s390_pci_mmio_write
1703
- #endif /* __NR_s390_pci_mmio_write */
1704
-
1705
- #define __PNR_membarrier -10199
1706
- #ifndef __NR_membarrier
1707
- #define __NR_membarrier __PNR_membarrier
1708
- #endif /* __NR_membarrier */
1709
-
1710
- #define __PNR_userfaultfd -10200
1711
- #ifndef __NR_userfaultfd
1712
- #define __NR_userfaultfd __PNR_userfaultfd
1713
- #endif /* __NR_userfaultfd */
1714
-
1715
- #define __PNR_pkey_mprotect -10201
1716
- #ifndef __NR_pkey_mprotect
1717
- #define __NR_pkey_mprotect __PNR_pkey_mprotect
1718
- #endif /* __NR_pkey_mprotect */
1719
-
1720
- #define __PNR_pkey_alloc -10202
1721
- #ifndef __NR_pkey_alloc
1722
- #define __NR_pkey_alloc __PNR_pkey_alloc
1723
- #endif /* __NR_pkey_alloc */
1724
-
1725
- #define __PNR_pkey_free -10203
1726
- #ifndef __NR_pkey_free
1727
- #define __NR_pkey_free __PNR_pkey_free
1728
- #endif /* __NR_pkey_free */
1729
-
1730
- #define __PNR_get_tls -10204
1731
- #ifndef __NR_get_tls
1732
- #ifdef __ARM_NR_get_tls
1733
- #define __NR_get_tls __ARM_NR_get_tls
1734
- #else
1735
- #define __NR_get_tls __PNR_get_tls
1736
- #endif
1737
- #endif /* __NR_get_tls */
1738
-
1739
- #define __PNR_s390_guarded_storage -10205
1740
- #ifndef __NR_s390_guarded_storage
1741
- #define __NR_s390_guarded_storage __PNR_s390_guarded_storage
1742
- #endif /* __NR_s390_guarded_storage */
1743
-
1744
- #define __PNR_s390_sthyi -10206
1745
- #ifndef __NR_s390_sthyi
1746
- #define __NR_s390_sthyi __PNR_s390_sthyi
1747
- #endif /* __NR_s390_sthyi */
1748
-
1749
- #define __PNR_subpage_prot -10207
1750
- #ifndef __NR_subpage_prot
1751
- #define __NR_subpage_prot __PNR_subpage_prot
1752
- #endif /* __NR_subpage_prot */
1753
-
1754
- #define __PNR_statx -10208
1755
- #ifndef __NR_statx
1756
- #define __NR_statx __PNR_statx
1757
- #endif /* __NR_statx */
1758
-
1759
- #define __PNR_io_pgetevents -10209
1760
- #ifndef __NR_io_pgetevents
1761
- #define __NR_io_pgetevents __PNR_io_pgetevents
1762
- #endif /* __NR_io_pgetevents */
1763
-
1764
- #define __PNR_rseq -10210
1765
- #ifndef __NR_rseq
1766
- #define __NR_rseq __PNR_rseq
1767
- #endif /* __NR_rseq */
705
+ #include <seccomp-syscalls.h>
1768
706
 
1769
707
  #ifdef __cplusplus
1770
708
  }