@docouno/devkit 0.0.0-stage → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +117 -2
  3. package/devkit +0 -0
  4. package/notices/NOTICE.txt +395 -0
  5. package/notices/cargo/adler2-2.0.1-238207d3/notice-001.txt +12 -0
  6. package/notices/cargo/adler2-2.0.1-238207d3/notice-002.txt +201 -0
  7. package/notices/cargo/adler2-2.0.1-238207d3/notice-003.txt +23 -0
  8. package/notices/cargo/aho-corasick-1.1.5-90cd2b64/notice-001.txt +3 -0
  9. package/notices/cargo/aho-corasick-1.1.5-90cd2b64/notice-002.txt +21 -0
  10. package/notices/cargo/aho-corasick-1.1.5-90cd2b64/notice-003.txt +24 -0
  11. package/notices/cargo/annotate-snippets-0.12.17-e17d8c74/notice-001.txt +202 -0
  12. package/notices/cargo/annotate-snippets-0.12.17-e17d8c74/notice-002.txt +19 -0
  13. package/notices/cargo/anstyle-1.0.14-f65811ba/notice-001.txt +202 -0
  14. package/notices/cargo/anstyle-1.0.14-f65811ba/notice-002.txt +19 -0
  15. package/notices/cargo/anyhow-1.0.104-dc6381fb/notice-001.txt +176 -0
  16. package/notices/cargo/anyhow-1.0.104-dc6381fb/notice-002.txt +23 -0
  17. package/notices/cargo/arraydeque-0.5.1-42a9cc56/notice-001.txt +21 -0
  18. package/notices/cargo/autocfg-1.5.1-41f0cbe6/notice-001.txt +201 -0
  19. package/notices/cargo/autocfg-1.5.1-41f0cbe6/notice-002.txt +25 -0
  20. package/notices/cargo/base64-0.22.1-26575a7c/notice-001.txt +201 -0
  21. package/notices/cargo/base64-0.22.1-26575a7c/notice-002.txt +21 -0
  22. package/notices/cargo/base64-0.23.1-9f42fcbf/notice-001.txt +201 -0
  23. package/notices/cargo/base64-0.23.1-9f42fcbf/notice-002.txt +21 -0
  24. package/notices/cargo/bitflags-2.13.2-a49cf0c5/notice-001.txt +201 -0
  25. package/notices/cargo/bitflags-2.13.2-a49cf0c5/notice-002.txt +25 -0
  26. package/notices/cargo/block-buffer-0.10.4-0a748df3/notice-001.txt +201 -0
  27. package/notices/cargo/block-buffer-0.10.4-0a748df3/notice-002.txt +25 -0
  28. package/notices/cargo/bytes-1.12.1-e3524fe6/notice-001.txt +25 -0
  29. package/notices/cargo/cc-1.10.0-cda055ec/notice-001.txt +201 -0
  30. package/notices/cargo/cc-1.10.0-cda055ec/notice-002.txt +25 -0
  31. package/notices/cargo/cfg-if-1.0.5-cd0760fa/notice-001.txt +201 -0
  32. package/notices/cargo/cfg-if-1.0.5-cd0760fa/notice-002.txt +25 -0
  33. package/notices/cargo/core_detect-1.0.0-7ba90a69/notice-001.txt +201 -0
  34. package/notices/cargo/core_detect-1.0.0-7ba90a69/notice-002.txt +25 -0
  35. package/notices/cargo/cpufeatures-0.2.17-bcd8b7c7/notice-001.txt +201 -0
  36. package/notices/cargo/cpufeatures-0.2.17-bcd8b7c7/notice-002.txt +25 -0
  37. package/notices/cargo/crc32fast-1.5.3-6de55ffd/notice-001.txt +202 -0
  38. package/notices/cargo/crc32fast-1.5.3-6de55ffd/notice-002.txt +21 -0
  39. package/notices/cargo/crypto-common-0.1.7-d182dd5c/notice-001.txt +201 -0
  40. package/notices/cargo/crypto-common-0.1.7-d182dd5c/notice-002.txt +25 -0
  41. package/notices/cargo/digest-0.10.7-c92dfead/notice-001.txt +201 -0
  42. package/notices/cargo/digest-0.10.7-c92dfead/notice-002.txt +25 -0
  43. package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-001.txt +17 -0
  44. package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-002.txt +202 -0
  45. package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-003.txt +25 -0
  46. package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-004.txt +26 -0
  47. package/notices/cargo/encoding_rs_io-0.1.8-60e8f178/notice-001.txt +8 -0
  48. package/notices/cargo/encoding_rs_io-0.1.8-60e8f178/notice-002.txt +201 -0
  49. package/notices/cargo/encoding_rs_io-0.1.8-60e8f178/notice-003.txt +21 -0
  50. package/notices/cargo/equivalent-1.0.3-2193bbe7/notice-001.txt +201 -0
  51. package/notices/cargo/equivalent-1.0.3-2193bbe7/notice-002.txt +25 -0
  52. package/notices/cargo/errno-0.3.14-3ca95530/notice-001.txt +201 -0
  53. package/notices/cargo/errno-0.3.14-3ca95530/notice-002.txt +25 -0
  54. package/notices/cargo/fastrand-2.5.0-f2fd8a52/notice-001.txt +201 -0
  55. package/notices/cargo/fastrand-2.5.0-f2fd8a52/notice-002.txt +23 -0
  56. package/notices/cargo/filetime-0.2.29-d64063cd/notice-001.txt +201 -0
  57. package/notices/cargo/filetime-0.2.29-d64063cd/notice-002.txt +25 -0
  58. package/notices/cargo/find-msvc-tools-0.1.15-7bf23a75/notice-001.txt +201 -0
  59. package/notices/cargo/find-msvc-tools-0.1.15-7bf23a75/notice-002.txt +25 -0
  60. package/notices/cargo/flate2-1.1.10-8985ab4e/notice-001.txt +201 -0
  61. package/notices/cargo/flate2-1.1.10-8985ab4e/notice-002.txt +25 -0
  62. package/notices/cargo/foldhash-0.2.0-3ee6d7fb/notice-001.txt +19 -0
  63. package/notices/cargo/generic-array-0.14.7-31bd8478/notice-001.txt +21 -0
  64. package/notices/cargo/getrandom-0.2.17-766fa84f/notice-001.txt +201 -0
  65. package/notices/cargo/getrandom-0.2.17-766fa84f/notice-002.txt +26 -0
  66. package/notices/cargo/getrandom-0.4.3-4f1c9ebb/notice-001.txt +201 -0
  67. package/notices/cargo/getrandom-0.4.3-4f1c9ebb/notice-002.txt +26 -0
  68. package/notices/cargo/granit-parser-2.0.0-65bc2836/notice-001.txt +15 -0
  69. package/notices/cargo/hashbrown-0.17.1-97fc3cc1/notice-001.txt +201 -0
  70. package/notices/cargo/hashbrown-0.17.1-97fc3cc1/notice-002.txt +25 -0
  71. package/notices/cargo/http-1.5.0-6a40d4c4/notice-001.txt +201 -0
  72. package/notices/cargo/http-1.5.0-6a40d4c4/notice-002.txt +25 -0
  73. package/notices/cargo/httparse-1.10.1-cfa5aaf5/notice-001.txt +201 -0
  74. package/notices/cargo/httparse-1.10.1-cfa5aaf5/notice-002.txt +20 -0
  75. package/notices/cargo/indexmap-2.14.2-a08229e1/notice-001.txt +201 -0
  76. package/notices/cargo/indexmap-2.14.2-a08229e1/notice-002.txt +25 -0
  77. package/notices/cargo/itoa-1.0.18-b22a1f7a/notice-001.txt +176 -0
  78. package/notices/cargo/itoa-1.0.18-b22a1f7a/notice-002.txt +23 -0
  79. package/notices/cargo/libc-0.2.191-18856c2b/notice-001.txt +176 -0
  80. package/notices/cargo/libc-0.2.191-18856c2b/notice-002.txt +25 -0
  81. package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-001.txt +29 -0
  82. package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-002.txt +201 -0
  83. package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-003.txt +220 -0
  84. package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-004.txt +23 -0
  85. package/notices/cargo/log-0.4.34-23464387/notice-001.txt +201 -0
  86. package/notices/cargo/log-0.4.34-23464387/notice-002.txt +25 -0
  87. package/notices/cargo/memchr-2.8.3-9c6980a5/notice-001.txt +3 -0
  88. package/notices/cargo/memchr-2.8.3-9c6980a5/notice-002.txt +21 -0
  89. package/notices/cargo/memchr-2.8.3-9c6980a5/notice-003.txt +24 -0
  90. package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-001.txt +25 -0
  91. package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-002.txt +177 -0
  92. package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-003.txt +24 -0
  93. package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-004.txt +14 -0
  94. package/notices/cargo/multiversion_no_op-1.0.0-1ef14dda/notice-001.txt +15 -0
  95. package/notices/cargo/multiversion_no_op-1.0.0-1ef14dda/notice-002.txt +202 -0
  96. package/notices/cargo/multiversion_no_op-1.0.0-1ef14dda/notice-003.txt +25 -0
  97. package/notices/cargo/nohash-hasher-0.2.0-8ab2027b/notice-001.txt +202 -0
  98. package/notices/cargo/nohash-hasher-0.2.0-8ab2027b/notice-002.txt +18 -0
  99. package/notices/cargo/num-traits-0.2.19-d58f8d42/notice-001.txt +201 -0
  100. package/notices/cargo/num-traits-0.2.19-d58f8d42/notice-002.txt +25 -0
  101. package/notices/cargo/once_cell-1.21.4-4a678fe2/notice-001.txt +201 -0
  102. package/notices/cargo/once_cell-1.21.4-4a678fe2/notice-002.txt +23 -0
  103. package/notices/cargo/percent-encoding-2.3.2-9472d0b5/notice-001.txt +201 -0
  104. package/notices/cargo/percent-encoding-2.3.2-9472d0b5/notice-002.txt +25 -0
  105. package/notices/cargo/proc-macro2-1.0.107-ccabd92a/notice-001.txt +176 -0
  106. package/notices/cargo/proc-macro2-1.0.107-ccabd92a/notice-002.txt +23 -0
  107. package/notices/cargo/quote-1.0.47-0f6442d5/notice-001.txt +176 -0
  108. package/notices/cargo/quote-1.0.47-0f6442d5/notice-002.txt +23 -0
  109. package/notices/cargo/regex-1.13.1-3a9e4453/notice-001.txt +201 -0
  110. package/notices/cargo/regex-1.13.1-3a9e4453/notice-002.txt +25 -0
  111. package/notices/cargo/regex-automata-0.4.18-8f2fdfe1/notice-001.txt +201 -0
  112. package/notices/cargo/regex-automata-0.4.18-8f2fdfe1/notice-002.txt +25 -0
  113. package/notices/cargo/regex-syntax-0.8.11-22c58573/notice-001.txt +201 -0
  114. package/notices/cargo/regex-syntax-0.8.11-22c58573/notice-002.txt +25 -0
  115. package/notices/cargo/regex-syntax-0.8.11-22c58573/notice-003.txt +57 -0
  116. package/notices/cargo/ring-0.17.14-a2ecd079/notice-001.txt +9 -0
  117. package/notices/cargo/ring-0.17.14-a2ecd079/notice-002.txt +272 -0
  118. package/notices/cargo/ring-0.17.14-a2ecd079/notice-003.txt +13 -0
  119. package/notices/cargo/ring-0.17.14-a2ecd079/notice-004.txt +201 -0
  120. package/notices/cargo/ring-0.17.14-a2ecd079/notice-005.txt +23 -0
  121. package/notices/cargo/ring-0.17.14-a2ecd079/notice-006.txt +15 -0
  122. package/notices/cargo/rustix-1.1.5-75031891/notice-001.txt +29 -0
  123. package/notices/cargo/rustix-1.1.5-75031891/notice-002.txt +201 -0
  124. package/notices/cargo/rustix-1.1.5-75031891/notice-003.txt +220 -0
  125. package/notices/cargo/rustix-1.1.5-75031891/notice-004.txt +23 -0
  126. package/notices/cargo/rustls-0.23.46-d439923c/notice-001.txt +201 -0
  127. package/notices/cargo/rustls-0.23.46-d439923c/notice-002.txt +15 -0
  128. package/notices/cargo/rustls-0.23.46-d439923c/notice-003.txt +25 -0
  129. package/notices/cargo/rustls-pki-types-1.15.1-0cee9399/notice-001.txt +201 -0
  130. package/notices/cargo/rustls-pki-types-1.15.1-0cee9399/notice-002.txt +25 -0
  131. package/notices/cargo/rustls-webpki-0.103.16-8f5bb5a5/notice-001.txt +19 -0
  132. package/notices/cargo/rustversion-1.0.23-84eb0e4f/notice-001.txt +176 -0
  133. package/notices/cargo/rustversion-1.0.23-84eb0e4f/notice-002.txt +23 -0
  134. package/notices/cargo/scopeguard-1.2.0-ccdf1abe/notice-001.txt +201 -0
  135. package/notices/cargo/scopeguard-1.2.0-ccdf1abe/notice-002.txt +25 -0
  136. package/notices/cargo/serde-1.0.229-f2b8eb6e/notice-001.txt +176 -0
  137. package/notices/cargo/serde-1.0.229-f2b8eb6e/notice-002.txt +23 -0
  138. package/notices/cargo/serde-saphyr-2.0.0-6dbd70ad/notice-001.txt +176 -0
  139. package/notices/cargo/serde-saphyr-2.0.0-6dbd70ad/notice-002.txt +23 -0
  140. package/notices/cargo/serde_core-1.0.229-08cccc74/notice-001.txt +176 -0
  141. package/notices/cargo/serde_core-1.0.229-08cccc74/notice-002.txt +23 -0
  142. package/notices/cargo/serde_derive-1.0.229-db09cb76/notice-001.txt +176 -0
  143. package/notices/cargo/serde_derive-1.0.229-db09cb76/notice-002.txt +23 -0
  144. package/notices/cargo/serde_json-1.0.154-084efbf1/notice-001.txt +176 -0
  145. package/notices/cargo/serde_json-1.0.154-084efbf1/notice-002.txt +23 -0
  146. package/notices/cargo/serde_spanned-1.1.2-13274efe/notice-001.txt +202 -0
  147. package/notices/cargo/serde_spanned-1.1.2-13274efe/notice-002.txt +19 -0
  148. package/notices/cargo/sha1-0.10.7-be2212b4/notice-001.txt +201 -0
  149. package/notices/cargo/sha1-0.10.7-be2212b4/notice-002.txt +27 -0
  150. package/notices/cargo/sha2-0.10.9-be6ca6b4/notice-001.txt +201 -0
  151. package/notices/cargo/sha2-0.10.9-be6ca6b4/notice-002.txt +27 -0
  152. package/notices/cargo/shell-words-1.1.1-0d55474b/notice-001.txt +201 -0
  153. package/notices/cargo/shell-words-1.1.1-0d55474b/notice-002.txt +25 -0
  154. package/notices/cargo/shlex-2.0.1-39c59096/notice-001.txt +13 -0
  155. package/notices/cargo/shlex-2.0.1-39c59096/notice-002.txt +21 -0
  156. package/notices/cargo/signal-hook-0.3.18-a332e163/notice-001.txt +201 -0
  157. package/notices/cargo/signal-hook-0.3.18-a332e163/notice-002.txt +25 -0
  158. package/notices/cargo/signal-hook-registry-1.4.8-497004d4/notice-001.txt +201 -0
  159. package/notices/cargo/signal-hook-registry-1.4.8-497004d4/notice-002.txt +25 -0
  160. package/notices/cargo/simd-adler32-0.3.10-938489e4/notice-001.txt +21 -0
  161. package/notices/cargo/simdutf8-0.1.5-2b987c0c/notice-001.txt +177 -0
  162. package/notices/cargo/simdutf8-0.1.5-2b987c0c/notice-002.txt +19 -0
  163. package/notices/cargo/smallvec-1.16.4-cc422042/notice-001.txt +201 -0
  164. package/notices/cargo/smallvec-1.16.4-cc422042/notice-002.txt +25 -0
  165. package/notices/cargo/subtle-2.6.1-380cc33b/notice-001.txt +29 -0
  166. package/notices/cargo/syn-3.0.9-7a98808e/notice-001.txt +176 -0
  167. package/notices/cargo/syn-3.0.9-7a98808e/notice-002.txt +23 -0
  168. package/notices/cargo/tar-0.4.46-d72ec350/notice-001.txt +201 -0
  169. package/notices/cargo/tar-0.4.46-d72ec350/notice-002.txt +25 -0
  170. package/notices/cargo/tempfile-3.27.0-1f0bd317/notice-001.txt +201 -0
  171. package/notices/cargo/tempfile-3.27.0-1f0bd317/notice-002.txt +25 -0
  172. package/notices/cargo/toml-1.1.8-spec-1.1.0-ee8a4c7b/notice-001.txt +202 -0
  173. package/notices/cargo/toml-1.1.8-spec-1.1.0-ee8a4c7b/notice-002.txt +19 -0
  174. package/notices/cargo/toml_datetime-1.1.2-spec-1.1.0-f08fbf1e/notice-001.txt +202 -0
  175. package/notices/cargo/toml_datetime-1.1.2-spec-1.1.0-f08fbf1e/notice-002.txt +19 -0
  176. package/notices/cargo/toml_parser-1.1.5-spec-1.1.0-a11a62b2/notice-001.txt +202 -0
  177. package/notices/cargo/toml_parser-1.1.5-spec-1.1.0-a11a62b2/notice-002.txt +19 -0
  178. package/notices/cargo/toml_writer-1.1.3-spec-1.1.0-62b81a9a/notice-001.txt +202 -0
  179. package/notices/cargo/toml_writer-1.1.3-spec-1.1.0-62b81a9a/notice-002.txt +19 -0
  180. package/notices/cargo/typenum-1.20.1-6cdf3ca9/notice-001.txt +1 -0
  181. package/notices/cargo/typenum-1.20.1-6cdf3ca9/notice-002.txt +201 -0
  182. package/notices/cargo/typenum-1.20.1-6cdf3ca9/notice-003.txt +21 -0
  183. package/notices/cargo/unicode-ident-1.0.27-0f0691b5/notice-001.txt +176 -0
  184. package/notices/cargo/unicode-ident-1.0.27-0f0691b5/notice-002.txt +23 -0
  185. package/notices/cargo/unicode-ident-1.0.27-0f0691b5/notice-003.txt +39 -0
  186. package/notices/cargo/unicode-width-0.2.2-39fb3891/notice-001.txt +7 -0
  187. package/notices/cargo/unicode-width-0.2.2-39fb3891/notice-002.txt +201 -0
  188. package/notices/cargo/unicode-width-0.2.2-39fb3891/notice-003.txt +25 -0
  189. package/notices/cargo/untrusted-0.9.0-67ed8671/notice-001.txt +13 -0
  190. package/notices/cargo/ureq-3.5.0-13110b1a/notice-001.txt +201 -0
  191. package/notices/cargo/ureq-3.5.0-13110b1a/notice-002.txt +21 -0
  192. package/notices/cargo/ureq-proto-0.6.5-5c45f89a/notice-001.txt +202 -0
  193. package/notices/cargo/ureq-proto-0.6.5-5c45f89a/notice-002.txt +7 -0
  194. package/notices/cargo/utf8-zero-0.8.1-cf839cb2/notice-001.txt +176 -0
  195. package/notices/cargo/utf8-zero-0.8.1-cf839cb2/notice-002.txt +23 -0
  196. package/notices/cargo/uuid-1.29.0-9339a6aa/notice-001.txt +201 -0
  197. package/notices/cargo/uuid-1.29.0-9339a6aa/notice-002.txt +26 -0
  198. package/notices/cargo/version_check-0.9.5-13f5a7bf/notice-001.txt +201 -0
  199. package/notices/cargo/version_check-0.9.5-13f5a7bf/notice-002.txt +19 -0
  200. package/notices/cargo/webpki-roots-1.0.11-98a8d969/notice-001.txt +61 -0
  201. package/notices/cargo/winnow-1.0.4-06523b18/notice-001.txt +18 -0
  202. package/notices/cargo/zeroize-1.9.1-23ddc90c/notice-001.txt +202 -0
  203. package/notices/cargo/zeroize-1.9.1-23ddc90c/notice-002.txt +25 -0
  204. package/notices/cargo/zmij-1.0.23-bfa80998/notice-001.txt +23 -0
  205. package/notices/notice-set.json +2779 -0
  206. package/notices/rust/COPYRIGHT-library.html +29357 -0
  207. package/notices/rust/licenses/Apache-2.0.txt +73 -0
  208. package/notices/rust/licenses/BSD-2-Clause.txt +9 -0
  209. package/notices/rust/licenses/CC-BY-SA-4.0.txt +427 -0
  210. package/notices/rust/licenses/GCC-exception-3.1.txt +30 -0
  211. package/notices/rust/licenses/GPL-2.0-only.txt +133 -0
  212. package/notices/rust/licenses/GPL-3.0-or-later.txt +202 -0
  213. package/notices/rust/licenses/ISC.txt +7 -0
  214. package/notices/rust/licenses/LLVM-exception.txt +15 -0
  215. package/notices/rust/licenses/MIT.txt +9 -0
  216. package/notices/rust/licenses/NCSA.txt +29 -0
  217. package/notices/rust/licenses/OFL-1.1.txt +43 -0
  218. package/notices/rust/licenses/Unicode-3.0.txt +39 -0
  219. package/npm/docouno-env-0.3.1.tgz +0 -0
  220. package/package.json +27 -4
  221. package/release.json +1249 -0
  222. package/runtime/LICENSE +21 -0
  223. package/runtime/compose.tools.yaml +102 -0
  224. package/runtime/desktop-seccomp.json +1262 -0
  225. package/runtime/desktop.Dockerfile +29 -0
  226. package/runtime/devkit.mk +81 -0
  227. package/runtime/devkit.sh +87 -0
  228. package/runtime/licenses/Apache-2.0.txt +202 -0
  229. package/runtime/licenses/moby-profiles.NOTICE +4 -0
  230. package/runtime/rust.Dockerfile +8 -0
  231. package/runtime/toolchains.env +8 -0
  232. package/templates/electron-react/LICENSE +21 -0
  233. package/templates/electron-react/electron-builder.config.cjs +11 -0
  234. package/templates/electron-react/electron.vite.config.cjs +20 -0
  235. package/templates/electron-react/eslint.config.mjs +2 -0
  236. package/templates/electron-react/package-lock.json +7106 -0
  237. package/templates/electron-react/package.json +57 -0
  238. package/templates/electron-react/prettier.config.mjs +1 -0
  239. package/templates/electron-react/src/bridge.ts +10 -0
  240. package/templates/electron-react/src/main/api.test.ts +26 -0
  241. package/templates/electron-react/src/main/api.ts +38 -0
  242. package/templates/electron-react/src/main/index.ts +118 -0
  243. package/templates/electron-react/src/main/renderer-url.test.ts +18 -0
  244. package/templates/electron-react/src/main/renderer-url.ts +21 -0
  245. package/templates/electron-react/src/preload/index.ts +7 -0
  246. package/templates/electron-react/src/renderer/index.html +16 -0
  247. package/templates/electron-react/src/renderer/src/ClientApp.test.tsx +41 -0
  248. package/templates/electron-react/src/renderer/src/ClientApp.tsx +75 -0
  249. package/templates/electron-react/src/renderer/src/api.test.ts +15 -0
  250. package/templates/electron-react/src/renderer/src/api.ts +17 -0
  251. package/templates/electron-react/src/renderer/src/env.d.ts +6 -0
  252. package/templates/electron-react/src/renderer/src/main.tsx +24 -0
  253. package/templates/electron-react/src/renderer/src/style.css +71 -0
  254. package/templates/electron-react/tsconfig.json +8 -0
  255. package/templates/electron-react/tsconfig.node.json +13 -0
  256. package/templates/electron-react/tsconfig.test.json +7 -0
  257. package/templates/electron-react/variants/shared/files/src/renderer/src/main.tsx +24 -0
  258. package/templates/electron-react/variants/shared/variant.json +7 -0
  259. package/templates/electron-react/vitest.config.mjs +19 -0
  260. package/templates/node-api/LICENSE +21 -0
  261. package/templates/node-api/eslint.config.mjs +2 -0
  262. package/templates/node-api/package-lock.json +1989 -0
  263. package/templates/node-api/package.json +41 -0
  264. package/templates/node-api/prettier.config.mjs +1 -0
  265. package/templates/node-api/src/greeting.test.ts +14 -0
  266. package/templates/node-api/src/greeting.ts +8 -0
  267. package/templates/node-api/src/http.test.ts +64 -0
  268. package/templates/node-api/src/http.ts +46 -0
  269. package/templates/node-api/src/index.ts +26 -0
  270. package/templates/node-api/tsconfig.build.json +5 -0
  271. package/templates/node-api/tsconfig.json +9 -0
  272. package/templates/react-client/LICENSE +21 -0
  273. package/templates/react-client/eslint.config.mjs +2 -0
  274. package/templates/react-client/package-lock.json +3758 -0
  275. package/templates/react-client/package.json +68 -0
  276. package/templates/react-client/prettier.config.mjs +1 -0
  277. package/templates/react-client/src/ClientApp.test.tsx +41 -0
  278. package/templates/react-client/src/ClientApp.tsx +75 -0
  279. package/templates/react-client/src/index.ts +2 -0
  280. package/templates/react-client/src/style.css +71 -0
  281. package/templates/react-client/tsconfig.build.json +10 -0
  282. package/templates/react-client/tsconfig.json +8 -0
  283. package/templates/react-client/tsconfig.test.json +7 -0
  284. package/templates/react-client/vitest.config.mjs +19 -0
  285. package/templates/react-web/LICENSE +21 -0
  286. package/templates/react-web/eslint.config.mjs +2 -0
  287. package/templates/react-web/index.html +12 -0
  288. package/templates/react-web/package-lock.json +3754 -0
  289. package/templates/react-web/package.json +50 -0
  290. package/templates/react-web/prettier.config.mjs +1 -0
  291. package/templates/react-web/src/ClientApp.test.tsx +41 -0
  292. package/templates/react-web/src/ClientApp.tsx +75 -0
  293. package/templates/react-web/src/api.test.ts +24 -0
  294. package/templates/react-web/src/api.ts +29 -0
  295. package/templates/react-web/src/main.tsx +15 -0
  296. package/templates/react-web/src/style.css +71 -0
  297. package/templates/react-web/tsconfig.json +8 -0
  298. package/templates/react-web/tsconfig.test.json +7 -0
  299. package/templates/react-web/variants/shared/files/src/main.tsx +15 -0
  300. package/templates/react-web/variants/shared/variant.json +3 -0
  301. package/templates/react-web/vite.config.mjs +14 -0
  302. package/templates/react-web/vitest.config.mjs +19 -0
  303. package/templates/rust-api/Cargo.lock +476 -0
  304. package/templates/rust-api/Cargo.toml +22 -0
  305. package/templates/rust-api/LICENSE +21 -0
  306. package/templates/rust-api/rust-toolchain.toml +3 -0
  307. package/templates/rust-api/rustfmt.toml +2 -0
  308. package/templates/rust-api/src/lib.rs +68 -0
  309. package/templates/rust-api/src/main.rs +23 -0
  310. package/templates/rust-api/tests/api.rs +85 -0
@@ -0,0 +1,1262 @@
1
+ {
2
+ "defaultAction": "SCMP_ACT_ERRNO",
3
+ "defaultErrnoRet": 1,
4
+ "archMap": [
5
+ {
6
+ "architecture": "SCMP_ARCH_X86_64",
7
+ "subArchitectures": [
8
+ "SCMP_ARCH_X86",
9
+ "SCMP_ARCH_X32"
10
+ ]
11
+ },
12
+ {
13
+ "architecture": "SCMP_ARCH_AARCH64",
14
+ "subArchitectures": [
15
+ "SCMP_ARCH_ARM"
16
+ ]
17
+ },
18
+ {
19
+ "architecture": "SCMP_ARCH_MIPS64",
20
+ "subArchitectures": [
21
+ "SCMP_ARCH_MIPS",
22
+ "SCMP_ARCH_MIPS64N32"
23
+ ]
24
+ },
25
+ {
26
+ "architecture": "SCMP_ARCH_MIPS64N32",
27
+ "subArchitectures": [
28
+ "SCMP_ARCH_MIPS",
29
+ "SCMP_ARCH_MIPS64"
30
+ ]
31
+ },
32
+ {
33
+ "architecture": "SCMP_ARCH_MIPSEL64",
34
+ "subArchitectures": [
35
+ "SCMP_ARCH_MIPSEL",
36
+ "SCMP_ARCH_MIPSEL64N32"
37
+ ]
38
+ },
39
+ {
40
+ "architecture": "SCMP_ARCH_MIPSEL64N32",
41
+ "subArchitectures": [
42
+ "SCMP_ARCH_MIPSEL",
43
+ "SCMP_ARCH_MIPSEL64"
44
+ ]
45
+ },
46
+ {
47
+ "architecture": "SCMP_ARCH_S390X",
48
+ "subArchitectures": [
49
+ "SCMP_ARCH_S390"
50
+ ]
51
+ },
52
+ {
53
+ "architecture": "SCMP_ARCH_RISCV64",
54
+ "subArchitectures": null
55
+ },
56
+ {
57
+ "architecture": "SCMP_ARCH_LOONGARCH64",
58
+ "subArchitectures": null
59
+ }
60
+ ],
61
+ "syscalls": [
62
+ {
63
+ "names": [
64
+ "accept",
65
+ "accept4",
66
+ "access",
67
+ "adjtimex",
68
+ "alarm",
69
+ "bind",
70
+ "brk",
71
+ "cachestat",
72
+ "capget",
73
+ "capset",
74
+ "chdir",
75
+ "chmod",
76
+ "chown",
77
+ "chown32",
78
+ "clock_adjtime",
79
+ "clock_adjtime64",
80
+ "clock_getres",
81
+ "clock_getres_time64",
82
+ "clock_gettime",
83
+ "clock_gettime64",
84
+ "clock_nanosleep",
85
+ "clock_nanosleep_time64",
86
+ "close",
87
+ "close_range",
88
+ "connect",
89
+ "copy_file_range",
90
+ "creat",
91
+ "dup",
92
+ "dup2",
93
+ "dup3",
94
+ "epoll_create",
95
+ "epoll_create1",
96
+ "epoll_ctl",
97
+ "epoll_ctl_old",
98
+ "epoll_pwait",
99
+ "epoll_pwait2",
100
+ "epoll_wait",
101
+ "epoll_wait_old",
102
+ "eventfd",
103
+ "eventfd2",
104
+ "execve",
105
+ "execveat",
106
+ "exit",
107
+ "exit_group",
108
+ "faccessat",
109
+ "faccessat2",
110
+ "fadvise64",
111
+ "fadvise64_64",
112
+ "fallocate",
113
+ "fanotify_mark",
114
+ "fchdir",
115
+ "fchmod",
116
+ "fchmodat",
117
+ "fchmodat2",
118
+ "fchown",
119
+ "fchown32",
120
+ "fchownat",
121
+ "fcntl",
122
+ "fcntl64",
123
+ "fdatasync",
124
+ "fgetxattr",
125
+ "flistxattr",
126
+ "flock",
127
+ "fork",
128
+ "fremovexattr",
129
+ "fsetxattr",
130
+ "fstat",
131
+ "fstat64",
132
+ "fstatat64",
133
+ "fstatfs",
134
+ "fstatfs64",
135
+ "fsync",
136
+ "ftruncate",
137
+ "ftruncate64",
138
+ "futex",
139
+ "futex_requeue",
140
+ "futex_time64",
141
+ "futex_wait",
142
+ "futex_waitv",
143
+ "futex_wake",
144
+ "futimesat",
145
+ "getcpu",
146
+ "getcwd",
147
+ "getdents",
148
+ "getdents64",
149
+ "getegid",
150
+ "getegid32",
151
+ "geteuid",
152
+ "geteuid32",
153
+ "getgid",
154
+ "getgid32",
155
+ "getgroups",
156
+ "getgroups32",
157
+ "getitimer",
158
+ "getpeername",
159
+ "getpgid",
160
+ "getpgrp",
161
+ "getpid",
162
+ "getppid",
163
+ "getpriority",
164
+ "getrandom",
165
+ "getresgid",
166
+ "getresgid32",
167
+ "getresuid",
168
+ "getresuid32",
169
+ "getrlimit",
170
+ "get_robust_list",
171
+ "getrusage",
172
+ "getsid",
173
+ "getsockname",
174
+ "getsockopt",
175
+ "get_thread_area",
176
+ "gettid",
177
+ "gettimeofday",
178
+ "getuid",
179
+ "getuid32",
180
+ "getxattr",
181
+ "getxattrat",
182
+ "inotify_add_watch",
183
+ "inotify_init",
184
+ "inotify_init1",
185
+ "inotify_rm_watch",
186
+ "io_cancel",
187
+ "ioctl",
188
+ "io_destroy",
189
+ "io_getevents",
190
+ "io_pgetevents",
191
+ "io_pgetevents_time64",
192
+ "ioprio_get",
193
+ "ioprio_set",
194
+ "io_setup",
195
+ "io_submit",
196
+ "ipc",
197
+ "kill",
198
+ "landlock_add_rule",
199
+ "landlock_create_ruleset",
200
+ "landlock_restrict_self",
201
+ "lchown",
202
+ "lchown32",
203
+ "lgetxattr",
204
+ "link",
205
+ "linkat",
206
+ "listen",
207
+ "listmount",
208
+ "listxattr",
209
+ "listxattrat",
210
+ "llistxattr",
211
+ "_llseek",
212
+ "lremovexattr",
213
+ "lseek",
214
+ "lsetxattr",
215
+ "lstat",
216
+ "lstat64",
217
+ "madvise",
218
+ "map_shadow_stack",
219
+ "membarrier",
220
+ "memfd_create",
221
+ "memfd_secret",
222
+ "mincore",
223
+ "mkdir",
224
+ "mkdirat",
225
+ "mknod",
226
+ "mknodat",
227
+ "mlock",
228
+ "mlock2",
229
+ "mlockall",
230
+ "mmap",
231
+ "mmap2",
232
+ "mprotect",
233
+ "mq_getsetattr",
234
+ "mq_notify",
235
+ "mq_open",
236
+ "mq_timedreceive",
237
+ "mq_timedreceive_time64",
238
+ "mq_timedsend",
239
+ "mq_timedsend_time64",
240
+ "mq_unlink",
241
+ "mremap",
242
+ "mseal",
243
+ "msgctl",
244
+ "msgget",
245
+ "msgrcv",
246
+ "msgsnd",
247
+ "msync",
248
+ "munlock",
249
+ "munlockall",
250
+ "munmap",
251
+ "name_to_handle_at",
252
+ "nanosleep",
253
+ "newfstatat",
254
+ "_newselect",
255
+ "open",
256
+ "openat",
257
+ "openat2",
258
+ "pause",
259
+ "pidfd_open",
260
+ "pidfd_send_signal",
261
+ "pipe",
262
+ "pipe2",
263
+ "pkey_alloc",
264
+ "pkey_free",
265
+ "pkey_mprotect",
266
+ "poll",
267
+ "ppoll",
268
+ "ppoll_time64",
269
+ "prctl",
270
+ "pread64",
271
+ "preadv",
272
+ "preadv2",
273
+ "prlimit64",
274
+ "process_mrelease",
275
+ "pselect6",
276
+ "pselect6_time64",
277
+ "pwrite64",
278
+ "pwritev",
279
+ "pwritev2",
280
+ "read",
281
+ "readahead",
282
+ "readlink",
283
+ "readlinkat",
284
+ "readv",
285
+ "recv",
286
+ "recvfrom",
287
+ "recvmmsg",
288
+ "recvmmsg_time64",
289
+ "recvmsg",
290
+ "remap_file_pages",
291
+ "removexattr",
292
+ "removexattrat",
293
+ "rename",
294
+ "renameat",
295
+ "renameat2",
296
+ "restart_syscall",
297
+ "riscv_hwprobe",
298
+ "rmdir",
299
+ "rseq",
300
+ "rt_sigaction",
301
+ "rt_sigpending",
302
+ "rt_sigprocmask",
303
+ "rt_sigqueueinfo",
304
+ "rt_sigreturn",
305
+ "rt_sigsuspend",
306
+ "rt_sigtimedwait",
307
+ "rt_sigtimedwait_time64",
308
+ "rt_tgsigqueueinfo",
309
+ "sched_getaffinity",
310
+ "sched_getattr",
311
+ "sched_getparam",
312
+ "sched_get_priority_max",
313
+ "sched_get_priority_min",
314
+ "sched_getscheduler",
315
+ "sched_rr_get_interval",
316
+ "sched_rr_get_interval_time64",
317
+ "sched_setaffinity",
318
+ "sched_setattr",
319
+ "sched_setparam",
320
+ "sched_setscheduler",
321
+ "sched_yield",
322
+ "seccomp",
323
+ "select",
324
+ "semctl",
325
+ "semget",
326
+ "semop",
327
+ "semtimedop",
328
+ "semtimedop_time64",
329
+ "send",
330
+ "sendfile",
331
+ "sendfile64",
332
+ "sendmmsg",
333
+ "sendmsg",
334
+ "sendto",
335
+ "setfsgid",
336
+ "setfsgid32",
337
+ "setfsuid",
338
+ "setfsuid32",
339
+ "setgid",
340
+ "setgid32",
341
+ "setgroups",
342
+ "setgroups32",
343
+ "setitimer",
344
+ "setpgid",
345
+ "setpriority",
346
+ "setregid",
347
+ "setregid32",
348
+ "setresgid",
349
+ "setresgid32",
350
+ "setresuid",
351
+ "setresuid32",
352
+ "setreuid",
353
+ "setreuid32",
354
+ "setrlimit",
355
+ "set_robust_list",
356
+ "setsid",
357
+ "setsockopt",
358
+ "set_thread_area",
359
+ "set_tid_address",
360
+ "setuid",
361
+ "setuid32",
362
+ "setxattr",
363
+ "setxattrat",
364
+ "shmat",
365
+ "shmctl",
366
+ "shmdt",
367
+ "shmget",
368
+ "shutdown",
369
+ "sigaltstack",
370
+ "signalfd",
371
+ "signalfd4",
372
+ "sigprocmask",
373
+ "sigreturn",
374
+ "socketcall",
375
+ "socketpair",
376
+ "splice",
377
+ "stat",
378
+ "stat64",
379
+ "statfs",
380
+ "statfs64",
381
+ "statmount",
382
+ "statx",
383
+ "symlink",
384
+ "symlinkat",
385
+ "sync",
386
+ "sync_file_range",
387
+ "syncfs",
388
+ "sysinfo",
389
+ "tee",
390
+ "tgkill",
391
+ "time",
392
+ "timer_create",
393
+ "timer_delete",
394
+ "timer_getoverrun",
395
+ "timer_gettime",
396
+ "timer_gettime64",
397
+ "timer_settime",
398
+ "timer_settime64",
399
+ "timerfd_create",
400
+ "timerfd_gettime",
401
+ "timerfd_gettime64",
402
+ "timerfd_settime",
403
+ "timerfd_settime64",
404
+ "times",
405
+ "tkill",
406
+ "truncate",
407
+ "truncate64",
408
+ "ugetrlimit",
409
+ "umask",
410
+ "uname",
411
+ "unlink",
412
+ "unlinkat",
413
+ "uretprobe",
414
+ "utime",
415
+ "utimensat",
416
+ "utimensat_time64",
417
+ "utimes",
418
+ "vfork",
419
+ "vmsplice",
420
+ "wait4",
421
+ "waitid",
422
+ "waitpid",
423
+ "write",
424
+ "writev"
425
+ ],
426
+ "action": "SCMP_ACT_ALLOW"
427
+ },
428
+ {
429
+ "names": [
430
+ "process_vm_readv",
431
+ "process_vm_writev",
432
+ "ptrace"
433
+ ],
434
+ "action": "SCMP_ACT_ALLOW",
435
+ "includes": {
436
+ "minKernel": "4.8"
437
+ }
438
+ },
439
+ {
440
+ "names": [
441
+ "socket"
442
+ ],
443
+ "action": "SCMP_ACT_ALLOW",
444
+ "args": [
445
+ {
446
+ "index": 0,
447
+ "value": 3,
448
+ "op": "SCMP_CMP_LT"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "names": [
454
+ "socket"
455
+ ],
456
+ "action": "SCMP_ACT_ALLOW",
457
+ "args": [
458
+ {
459
+ "index": 0,
460
+ "value": 7,
461
+ "op": "SCMP_CMP_EQ"
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "names": [
467
+ "socket"
468
+ ],
469
+ "action": "SCMP_ACT_ALLOW",
470
+ "args": [
471
+ {
472
+ "index": 0,
473
+ "value": 8,
474
+ "op": "SCMP_CMP_EQ"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "names": [
480
+ "socket"
481
+ ],
482
+ "action": "SCMP_ACT_ALLOW",
483
+ "args": [
484
+ {
485
+ "index": 0,
486
+ "value": 9,
487
+ "op": "SCMP_CMP_EQ"
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "names": [
493
+ "socket"
494
+ ],
495
+ "action": "SCMP_ACT_ALLOW",
496
+ "args": [
497
+ {
498
+ "index": 0,
499
+ "value": 10,
500
+ "op": "SCMP_CMP_EQ"
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "names": [
506
+ "socket"
507
+ ],
508
+ "action": "SCMP_ACT_ALLOW",
509
+ "args": [
510
+ {
511
+ "index": 0,
512
+ "value": 13,
513
+ "op": "SCMP_CMP_EQ"
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "names": [
519
+ "socket"
520
+ ],
521
+ "action": "SCMP_ACT_ALLOW",
522
+ "args": [
523
+ {
524
+ "index": 0,
525
+ "value": 14,
526
+ "op": "SCMP_CMP_EQ"
527
+ }
528
+ ]
529
+ },
530
+ {
531
+ "names": [
532
+ "socket"
533
+ ],
534
+ "action": "SCMP_ACT_ALLOW",
535
+ "args": [
536
+ {
537
+ "index": 0,
538
+ "value": 15,
539
+ "op": "SCMP_CMP_EQ"
540
+ }
541
+ ]
542
+ },
543
+ {
544
+ "names": [
545
+ "socket"
546
+ ],
547
+ "action": "SCMP_ACT_ALLOW",
548
+ "args": [
549
+ {
550
+ "index": 0,
551
+ "value": 16,
552
+ "op": "SCMP_CMP_EQ"
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "names": [
558
+ "socket"
559
+ ],
560
+ "action": "SCMP_ACT_ALLOW",
561
+ "args": [
562
+ {
563
+ "index": 0,
564
+ "value": 17,
565
+ "op": "SCMP_CMP_EQ"
566
+ }
567
+ ]
568
+ },
569
+ {
570
+ "names": [
571
+ "socket"
572
+ ],
573
+ "action": "SCMP_ACT_ALLOW",
574
+ "args": [
575
+ {
576
+ "index": 0,
577
+ "value": 18,
578
+ "op": "SCMP_CMP_EQ"
579
+ }
580
+ ]
581
+ },
582
+ {
583
+ "names": [
584
+ "socket"
585
+ ],
586
+ "action": "SCMP_ACT_ALLOW",
587
+ "args": [
588
+ {
589
+ "index": 0,
590
+ "value": 21,
591
+ "op": "SCMP_CMP_EQ"
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "names": [
597
+ "socket"
598
+ ],
599
+ "action": "SCMP_ACT_ALLOW",
600
+ "args": [
601
+ {
602
+ "index": 0,
603
+ "value": 22,
604
+ "op": "SCMP_CMP_EQ"
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "names": [
610
+ "socket"
611
+ ],
612
+ "action": "SCMP_ACT_ALLOW",
613
+ "args": [
614
+ {
615
+ "index": 0,
616
+ "value": 24,
617
+ "op": "SCMP_CMP_EQ"
618
+ }
619
+ ]
620
+ },
621
+ {
622
+ "names": [
623
+ "socket"
624
+ ],
625
+ "action": "SCMP_ACT_ALLOW",
626
+ "args": [
627
+ {
628
+ "index": 0,
629
+ "value": 26,
630
+ "op": "SCMP_CMP_EQ"
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "names": [
636
+ "socket"
637
+ ],
638
+ "action": "SCMP_ACT_ALLOW",
639
+ "args": [
640
+ {
641
+ "index": 0,
642
+ "value": 27,
643
+ "op": "SCMP_CMP_EQ"
644
+ }
645
+ ]
646
+ },
647
+ {
648
+ "names": [
649
+ "socket"
650
+ ],
651
+ "action": "SCMP_ACT_ALLOW",
652
+ "args": [
653
+ {
654
+ "index": 0,
655
+ "value": 28,
656
+ "op": "SCMP_CMP_EQ"
657
+ }
658
+ ]
659
+ },
660
+ {
661
+ "names": [
662
+ "socket"
663
+ ],
664
+ "action": "SCMP_ACT_ALLOW",
665
+ "args": [
666
+ {
667
+ "index": 0,
668
+ "value": 29,
669
+ "op": "SCMP_CMP_EQ"
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "names": [
675
+ "socket"
676
+ ],
677
+ "action": "SCMP_ACT_ALLOW",
678
+ "args": [
679
+ {
680
+ "index": 0,
681
+ "value": 30,
682
+ "op": "SCMP_CMP_EQ"
683
+ }
684
+ ]
685
+ },
686
+ {
687
+ "names": [
688
+ "socket"
689
+ ],
690
+ "action": "SCMP_ACT_ALLOW",
691
+ "args": [
692
+ {
693
+ "index": 0,
694
+ "value": 31,
695
+ "op": "SCMP_CMP_EQ"
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "names": [
701
+ "socket"
702
+ ],
703
+ "action": "SCMP_ACT_ALLOW",
704
+ "args": [
705
+ {
706
+ "index": 0,
707
+ "value": 32,
708
+ "op": "SCMP_CMP_EQ"
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "names": [
714
+ "socket"
715
+ ],
716
+ "action": "SCMP_ACT_ALLOW",
717
+ "args": [
718
+ {
719
+ "index": 0,
720
+ "value": 33,
721
+ "op": "SCMP_CMP_EQ"
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "names": [
727
+ "socket"
728
+ ],
729
+ "action": "SCMP_ACT_ALLOW",
730
+ "args": [
731
+ {
732
+ "index": 0,
733
+ "value": 35,
734
+ "op": "SCMP_CMP_EQ"
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "names": [
740
+ "socket"
741
+ ],
742
+ "action": "SCMP_ACT_ALLOW",
743
+ "args": [
744
+ {
745
+ "index": 0,
746
+ "value": 36,
747
+ "op": "SCMP_CMP_EQ"
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ "names": [
753
+ "socket"
754
+ ],
755
+ "action": "SCMP_ACT_ALLOW",
756
+ "args": [
757
+ {
758
+ "index": 0,
759
+ "value": 39,
760
+ "op": "SCMP_CMP_EQ"
761
+ }
762
+ ]
763
+ },
764
+ {
765
+ "names": [
766
+ "socket"
767
+ ],
768
+ "action": "SCMP_ACT_ALLOW",
769
+ "args": [
770
+ {
771
+ "index": 0,
772
+ "value": 41,
773
+ "op": "SCMP_CMP_EQ"
774
+ }
775
+ ]
776
+ },
777
+ {
778
+ "names": [
779
+ "socket"
780
+ ],
781
+ "action": "SCMP_ACT_ALLOW",
782
+ "args": [
783
+ {
784
+ "index": 0,
785
+ "value": 42,
786
+ "op": "SCMP_CMP_EQ"
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ "names": [
792
+ "socket"
793
+ ],
794
+ "action": "SCMP_ACT_ALLOW",
795
+ "args": [
796
+ {
797
+ "index": 0,
798
+ "value": 43,
799
+ "op": "SCMP_CMP_EQ"
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "names": [
805
+ "socket"
806
+ ],
807
+ "action": "SCMP_ACT_ALLOW",
808
+ "args": [
809
+ {
810
+ "index": 0,
811
+ "value": 44,
812
+ "op": "SCMP_CMP_EQ"
813
+ }
814
+ ]
815
+ },
816
+ {
817
+ "names": [
818
+ "socket"
819
+ ],
820
+ "action": "SCMP_ACT_ALLOW",
821
+ "args": [
822
+ {
823
+ "index": 0,
824
+ "value": 45,
825
+ "op": "SCMP_CMP_EQ"
826
+ }
827
+ ]
828
+ },
829
+ {
830
+ "names": [
831
+ "personality"
832
+ ],
833
+ "action": "SCMP_ACT_ALLOW",
834
+ "args": [
835
+ {
836
+ "index": 0,
837
+ "value": 0,
838
+ "op": "SCMP_CMP_EQ"
839
+ }
840
+ ]
841
+ },
842
+ {
843
+ "names": [
844
+ "personality"
845
+ ],
846
+ "action": "SCMP_ACT_ALLOW",
847
+ "args": [
848
+ {
849
+ "index": 0,
850
+ "value": 8,
851
+ "op": "SCMP_CMP_EQ"
852
+ }
853
+ ]
854
+ },
855
+ {
856
+ "names": [
857
+ "personality"
858
+ ],
859
+ "action": "SCMP_ACT_ALLOW",
860
+ "args": [
861
+ {
862
+ "index": 0,
863
+ "value": 131072,
864
+ "op": "SCMP_CMP_EQ"
865
+ }
866
+ ]
867
+ },
868
+ {
869
+ "names": [
870
+ "personality"
871
+ ],
872
+ "action": "SCMP_ACT_ALLOW",
873
+ "args": [
874
+ {
875
+ "index": 0,
876
+ "value": 131080,
877
+ "op": "SCMP_CMP_EQ"
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "names": [
883
+ "personality"
884
+ ],
885
+ "action": "SCMP_ACT_ALLOW",
886
+ "args": [
887
+ {
888
+ "index": 0,
889
+ "value": 4294967295,
890
+ "op": "SCMP_CMP_EQ"
891
+ }
892
+ ]
893
+ },
894
+ {
895
+ "names": [
896
+ "sync_file_range2",
897
+ "swapcontext"
898
+ ],
899
+ "action": "SCMP_ACT_ALLOW",
900
+ "includes": {
901
+ "arches": [
902
+ "ppc64le"
903
+ ]
904
+ }
905
+ },
906
+ {
907
+ "names": [
908
+ "arm_fadvise64_64",
909
+ "arm_sync_file_range",
910
+ "sync_file_range2",
911
+ "breakpoint",
912
+ "cacheflush",
913
+ "set_tls"
914
+ ],
915
+ "action": "SCMP_ACT_ALLOW",
916
+ "includes": {
917
+ "arches": [
918
+ "arm",
919
+ "arm64"
920
+ ]
921
+ }
922
+ },
923
+ {
924
+ "names": [
925
+ "arch_prctl"
926
+ ],
927
+ "action": "SCMP_ACT_ALLOW",
928
+ "includes": {
929
+ "arches": [
930
+ "amd64",
931
+ "x32"
932
+ ]
933
+ }
934
+ },
935
+ {
936
+ "names": [
937
+ "modify_ldt"
938
+ ],
939
+ "action": "SCMP_ACT_ALLOW",
940
+ "includes": {
941
+ "arches": [
942
+ "amd64",
943
+ "x32",
944
+ "x86"
945
+ ]
946
+ }
947
+ },
948
+ {
949
+ "names": [
950
+ "s390_pci_mmio_read",
951
+ "s390_pci_mmio_write",
952
+ "s390_runtime_instr"
953
+ ],
954
+ "action": "SCMP_ACT_ALLOW",
955
+ "includes": {
956
+ "arches": [
957
+ "s390",
958
+ "s390x"
959
+ ]
960
+ }
961
+ },
962
+ {
963
+ "names": [
964
+ "riscv_flush_icache"
965
+ ],
966
+ "action": "SCMP_ACT_ALLOW",
967
+ "includes": {
968
+ "arches": [
969
+ "riscv64"
970
+ ]
971
+ }
972
+ },
973
+ {
974
+ "names": [
975
+ "open_by_handle_at"
976
+ ],
977
+ "action": "SCMP_ACT_ALLOW",
978
+ "includes": {
979
+ "caps": [
980
+ "CAP_DAC_READ_SEARCH"
981
+ ]
982
+ }
983
+ },
984
+ {
985
+ "names": [
986
+ "bpf",
987
+ "clone",
988
+ "clone3",
989
+ "fanotify_init",
990
+ "fsconfig",
991
+ "fsmount",
992
+ "fsopen",
993
+ "fspick",
994
+ "lookup_dcookie",
995
+ "lsm_get_self_attr",
996
+ "lsm_list_modules",
997
+ "lsm_set_self_attr",
998
+ "mount",
999
+ "mount_setattr",
1000
+ "move_mount",
1001
+ "open_tree",
1002
+ "perf_event_open",
1003
+ "quotactl",
1004
+ "quotactl_fd",
1005
+ "setdomainname",
1006
+ "sethostname",
1007
+ "setns",
1008
+ "syslog",
1009
+ "umount",
1010
+ "umount2",
1011
+ "unshare"
1012
+ ],
1013
+ "action": "SCMP_ACT_ALLOW",
1014
+ "includes": {
1015
+ "caps": [
1016
+ "CAP_SYS_ADMIN"
1017
+ ]
1018
+ }
1019
+ },
1020
+ {
1021
+ "names": [
1022
+ "clone"
1023
+ ],
1024
+ "action": "SCMP_ACT_ALLOW",
1025
+ "args": [
1026
+ {
1027
+ "index": 0,
1028
+ "value": 2114060288,
1029
+ "op": "SCMP_CMP_MASKED_EQ"
1030
+ }
1031
+ ],
1032
+ "excludes": {
1033
+ "caps": [
1034
+ "CAP_SYS_ADMIN"
1035
+ ],
1036
+ "arches": [
1037
+ "s390",
1038
+ "s390x"
1039
+ ]
1040
+ }
1041
+ },
1042
+ {
1043
+ "names": [
1044
+ "clone"
1045
+ ],
1046
+ "action": "SCMP_ACT_ALLOW",
1047
+ "args": [
1048
+ {
1049
+ "index": 1,
1050
+ "value": 2114060288,
1051
+ "op": "SCMP_CMP_MASKED_EQ"
1052
+ }
1053
+ ],
1054
+ "comment": "s390 parameter ordering for clone is different",
1055
+ "includes": {
1056
+ "arches": [
1057
+ "s390",
1058
+ "s390x"
1059
+ ]
1060
+ },
1061
+ "excludes": {
1062
+ "caps": [
1063
+ "CAP_SYS_ADMIN"
1064
+ ]
1065
+ }
1066
+ },
1067
+ {
1068
+ "names": [
1069
+ "clone3"
1070
+ ],
1071
+ "action": "SCMP_ACT_ERRNO",
1072
+ "errnoRet": 38,
1073
+ "excludes": {
1074
+ "caps": [
1075
+ "CAP_SYS_ADMIN"
1076
+ ]
1077
+ }
1078
+ },
1079
+ {
1080
+ "names": [
1081
+ "reboot"
1082
+ ],
1083
+ "action": "SCMP_ACT_ALLOW",
1084
+ "includes": {
1085
+ "caps": [
1086
+ "CAP_SYS_BOOT"
1087
+ ]
1088
+ }
1089
+ },
1090
+ {
1091
+ "names": [
1092
+ "chroot"
1093
+ ],
1094
+ "action": "SCMP_ACT_ALLOW",
1095
+ "includes": {
1096
+ "caps": [
1097
+ "CAP_SYS_CHROOT"
1098
+ ]
1099
+ }
1100
+ },
1101
+ {
1102
+ "names": [
1103
+ "delete_module",
1104
+ "init_module",
1105
+ "finit_module"
1106
+ ],
1107
+ "action": "SCMP_ACT_ALLOW",
1108
+ "includes": {
1109
+ "caps": [
1110
+ "CAP_SYS_MODULE"
1111
+ ]
1112
+ }
1113
+ },
1114
+ {
1115
+ "names": [
1116
+ "acct"
1117
+ ],
1118
+ "action": "SCMP_ACT_ALLOW",
1119
+ "includes": {
1120
+ "caps": [
1121
+ "CAP_SYS_PACCT"
1122
+ ]
1123
+ }
1124
+ },
1125
+ {
1126
+ "names": [
1127
+ "kcmp",
1128
+ "pidfd_getfd",
1129
+ "process_madvise",
1130
+ "process_vm_readv",
1131
+ "process_vm_writev",
1132
+ "ptrace"
1133
+ ],
1134
+ "action": "SCMP_ACT_ALLOW",
1135
+ "includes": {
1136
+ "caps": [
1137
+ "CAP_SYS_PTRACE"
1138
+ ]
1139
+ }
1140
+ },
1141
+ {
1142
+ "names": [
1143
+ "iopl",
1144
+ "ioperm"
1145
+ ],
1146
+ "action": "SCMP_ACT_ALLOW",
1147
+ "includes": {
1148
+ "caps": [
1149
+ "CAP_SYS_RAWIO"
1150
+ ]
1151
+ }
1152
+ },
1153
+ {
1154
+ "names": [
1155
+ "settimeofday",
1156
+ "stime",
1157
+ "clock_settime",
1158
+ "clock_settime64"
1159
+ ],
1160
+ "action": "SCMP_ACT_ALLOW",
1161
+ "includes": {
1162
+ "caps": [
1163
+ "CAP_SYS_TIME"
1164
+ ]
1165
+ }
1166
+ },
1167
+ {
1168
+ "names": [
1169
+ "vhangup"
1170
+ ],
1171
+ "action": "SCMP_ACT_ALLOW",
1172
+ "includes": {
1173
+ "caps": [
1174
+ "CAP_SYS_TTY_CONFIG"
1175
+ ]
1176
+ }
1177
+ },
1178
+ {
1179
+ "names": [
1180
+ "get_mempolicy",
1181
+ "mbind",
1182
+ "set_mempolicy",
1183
+ "set_mempolicy_home_node"
1184
+ ],
1185
+ "action": "SCMP_ACT_ALLOW",
1186
+ "includes": {
1187
+ "caps": [
1188
+ "CAP_SYS_NICE"
1189
+ ]
1190
+ }
1191
+ },
1192
+ {
1193
+ "names": [
1194
+ "syslog"
1195
+ ],
1196
+ "action": "SCMP_ACT_ALLOW",
1197
+ "includes": {
1198
+ "caps": [
1199
+ "CAP_SYSLOG"
1200
+ ]
1201
+ }
1202
+ },
1203
+ {
1204
+ "names": [
1205
+ "bpf"
1206
+ ],
1207
+ "action": "SCMP_ACT_ALLOW",
1208
+ "includes": {
1209
+ "caps": [
1210
+ "CAP_BPF"
1211
+ ]
1212
+ }
1213
+ },
1214
+ {
1215
+ "names": [
1216
+ "perf_event_open"
1217
+ ],
1218
+ "action": "SCMP_ACT_ALLOW",
1219
+ "includes": {
1220
+ "caps": [
1221
+ "CAP_PERFMON"
1222
+ ]
1223
+ }
1224
+ },
1225
+ {
1226
+ "names": [
1227
+ "clone"
1228
+ ],
1229
+ "action": "SCMP_ACT_ALLOW",
1230
+ "args": [
1231
+ {
1232
+ "index": 0,
1233
+ "value": 235012096,
1234
+ "valueTwo": 0,
1235
+ "op": "SCMP_CMP_MASKED_EQ"
1236
+ }
1237
+ ],
1238
+ "comment": "Permit unprivileged user/pid/net namespace creation for Chromium sandbox. Keep mount/cgroup/ipc/uts namespace restriction."
1239
+ },
1240
+ {
1241
+ "names": [
1242
+ "unshare"
1243
+ ],
1244
+ "action": "SCMP_ACT_ALLOW",
1245
+ "args": [
1246
+ {
1247
+ "index": 0,
1248
+ "value": 268435456,
1249
+ "op": "SCMP_CMP_EQ"
1250
+ }
1251
+ ],
1252
+ "comment": "Allow unshare only with CLONE_NEWUSER."
1253
+ },
1254
+ {
1255
+ "names": [
1256
+ "chroot"
1257
+ ],
1258
+ "action": "SCMP_ACT_ALLOW",
1259
+ "comment": "Chromium user namespace sandbox chroots into its empty /proc/self/fdinfo directory; kernel CAP_SYS_CHROOT check remains."
1260
+ }
1261
+ ]
1262
+ }