slidge-whatsapp 0.2.2__cp313-cp313-manylinux_2_36_aarch64.whl → 0.2.6__cp313-cp313-manylinux_2_36_aarch64.whl

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.

Potentially problematic release.


This version of slidge-whatsapp might be problematic. Click here for more details.

Files changed (1250) hide show
  1. slidge_whatsapp/__init__.py +26 -8
  2. slidge_whatsapp/__main__.py +3 -0
  3. slidge_whatsapp/config.py +3 -0
  4. slidge_whatsapp/contact.py +1 -1
  5. slidge_whatsapp/event.go +79 -24
  6. slidge_whatsapp/gateway.go +13 -9
  7. slidge_whatsapp/gateway.py +2 -2
  8. slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.h +194 -157
  9. slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.so +0 -0
  10. slidge_whatsapp/generated/build.py +153 -128
  11. slidge_whatsapp/generated/go.py +1 -1
  12. slidge_whatsapp/generated/whatsapp.c +1535 -1064
  13. slidge_whatsapp/generated/whatsapp.go +938 -693
  14. slidge_whatsapp/generated/whatsapp.py +1300 -980
  15. slidge_whatsapp/generated/whatsapp_go.h +194 -157
  16. slidge_whatsapp/go.mod +18 -13
  17. slidge_whatsapp/go.sum +41 -29
  18. slidge_whatsapp/group.py +7 -2
  19. slidge_whatsapp/media/__init__.py +0 -0
  20. slidge_whatsapp/media/media.go +24 -13
  21. slidge_whatsapp/session.go +77 -71
  22. slidge_whatsapp/session.py +53 -31
  23. slidge_whatsapp/vendor/filippo.io/edwards25519/LICENSE +27 -0
  24. slidge_whatsapp/vendor/filippo.io/edwards25519/README.md +14 -0
  25. slidge_whatsapp/vendor/filippo.io/edwards25519/doc.go +20 -0
  26. slidge_whatsapp/vendor/filippo.io/edwards25519/edwards25519.go +427 -0
  27. slidge_whatsapp/vendor/filippo.io/edwards25519/extra.go +349 -0
  28. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe.go +420 -0
  29. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.go +16 -0
  30. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.s +379 -0
  31. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64_noasm.go +12 -0
  32. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.go +16 -0
  33. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.s +42 -0
  34. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64_noasm.go +12 -0
  35. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_extra.go +50 -0
  36. slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_generic.go +266 -0
  37. slidge_whatsapp/vendor/filippo.io/edwards25519/scalar.go +343 -0
  38. slidge_whatsapp/vendor/filippo.io/edwards25519/scalar_fiat.go +1147 -0
  39. slidge_whatsapp/vendor/filippo.io/edwards25519/scalarmult.go +214 -0
  40. slidge_whatsapp/vendor/filippo.io/edwards25519/tables.go +129 -0
  41. slidge_whatsapp/vendor/github.com/ebitengine/purego/.gitignore +1 -0
  42. slidge_whatsapp/vendor/github.com/ebitengine/purego/LICENSE +201 -0
  43. slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +97 -0
  44. slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_amd64.h +99 -0
  45. slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_arm64.h +39 -0
  46. slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +19 -0
  47. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +17 -0
  48. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +99 -0
  49. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_android.go +34 -0
  50. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +19 -0
  51. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_freebsd.go +14 -0
  52. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_linux.go +16 -0
  53. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_freebsd.go +11 -0
  54. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_linux.go +19 -0
  55. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_playground.go +24 -0
  56. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +26 -0
  57. slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +436 -0
  58. slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +13 -0
  59. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0
  60. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/empty.go +6 -0
  61. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +55 -0
  62. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_amd64.h +99 -0
  63. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_arm64.h +39 -0
  64. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_amd64.s +39 -0
  65. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_arm64.s +36 -0
  66. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +93 -0
  67. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +32 -0
  68. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/freebsd.go +27 -0
  69. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_amd64.go +73 -0
  70. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_arm64.go +88 -0
  71. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_amd64.go +95 -0
  72. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_arm64.go +98 -0
  73. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +72 -0
  74. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_amd64.go +95 -0
  75. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_arm64.go +98 -0
  76. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +18 -0
  77. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +37 -0
  78. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +19 -0
  79. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +39 -0
  80. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +22 -0
  81. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +16 -0
  82. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +16 -0
  83. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +19 -0
  84. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +221 -0
  85. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +29 -0
  86. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +29 -0
  87. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +29 -0
  88. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_amd64.s +104 -0
  89. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_arm64.s +72 -0
  90. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +90 -0
  91. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/strings/strings.go +40 -0
  92. slidge_whatsapp/vendor/github.com/ebitengine/purego/is_ios.go +13 -0
  93. slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +25 -0
  94. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +260 -0
  95. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +274 -0
  96. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +16 -0
  97. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +164 -0
  98. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +92 -0
  99. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +70 -0
  100. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +53 -0
  101. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +21 -0
  102. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +223 -0
  103. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +46 -0
  104. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2014 -0
  105. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4014 -0
  106. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/.gitattributes +6 -0
  107. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/AUTHORS +1 -0
  108. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/COPYING +661 -0
  109. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/README.md +71 -0
  110. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz.go +66 -0
  111. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo.go +596 -0
  112. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_cgo.go +18 -0
  113. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib.go +11 -0
  114. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib_pkgconfig.go +9 -0
  115. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_content_types.go +383 -0
  116. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_nocgo.go +1098 -0
  117. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_vendor.go +9 -0
  118. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/archive.h +444 -0
  119. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/band-writer.h +117 -0
  120. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bidi.h +90 -0
  121. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bitmap.h +175 -0
  122. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/buffer.h +250 -0
  123. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/color.h +427 -0
  124. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compress.h +88 -0
  125. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compressed-buffer.h +185 -0
  126. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/config.h +222 -0
  127. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/context.h +1006 -0
  128. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/crypt.h +270 -0
  129. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/device.h +654 -0
  130. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/display-list.h +142 -0
  131. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/document.h +1108 -0
  132. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/export.h +52 -0
  133. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/filter.h +263 -0
  134. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/font.h +815 -0
  135. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/geometry.h +818 -0
  136. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/getopt.h +128 -0
  137. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph-cache.h +96 -0
  138. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph.h +81 -0
  139. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/hash.h +126 -0
  140. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap-imp.h +163 -0
  141. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap.h +140 -0
  142. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/image.h +443 -0
  143. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/link.h +130 -0
  144. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/log.h +61 -0
  145. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/outline.h +228 -0
  146. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output-svg.h +64 -0
  147. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output.h +415 -0
  148. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/path.h +447 -0
  149. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pixmap.h +501 -0
  150. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pool.h +68 -0
  151. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/separation.h +138 -0
  152. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/shade.h +233 -0
  153. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/store.h +456 -0
  154. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story-writer.h +209 -0
  155. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story.h +232 -0
  156. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/stream.h +646 -0
  157. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/string-util.h +286 -0
  158. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/structured-text.h +365 -0
  159. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/system.h +459 -0
  160. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/text.h +209 -0
  161. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/track-usage.h +57 -0
  162. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/transition.h +76 -0
  163. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/tree.h +62 -0
  164. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/types.h +41 -0
  165. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/util.h +151 -0
  166. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/vendor.go +3 -0
  167. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/version.h +31 -0
  168. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/write-pixmap.h +499 -0
  169. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/writer.h +266 -0
  170. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/xml.h +397 -0
  171. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz.h +97 -0
  172. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/memento.h +423 -0
  173. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/vendor.go +3 -0
  174. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdf_linux_arm64.a +0 -0
  175. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdfthird_linux_arm64.a +0 -0
  176. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/vendor.go +3 -0
  177. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_darwin.go +23 -0
  178. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_linux.go +22 -0
  179. slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_windows.go +22 -0
  180. slidge_whatsapp/vendor/github.com/go-python/gopy/LICENSE +23 -0
  181. slidge_whatsapp/vendor/github.com/go-python/gopy/gopyh/handle.go +210 -0
  182. slidge_whatsapp/vendor/github.com/google/uuid/CHANGELOG.md +41 -0
  183. slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTING.md +26 -0
  184. slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTORS +9 -0
  185. slidge_whatsapp/vendor/github.com/google/uuid/LICENSE +27 -0
  186. slidge_whatsapp/vendor/github.com/google/uuid/README.md +21 -0
  187. slidge_whatsapp/vendor/github.com/google/uuid/dce.go +80 -0
  188. slidge_whatsapp/vendor/github.com/google/uuid/doc.go +12 -0
  189. slidge_whatsapp/vendor/github.com/google/uuid/hash.go +59 -0
  190. slidge_whatsapp/vendor/github.com/google/uuid/marshal.go +38 -0
  191. slidge_whatsapp/vendor/github.com/google/uuid/node.go +90 -0
  192. slidge_whatsapp/vendor/github.com/google/uuid/node_js.go +12 -0
  193. slidge_whatsapp/vendor/github.com/google/uuid/node_net.go +33 -0
  194. slidge_whatsapp/vendor/github.com/google/uuid/null.go +118 -0
  195. slidge_whatsapp/vendor/github.com/google/uuid/sql.go +59 -0
  196. slidge_whatsapp/vendor/github.com/google/uuid/time.go +134 -0
  197. slidge_whatsapp/vendor/github.com/google/uuid/util.go +43 -0
  198. slidge_whatsapp/vendor/github.com/google/uuid/uuid.go +365 -0
  199. slidge_whatsapp/vendor/github.com/google/uuid/version1.go +44 -0
  200. slidge_whatsapp/vendor/github.com/google/uuid/version4.go +76 -0
  201. slidge_whatsapp/vendor/github.com/google/uuid/version6.go +56 -0
  202. slidge_whatsapp/vendor/github.com/google/uuid/version7.go +104 -0
  203. slidge_whatsapp/vendor/github.com/gorilla/websocket/.gitignore +25 -0
  204. slidge_whatsapp/vendor/github.com/gorilla/websocket/AUTHORS +9 -0
  205. slidge_whatsapp/vendor/github.com/gorilla/websocket/LICENSE +22 -0
  206. slidge_whatsapp/vendor/github.com/gorilla/websocket/README.md +33 -0
  207. slidge_whatsapp/vendor/github.com/gorilla/websocket/client.go +434 -0
  208. slidge_whatsapp/vendor/github.com/gorilla/websocket/compression.go +148 -0
  209. slidge_whatsapp/vendor/github.com/gorilla/websocket/conn.go +1238 -0
  210. slidge_whatsapp/vendor/github.com/gorilla/websocket/doc.go +227 -0
  211. slidge_whatsapp/vendor/github.com/gorilla/websocket/join.go +42 -0
  212. slidge_whatsapp/vendor/github.com/gorilla/websocket/json.go +60 -0
  213. slidge_whatsapp/vendor/github.com/gorilla/websocket/mask.go +55 -0
  214. slidge_whatsapp/vendor/github.com/gorilla/websocket/mask_safe.go +16 -0
  215. slidge_whatsapp/vendor/github.com/gorilla/websocket/prepared.go +102 -0
  216. slidge_whatsapp/vendor/github.com/gorilla/websocket/proxy.go +77 -0
  217. slidge_whatsapp/vendor/github.com/gorilla/websocket/server.go +365 -0
  218. slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake.go +21 -0
  219. slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake_116.go +21 -0
  220. slidge_whatsapp/vendor/github.com/gorilla/websocket/util.go +298 -0
  221. slidge_whatsapp/vendor/github.com/gorilla/websocket/x_net_proxy.go +473 -0
  222. slidge_whatsapp/vendor/github.com/h2non/filetype/.editorconfig +12 -0
  223. slidge_whatsapp/vendor/github.com/h2non/filetype/.gitignore +2 -0
  224. slidge_whatsapp/vendor/github.com/h2non/filetype/.travis.yml +16 -0
  225. slidge_whatsapp/vendor/github.com/h2non/filetype/History.md +163 -0
  226. slidge_whatsapp/vendor/github.com/h2non/filetype/LICENSE +24 -0
  227. slidge_whatsapp/vendor/github.com/h2non/filetype/README.md +294 -0
  228. slidge_whatsapp/vendor/github.com/h2non/filetype/filetype.go +102 -0
  229. slidge_whatsapp/vendor/github.com/h2non/filetype/kind.go +91 -0
  230. slidge_whatsapp/vendor/github.com/h2non/filetype/match.go +90 -0
  231. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/application.go +43 -0
  232. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/archive.go +211 -0
  233. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/audio.go +85 -0
  234. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/document.go +197 -0
  235. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/font.go +45 -0
  236. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/image.go +143 -0
  237. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/isobmff/isobmff.go +37 -0
  238. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/matchers.go +51 -0
  239. slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/video.go +145 -0
  240. slidge_whatsapp/vendor/github.com/h2non/filetype/types/defaults.go +4 -0
  241. slidge_whatsapp/vendor/github.com/h2non/filetype/types/mime.go +14 -0
  242. slidge_whatsapp/vendor/github.com/h2non/filetype/types/split.go +11 -0
  243. slidge_whatsapp/vendor/github.com/h2non/filetype/types/type.go +16 -0
  244. slidge_whatsapp/vendor/github.com/h2non/filetype/types/types.go +23 -0
  245. slidge_whatsapp/vendor/github.com/h2non/filetype/version.go +4 -0
  246. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/.gitignore +21 -0
  247. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +69 -0
  248. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/COPYRIGHT.txt +147 -0
  249. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/LICENSE +21 -0
  250. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/README.md +162 -0
  251. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi.go +7 -0
  252. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi_amd64.go +7 -0
  253. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +272 -0
  254. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +54 -0
  255. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/init.go +55 -0
  256. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +82 -0
  257. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +63 -0
  258. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +68 -0
  259. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_amd64.go +5 -0
  260. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_arm64.go +5 -0
  261. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_darwin_arm64.go +5 -0
  262. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/types.go +34 -0
  263. slidge_whatsapp/vendor/github.com/mattn/go-colorable/LICENSE +21 -0
  264. slidge_whatsapp/vendor/github.com/mattn/go-colorable/README.md +48 -0
  265. slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0
  266. slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0
  267. slidge_whatsapp/vendor/github.com/mattn/go-colorable/go.test.sh +12 -0
  268. slidge_whatsapp/vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0
  269. slidge_whatsapp/vendor/github.com/mattn/go-isatty/LICENSE +9 -0
  270. slidge_whatsapp/vendor/github.com/mattn/go-isatty/README.md +50 -0
  271. slidge_whatsapp/vendor/github.com/mattn/go-isatty/doc.go +2 -0
  272. slidge_whatsapp/vendor/github.com/mattn/go-isatty/go.test.sh +12 -0
  273. slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0
  274. slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0
  275. slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0
  276. slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0
  277. slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0
  278. slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_windows.go +125 -0
  279. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.codecov.yml +4 -0
  280. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.gitignore +14 -0
  281. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/LICENSE +21 -0
  282. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +598 -0
  283. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/backup.go +85 -0
  284. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +412 -0
  285. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/convert.go +299 -0
  286. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/doc.go +134 -0
  287. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/error.go +150 -0
  288. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +261459 -0
  289. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +13720 -0
  290. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +2315 -0
  291. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go +103 -0
  292. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go +120 -0
  293. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go +54 -0
  294. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go +23 -0
  295. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go +85 -0
  296. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go +25 -0
  297. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go +16 -0
  298. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go +16 -0
  299. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go +22 -0
  300. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go +16 -0
  301. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go +15 -0
  302. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go +20 -0
  303. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go +16 -0
  304. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_math_functions.go +15 -0
  305. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_os_trace.go +15 -0
  306. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go +21 -0
  307. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go +113 -0
  308. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go +22 -0
  309. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go +16 -0
  310. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go +16 -0
  311. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize.go +83 -0
  312. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize_omit.go +21 -0
  313. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go +16 -0
  314. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +89 -0
  315. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +97 -0
  316. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go +295 -0
  317. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go +158 -0
  318. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go +16 -0
  319. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go +16 -0
  320. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go +721 -0
  321. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go +18 -0
  322. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go +15 -0
  323. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go +288 -0
  324. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go +108 -0
  325. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go +42 -0
  326. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go +18 -0
  327. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h +728 -0
  328. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/static_mock.go +38 -0
  329. slidge_whatsapp/vendor/github.com/petermattis/goid/.gitignore +4 -0
  330. slidge_whatsapp/vendor/github.com/petermattis/goid/LICENSE +202 -0
  331. slidge_whatsapp/vendor/github.com/petermattis/goid/README.md +4 -0
  332. slidge_whatsapp/vendor/github.com/petermattis/goid/goid.go +35 -0
  333. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_gccgo.go +26 -0
  334. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.c +23 -0
  335. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.go +22 -0
  336. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.go +35 -0
  337. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.s +18 -0
  338. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.go +28 -0
  339. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.s +44 -0
  340. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_slow.go +24 -0
  341. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_gccgo_go1.8.go +17 -0
  342. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.23.go +38 -0
  343. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.5.go +57 -0
  344. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.6.go +43 -0
  345. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.9.go +37 -0
  346. slidge_whatsapp/vendor/github.com/rs/zerolog/.gitignore +25 -0
  347. slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
  348. slidge_whatsapp/vendor/github.com/rs/zerolog/LICENSE +21 -0
  349. slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +813 -0
  350. slidge_whatsapp/vendor/github.com/rs/zerolog/array.go +240 -0
  351. slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +535 -0
  352. slidge_whatsapp/vendor/github.com/rs/zerolog/context.go +480 -0
  353. slidge_whatsapp/vendor/github.com/rs/zerolog/ctx.go +52 -0
  354. slidge_whatsapp/vendor/github.com/rs/zerolog/encoder.go +56 -0
  355. slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0
  356. slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_json.go +51 -0
  357. slidge_whatsapp/vendor/github.com/rs/zerolog/event.go +830 -0
  358. slidge_whatsapp/vendor/github.com/rs/zerolog/example.jsonl +7 -0
  359. slidge_whatsapp/vendor/github.com/rs/zerolog/fields.go +292 -0
  360. slidge_whatsapp/vendor/github.com/rs/zerolog/globals.go +190 -0
  361. slidge_whatsapp/vendor/github.com/rs/zerolog/go112.go +7 -0
  362. slidge_whatsapp/vendor/github.com/rs/zerolog/hook.go +64 -0
  363. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0
  364. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0
  365. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0
  366. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0
  367. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0
  368. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/time.go +93 -0
  369. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/types.go +486 -0
  370. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/base.go +19 -0
  371. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0
  372. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/string.go +149 -0
  373. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/time.go +113 -0
  374. slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/types.go +435 -0
  375. slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
  376. slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +518 -0
  377. slidge_whatsapp/vendor/github.com/rs/zerolog/not_go112.go +5 -0
  378. slidge_whatsapp/vendor/github.com/rs/zerolog/pretty.png +0 -0
  379. slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +137 -0
  380. slidge_whatsapp/vendor/github.com/rs/zerolog/syslog.go +89 -0
  381. slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +355 -0
  382. slidge_whatsapp/vendor/go.mau.fi/libsignal/LICENSE +674 -0
  383. slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cbc.go +101 -0
  384. slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cipher.go +105 -0
  385. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Curve.go +109 -0
  386. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DjbECPublicKey.go +29 -0
  387. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DkbECPrivateKey.go +29 -0
  388. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Doc.go +3 -0
  389. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECKeyPair.go +27 -0
  390. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPrivateKey.go +7 -0
  391. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPublicKey.go +11 -0
  392. slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/SignCurve25519.go +97 -0
  393. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +152 -0
  394. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +94 -0
  395. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/Doc.go +3 -0
  396. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderChainKey.go +68 -0
  397. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderMessageKey.go +89 -0
  398. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/Doc.go +2 -0
  399. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyRecord.go +149 -0
  400. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyState.go +186 -0
  401. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/Doc.go +3 -0
  402. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +13 -0
  403. slidge_whatsapp/vendor/go.mau.fi/libsignal/kdf/HKDF.go +47 -0
  404. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +128 -0
  405. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +48 -0
  406. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKeyPair.go +39 -0
  407. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/message/MessageKey.go +91 -0
  408. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/prekey/PreKeyBundle.go +86 -0
  409. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/root/RootKey.go +66 -0
  410. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/DerivedSecrets.go +29 -0
  411. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/Pair.go +43 -0
  412. slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +85 -0
  413. slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/Logger.go +89 -0
  414. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/CiphertextMessage.go +19 -0
  415. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/Doc.go +3 -0
  416. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/PreKeySignalMessage.go +152 -0
  417. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyDistributionMessage.go +147 -0
  418. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyMessage.go +168 -0
  419. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyName.go +25 -0
  420. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalMessage.go +226 -0
  421. slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalProtocolAddress.go +38 -0
  422. slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/Ratchet.go +197 -0
  423. slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/ReceiverParameters.go +106 -0
  424. slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SenderParameters.go +106 -0
  425. slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SymmetricParameters.go +18 -0
  426. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +246 -0
  427. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto +14 -0
  428. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/JSONSerializer.go +303 -0
  429. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +1501 -0
  430. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.proto +114 -0
  431. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go +262 -0
  432. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/Serializer.go +31 -0
  433. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +641 -0
  434. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.proto +45 -0
  435. slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +299 -0
  436. slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +409 -0
  437. slidge_whatsapp/vendor/go.mau.fi/libsignal/signalerror/errors.go +37 -0
  438. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/ChainState.go +157 -0
  439. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/Doc.go +3 -0
  440. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingKeyExchangeState.go +91 -0
  441. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingPreKeyState.go +62 -0
  442. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PreKeyRecord.go +90 -0
  443. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionRecord.go +197 -0
  444. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionState.go +531 -0
  445. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SignedPreKeyRecord.go +112 -0
  446. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/UnacknowledgedPreKey.go +69 -0
  447. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/Doc.go +3 -0
  448. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +31 -0
  449. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +23 -0
  450. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +23 -0
  451. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +19 -0
  452. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignalProtocolStore.go +15 -0
  453. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +26 -0
  454. slidge_whatsapp/vendor/go.mau.fi/libsignal/util/bytehelper/ByteHelper.go +97 -0
  455. slidge_whatsapp/vendor/go.mau.fi/libsignal/util/errorhelper/ErrorHelper.go +40 -0
  456. slidge_whatsapp/vendor/go.mau.fi/libsignal/util/keyhelper/KeyHelper.go +95 -0
  457. slidge_whatsapp/vendor/go.mau.fi/libsignal/util/medium/Medium.go +4 -0
  458. slidge_whatsapp/vendor/go.mau.fi/libsignal/util/optional/Integer.go +17 -0
  459. slidge_whatsapp/vendor/go.mau.fi/util/LICENSE +373 -0
  460. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/connlog.go +257 -0
  461. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/database.go +309 -0
  462. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/iter.go +233 -0
  463. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/json.go +47 -0
  464. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +129 -0
  465. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/massinsert.go +164 -0
  466. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/queryhelper.go +137 -0
  467. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/reflectscan.go +30 -0
  468. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/transaction.go +180 -0
  469. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgrades.go +250 -0
  470. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +331 -0
  471. slidge_whatsapp/vendor/go.mau.fi/util/exerrors/dualerror.go +33 -0
  472. slidge_whatsapp/vendor/go.mau.fi/util/exerrors/must.go +23 -0
  473. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/cors.go +32 -0
  474. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/handleerrors.go +64 -0
  475. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +41 -0
  476. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/middleware.go +30 -0
  477. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/networkerror.go +37 -0
  478. slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +88 -0
  479. slidge_whatsapp/vendor/go.mau.fi/util/exsync/returnonce.go +25 -0
  480. slidge_whatsapp/vendor/go.mau.fi/util/exsync/ringbuffer.go +139 -0
  481. slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +94 -0
  482. slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +136 -0
  483. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/callermarshal.go +28 -0
  484. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/defaults.go +32 -0
  485. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/generics.go +45 -0
  486. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/writer.go +81 -0
  487. slidge_whatsapp/vendor/go.mau.fi/util/fallocate/doc.go +9 -0
  488. slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_darwin.go +29 -0
  489. slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_linux.go +24 -0
  490. slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_unknown.go +17 -0
  491. slidge_whatsapp/vendor/go.mau.fi/util/jsontime/duration.go +155 -0
  492. slidge_whatsapp/vendor/go.mau.fi/util/jsontime/helpers.go +59 -0
  493. slidge_whatsapp/vendor/go.mau.fi/util/jsontime/integer.go +170 -0
  494. slidge_whatsapp/vendor/go.mau.fi/util/jsontime/string.go +95 -0
  495. slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
  496. slidge_whatsapp/vendor/go.mau.fi/util/random/bytes.go +21 -0
  497. slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +87 -0
  498. slidge_whatsapp/vendor/go.mau.fi/util/retryafter/retryafter.go +53 -0
  499. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.editorconfig +13 -0
  500. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.gitattributes +3 -0
  501. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.pre-commit-config.yaml +31 -0
  502. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/LICENSE +374 -0
  503. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/README.md +35 -0
  504. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +312 -0
  505. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +323 -0
  506. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/errors.go +19 -0
  507. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +97 -0
  508. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +138 -0
  509. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/lthash/lthash.go +58 -0
  510. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +409 -0
  511. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +100 -0
  512. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/attrs.go +218 -0
  513. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/decoder.go +406 -0
  514. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +308 -0
  515. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/errors.go +12 -0
  516. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/node.go +139 -0
  517. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/token/token.go +94 -0
  518. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/unpack.go +31 -0
  519. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/xml.go +108 -0
  520. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +143 -0
  521. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +112 -0
  522. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +896 -0
  523. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +212 -0
  524. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +227 -0
  525. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +394 -0
  526. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +261 -0
  527. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +960 -0
  528. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/handshake.go +165 -0
  529. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +680 -0
  530. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +84 -0
  531. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +98 -0
  532. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +185 -0
  533. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +842 -0
  534. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +374 -0
  535. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/newsletter.go +376 -0
  536. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +452 -0
  537. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +245 -0
  538. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +272 -0
  539. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +255 -0
  540. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +139 -0
  541. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +170 -0
  542. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/.gitignore +1 -0
  543. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go +32 -0
  544. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +36 -0
  545. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go +515 -0
  546. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto +43 -0
  547. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +2982 -0
  548. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +258 -0
  549. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/extra.go +3 -0
  550. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +1017 -0
  551. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +140 -0
  552. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +412 -0
  553. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto +34 -0
  554. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +138 -0
  555. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto +10 -0
  556. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +769 -0
  557. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +67 -0
  558. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go +11 -0
  559. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.pb.go +978 -0
  560. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.proto +100 -0
  561. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +2817 -0
  562. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto +233 -0
  563. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/extra.go +82 -0
  564. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +247 -0
  565. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +18 -0
  566. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +26597 -0
  567. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +2550 -0
  568. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go +31 -0
  569. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +2368 -0
  570. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +231 -0
  571. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go +11 -0
  572. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go +2130 -0
  573. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +191 -0
  574. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +272 -0
  575. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +21 -0
  576. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +1156 -0
  577. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +96 -0
  578. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go +41 -0
  579. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +859 -0
  580. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto +75 -0
  581. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +19 -0
  582. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +732 -0
  583. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto +57 -0
  584. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go +3 -0
  585. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +857 -0
  586. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto +72 -0
  587. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go +31 -0
  588. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +5344 -0
  589. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +493 -0
  590. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +428 -0
  591. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto +33 -0
  592. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +852 -0
  593. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto +72 -0
  594. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +2325 -0
  595. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +253 -0
  596. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +4441 -0
  597. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +579 -0
  598. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go +1 -0
  599. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/push.go +110 -0
  600. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/qrchan.go +180 -0
  601. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +248 -0
  602. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +225 -0
  603. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +450 -0
  604. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +1299 -0
  605. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +657 -0
  606. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/constants.go +43 -0
  607. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/framesocket.go +235 -0
  608. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go +124 -0
  609. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go +108 -0
  610. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +187 -0
  611. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +256 -0
  612. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +182 -0
  613. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +288 -0
  614. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
  615. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +897 -0
  616. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +153 -0
  617. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/03-message-secrets.sql +11 -0
  618. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/04-privacy-tokens.sql +8 -0
  619. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/05-account-jid-format.sql +2 -0
  620. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/06-facebook-uuid.sql +2 -0
  621. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/07-account-lid.sql +2 -0
  622. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/08-lid-mapping.sql +5 -0
  623. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/09-decryption-buffer.sql +10 -0
  624. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/upgrades.go +22 -0
  625. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +243 -0
  626. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
  627. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +21 -0
  628. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/appstate.go +185 -0
  629. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/call.go +77 -0
  630. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +608 -0
  631. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +164 -0
  632. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +262 -0
  633. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +115 -0
  634. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/newsletter.go +201 -0
  635. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/presence.go +78 -0
  636. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +195 -0
  637. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +64 -0
  638. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +251 -0
  639. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +880 -0
  640. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/cbcutil/cbc.go +217 -0
  641. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go +41 -0
  642. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/hkdfutil/hkdf.go +28 -0
  643. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go +68 -0
  644. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/log.go +83 -0
  645. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/zerolog.go +38 -0
  646. slidge_whatsapp/vendor/golang.org/x/crypto/LICENSE +27 -0
  647. slidge_whatsapp/vendor/golang.org/x/crypto/PATENTS +22 -0
  648. slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +90 -0
  649. slidge_whatsapp/vendor/golang.org/x/crypto/hkdf/hkdf.go +95 -0
  650. slidge_whatsapp/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go +77 -0
  651. slidge_whatsapp/vendor/golang.org/x/exp/LICENSE +27 -0
  652. slidge_whatsapp/vendor/golang.org/x/exp/PATENTS +22 -0
  653. slidge_whatsapp/vendor/golang.org/x/exp/constraints/constraints.go +54 -0
  654. slidge_whatsapp/vendor/golang.org/x/image/LICENSE +27 -0
  655. slidge_whatsapp/vendor/golang.org/x/image/PATENTS +22 -0
  656. slidge_whatsapp/vendor/golang.org/x/image/draw/draw.go +67 -0
  657. slidge_whatsapp/vendor/golang.org/x/image/draw/impl.go +8426 -0
  658. slidge_whatsapp/vendor/golang.org/x/image/draw/scale.go +525 -0
  659. slidge_whatsapp/vendor/golang.org/x/image/math/f64/f64.go +37 -0
  660. slidge_whatsapp/vendor/golang.org/x/image/riff/riff.go +193 -0
  661. slidge_whatsapp/vendor/golang.org/x/image/vp8/decode.go +403 -0
  662. slidge_whatsapp/vendor/golang.org/x/image/vp8/filter.go +273 -0
  663. slidge_whatsapp/vendor/golang.org/x/image/vp8/idct.go +98 -0
  664. slidge_whatsapp/vendor/golang.org/x/image/vp8/partition.go +129 -0
  665. slidge_whatsapp/vendor/golang.org/x/image/vp8/pred.go +201 -0
  666. slidge_whatsapp/vendor/golang.org/x/image/vp8/predfunc.go +553 -0
  667. slidge_whatsapp/vendor/golang.org/x/image/vp8/quant.go +98 -0
  668. slidge_whatsapp/vendor/golang.org/x/image/vp8/reconstruct.go +442 -0
  669. slidge_whatsapp/vendor/golang.org/x/image/vp8/token.go +381 -0
  670. slidge_whatsapp/vendor/golang.org/x/image/vp8l/decode.go +603 -0
  671. slidge_whatsapp/vendor/golang.org/x/image/vp8l/huffman.go +245 -0
  672. slidge_whatsapp/vendor/golang.org/x/image/vp8l/transform.go +299 -0
  673. slidge_whatsapp/vendor/golang.org/x/image/webp/decode.go +276 -0
  674. slidge_whatsapp/vendor/golang.org/x/image/webp/doc.go +9 -0
  675. slidge_whatsapp/vendor/golang.org/x/net/LICENSE +27 -0
  676. slidge_whatsapp/vendor/golang.org/x/net/PATENTS +22 -0
  677. slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/guts.go +50 -0
  678. slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/httplex.go +347 -0
  679. slidge_whatsapp/vendor/golang.org/x/net/http2/.gitignore +2 -0
  680. slidge_whatsapp/vendor/golang.org/x/net/http2/ascii.go +53 -0
  681. slidge_whatsapp/vendor/golang.org/x/net/http2/ciphers.go +641 -0
  682. slidge_whatsapp/vendor/golang.org/x/net/http2/client_conn_pool.go +311 -0
  683. slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +122 -0
  684. slidge_whatsapp/vendor/golang.org/x/net/http2/config_go124.go +61 -0
  685. slidge_whatsapp/vendor/golang.org/x/net/http2/config_pre_go124.go +16 -0
  686. slidge_whatsapp/vendor/golang.org/x/net/http2/databuffer.go +149 -0
  687. slidge_whatsapp/vendor/golang.org/x/net/http2/errors.go +145 -0
  688. slidge_whatsapp/vendor/golang.org/x/net/http2/flow.go +120 -0
  689. slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +1702 -0
  690. slidge_whatsapp/vendor/golang.org/x/net/http2/gotrack.go +170 -0
  691. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/encode.go +245 -0
  692. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/hpack.go +523 -0
  693. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/huffman.go +226 -0
  694. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/static_table.go +188 -0
  695. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/tables.go +403 -0
  696. slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +432 -0
  697. slidge_whatsapp/vendor/golang.org/x/net/http2/pipe.go +184 -0
  698. slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +3350 -0
  699. slidge_whatsapp/vendor/golang.org/x/net/http2/timer.go +20 -0
  700. slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +3287 -0
  701. slidge_whatsapp/vendor/golang.org/x/net/http2/unencrypted.go +32 -0
  702. slidge_whatsapp/vendor/golang.org/x/net/http2/write.go +381 -0
  703. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +251 -0
  704. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority.go +451 -0
  705. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_random.go +77 -0
  706. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +119 -0
  707. slidge_whatsapp/vendor/golang.org/x/net/idna/go118.go +13 -0
  708. slidge_whatsapp/vendor/golang.org/x/net/idna/idna10.0.0.go +769 -0
  709. slidge_whatsapp/vendor/golang.org/x/net/idna/idna9.0.0.go +717 -0
  710. slidge_whatsapp/vendor/golang.org/x/net/idna/pre_go118.go +11 -0
  711. slidge_whatsapp/vendor/golang.org/x/net/idna/punycode.go +217 -0
  712. slidge_whatsapp/vendor/golang.org/x/net/idna/tables10.0.0.go +4559 -0
  713. slidge_whatsapp/vendor/golang.org/x/net/idna/tables11.0.0.go +4653 -0
  714. slidge_whatsapp/vendor/golang.org/x/net/idna/tables12.0.0.go +4733 -0
  715. slidge_whatsapp/vendor/golang.org/x/net/idna/tables13.0.0.go +4959 -0
  716. slidge_whatsapp/vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0
  717. slidge_whatsapp/vendor/golang.org/x/net/idna/tables9.0.0.go +4486 -0
  718. slidge_whatsapp/vendor/golang.org/x/net/idna/trie.go +51 -0
  719. slidge_whatsapp/vendor/golang.org/x/net/idna/trie12.0.0.go +30 -0
  720. slidge_whatsapp/vendor/golang.org/x/net/idna/trie13.0.0.go +30 -0
  721. slidge_whatsapp/vendor/golang.org/x/net/idna/trieval.go +119 -0
  722. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/ascii.go +53 -0
  723. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/headermap.go +115 -0
  724. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +467 -0
  725. slidge_whatsapp/vendor/golang.org/x/net/internal/socks/client.go +168 -0
  726. slidge_whatsapp/vendor/golang.org/x/net/internal/socks/socks.go +317 -0
  727. slidge_whatsapp/vendor/golang.org/x/net/proxy/dial.go +54 -0
  728. slidge_whatsapp/vendor/golang.org/x/net/proxy/direct.go +31 -0
  729. slidge_whatsapp/vendor/golang.org/x/net/proxy/per_host.go +153 -0
  730. slidge_whatsapp/vendor/golang.org/x/net/proxy/proxy.go +149 -0
  731. slidge_whatsapp/vendor/golang.org/x/net/proxy/socks5.go +42 -0
  732. slidge_whatsapp/vendor/golang.org/x/sys/LICENSE +27 -0
  733. slidge_whatsapp/vendor/golang.org/x/sys/PATENTS +22 -0
  734. slidge_whatsapp/vendor/golang.org/x/sys/unix/.gitignore +2 -0
  735. slidge_whatsapp/vendor/golang.org/x/sys/unix/README.md +184 -0
  736. slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +86 -0
  737. slidge_whatsapp/vendor/golang.org/x/sys/unix/aliases.go +13 -0
  738. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +17 -0
  739. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_386.s +27 -0
  740. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +27 -0
  741. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm.s +27 -0
  742. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +27 -0
  743. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +29 -0
  744. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +27 -0
  745. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_386.s +65 -0
  746. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_amd64.s +57 -0
  747. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm.s +56 -0
  748. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm64.s +50 -0
  749. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +51 -0
  750. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +54 -0
  751. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +52 -0
  752. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +42 -0
  753. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +47 -0
  754. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_s390x.s +54 -0
  755. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +29 -0
  756. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +17 -0
  757. slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_zos_s390x.s +382 -0
  758. slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv.go +36 -0
  759. slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv_unsupported.go +13 -0
  760. slidge_whatsapp/vendor/golang.org/x/sys/unix/bluetooth_linux.go +36 -0
  761. slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.go +657 -0
  762. slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.s +192 -0
  763. slidge_whatsapp/vendor/golang.org/x/sys/unix/cap_freebsd.go +195 -0
  764. slidge_whatsapp/vendor/golang.org/x/sys/unix/constants.go +13 -0
  765. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc.go +26 -0
  766. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +28 -0
  767. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_darwin.go +24 -0
  768. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_dragonfly.go +30 -0
  769. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_freebsd.go +30 -0
  770. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_linux.go +42 -0
  771. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_netbsd.go +29 -0
  772. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_openbsd.go +29 -0
  773. slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_zos.go +28 -0
  774. slidge_whatsapp/vendor/golang.org/x/sys/unix/dirent.go +102 -0
  775. slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_big.go +9 -0
  776. slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_little.go +9 -0
  777. slidge_whatsapp/vendor/golang.org/x/sys/unix/env_unix.go +31 -0
  778. slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl.go +36 -0
  779. slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_darwin.go +24 -0
  780. slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +13 -0
  781. slidge_whatsapp/vendor/golang.org/x/sys/unix/fdset.go +29 -0
  782. slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo.go +59 -0
  783. slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_c.c +44 -0
  784. slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +20 -0
  785. slidge_whatsapp/vendor/golang.org/x/sys/unix/ifreq_linux.go +141 -0
  786. slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_linux.go +334 -0
  787. slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_signed.go +69 -0
  788. slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_unsigned.go +69 -0
  789. slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_zos.go +71 -0
  790. slidge_whatsapp/vendor/golang.org/x/sys/unix/mkall.sh +249 -0
  791. slidge_whatsapp/vendor/golang.org/x/sys/unix/mkerrors.sh +805 -0
  792. slidge_whatsapp/vendor/golang.org/x/sys/unix/mmap_nomremap.go +13 -0
  793. slidge_whatsapp/vendor/golang.org/x/sys/unix/mremap.go +57 -0
  794. slidge_whatsapp/vendor/golang.org/x/sys/unix/pagesize_unix.go +15 -0
  795. slidge_whatsapp/vendor/golang.org/x/sys/unix/pledge_openbsd.go +111 -0
  796. slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_darwin.go +11 -0
  797. slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_ios.go +11 -0
  798. slidge_whatsapp/vendor/golang.org/x/sys/unix/race.go +30 -0
  799. slidge_whatsapp/vendor/golang.org/x/sys/unix/race0.go +25 -0
  800. slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdents.go +12 -0
  801. slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +19 -0
  802. slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +16 -0
  803. slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_linux.go +85 -0
  804. slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +106 -0
  805. slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +46 -0
  806. slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_zos.go +58 -0
  807. slidge_whatsapp/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +75 -0
  808. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall.go +86 -0
  809. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix.go +582 -0
  810. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +52 -0
  811. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +83 -0
  812. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_bsd.go +609 -0
  813. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +854 -0
  814. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +50 -0
  815. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +50 -0
  816. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +26 -0
  817. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +359 -0
  818. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +56 -0
  819. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd.go +455 -0
  820. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +64 -0
  821. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +64 -0
  822. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +60 -0
  823. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +60 -0
  824. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +60 -0
  825. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd.go +30 -0
  826. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd_386.go +28 -0
  827. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_illumos.go +78 -0
  828. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +2647 -0
  829. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_386.go +314 -0
  830. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +12 -0
  831. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +145 -0
  832. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +12 -0
  833. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +216 -0
  834. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +186 -0
  835. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc.go +14 -0
  836. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +16 -0
  837. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +13 -0
  838. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +30 -0
  839. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +20 -0
  840. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +218 -0
  841. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +188 -0
  842. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +174 -0
  843. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +204 -0
  844. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +115 -0
  845. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +191 -0
  846. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +296 -0
  847. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +112 -0
  848. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd.go +371 -0
  849. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +37 -0
  850. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +37 -0
  851. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +37 -0
  852. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +37 -0
  853. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd.go +342 -0
  854. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +41 -0
  855. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +41 -0
  856. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +41 -0
  857. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +41 -0
  858. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +26 -0
  859. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +39 -0
  860. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +41 -0
  861. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +41 -0
  862. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris.go +1191 -0
  863. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +27 -0
  864. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix.go +615 -0
  865. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +14 -0
  866. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +22 -0
  867. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +3213 -0
  868. slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_linux.go +20 -0
  869. slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix.go +51 -0
  870. slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +13 -0
  871. slidge_whatsapp/vendor/golang.org/x/sys/unix/timestruct.go +76 -0
  872. slidge_whatsapp/vendor/golang.org/x/sys/unix/unveil_openbsd.go +51 -0
  873. slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_linux.go +13 -0
  874. slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +11 -0
  875. slidge_whatsapp/vendor/golang.org/x/sys/unix/xattr_bsd.go +280 -0
  876. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +1384 -0
  877. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +1385 -0
  878. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +1922 -0
  879. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +1922 -0
  880. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +1737 -0
  881. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +2042 -0
  882. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +2039 -0
  883. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +2033 -0
  884. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +2033 -0
  885. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +2147 -0
  886. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux.go +3752 -0
  887. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +873 -0
  888. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +873 -0
  889. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +878 -0
  890. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +875 -0
  891. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +865 -0
  892. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +879 -0
  893. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +879 -0
  894. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +879 -0
  895. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +879 -0
  896. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +931 -0
  897. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +935 -0
  898. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +935 -0
  899. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +862 -0
  900. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +934 -0
  901. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +977 -0
  902. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +1779 -0
  903. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +1769 -0
  904. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +1758 -0
  905. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +1769 -0
  906. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +1905 -0
  907. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +1905 -0
  908. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +1905 -0
  909. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +1905 -0
  910. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +1905 -0
  911. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +1904 -0
  912. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +1903 -0
  913. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +1556 -0
  914. slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +990 -0
  915. slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +40 -0
  916. slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +17 -0
  917. slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +49 -0
  918. slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +49 -0
  919. slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +79 -0
  920. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +364 -0
  921. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +1461 -0
  922. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +1420 -0
  923. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +1188 -0
  924. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +1069 -0
  925. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +2728 -0
  926. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +799 -0
  927. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +2728 -0
  928. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +799 -0
  929. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +1666 -0
  930. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +1886 -0
  931. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +1886 -0
  932. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +1886 -0
  933. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +1886 -0
  934. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +1886 -0
  935. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +101 -0
  936. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux.go +2240 -0
  937. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +486 -0
  938. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +653 -0
  939. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +601 -0
  940. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +552 -0
  941. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +486 -0
  942. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +653 -0
  943. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +647 -0
  944. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +636 -0
  945. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +653 -0
  946. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +658 -0
  947. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +704 -0
  948. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +704 -0
  949. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +548 -0
  950. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +495 -0
  951. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +648 -0
  952. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +1848 -0
  953. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +1848 -0
  954. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +1848 -0
  955. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +1848 -0
  956. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +2323 -0
  957. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +699 -0
  958. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +2323 -0
  959. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +699 -0
  960. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +2323 -0
  961. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +699 -0
  962. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +2323 -0
  963. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +699 -0
  964. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +2323 -0
  965. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +699 -0
  966. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +2323 -0
  967. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +838 -0
  968. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +2323 -0
  969. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +699 -0
  970. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +2217 -0
  971. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +3458 -0
  972. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +280 -0
  973. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +280 -0
  974. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +280 -0
  975. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +280 -0
  976. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +280 -0
  977. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +280 -0
  978. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +281 -0
  979. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +439 -0
  980. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +437 -0
  981. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +316 -0
  982. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +393 -0
  983. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +393 -0
  984. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +393 -0
  985. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +393 -0
  986. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +393 -0
  987. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +465 -0
  988. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +388 -0
  989. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +429 -0
  990. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +332 -0
  991. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +328 -0
  992. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +449 -0
  993. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +379 -0
  994. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +379 -0
  995. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +449 -0
  996. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +456 -0
  997. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +428 -0
  998. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +428 -0
  999. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +333 -0
  1000. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +394 -0
  1001. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +407 -0
  1002. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +274 -0
  1003. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +274 -0
  1004. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +274 -0
  1005. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +274 -0
  1006. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +219 -0
  1007. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +219 -0
  1008. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +219 -0
  1009. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +218 -0
  1010. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +221 -0
  1011. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +217 -0
  1012. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +218 -0
  1013. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +2852 -0
  1014. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +353 -0
  1015. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +357 -0
  1016. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +878 -0
  1017. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +878 -0
  1018. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +473 -0
  1019. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +651 -0
  1020. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +656 -0
  1021. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +642 -0
  1022. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +636 -0
  1023. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +638 -0
  1024. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux.go +6178 -0
  1025. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +689 -0
  1026. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +703 -0
  1027. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +683 -0
  1028. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +682 -0
  1029. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +683 -0
  1030. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +688 -0
  1031. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +685 -0
  1032. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +685 -0
  1033. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +688 -0
  1034. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +696 -0
  1035. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +691 -0
  1036. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +691 -0
  1037. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +770 -0
  1038. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +705 -0
  1039. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +686 -0
  1040. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +585 -0
  1041. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +593 -0
  1042. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +590 -0
  1043. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +593 -0
  1044. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +568 -0
  1045. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +568 -0
  1046. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +575 -0
  1047. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +568 -0
  1048. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +568 -0
  1049. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +570 -0
  1050. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +570 -0
  1051. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +516 -0
  1052. slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +552 -0
  1053. slidge_whatsapp/vendor/golang.org/x/sys/windows/aliases.go +12 -0
  1054. slidge_whatsapp/vendor/golang.org/x/sys/windows/dll_windows.go +415 -0
  1055. slidge_whatsapp/vendor/golang.org/x/sys/windows/env_windows.go +57 -0
  1056. slidge_whatsapp/vendor/golang.org/x/sys/windows/eventlog.go +20 -0
  1057. slidge_whatsapp/vendor/golang.org/x/sys/windows/exec_windows.go +248 -0
  1058. slidge_whatsapp/vendor/golang.org/x/sys/windows/memory_windows.go +48 -0
  1059. slidge_whatsapp/vendor/golang.org/x/sys/windows/mkerrors.bash +70 -0
  1060. slidge_whatsapp/vendor/golang.org/x/sys/windows/mkknownfolderids.bash +27 -0
  1061. slidge_whatsapp/vendor/golang.org/x/sys/windows/mksyscall.go +9 -0
  1062. slidge_whatsapp/vendor/golang.org/x/sys/windows/race.go +30 -0
  1063. slidge_whatsapp/vendor/golang.org/x/sys/windows/race0.go +25 -0
  1064. slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +1497 -0
  1065. slidge_whatsapp/vendor/golang.org/x/sys/windows/service.go +257 -0
  1066. slidge_whatsapp/vendor/golang.org/x/sys/windows/setupapi_windows.go +1425 -0
  1067. slidge_whatsapp/vendor/golang.org/x/sys/windows/str.go +22 -0
  1068. slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall.go +104 -0
  1069. slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +1934 -0
  1070. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +3842 -0
  1071. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_386.go +35 -0
  1072. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_amd64.go +34 -0
  1073. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm.go +35 -0
  1074. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm64.go +34 -0
  1075. slidge_whatsapp/vendor/golang.org/x/sys/windows/zerrors_windows.go +9468 -0
  1076. slidge_whatsapp/vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +149 -0
  1077. slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +4695 -0
  1078. slidge_whatsapp/vendor/golang.org/x/text/LICENSE +27 -0
  1079. slidge_whatsapp/vendor/golang.org/x/text/PATENTS +22 -0
  1080. slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule.go +336 -0
  1081. slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go +11 -0
  1082. slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go +14 -0
  1083. slidge_whatsapp/vendor/golang.org/x/text/transform/transform.go +709 -0
  1084. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0
  1085. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
  1086. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +1071 -0
  1087. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
  1088. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go +1815 -0
  1089. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables11.0.0.go +1887 -0
  1090. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go +1923 -0
  1091. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go +1955 -0
  1092. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0
  1093. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go +1781 -0
  1094. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0
  1095. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/composition.go +512 -0
  1096. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/forminfo.go +279 -0
  1097. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
  1098. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/iter.go +458 -0
  1099. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0
  1100. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
  1101. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go +7657 -0
  1102. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go +7693 -0
  1103. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go +7710 -0
  1104. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go +7760 -0
  1105. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0
  1106. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go +7637 -0
  1107. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
  1108. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
  1109. slidge_whatsapp/vendor/google.golang.org/protobuf/LICENSE +27 -0
  1110. slidge_whatsapp/vendor/google.golang.org/protobuf/PATENTS +22 -0
  1111. slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +767 -0
  1112. slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/doc.go +7 -0
  1113. slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +380 -0
  1114. slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +547 -0
  1115. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go +414 -0
  1116. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descopts/options.go +29 -0
  1117. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/detrand/rand.go +69 -0
  1118. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.go +12 -0
  1119. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
  1120. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/defval/default.go +213 -0
  1121. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/messageset/messageset.go +242 -0
  1122. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +201 -0
  1123. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +686 -0
  1124. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_number.go +211 -0
  1125. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_string.go +161 -0
  1126. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_token.go +373 -0
  1127. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/doc.go +29 -0
  1128. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go +272 -0
  1129. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/errors/errors.go +104 -0
  1130. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/build.go +157 -0
  1131. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +748 -0
  1132. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +560 -0
  1133. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +694 -0
  1134. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list.go +457 -0
  1135. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go +367 -0
  1136. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +167 -0
  1137. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go +110 -0
  1138. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filetype/build.go +296 -0
  1139. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/flags.go +24 -0
  1140. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go +10 -0
  1141. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go +10 -0
  1142. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/any_gen.go +34 -0
  1143. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/api_gen.go +106 -0
  1144. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +1286 -0
  1145. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/doc.go +11 -0
  1146. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/duration_gen.go +34 -0
  1147. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go +19 -0
  1148. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go +31 -0
  1149. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go +70 -0
  1150. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/goname.go +20 -0
  1151. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/map_entry.go +16 -0
  1152. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/name.go +12 -0
  1153. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/source_context_gen.go +31 -0
  1154. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/struct_gen.go +121 -0
  1155. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go +34 -0
  1156. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/type_gen.go +228 -0
  1157. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers.go +13 -0
  1158. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.go +175 -0
  1159. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export.go +177 -0
  1160. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export_opaque.go +128 -0
  1161. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap.go +34 -0
  1162. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap_race.go +126 -0
  1163. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/checkinit.go +174 -0
  1164. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go +228 -0
  1165. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +788 -0
  1166. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field_opaque.go +264 -0
  1167. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go +5724 -0
  1168. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +399 -0
  1169. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message.go +230 -0
  1170. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go +153 -0
  1171. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go +145 -0
  1172. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_tables.go +557 -0
  1173. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go +15 -0
  1174. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert.go +495 -0
  1175. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_list.go +141 -0
  1176. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +121 -0
  1177. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/decode.go +333 -0
  1178. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/encode.go +315 -0
  1179. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/enum.go +21 -0
  1180. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/equal.go +224 -0
  1181. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/extension.go +156 -0
  1182. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/lazy.go +433 -0
  1183. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go +219 -0
  1184. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_export.go +92 -0
  1185. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go +177 -0
  1186. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go +81 -0
  1187. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +569 -0
  1188. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge.go +203 -0
  1189. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go +209 -0
  1190. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message.go +283 -0
  1191. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go +627 -0
  1192. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque_gen.go +132 -0
  1193. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +462 -0
  1194. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go +423 -0
  1195. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field_gen.go +273 -0
  1196. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go +271 -0
  1197. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +220 -0
  1198. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe_opaque.go +42 -0
  1199. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/presence.go +142 -0
  1200. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/validate.go +570 -0
  1201. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/order.go +89 -0
  1202. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/range.go +115 -0
  1203. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/pragma/pragma.go +29 -0
  1204. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/bufferreader.go +364 -0
  1205. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/lazy.go +359 -0
  1206. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/pointer_unsafe.go +17 -0
  1207. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/set/ints.go +58 -0
  1208. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings.go +196 -0
  1209. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go +71 -0
  1210. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +79 -0
  1211. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/checkinit.go +71 -0
  1212. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode.go +307 -0
  1213. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode_gen.go +603 -0
  1214. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/doc.go +86 -0
  1215. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode.go +355 -0
  1216. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode_gen.go +97 -0
  1217. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/equal.go +66 -0
  1218. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/extension.go +166 -0
  1219. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +145 -0
  1220. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/messageset.go +98 -0
  1221. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto.go +45 -0
  1222. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_methods.go +20 -0
  1223. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_reflect.go +20 -0
  1224. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/reset.go +43 -0
  1225. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size.go +111 -0
  1226. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size_gen.go +55 -0
  1227. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrapperopaque.go +80 -0
  1228. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrappers.go +29 -0
  1229. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go +88 -0
  1230. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go +513 -0
  1231. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go +129 -0
  1232. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +575 -0
  1233. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +666 -0
  1234. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go +285 -0
  1235. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go +168 -0
  1236. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +438 -0
  1237. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go +84 -0
  1238. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go +882 -0
  1239. slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go +15 -0
  1240. slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go +202 -0
  1241. slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go +48 -0
  1242. slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go +60 -0
  1243. slidge_whatsapp/vendor/modules.txt +198 -0
  1244. slidge_whatsapp-0.2.6.dist-info/METADATA +63 -0
  1245. slidge_whatsapp-0.2.6.dist-info/RECORD +1253 -0
  1246. {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.6.dist-info}/WHEEL +1 -1
  1247. slidge_whatsapp-0.2.2.dist-info/METADATA +0 -744
  1248. slidge_whatsapp-0.2.2.dist-info/RECORD +0 -31
  1249. {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.6.dist-info}/LICENSE +0 -0
  1250. {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.6.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,3458 @@
1
+ // go run mksyscall_zos_s390x.go -o_sysnum zsysnum_zos_s390x.go -o_syscall zsyscall_zos_s390x.go -i_syscall syscall_zos_s390x.go -o_asm zsymaddr_zos_s390x.s
2
+ // Code generated by the command above; see README.md. DO NOT EDIT.
3
+
4
+ //go:build zos && s390x
5
+
6
+ package unix
7
+
8
+ import (
9
+ "runtime"
10
+ "syscall"
11
+ "unsafe"
12
+ )
13
+
14
+ var _ syscall.Errno
15
+
16
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
17
+
18
+ func fcntl(fd int, cmd int, arg int) (val int, err error) {
19
+ runtime.EnterSyscall()
20
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FCNTL<<4, uintptr(fd), uintptr(cmd), uintptr(arg))
21
+ runtime.ExitSyscall()
22
+ val = int(r0)
23
+ if int64(r0) == -1 {
24
+ err = errnoErr2(e1, e2)
25
+ }
26
+ return
27
+ }
28
+
29
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
30
+
31
+ func impl_Flistxattr(fd int, dest []byte) (sz int, err error) {
32
+ var _p0 unsafe.Pointer
33
+ if len(dest) > 0 {
34
+ _p0 = unsafe.Pointer(&dest[0])
35
+ } else {
36
+ _p0 = unsafe.Pointer(&_zero)
37
+ }
38
+ runtime.EnterSyscall()
39
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FLISTXATTR_A<<4, uintptr(fd), uintptr(_p0), uintptr(len(dest)))
40
+ runtime.ExitSyscall()
41
+ sz = int(r0)
42
+ if int64(r0) == -1 {
43
+ err = errnoErr2(e1, e2)
44
+ }
45
+ return
46
+ }
47
+
48
+ //go:nosplit
49
+ func get_FlistxattrAddr() *(func(fd int, dest []byte) (sz int, err error))
50
+
51
+ var Flistxattr = enter_Flistxattr
52
+
53
+ func enter_Flistxattr(fd int, dest []byte) (sz int, err error) {
54
+ funcref := get_FlistxattrAddr()
55
+ if funcptrtest(GetZosLibVec()+SYS___FLISTXATTR_A<<4, "") == 0 {
56
+ *funcref = impl_Flistxattr
57
+ } else {
58
+ *funcref = error_Flistxattr
59
+ }
60
+ return (*funcref)(fd, dest)
61
+ }
62
+
63
+ func error_Flistxattr(fd int, dest []byte) (sz int, err error) {
64
+ sz = -1
65
+ err = ENOSYS
66
+ return
67
+ }
68
+
69
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70
+
71
+ func impl_Fremovexattr(fd int, attr string) (err error) {
72
+ var _p0 *byte
73
+ _p0, err = BytePtrFromString(attr)
74
+ if err != nil {
75
+ return
76
+ }
77
+ runtime.EnterSyscall()
78
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FREMOVEXATTR_A<<4, uintptr(fd), uintptr(unsafe.Pointer(_p0)))
79
+ runtime.ExitSyscall()
80
+ if int64(r0) == -1 {
81
+ err = errnoErr2(e1, e2)
82
+ }
83
+ return
84
+ }
85
+
86
+ //go:nosplit
87
+ func get_FremovexattrAddr() *(func(fd int, attr string) (err error))
88
+
89
+ var Fremovexattr = enter_Fremovexattr
90
+
91
+ func enter_Fremovexattr(fd int, attr string) (err error) {
92
+ funcref := get_FremovexattrAddr()
93
+ if funcptrtest(GetZosLibVec()+SYS___FREMOVEXATTR_A<<4, "") == 0 {
94
+ *funcref = impl_Fremovexattr
95
+ } else {
96
+ *funcref = error_Fremovexattr
97
+ }
98
+ return (*funcref)(fd, attr)
99
+ }
100
+
101
+ func error_Fremovexattr(fd int, attr string) (err error) {
102
+ err = ENOSYS
103
+ return
104
+ }
105
+
106
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107
+
108
+ func read(fd int, p []byte) (n int, err error) {
109
+ var _p0 unsafe.Pointer
110
+ if len(p) > 0 {
111
+ _p0 = unsafe.Pointer(&p[0])
112
+ } else {
113
+ _p0 = unsafe.Pointer(&_zero)
114
+ }
115
+ runtime.EnterSyscall()
116
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_READ<<4, uintptr(fd), uintptr(_p0), uintptr(len(p)))
117
+ runtime.ExitSyscall()
118
+ n = int(r0)
119
+ if int64(r0) == -1 {
120
+ err = errnoErr2(e1, e2)
121
+ }
122
+ return
123
+ }
124
+
125
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
126
+
127
+ func write(fd int, p []byte) (n int, err error) {
128
+ var _p0 unsafe.Pointer
129
+ if len(p) > 0 {
130
+ _p0 = unsafe.Pointer(&p[0])
131
+ } else {
132
+ _p0 = unsafe.Pointer(&_zero)
133
+ }
134
+ runtime.EnterSyscall()
135
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_WRITE<<4, uintptr(fd), uintptr(_p0), uintptr(len(p)))
136
+ runtime.ExitSyscall()
137
+ n = int(r0)
138
+ if int64(r0) == -1 {
139
+ err = errnoErr2(e1, e2)
140
+ }
141
+ return
142
+ }
143
+
144
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
145
+
146
+ func impl_Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
147
+ var _p0 *byte
148
+ _p0, err = BytePtrFromString(attr)
149
+ if err != nil {
150
+ return
151
+ }
152
+ var _p1 unsafe.Pointer
153
+ if len(dest) > 0 {
154
+ _p1 = unsafe.Pointer(&dest[0])
155
+ } else {
156
+ _p1 = unsafe.Pointer(&_zero)
157
+ }
158
+ runtime.EnterSyscall()
159
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FGETXATTR_A<<4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
160
+ runtime.ExitSyscall()
161
+ sz = int(r0)
162
+ if int64(r0) == -1 {
163
+ err = errnoErr2(e1, e2)
164
+ }
165
+ return
166
+ }
167
+
168
+ //go:nosplit
169
+ func get_FgetxattrAddr() *(func(fd int, attr string, dest []byte) (sz int, err error))
170
+
171
+ var Fgetxattr = enter_Fgetxattr
172
+
173
+ func enter_Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
174
+ funcref := get_FgetxattrAddr()
175
+ if funcptrtest(GetZosLibVec()+SYS___FGETXATTR_A<<4, "") == 0 {
176
+ *funcref = impl_Fgetxattr
177
+ } else {
178
+ *funcref = error_Fgetxattr
179
+ }
180
+ return (*funcref)(fd, attr, dest)
181
+ }
182
+
183
+ func error_Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
184
+ sz = -1
185
+ err = ENOSYS
186
+ return
187
+ }
188
+
189
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
190
+
191
+ func impl_Fsetxattr(fd int, attr string, data []byte, flag int) (err error) {
192
+ var _p0 *byte
193
+ _p0, err = BytePtrFromString(attr)
194
+ if err != nil {
195
+ return
196
+ }
197
+ var _p1 unsafe.Pointer
198
+ if len(data) > 0 {
199
+ _p1 = unsafe.Pointer(&data[0])
200
+ } else {
201
+ _p1 = unsafe.Pointer(&_zero)
202
+ }
203
+ runtime.EnterSyscall()
204
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FSETXATTR_A<<4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(data)), uintptr(flag))
205
+ runtime.ExitSyscall()
206
+ if int64(r0) == -1 {
207
+ err = errnoErr2(e1, e2)
208
+ }
209
+ return
210
+ }
211
+
212
+ //go:nosplit
213
+ func get_FsetxattrAddr() *(func(fd int, attr string, data []byte, flag int) (err error))
214
+
215
+ var Fsetxattr = enter_Fsetxattr
216
+
217
+ func enter_Fsetxattr(fd int, attr string, data []byte, flag int) (err error) {
218
+ funcref := get_FsetxattrAddr()
219
+ if funcptrtest(GetZosLibVec()+SYS___FSETXATTR_A<<4, "") == 0 {
220
+ *funcref = impl_Fsetxattr
221
+ } else {
222
+ *funcref = error_Fsetxattr
223
+ }
224
+ return (*funcref)(fd, attr, data, flag)
225
+ }
226
+
227
+ func error_Fsetxattr(fd int, attr string, data []byte, flag int) (err error) {
228
+ err = ENOSYS
229
+ return
230
+ }
231
+
232
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
233
+
234
+ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
235
+ runtime.EnterSyscall()
236
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___ACCEPT_A<<4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
237
+ runtime.ExitSyscall()
238
+ fd = int(r0)
239
+ if int64(r0) == -1 {
240
+ err = errnoErr2(e1, e2)
241
+ }
242
+ return
243
+ }
244
+
245
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
246
+
247
+ func impl_accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
248
+ runtime.EnterSyscall()
249
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___ACCEPT4_A<<4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags))
250
+ runtime.ExitSyscall()
251
+ fd = int(r0)
252
+ if int64(r0) == -1 {
253
+ err = errnoErr2(e1, e2)
254
+ }
255
+ return
256
+ }
257
+
258
+ //go:nosplit
259
+ func get_accept4Addr() *(func(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error))
260
+
261
+ var accept4 = enter_accept4
262
+
263
+ func enter_accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
264
+ funcref := get_accept4Addr()
265
+ if funcptrtest(GetZosLibVec()+SYS___ACCEPT4_A<<4, "") == 0 {
266
+ *funcref = impl_accept4
267
+ } else {
268
+ *funcref = error_accept4
269
+ }
270
+ return (*funcref)(s, rsa, addrlen, flags)
271
+ }
272
+
273
+ func error_accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
274
+ fd = -1
275
+ err = ENOSYS
276
+ return
277
+ }
278
+
279
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
280
+
281
+ func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
282
+ runtime.EnterSyscall()
283
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___BIND_A<<4, uintptr(s), uintptr(addr), uintptr(addrlen))
284
+ runtime.ExitSyscall()
285
+ if int64(r0) == -1 {
286
+ err = errnoErr2(e1, e2)
287
+ }
288
+ return
289
+ }
290
+
291
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
292
+
293
+ func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
294
+ runtime.EnterSyscall()
295
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CONNECT_A<<4, uintptr(s), uintptr(addr), uintptr(addrlen))
296
+ runtime.ExitSyscall()
297
+ if int64(r0) == -1 {
298
+ err = errnoErr2(e1, e2)
299
+ }
300
+ return
301
+ }
302
+
303
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
304
+
305
+ func getgroups(n int, list *_Gid_t) (nn int, err error) {
306
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETGROUPS<<4, uintptr(n), uintptr(unsafe.Pointer(list)))
307
+ nn = int(r0)
308
+ if int64(r0) == -1 {
309
+ err = errnoErr2(e1, e2)
310
+ }
311
+ return
312
+ }
313
+
314
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
315
+
316
+ func setgroups(n int, list *_Gid_t) (err error) {
317
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETGROUPS<<4, uintptr(n), uintptr(unsafe.Pointer(list)))
318
+ if int64(r0) == -1 {
319
+ err = errnoErr2(e1, e2)
320
+ }
321
+ return
322
+ }
323
+
324
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
325
+
326
+ func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
327
+ runtime.EnterSyscall()
328
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETSOCKOPT<<4, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)))
329
+ runtime.ExitSyscall()
330
+ if int64(r0) == -1 {
331
+ err = errnoErr2(e1, e2)
332
+ }
333
+ return
334
+ }
335
+
336
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
337
+
338
+ func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
339
+ runtime.EnterSyscall()
340
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETSOCKOPT<<4, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen))
341
+ runtime.ExitSyscall()
342
+ if int64(r0) == -1 {
343
+ err = errnoErr2(e1, e2)
344
+ }
345
+ return
346
+ }
347
+
348
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
349
+
350
+ func socket(domain int, typ int, proto int) (fd int, err error) {
351
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SOCKET<<4, uintptr(domain), uintptr(typ), uintptr(proto))
352
+ fd = int(r0)
353
+ if int64(r0) == -1 {
354
+ err = errnoErr2(e1, e2)
355
+ }
356
+ return
357
+ }
358
+
359
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
360
+
361
+ func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
362
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SOCKETPAIR<<4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)))
363
+ if int64(r0) == -1 {
364
+ err = errnoErr2(e1, e2)
365
+ }
366
+ return
367
+ }
368
+
369
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
370
+
371
+ func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
372
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___GETPEERNAME_A<<4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
373
+ if int64(r0) == -1 {
374
+ err = errnoErr2(e1, e2)
375
+ }
376
+ return
377
+ }
378
+
379
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
380
+
381
+ func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
382
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___GETSOCKNAME_A<<4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
383
+ if int64(r0) == -1 {
384
+ err = errnoErr2(e1, e2)
385
+ }
386
+ return
387
+ }
388
+
389
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
390
+
391
+ func impl_Removexattr(path string, attr string) (err error) {
392
+ var _p0 *byte
393
+ _p0, err = BytePtrFromString(path)
394
+ if err != nil {
395
+ return
396
+ }
397
+ var _p1 *byte
398
+ _p1, err = BytePtrFromString(attr)
399
+ if err != nil {
400
+ return
401
+ }
402
+ runtime.EnterSyscall()
403
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___REMOVEXATTR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)))
404
+ runtime.ExitSyscall()
405
+ if int64(r0) == -1 {
406
+ err = errnoErr2(e1, e2)
407
+ }
408
+ return
409
+ }
410
+
411
+ //go:nosplit
412
+ func get_RemovexattrAddr() *(func(path string, attr string) (err error))
413
+
414
+ var Removexattr = enter_Removexattr
415
+
416
+ func enter_Removexattr(path string, attr string) (err error) {
417
+ funcref := get_RemovexattrAddr()
418
+ if funcptrtest(GetZosLibVec()+SYS___REMOVEXATTR_A<<4, "") == 0 {
419
+ *funcref = impl_Removexattr
420
+ } else {
421
+ *funcref = error_Removexattr
422
+ }
423
+ return (*funcref)(path, attr)
424
+ }
425
+
426
+ func error_Removexattr(path string, attr string) (err error) {
427
+ err = ENOSYS
428
+ return
429
+ }
430
+
431
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
432
+
433
+ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
434
+ var _p0 unsafe.Pointer
435
+ if len(p) > 0 {
436
+ _p0 = unsafe.Pointer(&p[0])
437
+ } else {
438
+ _p0 = unsafe.Pointer(&_zero)
439
+ }
440
+ runtime.EnterSyscall()
441
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___RECVFROM_A<<4, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
442
+ runtime.ExitSyscall()
443
+ n = int(r0)
444
+ if int64(r0) == -1 {
445
+ err = errnoErr2(e1, e2)
446
+ }
447
+ return
448
+ }
449
+
450
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
451
+
452
+ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
453
+ var _p0 unsafe.Pointer
454
+ if len(buf) > 0 {
455
+ _p0 = unsafe.Pointer(&buf[0])
456
+ } else {
457
+ _p0 = unsafe.Pointer(&_zero)
458
+ }
459
+ runtime.EnterSyscall()
460
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___SENDTO_A<<4, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
461
+ runtime.ExitSyscall()
462
+ if int64(r0) == -1 {
463
+ err = errnoErr2(e1, e2)
464
+ }
465
+ return
466
+ }
467
+
468
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
469
+
470
+ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
471
+ runtime.EnterSyscall()
472
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___RECVMSG_A<<4, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
473
+ runtime.ExitSyscall()
474
+ n = int(r0)
475
+ if int64(r0) == -1 {
476
+ err = errnoErr2(e1, e2)
477
+ }
478
+ return
479
+ }
480
+
481
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
482
+
483
+ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
484
+ runtime.EnterSyscall()
485
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___SENDMSG_A<<4, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
486
+ runtime.ExitSyscall()
487
+ n = int(r0)
488
+ if int64(r0) == -1 {
489
+ err = errnoErr2(e1, e2)
490
+ }
491
+ return
492
+ }
493
+
494
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
495
+
496
+ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
497
+ runtime.EnterSyscall()
498
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_MMAP<<4, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
499
+ runtime.ExitSyscall()
500
+ ret = uintptr(r0)
501
+ if int64(r0) == -1 {
502
+ err = errnoErr2(e1, e2)
503
+ }
504
+ return
505
+ }
506
+
507
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
508
+
509
+ func munmap(addr uintptr, length uintptr) (err error) {
510
+ runtime.EnterSyscall()
511
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_MUNMAP<<4, uintptr(addr), uintptr(length))
512
+ runtime.ExitSyscall()
513
+ if int64(r0) == -1 {
514
+ err = errnoErr2(e1, e2)
515
+ }
516
+ return
517
+ }
518
+
519
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
520
+
521
+ func ioctl(fd int, req int, arg uintptr) (err error) {
522
+ runtime.EnterSyscall()
523
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_IOCTL<<4, uintptr(fd), uintptr(req), uintptr(arg))
524
+ runtime.ExitSyscall()
525
+ if int64(r0) == -1 {
526
+ err = errnoErr2(e1, e2)
527
+ }
528
+ return
529
+ }
530
+
531
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
532
+
533
+ func ioctlPtr(fd int, req int, arg unsafe.Pointer) (err error) {
534
+ runtime.EnterSyscall()
535
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_IOCTL<<4, uintptr(fd), uintptr(req), uintptr(arg))
536
+ runtime.ExitSyscall()
537
+ if int64(r0) == -1 {
538
+ err = errnoErr2(e1, e2)
539
+ }
540
+ return
541
+ }
542
+
543
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
544
+
545
+ func shmat(id int, addr uintptr, flag int) (ret uintptr, err error) {
546
+ runtime.EnterSyscall()
547
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SHMAT<<4, uintptr(id), uintptr(addr), uintptr(flag))
548
+ runtime.ExitSyscall()
549
+ ret = uintptr(r0)
550
+ if int64(r0) == -1 {
551
+ err = errnoErr2(e1, e2)
552
+ }
553
+ return
554
+ }
555
+
556
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
557
+
558
+ func shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error) {
559
+ runtime.EnterSyscall()
560
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SHMCTL64<<4, uintptr(id), uintptr(cmd), uintptr(unsafe.Pointer(buf)))
561
+ runtime.ExitSyscall()
562
+ result = int(r0)
563
+ if int64(r0) == -1 {
564
+ err = errnoErr2(e1, e2)
565
+ }
566
+ return
567
+ }
568
+
569
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
570
+
571
+ func shmdt(addr uintptr) (err error) {
572
+ runtime.EnterSyscall()
573
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SHMDT<<4, uintptr(addr))
574
+ runtime.ExitSyscall()
575
+ if int64(r0) == -1 {
576
+ err = errnoErr2(e1, e2)
577
+ }
578
+ return
579
+ }
580
+
581
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
582
+
583
+ func shmget(key int, size int, flag int) (id int, err error) {
584
+ runtime.EnterSyscall()
585
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SHMGET<<4, uintptr(key), uintptr(size), uintptr(flag))
586
+ runtime.ExitSyscall()
587
+ id = int(r0)
588
+ if int64(r0) == -1 {
589
+ err = errnoErr2(e1, e2)
590
+ }
591
+ return
592
+ }
593
+
594
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
595
+
596
+ func Access(path string, mode uint32) (err error) {
597
+ var _p0 *byte
598
+ _p0, err = BytePtrFromString(path)
599
+ if err != nil {
600
+ return
601
+ }
602
+ runtime.EnterSyscall()
603
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___ACCESS_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode))
604
+ runtime.ExitSyscall()
605
+ if int64(r0) == -1 {
606
+ err = errnoErr2(e1, e2)
607
+ }
608
+ return
609
+ }
610
+
611
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
612
+
613
+ func Chdir(path string) (err error) {
614
+ var _p0 *byte
615
+ _p0, err = BytePtrFromString(path)
616
+ if err != nil {
617
+ return
618
+ }
619
+ runtime.EnterSyscall()
620
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CHDIR_A<<4, uintptr(unsafe.Pointer(_p0)))
621
+ runtime.ExitSyscall()
622
+ if int64(r0) == -1 {
623
+ err = errnoErr2(e1, e2)
624
+ }
625
+ return
626
+ }
627
+
628
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
629
+
630
+ func Chown(path string, uid int, gid int) (err error) {
631
+ var _p0 *byte
632
+ _p0, err = BytePtrFromString(path)
633
+ if err != nil {
634
+ return
635
+ }
636
+ runtime.EnterSyscall()
637
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CHOWN_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
638
+ runtime.ExitSyscall()
639
+ if int64(r0) == -1 {
640
+ err = errnoErr2(e1, e2)
641
+ }
642
+ return
643
+ }
644
+
645
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
646
+
647
+ func Chmod(path string, mode uint32) (err error) {
648
+ var _p0 *byte
649
+ _p0, err = BytePtrFromString(path)
650
+ if err != nil {
651
+ return
652
+ }
653
+ runtime.EnterSyscall()
654
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CHMOD_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode))
655
+ runtime.ExitSyscall()
656
+ if int64(r0) == -1 {
657
+ err = errnoErr2(e1, e2)
658
+ }
659
+ return
660
+ }
661
+
662
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
663
+
664
+ func Creat(path string, mode uint32) (fd int, err error) {
665
+ var _p0 *byte
666
+ _p0, err = BytePtrFromString(path)
667
+ if err != nil {
668
+ return
669
+ }
670
+ runtime.EnterSyscall()
671
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CREAT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode))
672
+ runtime.ExitSyscall()
673
+ fd = int(r0)
674
+ if int64(r0) == -1 {
675
+ err = errnoErr2(e1, e2)
676
+ }
677
+ return
678
+ }
679
+
680
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
681
+
682
+ func Dup(oldfd int) (fd int, err error) {
683
+ runtime.EnterSyscall()
684
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_DUP<<4, uintptr(oldfd))
685
+ runtime.ExitSyscall()
686
+ fd = int(r0)
687
+ if int64(r0) == -1 {
688
+ err = errnoErr2(e1, e2)
689
+ }
690
+ return
691
+ }
692
+
693
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
694
+
695
+ func Dup2(oldfd int, newfd int) (err error) {
696
+ runtime.EnterSyscall()
697
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_DUP2<<4, uintptr(oldfd), uintptr(newfd))
698
+ runtime.ExitSyscall()
699
+ if int64(r0) == -1 {
700
+ err = errnoErr2(e1, e2)
701
+ }
702
+ return
703
+ }
704
+
705
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
706
+
707
+ func impl_Dup3(oldfd int, newfd int, flags int) (err error) {
708
+ runtime.EnterSyscall()
709
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_DUP3<<4, uintptr(oldfd), uintptr(newfd), uintptr(flags))
710
+ runtime.ExitSyscall()
711
+ if int64(r0) == -1 {
712
+ err = errnoErr2(e1, e2)
713
+ }
714
+ return
715
+ }
716
+
717
+ //go:nosplit
718
+ func get_Dup3Addr() *(func(oldfd int, newfd int, flags int) (err error))
719
+
720
+ var Dup3 = enter_Dup3
721
+
722
+ func enter_Dup3(oldfd int, newfd int, flags int) (err error) {
723
+ funcref := get_Dup3Addr()
724
+ if funcptrtest(GetZosLibVec()+SYS_DUP3<<4, "") == 0 {
725
+ *funcref = impl_Dup3
726
+ } else {
727
+ *funcref = error_Dup3
728
+ }
729
+ return (*funcref)(oldfd, newfd, flags)
730
+ }
731
+
732
+ func error_Dup3(oldfd int, newfd int, flags int) (err error) {
733
+ err = ENOSYS
734
+ return
735
+ }
736
+
737
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
738
+
739
+ func impl_Dirfd(dirp uintptr) (fd int, err error) {
740
+ runtime.EnterSyscall()
741
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_DIRFD<<4, uintptr(dirp))
742
+ runtime.ExitSyscall()
743
+ fd = int(r0)
744
+ if int64(r0) == -1 {
745
+ err = errnoErr2(e1, e2)
746
+ }
747
+ return
748
+ }
749
+
750
+ //go:nosplit
751
+ func get_DirfdAddr() *(func(dirp uintptr) (fd int, err error))
752
+
753
+ var Dirfd = enter_Dirfd
754
+
755
+ func enter_Dirfd(dirp uintptr) (fd int, err error) {
756
+ funcref := get_DirfdAddr()
757
+ if funcptrtest(GetZosLibVec()+SYS_DIRFD<<4, "") == 0 {
758
+ *funcref = impl_Dirfd
759
+ } else {
760
+ *funcref = error_Dirfd
761
+ }
762
+ return (*funcref)(dirp)
763
+ }
764
+
765
+ func error_Dirfd(dirp uintptr) (fd int, err error) {
766
+ fd = -1
767
+ err = ENOSYS
768
+ return
769
+ }
770
+
771
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
772
+
773
+ func impl_EpollCreate(size int) (fd int, err error) {
774
+ runtime.EnterSyscall()
775
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_EPOLL_CREATE<<4, uintptr(size))
776
+ runtime.ExitSyscall()
777
+ fd = int(r0)
778
+ if int64(r0) == -1 {
779
+ err = errnoErr2(e1, e2)
780
+ }
781
+ return
782
+ }
783
+
784
+ //go:nosplit
785
+ func get_EpollCreateAddr() *(func(size int) (fd int, err error))
786
+
787
+ var EpollCreate = enter_EpollCreate
788
+
789
+ func enter_EpollCreate(size int) (fd int, err error) {
790
+ funcref := get_EpollCreateAddr()
791
+ if funcptrtest(GetZosLibVec()+SYS_EPOLL_CREATE<<4, "") == 0 {
792
+ *funcref = impl_EpollCreate
793
+ } else {
794
+ *funcref = error_EpollCreate
795
+ }
796
+ return (*funcref)(size)
797
+ }
798
+
799
+ func error_EpollCreate(size int) (fd int, err error) {
800
+ fd = -1
801
+ err = ENOSYS
802
+ return
803
+ }
804
+
805
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
806
+
807
+ func impl_EpollCreate1(flags int) (fd int, err error) {
808
+ runtime.EnterSyscall()
809
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_EPOLL_CREATE1<<4, uintptr(flags))
810
+ runtime.ExitSyscall()
811
+ fd = int(r0)
812
+ if int64(r0) == -1 {
813
+ err = errnoErr2(e1, e2)
814
+ }
815
+ return
816
+ }
817
+
818
+ //go:nosplit
819
+ func get_EpollCreate1Addr() *(func(flags int) (fd int, err error))
820
+
821
+ var EpollCreate1 = enter_EpollCreate1
822
+
823
+ func enter_EpollCreate1(flags int) (fd int, err error) {
824
+ funcref := get_EpollCreate1Addr()
825
+ if funcptrtest(GetZosLibVec()+SYS_EPOLL_CREATE1<<4, "") == 0 {
826
+ *funcref = impl_EpollCreate1
827
+ } else {
828
+ *funcref = error_EpollCreate1
829
+ }
830
+ return (*funcref)(flags)
831
+ }
832
+
833
+ func error_EpollCreate1(flags int) (fd int, err error) {
834
+ fd = -1
835
+ err = ENOSYS
836
+ return
837
+ }
838
+
839
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
840
+
841
+ func impl_EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
842
+ runtime.EnterSyscall()
843
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_EPOLL_CTL<<4, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)))
844
+ runtime.ExitSyscall()
845
+ if int64(r0) == -1 {
846
+ err = errnoErr2(e1, e2)
847
+ }
848
+ return
849
+ }
850
+
851
+ //go:nosplit
852
+ func get_EpollCtlAddr() *(func(epfd int, op int, fd int, event *EpollEvent) (err error))
853
+
854
+ var EpollCtl = enter_EpollCtl
855
+
856
+ func enter_EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
857
+ funcref := get_EpollCtlAddr()
858
+ if funcptrtest(GetZosLibVec()+SYS_EPOLL_CTL<<4, "") == 0 {
859
+ *funcref = impl_EpollCtl
860
+ } else {
861
+ *funcref = error_EpollCtl
862
+ }
863
+ return (*funcref)(epfd, op, fd, event)
864
+ }
865
+
866
+ func error_EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
867
+ err = ENOSYS
868
+ return
869
+ }
870
+
871
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
872
+
873
+ func impl_EpollPwait(epfd int, events []EpollEvent, msec int, sigmask *int) (n int, err error) {
874
+ var _p0 unsafe.Pointer
875
+ if len(events) > 0 {
876
+ _p0 = unsafe.Pointer(&events[0])
877
+ } else {
878
+ _p0 = unsafe.Pointer(&_zero)
879
+ }
880
+ runtime.EnterSyscall()
881
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_EPOLL_PWAIT<<4, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), uintptr(unsafe.Pointer(sigmask)))
882
+ runtime.ExitSyscall()
883
+ n = int(r0)
884
+ if int64(r0) == -1 {
885
+ err = errnoErr2(e1, e2)
886
+ }
887
+ return
888
+ }
889
+
890
+ //go:nosplit
891
+ func get_EpollPwaitAddr() *(func(epfd int, events []EpollEvent, msec int, sigmask *int) (n int, err error))
892
+
893
+ var EpollPwait = enter_EpollPwait
894
+
895
+ func enter_EpollPwait(epfd int, events []EpollEvent, msec int, sigmask *int) (n int, err error) {
896
+ funcref := get_EpollPwaitAddr()
897
+ if funcptrtest(GetZosLibVec()+SYS_EPOLL_PWAIT<<4, "") == 0 {
898
+ *funcref = impl_EpollPwait
899
+ } else {
900
+ *funcref = error_EpollPwait
901
+ }
902
+ return (*funcref)(epfd, events, msec, sigmask)
903
+ }
904
+
905
+ func error_EpollPwait(epfd int, events []EpollEvent, msec int, sigmask *int) (n int, err error) {
906
+ n = -1
907
+ err = ENOSYS
908
+ return
909
+ }
910
+
911
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
912
+
913
+ func impl_EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
914
+ var _p0 unsafe.Pointer
915
+ if len(events) > 0 {
916
+ _p0 = unsafe.Pointer(&events[0])
917
+ } else {
918
+ _p0 = unsafe.Pointer(&_zero)
919
+ }
920
+ runtime.EnterSyscall()
921
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_EPOLL_WAIT<<4, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec))
922
+ runtime.ExitSyscall()
923
+ n = int(r0)
924
+ if int64(r0) == -1 {
925
+ err = errnoErr2(e1, e2)
926
+ }
927
+ return
928
+ }
929
+
930
+ //go:nosplit
931
+ func get_EpollWaitAddr() *(func(epfd int, events []EpollEvent, msec int) (n int, err error))
932
+
933
+ var EpollWait = enter_EpollWait
934
+
935
+ func enter_EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
936
+ funcref := get_EpollWaitAddr()
937
+ if funcptrtest(GetZosLibVec()+SYS_EPOLL_WAIT<<4, "") == 0 {
938
+ *funcref = impl_EpollWait
939
+ } else {
940
+ *funcref = error_EpollWait
941
+ }
942
+ return (*funcref)(epfd, events, msec)
943
+ }
944
+
945
+ func error_EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
946
+ n = -1
947
+ err = ENOSYS
948
+ return
949
+ }
950
+
951
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
952
+
953
+ func Errno2() (er2 int) {
954
+ runtime.EnterSyscall()
955
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS___ERRNO2<<4)
956
+ runtime.ExitSyscall()
957
+ er2 = int(r0)
958
+ return
959
+ }
960
+
961
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
962
+
963
+ func impl_Eventfd(initval uint, flags int) (fd int, err error) {
964
+ runtime.EnterSyscall()
965
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_EVENTFD<<4, uintptr(initval), uintptr(flags))
966
+ runtime.ExitSyscall()
967
+ fd = int(r0)
968
+ if int64(r0) == -1 {
969
+ err = errnoErr2(e1, e2)
970
+ }
971
+ return
972
+ }
973
+
974
+ //go:nosplit
975
+ func get_EventfdAddr() *(func(initval uint, flags int) (fd int, err error))
976
+
977
+ var Eventfd = enter_Eventfd
978
+
979
+ func enter_Eventfd(initval uint, flags int) (fd int, err error) {
980
+ funcref := get_EventfdAddr()
981
+ if funcptrtest(GetZosLibVec()+SYS_EVENTFD<<4, "") == 0 {
982
+ *funcref = impl_Eventfd
983
+ } else {
984
+ *funcref = error_Eventfd
985
+ }
986
+ return (*funcref)(initval, flags)
987
+ }
988
+
989
+ func error_Eventfd(initval uint, flags int) (fd int, err error) {
990
+ fd = -1
991
+ err = ENOSYS
992
+ return
993
+ }
994
+
995
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
996
+
997
+ func Exit(code int) {
998
+ runtime.EnterSyscall()
999
+ CallLeFuncWithErr(GetZosLibVec()+SYS_EXIT<<4, uintptr(code))
1000
+ runtime.ExitSyscall()
1001
+ return
1002
+ }
1003
+
1004
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1005
+
1006
+ func impl_Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
1007
+ var _p0 *byte
1008
+ _p0, err = BytePtrFromString(path)
1009
+ if err != nil {
1010
+ return
1011
+ }
1012
+ runtime.EnterSyscall()
1013
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FACCESSAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags))
1014
+ runtime.ExitSyscall()
1015
+ if int64(r0) == -1 {
1016
+ err = errnoErr2(e1, e2)
1017
+ }
1018
+ return
1019
+ }
1020
+
1021
+ //go:nosplit
1022
+ func get_FaccessatAddr() *(func(dirfd int, path string, mode uint32, flags int) (err error))
1023
+
1024
+ var Faccessat = enter_Faccessat
1025
+
1026
+ func enter_Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
1027
+ funcref := get_FaccessatAddr()
1028
+ if funcptrtest(GetZosLibVec()+SYS___FACCESSAT_A<<4, "") == 0 {
1029
+ *funcref = impl_Faccessat
1030
+ } else {
1031
+ *funcref = error_Faccessat
1032
+ }
1033
+ return (*funcref)(dirfd, path, mode, flags)
1034
+ }
1035
+
1036
+ func error_Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
1037
+ err = ENOSYS
1038
+ return
1039
+ }
1040
+
1041
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1042
+
1043
+ func Fchdir(fd int) (err error) {
1044
+ runtime.EnterSyscall()
1045
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FCHDIR<<4, uintptr(fd))
1046
+ runtime.ExitSyscall()
1047
+ if int64(r0) == -1 {
1048
+ err = errnoErr2(e1, e2)
1049
+ }
1050
+ return
1051
+ }
1052
+
1053
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1054
+
1055
+ func Fchmod(fd int, mode uint32) (err error) {
1056
+ runtime.EnterSyscall()
1057
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FCHMOD<<4, uintptr(fd), uintptr(mode))
1058
+ runtime.ExitSyscall()
1059
+ if int64(r0) == -1 {
1060
+ err = errnoErr2(e1, e2)
1061
+ }
1062
+ return
1063
+ }
1064
+
1065
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1066
+
1067
+ func impl_Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
1068
+ var _p0 *byte
1069
+ _p0, err = BytePtrFromString(path)
1070
+ if err != nil {
1071
+ return
1072
+ }
1073
+ runtime.EnterSyscall()
1074
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FCHMODAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags))
1075
+ runtime.ExitSyscall()
1076
+ if int64(r0) == -1 {
1077
+ err = errnoErr2(e1, e2)
1078
+ }
1079
+ return
1080
+ }
1081
+
1082
+ //go:nosplit
1083
+ func get_FchmodatAddr() *(func(dirfd int, path string, mode uint32, flags int) (err error))
1084
+
1085
+ var Fchmodat = enter_Fchmodat
1086
+
1087
+ func enter_Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
1088
+ funcref := get_FchmodatAddr()
1089
+ if funcptrtest(GetZosLibVec()+SYS___FCHMODAT_A<<4, "") == 0 {
1090
+ *funcref = impl_Fchmodat
1091
+ } else {
1092
+ *funcref = error_Fchmodat
1093
+ }
1094
+ return (*funcref)(dirfd, path, mode, flags)
1095
+ }
1096
+
1097
+ func error_Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
1098
+ err = ENOSYS
1099
+ return
1100
+ }
1101
+
1102
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1103
+
1104
+ func Fchown(fd int, uid int, gid int) (err error) {
1105
+ runtime.EnterSyscall()
1106
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FCHOWN<<4, uintptr(fd), uintptr(uid), uintptr(gid))
1107
+ runtime.ExitSyscall()
1108
+ if int64(r0) == -1 {
1109
+ err = errnoErr2(e1, e2)
1110
+ }
1111
+ return
1112
+ }
1113
+
1114
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1115
+
1116
+ func impl_Fchownat(fd int, path string, uid int, gid int, flags int) (err error) {
1117
+ var _p0 *byte
1118
+ _p0, err = BytePtrFromString(path)
1119
+ if err != nil {
1120
+ return
1121
+ }
1122
+ runtime.EnterSyscall()
1123
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FCHOWNAT_A<<4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags))
1124
+ runtime.ExitSyscall()
1125
+ if int64(r0) == -1 {
1126
+ err = errnoErr2(e1, e2)
1127
+ }
1128
+ return
1129
+ }
1130
+
1131
+ //go:nosplit
1132
+ func get_FchownatAddr() *(func(fd int, path string, uid int, gid int, flags int) (err error))
1133
+
1134
+ var Fchownat = enter_Fchownat
1135
+
1136
+ func enter_Fchownat(fd int, path string, uid int, gid int, flags int) (err error) {
1137
+ funcref := get_FchownatAddr()
1138
+ if funcptrtest(GetZosLibVec()+SYS___FCHOWNAT_A<<4, "") == 0 {
1139
+ *funcref = impl_Fchownat
1140
+ } else {
1141
+ *funcref = error_Fchownat
1142
+ }
1143
+ return (*funcref)(fd, path, uid, gid, flags)
1144
+ }
1145
+
1146
+ func error_Fchownat(fd int, path string, uid int, gid int, flags int) (err error) {
1147
+ err = ENOSYS
1148
+ return
1149
+ }
1150
+
1151
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1152
+
1153
+ func FcntlInt(fd uintptr, cmd int, arg int) (retval int, err error) {
1154
+ runtime.EnterSyscall()
1155
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FCNTL<<4, uintptr(fd), uintptr(cmd), uintptr(arg))
1156
+ runtime.ExitSyscall()
1157
+ retval = int(r0)
1158
+ if int64(r0) == -1 {
1159
+ err = errnoErr2(e1, e2)
1160
+ }
1161
+ return
1162
+ }
1163
+
1164
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1165
+
1166
+ func impl_Fdatasync(fd int) (err error) {
1167
+ runtime.EnterSyscall()
1168
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FDATASYNC<<4, uintptr(fd))
1169
+ runtime.ExitSyscall()
1170
+ if int64(r0) == -1 {
1171
+ err = errnoErr2(e1, e2)
1172
+ }
1173
+ return
1174
+ }
1175
+
1176
+ //go:nosplit
1177
+ func get_FdatasyncAddr() *(func(fd int) (err error))
1178
+
1179
+ var Fdatasync = enter_Fdatasync
1180
+
1181
+ func enter_Fdatasync(fd int) (err error) {
1182
+ funcref := get_FdatasyncAddr()
1183
+ if funcptrtest(GetZosLibVec()+SYS_FDATASYNC<<4, "") == 0 {
1184
+ *funcref = impl_Fdatasync
1185
+ } else {
1186
+ *funcref = error_Fdatasync
1187
+ }
1188
+ return (*funcref)(fd)
1189
+ }
1190
+
1191
+ func error_Fdatasync(fd int) (err error) {
1192
+ err = ENOSYS
1193
+ return
1194
+ }
1195
+
1196
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1197
+
1198
+ func fstat(fd int, stat *Stat_LE_t) (err error) {
1199
+ runtime.EnterSyscall()
1200
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FSTAT<<4, uintptr(fd), uintptr(unsafe.Pointer(stat)))
1201
+ runtime.ExitSyscall()
1202
+ if int64(r0) == -1 {
1203
+ err = errnoErr2(e1, e2)
1204
+ }
1205
+ return
1206
+ }
1207
+
1208
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1209
+
1210
+ func impl_fstatat(dirfd int, path string, stat *Stat_LE_t, flags int) (err error) {
1211
+ var _p0 *byte
1212
+ _p0, err = BytePtrFromString(path)
1213
+ if err != nil {
1214
+ return
1215
+ }
1216
+ runtime.EnterSyscall()
1217
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FSTATAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags))
1218
+ runtime.ExitSyscall()
1219
+ if int64(r0) == -1 {
1220
+ err = errnoErr2(e1, e2)
1221
+ }
1222
+ return
1223
+ }
1224
+
1225
+ //go:nosplit
1226
+ func get_fstatatAddr() *(func(dirfd int, path string, stat *Stat_LE_t, flags int) (err error))
1227
+
1228
+ var fstatat = enter_fstatat
1229
+
1230
+ func enter_fstatat(dirfd int, path string, stat *Stat_LE_t, flags int) (err error) {
1231
+ funcref := get_fstatatAddr()
1232
+ if funcptrtest(GetZosLibVec()+SYS___FSTATAT_A<<4, "") == 0 {
1233
+ *funcref = impl_fstatat
1234
+ } else {
1235
+ *funcref = error_fstatat
1236
+ }
1237
+ return (*funcref)(dirfd, path, stat, flags)
1238
+ }
1239
+
1240
+ func error_fstatat(dirfd int, path string, stat *Stat_LE_t, flags int) (err error) {
1241
+ err = ENOSYS
1242
+ return
1243
+ }
1244
+
1245
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1246
+
1247
+ func impl_Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
1248
+ var _p0 *byte
1249
+ _p0, err = BytePtrFromString(link)
1250
+ if err != nil {
1251
+ return
1252
+ }
1253
+ var _p1 *byte
1254
+ _p1, err = BytePtrFromString(attr)
1255
+ if err != nil {
1256
+ return
1257
+ }
1258
+ var _p2 unsafe.Pointer
1259
+ if len(dest) > 0 {
1260
+ _p2 = unsafe.Pointer(&dest[0])
1261
+ } else {
1262
+ _p2 = unsafe.Pointer(&_zero)
1263
+ }
1264
+ runtime.EnterSyscall()
1265
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LGETXATTR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)))
1266
+ runtime.ExitSyscall()
1267
+ sz = int(r0)
1268
+ if int64(r0) == -1 {
1269
+ err = errnoErr2(e1, e2)
1270
+ }
1271
+ return
1272
+ }
1273
+
1274
+ //go:nosplit
1275
+ func get_LgetxattrAddr() *(func(link string, attr string, dest []byte) (sz int, err error))
1276
+
1277
+ var Lgetxattr = enter_Lgetxattr
1278
+
1279
+ func enter_Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
1280
+ funcref := get_LgetxattrAddr()
1281
+ if funcptrtest(GetZosLibVec()+SYS___LGETXATTR_A<<4, "") == 0 {
1282
+ *funcref = impl_Lgetxattr
1283
+ } else {
1284
+ *funcref = error_Lgetxattr
1285
+ }
1286
+ return (*funcref)(link, attr, dest)
1287
+ }
1288
+
1289
+ func error_Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
1290
+ sz = -1
1291
+ err = ENOSYS
1292
+ return
1293
+ }
1294
+
1295
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1296
+
1297
+ func impl_Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
1298
+ var _p0 *byte
1299
+ _p0, err = BytePtrFromString(path)
1300
+ if err != nil {
1301
+ return
1302
+ }
1303
+ var _p1 *byte
1304
+ _p1, err = BytePtrFromString(attr)
1305
+ if err != nil {
1306
+ return
1307
+ }
1308
+ var _p2 unsafe.Pointer
1309
+ if len(data) > 0 {
1310
+ _p2 = unsafe.Pointer(&data[0])
1311
+ } else {
1312
+ _p2 = unsafe.Pointer(&_zero)
1313
+ }
1314
+ runtime.EnterSyscall()
1315
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LSETXATTR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags))
1316
+ runtime.ExitSyscall()
1317
+ if int64(r0) == -1 {
1318
+ err = errnoErr2(e1, e2)
1319
+ }
1320
+ return
1321
+ }
1322
+
1323
+ //go:nosplit
1324
+ func get_LsetxattrAddr() *(func(path string, attr string, data []byte, flags int) (err error))
1325
+
1326
+ var Lsetxattr = enter_Lsetxattr
1327
+
1328
+ func enter_Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
1329
+ funcref := get_LsetxattrAddr()
1330
+ if funcptrtest(GetZosLibVec()+SYS___LSETXATTR_A<<4, "") == 0 {
1331
+ *funcref = impl_Lsetxattr
1332
+ } else {
1333
+ *funcref = error_Lsetxattr
1334
+ }
1335
+ return (*funcref)(path, attr, data, flags)
1336
+ }
1337
+
1338
+ func error_Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
1339
+ err = ENOSYS
1340
+ return
1341
+ }
1342
+
1343
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1344
+
1345
+ func impl_Fstatfs(fd int, buf *Statfs_t) (err error) {
1346
+ runtime.EnterSyscall()
1347
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FSTATFS<<4, uintptr(fd), uintptr(unsafe.Pointer(buf)))
1348
+ runtime.ExitSyscall()
1349
+ if int64(r0) == -1 {
1350
+ err = errnoErr2(e1, e2)
1351
+ }
1352
+ return
1353
+ }
1354
+
1355
+ //go:nosplit
1356
+ func get_FstatfsAddr() *(func(fd int, buf *Statfs_t) (err error))
1357
+
1358
+ var Fstatfs = enter_Fstatfs
1359
+
1360
+ func enter_Fstatfs(fd int, buf *Statfs_t) (err error) {
1361
+ funcref := get_FstatfsAddr()
1362
+ if funcptrtest(GetZosLibVec()+SYS_FSTATFS<<4, "") == 0 {
1363
+ *funcref = impl_Fstatfs
1364
+ } else {
1365
+ *funcref = error_Fstatfs
1366
+ }
1367
+ return (*funcref)(fd, buf)
1368
+ }
1369
+
1370
+ func error_Fstatfs(fd int, buf *Statfs_t) (err error) {
1371
+ err = ENOSYS
1372
+ return
1373
+ }
1374
+
1375
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1376
+
1377
+ func Fstatvfs(fd int, stat *Statvfs_t) (err error) {
1378
+ runtime.EnterSyscall()
1379
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FSTATVFS<<4, uintptr(fd), uintptr(unsafe.Pointer(stat)))
1380
+ runtime.ExitSyscall()
1381
+ if int64(r0) == -1 {
1382
+ err = errnoErr2(e1, e2)
1383
+ }
1384
+ return
1385
+ }
1386
+
1387
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1388
+
1389
+ func Fsync(fd int) (err error) {
1390
+ runtime.EnterSyscall()
1391
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FSYNC<<4, uintptr(fd))
1392
+ runtime.ExitSyscall()
1393
+ if int64(r0) == -1 {
1394
+ err = errnoErr2(e1, e2)
1395
+ }
1396
+ return
1397
+ }
1398
+
1399
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1400
+
1401
+ func impl_Futimes(fd int, tv []Timeval) (err error) {
1402
+ var _p0 unsafe.Pointer
1403
+ if len(tv) > 0 {
1404
+ _p0 = unsafe.Pointer(&tv[0])
1405
+ } else {
1406
+ _p0 = unsafe.Pointer(&_zero)
1407
+ }
1408
+ runtime.EnterSyscall()
1409
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FUTIMES<<4, uintptr(fd), uintptr(_p0), uintptr(len(tv)))
1410
+ runtime.ExitSyscall()
1411
+ if int64(r0) == -1 {
1412
+ err = errnoErr2(e1, e2)
1413
+ }
1414
+ return
1415
+ }
1416
+
1417
+ //go:nosplit
1418
+ func get_FutimesAddr() *(func(fd int, tv []Timeval) (err error))
1419
+
1420
+ var Futimes = enter_Futimes
1421
+
1422
+ func enter_Futimes(fd int, tv []Timeval) (err error) {
1423
+ funcref := get_FutimesAddr()
1424
+ if funcptrtest(GetZosLibVec()+SYS_FUTIMES<<4, "") == 0 {
1425
+ *funcref = impl_Futimes
1426
+ } else {
1427
+ *funcref = error_Futimes
1428
+ }
1429
+ return (*funcref)(fd, tv)
1430
+ }
1431
+
1432
+ func error_Futimes(fd int, tv []Timeval) (err error) {
1433
+ err = ENOSYS
1434
+ return
1435
+ }
1436
+
1437
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1438
+
1439
+ func impl_Futimesat(dirfd int, path string, tv []Timeval) (err error) {
1440
+ var _p0 *byte
1441
+ _p0, err = BytePtrFromString(path)
1442
+ if err != nil {
1443
+ return
1444
+ }
1445
+ var _p1 unsafe.Pointer
1446
+ if len(tv) > 0 {
1447
+ _p1 = unsafe.Pointer(&tv[0])
1448
+ } else {
1449
+ _p1 = unsafe.Pointer(&_zero)
1450
+ }
1451
+ runtime.EnterSyscall()
1452
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___FUTIMESAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(tv)))
1453
+ runtime.ExitSyscall()
1454
+ if int64(r0) == -1 {
1455
+ err = errnoErr2(e1, e2)
1456
+ }
1457
+ return
1458
+ }
1459
+
1460
+ //go:nosplit
1461
+ func get_FutimesatAddr() *(func(dirfd int, path string, tv []Timeval) (err error))
1462
+
1463
+ var Futimesat = enter_Futimesat
1464
+
1465
+ func enter_Futimesat(dirfd int, path string, tv []Timeval) (err error) {
1466
+ funcref := get_FutimesatAddr()
1467
+ if funcptrtest(GetZosLibVec()+SYS___FUTIMESAT_A<<4, "") == 0 {
1468
+ *funcref = impl_Futimesat
1469
+ } else {
1470
+ *funcref = error_Futimesat
1471
+ }
1472
+ return (*funcref)(dirfd, path, tv)
1473
+ }
1474
+
1475
+ func error_Futimesat(dirfd int, path string, tv []Timeval) (err error) {
1476
+ err = ENOSYS
1477
+ return
1478
+ }
1479
+
1480
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1481
+
1482
+ func Ftruncate(fd int, length int64) (err error) {
1483
+ runtime.EnterSyscall()
1484
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FTRUNCATE<<4, uintptr(fd), uintptr(length))
1485
+ runtime.ExitSyscall()
1486
+ if int64(r0) == -1 {
1487
+ err = errnoErr2(e1, e2)
1488
+ }
1489
+ return
1490
+ }
1491
+
1492
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1493
+
1494
+ func impl_Getrandom(buf []byte, flags int) (n int, err error) {
1495
+ var _p0 unsafe.Pointer
1496
+ if len(buf) > 0 {
1497
+ _p0 = unsafe.Pointer(&buf[0])
1498
+ } else {
1499
+ _p0 = unsafe.Pointer(&_zero)
1500
+ }
1501
+ runtime.EnterSyscall()
1502
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETRANDOM<<4, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
1503
+ runtime.ExitSyscall()
1504
+ n = int(r0)
1505
+ if int64(r0) == -1 {
1506
+ err = errnoErr2(e1, e2)
1507
+ }
1508
+ return
1509
+ }
1510
+
1511
+ //go:nosplit
1512
+ func get_GetrandomAddr() *(func(buf []byte, flags int) (n int, err error))
1513
+
1514
+ var Getrandom = enter_Getrandom
1515
+
1516
+ func enter_Getrandom(buf []byte, flags int) (n int, err error) {
1517
+ funcref := get_GetrandomAddr()
1518
+ if funcptrtest(GetZosLibVec()+SYS_GETRANDOM<<4, "") == 0 {
1519
+ *funcref = impl_Getrandom
1520
+ } else {
1521
+ *funcref = error_Getrandom
1522
+ }
1523
+ return (*funcref)(buf, flags)
1524
+ }
1525
+
1526
+ func error_Getrandom(buf []byte, flags int) (n int, err error) {
1527
+ n = -1
1528
+ err = ENOSYS
1529
+ return
1530
+ }
1531
+
1532
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1533
+
1534
+ func impl_InotifyInit() (fd int, err error) {
1535
+ runtime.EnterSyscall()
1536
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec() + SYS_INOTIFY_INIT<<4)
1537
+ runtime.ExitSyscall()
1538
+ fd = int(r0)
1539
+ if int64(r0) == -1 {
1540
+ err = errnoErr2(e1, e2)
1541
+ }
1542
+ return
1543
+ }
1544
+
1545
+ //go:nosplit
1546
+ func get_InotifyInitAddr() *(func() (fd int, err error))
1547
+
1548
+ var InotifyInit = enter_InotifyInit
1549
+
1550
+ func enter_InotifyInit() (fd int, err error) {
1551
+ funcref := get_InotifyInitAddr()
1552
+ if funcptrtest(GetZosLibVec()+SYS_INOTIFY_INIT<<4, "") == 0 {
1553
+ *funcref = impl_InotifyInit
1554
+ } else {
1555
+ *funcref = error_InotifyInit
1556
+ }
1557
+ return (*funcref)()
1558
+ }
1559
+
1560
+ func error_InotifyInit() (fd int, err error) {
1561
+ fd = -1
1562
+ err = ENOSYS
1563
+ return
1564
+ }
1565
+
1566
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1567
+
1568
+ func impl_InotifyInit1(flags int) (fd int, err error) {
1569
+ runtime.EnterSyscall()
1570
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_INOTIFY_INIT1<<4, uintptr(flags))
1571
+ runtime.ExitSyscall()
1572
+ fd = int(r0)
1573
+ if int64(r0) == -1 {
1574
+ err = errnoErr2(e1, e2)
1575
+ }
1576
+ return
1577
+ }
1578
+
1579
+ //go:nosplit
1580
+ func get_InotifyInit1Addr() *(func(flags int) (fd int, err error))
1581
+
1582
+ var InotifyInit1 = enter_InotifyInit1
1583
+
1584
+ func enter_InotifyInit1(flags int) (fd int, err error) {
1585
+ funcref := get_InotifyInit1Addr()
1586
+ if funcptrtest(GetZosLibVec()+SYS_INOTIFY_INIT1<<4, "") == 0 {
1587
+ *funcref = impl_InotifyInit1
1588
+ } else {
1589
+ *funcref = error_InotifyInit1
1590
+ }
1591
+ return (*funcref)(flags)
1592
+ }
1593
+
1594
+ func error_InotifyInit1(flags int) (fd int, err error) {
1595
+ fd = -1
1596
+ err = ENOSYS
1597
+ return
1598
+ }
1599
+
1600
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1601
+
1602
+ func impl_InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
1603
+ var _p0 *byte
1604
+ _p0, err = BytePtrFromString(pathname)
1605
+ if err != nil {
1606
+ return
1607
+ }
1608
+ runtime.EnterSyscall()
1609
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___INOTIFY_ADD_WATCH_A<<4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
1610
+ runtime.ExitSyscall()
1611
+ watchdesc = int(r0)
1612
+ if int64(r0) == -1 {
1613
+ err = errnoErr2(e1, e2)
1614
+ }
1615
+ return
1616
+ }
1617
+
1618
+ //go:nosplit
1619
+ func get_InotifyAddWatchAddr() *(func(fd int, pathname string, mask uint32) (watchdesc int, err error))
1620
+
1621
+ var InotifyAddWatch = enter_InotifyAddWatch
1622
+
1623
+ func enter_InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
1624
+ funcref := get_InotifyAddWatchAddr()
1625
+ if funcptrtest(GetZosLibVec()+SYS___INOTIFY_ADD_WATCH_A<<4, "") == 0 {
1626
+ *funcref = impl_InotifyAddWatch
1627
+ } else {
1628
+ *funcref = error_InotifyAddWatch
1629
+ }
1630
+ return (*funcref)(fd, pathname, mask)
1631
+ }
1632
+
1633
+ func error_InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
1634
+ watchdesc = -1
1635
+ err = ENOSYS
1636
+ return
1637
+ }
1638
+
1639
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1640
+
1641
+ func impl_InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
1642
+ runtime.EnterSyscall()
1643
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_INOTIFY_RM_WATCH<<4, uintptr(fd), uintptr(watchdesc))
1644
+ runtime.ExitSyscall()
1645
+ success = int(r0)
1646
+ if int64(r0) == -1 {
1647
+ err = errnoErr2(e1, e2)
1648
+ }
1649
+ return
1650
+ }
1651
+
1652
+ //go:nosplit
1653
+ func get_InotifyRmWatchAddr() *(func(fd int, watchdesc uint32) (success int, err error))
1654
+
1655
+ var InotifyRmWatch = enter_InotifyRmWatch
1656
+
1657
+ func enter_InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
1658
+ funcref := get_InotifyRmWatchAddr()
1659
+ if funcptrtest(GetZosLibVec()+SYS_INOTIFY_RM_WATCH<<4, "") == 0 {
1660
+ *funcref = impl_InotifyRmWatch
1661
+ } else {
1662
+ *funcref = error_InotifyRmWatch
1663
+ }
1664
+ return (*funcref)(fd, watchdesc)
1665
+ }
1666
+
1667
+ func error_InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
1668
+ success = -1
1669
+ err = ENOSYS
1670
+ return
1671
+ }
1672
+
1673
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1674
+
1675
+ func impl_Listxattr(path string, dest []byte) (sz int, err error) {
1676
+ var _p0 *byte
1677
+ _p0, err = BytePtrFromString(path)
1678
+ if err != nil {
1679
+ return
1680
+ }
1681
+ var _p1 unsafe.Pointer
1682
+ if len(dest) > 0 {
1683
+ _p1 = unsafe.Pointer(&dest[0])
1684
+ } else {
1685
+ _p1 = unsafe.Pointer(&_zero)
1686
+ }
1687
+ runtime.EnterSyscall()
1688
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LISTXATTR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
1689
+ runtime.ExitSyscall()
1690
+ sz = int(r0)
1691
+ if int64(r0) == -1 {
1692
+ err = errnoErr2(e1, e2)
1693
+ }
1694
+ return
1695
+ }
1696
+
1697
+ //go:nosplit
1698
+ func get_ListxattrAddr() *(func(path string, dest []byte) (sz int, err error))
1699
+
1700
+ var Listxattr = enter_Listxattr
1701
+
1702
+ func enter_Listxattr(path string, dest []byte) (sz int, err error) {
1703
+ funcref := get_ListxattrAddr()
1704
+ if funcptrtest(GetZosLibVec()+SYS___LISTXATTR_A<<4, "") == 0 {
1705
+ *funcref = impl_Listxattr
1706
+ } else {
1707
+ *funcref = error_Listxattr
1708
+ }
1709
+ return (*funcref)(path, dest)
1710
+ }
1711
+
1712
+ func error_Listxattr(path string, dest []byte) (sz int, err error) {
1713
+ sz = -1
1714
+ err = ENOSYS
1715
+ return
1716
+ }
1717
+
1718
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1719
+
1720
+ func impl_Llistxattr(path string, dest []byte) (sz int, err error) {
1721
+ var _p0 *byte
1722
+ _p0, err = BytePtrFromString(path)
1723
+ if err != nil {
1724
+ return
1725
+ }
1726
+ var _p1 unsafe.Pointer
1727
+ if len(dest) > 0 {
1728
+ _p1 = unsafe.Pointer(&dest[0])
1729
+ } else {
1730
+ _p1 = unsafe.Pointer(&_zero)
1731
+ }
1732
+ runtime.EnterSyscall()
1733
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LLISTXATTR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
1734
+ runtime.ExitSyscall()
1735
+ sz = int(r0)
1736
+ if int64(r0) == -1 {
1737
+ err = errnoErr2(e1, e2)
1738
+ }
1739
+ return
1740
+ }
1741
+
1742
+ //go:nosplit
1743
+ func get_LlistxattrAddr() *(func(path string, dest []byte) (sz int, err error))
1744
+
1745
+ var Llistxattr = enter_Llistxattr
1746
+
1747
+ func enter_Llistxattr(path string, dest []byte) (sz int, err error) {
1748
+ funcref := get_LlistxattrAddr()
1749
+ if funcptrtest(GetZosLibVec()+SYS___LLISTXATTR_A<<4, "") == 0 {
1750
+ *funcref = impl_Llistxattr
1751
+ } else {
1752
+ *funcref = error_Llistxattr
1753
+ }
1754
+ return (*funcref)(path, dest)
1755
+ }
1756
+
1757
+ func error_Llistxattr(path string, dest []byte) (sz int, err error) {
1758
+ sz = -1
1759
+ err = ENOSYS
1760
+ return
1761
+ }
1762
+
1763
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1764
+
1765
+ func impl_Lremovexattr(path string, attr string) (err error) {
1766
+ var _p0 *byte
1767
+ _p0, err = BytePtrFromString(path)
1768
+ if err != nil {
1769
+ return
1770
+ }
1771
+ var _p1 *byte
1772
+ _p1, err = BytePtrFromString(attr)
1773
+ if err != nil {
1774
+ return
1775
+ }
1776
+ runtime.EnterSyscall()
1777
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LREMOVEXATTR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)))
1778
+ runtime.ExitSyscall()
1779
+ if int64(r0) == -1 {
1780
+ err = errnoErr2(e1, e2)
1781
+ }
1782
+ return
1783
+ }
1784
+
1785
+ //go:nosplit
1786
+ func get_LremovexattrAddr() *(func(path string, attr string) (err error))
1787
+
1788
+ var Lremovexattr = enter_Lremovexattr
1789
+
1790
+ func enter_Lremovexattr(path string, attr string) (err error) {
1791
+ funcref := get_LremovexattrAddr()
1792
+ if funcptrtest(GetZosLibVec()+SYS___LREMOVEXATTR_A<<4, "") == 0 {
1793
+ *funcref = impl_Lremovexattr
1794
+ } else {
1795
+ *funcref = error_Lremovexattr
1796
+ }
1797
+ return (*funcref)(path, attr)
1798
+ }
1799
+
1800
+ func error_Lremovexattr(path string, attr string) (err error) {
1801
+ err = ENOSYS
1802
+ return
1803
+ }
1804
+
1805
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1806
+
1807
+ func impl_Lutimes(path string, tv []Timeval) (err error) {
1808
+ var _p0 *byte
1809
+ _p0, err = BytePtrFromString(path)
1810
+ if err != nil {
1811
+ return
1812
+ }
1813
+ var _p1 unsafe.Pointer
1814
+ if len(tv) > 0 {
1815
+ _p1 = unsafe.Pointer(&tv[0])
1816
+ } else {
1817
+ _p1 = unsafe.Pointer(&_zero)
1818
+ }
1819
+ runtime.EnterSyscall()
1820
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LUTIMES_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(tv)))
1821
+ runtime.ExitSyscall()
1822
+ if int64(r0) == -1 {
1823
+ err = errnoErr2(e1, e2)
1824
+ }
1825
+ return
1826
+ }
1827
+
1828
+ //go:nosplit
1829
+ func get_LutimesAddr() *(func(path string, tv []Timeval) (err error))
1830
+
1831
+ var Lutimes = enter_Lutimes
1832
+
1833
+ func enter_Lutimes(path string, tv []Timeval) (err error) {
1834
+ funcref := get_LutimesAddr()
1835
+ if funcptrtest(GetZosLibVec()+SYS___LUTIMES_A<<4, "") == 0 {
1836
+ *funcref = impl_Lutimes
1837
+ } else {
1838
+ *funcref = error_Lutimes
1839
+ }
1840
+ return (*funcref)(path, tv)
1841
+ }
1842
+
1843
+ func error_Lutimes(path string, tv []Timeval) (err error) {
1844
+ err = ENOSYS
1845
+ return
1846
+ }
1847
+
1848
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1849
+
1850
+ func Mprotect(b []byte, prot int) (err error) {
1851
+ var _p0 unsafe.Pointer
1852
+ if len(b) > 0 {
1853
+ _p0 = unsafe.Pointer(&b[0])
1854
+ } else {
1855
+ _p0 = unsafe.Pointer(&_zero)
1856
+ }
1857
+ runtime.EnterSyscall()
1858
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_MPROTECT<<4, uintptr(_p0), uintptr(len(b)), uintptr(prot))
1859
+ runtime.ExitSyscall()
1860
+ if int64(r0) == -1 {
1861
+ err = errnoErr2(e1, e2)
1862
+ }
1863
+ return
1864
+ }
1865
+
1866
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1867
+
1868
+ func Msync(b []byte, flags int) (err error) {
1869
+ var _p0 unsafe.Pointer
1870
+ if len(b) > 0 {
1871
+ _p0 = unsafe.Pointer(&b[0])
1872
+ } else {
1873
+ _p0 = unsafe.Pointer(&_zero)
1874
+ }
1875
+ runtime.EnterSyscall()
1876
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_MSYNC<<4, uintptr(_p0), uintptr(len(b)), uintptr(flags))
1877
+ runtime.ExitSyscall()
1878
+ if int64(r0) == -1 {
1879
+ err = errnoErr2(e1, e2)
1880
+ }
1881
+ return
1882
+ }
1883
+
1884
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1885
+
1886
+ func Console2(cmsg *ConsMsg2, modstr *byte, concmd *uint32) (err error) {
1887
+ runtime.EnterSyscall()
1888
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CONSOLE2<<4, uintptr(unsafe.Pointer(cmsg)), uintptr(unsafe.Pointer(modstr)), uintptr(unsafe.Pointer(concmd)))
1889
+ runtime.ExitSyscall()
1890
+ if int64(r0) == -1 {
1891
+ err = errnoErr2(e1, e2)
1892
+ }
1893
+ return
1894
+ }
1895
+
1896
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1897
+
1898
+ func Poll(fds []PollFd, timeout int) (n int, err error) {
1899
+ var _p0 unsafe.Pointer
1900
+ if len(fds) > 0 {
1901
+ _p0 = unsafe.Pointer(&fds[0])
1902
+ } else {
1903
+ _p0 = unsafe.Pointer(&_zero)
1904
+ }
1905
+ runtime.EnterSyscall()
1906
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_POLL<<4, uintptr(_p0), uintptr(len(fds)), uintptr(timeout))
1907
+ runtime.ExitSyscall()
1908
+ n = int(r0)
1909
+ if int64(r0) == -1 {
1910
+ err = errnoErr2(e1, e2)
1911
+ }
1912
+ return
1913
+ }
1914
+
1915
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1916
+
1917
+ func Readdir_r(dirp uintptr, entry *direntLE, result **direntLE) (err error) {
1918
+ runtime.EnterSyscall()
1919
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___READDIR_R_A<<4, uintptr(dirp), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
1920
+ runtime.ExitSyscall()
1921
+ if int64(r0) == -1 {
1922
+ err = errnoErr2(e1, e2)
1923
+ }
1924
+ return
1925
+ }
1926
+
1927
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1928
+
1929
+ func impl_Statfs(path string, buf *Statfs_t) (err error) {
1930
+ var _p0 *byte
1931
+ _p0, err = BytePtrFromString(path)
1932
+ if err != nil {
1933
+ return
1934
+ }
1935
+ runtime.EnterSyscall()
1936
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___STATFS_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)))
1937
+ runtime.ExitSyscall()
1938
+ if int64(r0) == -1 {
1939
+ err = errnoErr2(e1, e2)
1940
+ }
1941
+ return
1942
+ }
1943
+
1944
+ //go:nosplit
1945
+ func get_StatfsAddr() *(func(path string, buf *Statfs_t) (err error))
1946
+
1947
+ var Statfs = enter_Statfs
1948
+
1949
+ func enter_Statfs(path string, buf *Statfs_t) (err error) {
1950
+ funcref := get_StatfsAddr()
1951
+ if funcptrtest(GetZosLibVec()+SYS___STATFS_A<<4, "") == 0 {
1952
+ *funcref = impl_Statfs
1953
+ } else {
1954
+ *funcref = error_Statfs
1955
+ }
1956
+ return (*funcref)(path, buf)
1957
+ }
1958
+
1959
+ func error_Statfs(path string, buf *Statfs_t) (err error) {
1960
+ err = ENOSYS
1961
+ return
1962
+ }
1963
+
1964
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1965
+
1966
+ func impl_Syncfs(fd int) (err error) {
1967
+ runtime.EnterSyscall()
1968
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SYNCFS<<4, uintptr(fd))
1969
+ runtime.ExitSyscall()
1970
+ if int64(r0) == -1 {
1971
+ err = errnoErr2(e1, e2)
1972
+ }
1973
+ return
1974
+ }
1975
+
1976
+ //go:nosplit
1977
+ func get_SyncfsAddr() *(func(fd int) (err error))
1978
+
1979
+ var Syncfs = enter_Syncfs
1980
+
1981
+ func enter_Syncfs(fd int) (err error) {
1982
+ funcref := get_SyncfsAddr()
1983
+ if funcptrtest(GetZosLibVec()+SYS_SYNCFS<<4, "") == 0 {
1984
+ *funcref = impl_Syncfs
1985
+ } else {
1986
+ *funcref = error_Syncfs
1987
+ }
1988
+ return (*funcref)(fd)
1989
+ }
1990
+
1991
+ func error_Syncfs(fd int) (err error) {
1992
+ err = ENOSYS
1993
+ return
1994
+ }
1995
+
1996
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1997
+
1998
+ func Times(tms *Tms) (ticks uintptr, err error) {
1999
+ runtime.EnterSyscall()
2000
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_TIMES<<4, uintptr(unsafe.Pointer(tms)))
2001
+ runtime.ExitSyscall()
2002
+ ticks = uintptr(r0)
2003
+ if int64(r0) == -1 {
2004
+ err = errnoErr2(e1, e2)
2005
+ }
2006
+ return
2007
+ }
2008
+
2009
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2010
+
2011
+ func W_Getmntent(buff *byte, size int) (lastsys int, err error) {
2012
+ runtime.EnterSyscall()
2013
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_W_GETMNTENT<<4, uintptr(unsafe.Pointer(buff)), uintptr(size))
2014
+ runtime.ExitSyscall()
2015
+ lastsys = int(r0)
2016
+ if int64(r0) == -1 {
2017
+ err = errnoErr2(e1, e2)
2018
+ }
2019
+ return
2020
+ }
2021
+
2022
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2023
+
2024
+ func W_Getmntent_A(buff *byte, size int) (lastsys int, err error) {
2025
+ runtime.EnterSyscall()
2026
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___W_GETMNTENT_A<<4, uintptr(unsafe.Pointer(buff)), uintptr(size))
2027
+ runtime.ExitSyscall()
2028
+ lastsys = int(r0)
2029
+ if int64(r0) == -1 {
2030
+ err = errnoErr2(e1, e2)
2031
+ }
2032
+ return
2033
+ }
2034
+
2035
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2036
+
2037
+ func mount_LE(path string, filesystem string, fstype string, mtm uint32, parmlen int32, parm string) (err error) {
2038
+ var _p0 *byte
2039
+ _p0, err = BytePtrFromString(path)
2040
+ if err != nil {
2041
+ return
2042
+ }
2043
+ var _p1 *byte
2044
+ _p1, err = BytePtrFromString(filesystem)
2045
+ if err != nil {
2046
+ return
2047
+ }
2048
+ var _p2 *byte
2049
+ _p2, err = BytePtrFromString(fstype)
2050
+ if err != nil {
2051
+ return
2052
+ }
2053
+ var _p3 *byte
2054
+ _p3, err = BytePtrFromString(parm)
2055
+ if err != nil {
2056
+ return
2057
+ }
2058
+ runtime.EnterSyscall()
2059
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___MOUNT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(mtm), uintptr(parmlen), uintptr(unsafe.Pointer(_p3)))
2060
+ runtime.ExitSyscall()
2061
+ if int64(r0) == -1 {
2062
+ err = errnoErr2(e1, e2)
2063
+ }
2064
+ return
2065
+ }
2066
+
2067
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2068
+
2069
+ func unmount_LE(filesystem string, mtm int) (err error) {
2070
+ var _p0 *byte
2071
+ _p0, err = BytePtrFromString(filesystem)
2072
+ if err != nil {
2073
+ return
2074
+ }
2075
+ runtime.EnterSyscall()
2076
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UMOUNT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mtm))
2077
+ runtime.ExitSyscall()
2078
+ if int64(r0) == -1 {
2079
+ err = errnoErr2(e1, e2)
2080
+ }
2081
+ return
2082
+ }
2083
+
2084
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2085
+
2086
+ func Chroot(path string) (err error) {
2087
+ var _p0 *byte
2088
+ _p0, err = BytePtrFromString(path)
2089
+ if err != nil {
2090
+ return
2091
+ }
2092
+ runtime.EnterSyscall()
2093
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___CHROOT_A<<4, uintptr(unsafe.Pointer(_p0)))
2094
+ runtime.ExitSyscall()
2095
+ if int64(r0) == -1 {
2096
+ err = errnoErr2(e1, e2)
2097
+ }
2098
+ return
2099
+ }
2100
+
2101
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2102
+
2103
+ func Select(nmsgsfds int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (ret int, err error) {
2104
+ runtime.EnterSyscall()
2105
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SELECT<<4, uintptr(nmsgsfds), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)))
2106
+ runtime.ExitSyscall()
2107
+ ret = int(r0)
2108
+ if int64(r0) == -1 {
2109
+ err = errnoErr2(e1, e2)
2110
+ }
2111
+ return
2112
+ }
2113
+
2114
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2115
+
2116
+ func Uname(buf *Utsname) (err error) {
2117
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_____OSNAME_A<<4, uintptr(unsafe.Pointer(buf)))
2118
+ if int64(r0) == -1 {
2119
+ err = errnoErr2(e1, e2)
2120
+ }
2121
+ return
2122
+ }
2123
+
2124
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2125
+
2126
+ func impl_Unshare(flags int) (err error) {
2127
+ runtime.EnterSyscall()
2128
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_UNSHARE<<4, uintptr(flags))
2129
+ runtime.ExitSyscall()
2130
+ if int64(r0) == -1 {
2131
+ err = errnoErr2(e1, e2)
2132
+ }
2133
+ return
2134
+ }
2135
+
2136
+ //go:nosplit
2137
+ func get_UnshareAddr() *(func(flags int) (err error))
2138
+
2139
+ var Unshare = enter_Unshare
2140
+
2141
+ func enter_Unshare(flags int) (err error) {
2142
+ funcref := get_UnshareAddr()
2143
+ if funcptrtest(GetZosLibVec()+SYS_UNSHARE<<4, "") == 0 {
2144
+ *funcref = impl_Unshare
2145
+ } else {
2146
+ *funcref = error_Unshare
2147
+ }
2148
+ return (*funcref)(flags)
2149
+ }
2150
+
2151
+ func error_Unshare(flags int) (err error) {
2152
+ err = ENOSYS
2153
+ return
2154
+ }
2155
+
2156
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2157
+
2158
+ func Gethostname(buf []byte) (err error) {
2159
+ var _p0 unsafe.Pointer
2160
+ if len(buf) > 0 {
2161
+ _p0 = unsafe.Pointer(&buf[0])
2162
+ } else {
2163
+ _p0 = unsafe.Pointer(&_zero)
2164
+ }
2165
+ runtime.EnterSyscall()
2166
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___GETHOSTNAME_A<<4, uintptr(_p0), uintptr(len(buf)))
2167
+ runtime.ExitSyscall()
2168
+ if int64(r0) == -1 {
2169
+ err = errnoErr2(e1, e2)
2170
+ }
2171
+ return
2172
+ }
2173
+
2174
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2175
+
2176
+ func Getgid() (gid int) {
2177
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETGID<<4)
2178
+ gid = int(r0)
2179
+ return
2180
+ }
2181
+
2182
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2183
+
2184
+ func Getpid() (pid int) {
2185
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETPID<<4)
2186
+ pid = int(r0)
2187
+ return
2188
+ }
2189
+
2190
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2191
+
2192
+ func Getpgid(pid int) (pgid int, err error) {
2193
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETPGID<<4, uintptr(pid))
2194
+ pgid = int(r0)
2195
+ if int64(r0) == -1 {
2196
+ err = errnoErr2(e1, e2)
2197
+ }
2198
+ return
2199
+ }
2200
+
2201
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2202
+
2203
+ func Getppid() (pid int) {
2204
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETPPID<<4)
2205
+ pid = int(r0)
2206
+ return
2207
+ }
2208
+
2209
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2210
+
2211
+ func Getpriority(which int, who int) (prio int, err error) {
2212
+ runtime.EnterSyscall()
2213
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETPRIORITY<<4, uintptr(which), uintptr(who))
2214
+ runtime.ExitSyscall()
2215
+ prio = int(r0)
2216
+ if int64(r0) == -1 {
2217
+ err = errnoErr2(e1, e2)
2218
+ }
2219
+ return
2220
+ }
2221
+
2222
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2223
+
2224
+ func Getrlimit(resource int, rlim *Rlimit) (err error) {
2225
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETRLIMIT<<4, uintptr(resource), uintptr(unsafe.Pointer(rlim)))
2226
+ if int64(r0) == -1 {
2227
+ err = errnoErr2(e1, e2)
2228
+ }
2229
+ return
2230
+ }
2231
+
2232
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2233
+
2234
+ func getrusage(who int, rusage *rusage_zos) (err error) {
2235
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETRUSAGE<<4, uintptr(who), uintptr(unsafe.Pointer(rusage)))
2236
+ if int64(r0) == -1 {
2237
+ err = errnoErr2(e1, e2)
2238
+ }
2239
+ return
2240
+ }
2241
+
2242
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2243
+
2244
+ func Getegid() (egid int) {
2245
+ runtime.EnterSyscall()
2246
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETEGID<<4)
2247
+ runtime.ExitSyscall()
2248
+ egid = int(r0)
2249
+ return
2250
+ }
2251
+
2252
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2253
+
2254
+ func Geteuid() (euid int) {
2255
+ runtime.EnterSyscall()
2256
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETEUID<<4)
2257
+ runtime.ExitSyscall()
2258
+ euid = int(r0)
2259
+ return
2260
+ }
2261
+
2262
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2263
+
2264
+ func Getsid(pid int) (sid int, err error) {
2265
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETSID<<4, uintptr(pid))
2266
+ sid = int(r0)
2267
+ if int64(r0) == -1 {
2268
+ err = errnoErr2(e1, e2)
2269
+ }
2270
+ return
2271
+ }
2272
+
2273
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2274
+
2275
+ func Getuid() (uid int) {
2276
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETUID<<4)
2277
+ uid = int(r0)
2278
+ return
2279
+ }
2280
+
2281
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2282
+
2283
+ func Kill(pid int, sig Signal) (err error) {
2284
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_KILL<<4, uintptr(pid), uintptr(sig))
2285
+ if int64(r0) == -1 {
2286
+ err = errnoErr2(e1, e2)
2287
+ }
2288
+ return
2289
+ }
2290
+
2291
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2292
+
2293
+ func Lchown(path string, uid int, gid int) (err error) {
2294
+ var _p0 *byte
2295
+ _p0, err = BytePtrFromString(path)
2296
+ if err != nil {
2297
+ return
2298
+ }
2299
+ runtime.EnterSyscall()
2300
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LCHOWN_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
2301
+ runtime.ExitSyscall()
2302
+ if int64(r0) == -1 {
2303
+ err = errnoErr2(e1, e2)
2304
+ }
2305
+ return
2306
+ }
2307
+
2308
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2309
+
2310
+ func Link(path string, link string) (err error) {
2311
+ var _p0 *byte
2312
+ _p0, err = BytePtrFromString(path)
2313
+ if err != nil {
2314
+ return
2315
+ }
2316
+ var _p1 *byte
2317
+ _p1, err = BytePtrFromString(link)
2318
+ if err != nil {
2319
+ return
2320
+ }
2321
+ runtime.EnterSyscall()
2322
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LINK_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)))
2323
+ runtime.ExitSyscall()
2324
+ if int64(r0) == -1 {
2325
+ err = errnoErr2(e1, e2)
2326
+ }
2327
+ return
2328
+ }
2329
+
2330
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2331
+
2332
+ func impl_Linkat(oldDirFd int, oldPath string, newDirFd int, newPath string, flags int) (err error) {
2333
+ var _p0 *byte
2334
+ _p0, err = BytePtrFromString(oldPath)
2335
+ if err != nil {
2336
+ return
2337
+ }
2338
+ var _p1 *byte
2339
+ _p1, err = BytePtrFromString(newPath)
2340
+ if err != nil {
2341
+ return
2342
+ }
2343
+ runtime.EnterSyscall()
2344
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LINKAT_A<<4, uintptr(oldDirFd), uintptr(unsafe.Pointer(_p0)), uintptr(newDirFd), uintptr(unsafe.Pointer(_p1)), uintptr(flags))
2345
+ runtime.ExitSyscall()
2346
+ if int64(r0) == -1 {
2347
+ err = errnoErr2(e1, e2)
2348
+ }
2349
+ return
2350
+ }
2351
+
2352
+ //go:nosplit
2353
+ func get_LinkatAddr() *(func(oldDirFd int, oldPath string, newDirFd int, newPath string, flags int) (err error))
2354
+
2355
+ var Linkat = enter_Linkat
2356
+
2357
+ func enter_Linkat(oldDirFd int, oldPath string, newDirFd int, newPath string, flags int) (err error) {
2358
+ funcref := get_LinkatAddr()
2359
+ if funcptrtest(GetZosLibVec()+SYS___LINKAT_A<<4, "") == 0 {
2360
+ *funcref = impl_Linkat
2361
+ } else {
2362
+ *funcref = error_Linkat
2363
+ }
2364
+ return (*funcref)(oldDirFd, oldPath, newDirFd, newPath, flags)
2365
+ }
2366
+
2367
+ func error_Linkat(oldDirFd int, oldPath string, newDirFd int, newPath string, flags int) (err error) {
2368
+ err = ENOSYS
2369
+ return
2370
+ }
2371
+
2372
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2373
+
2374
+ func Listen(s int, n int) (err error) {
2375
+ runtime.EnterSyscall()
2376
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_LISTEN<<4, uintptr(s), uintptr(n))
2377
+ runtime.ExitSyscall()
2378
+ if int64(r0) == -1 {
2379
+ err = errnoErr2(e1, e2)
2380
+ }
2381
+ return
2382
+ }
2383
+
2384
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2385
+
2386
+ func lstat(path string, stat *Stat_LE_t) (err error) {
2387
+ var _p0 *byte
2388
+ _p0, err = BytePtrFromString(path)
2389
+ if err != nil {
2390
+ return
2391
+ }
2392
+ runtime.EnterSyscall()
2393
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___LSTAT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)))
2394
+ runtime.ExitSyscall()
2395
+ if int64(r0) == -1 {
2396
+ err = errnoErr2(e1, e2)
2397
+ }
2398
+ return
2399
+ }
2400
+
2401
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2402
+
2403
+ func Mkdir(path string, mode uint32) (err error) {
2404
+ var _p0 *byte
2405
+ _p0, err = BytePtrFromString(path)
2406
+ if err != nil {
2407
+ return
2408
+ }
2409
+ runtime.EnterSyscall()
2410
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___MKDIR_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode))
2411
+ runtime.ExitSyscall()
2412
+ if int64(r0) == -1 {
2413
+ err = errnoErr2(e1, e2)
2414
+ }
2415
+ return
2416
+ }
2417
+
2418
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2419
+
2420
+ func impl_Mkdirat(dirfd int, path string, mode uint32) (err error) {
2421
+ var _p0 *byte
2422
+ _p0, err = BytePtrFromString(path)
2423
+ if err != nil {
2424
+ return
2425
+ }
2426
+ runtime.EnterSyscall()
2427
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___MKDIRAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
2428
+ runtime.ExitSyscall()
2429
+ if int64(r0) == -1 {
2430
+ err = errnoErr2(e1, e2)
2431
+ }
2432
+ return
2433
+ }
2434
+
2435
+ //go:nosplit
2436
+ func get_MkdiratAddr() *(func(dirfd int, path string, mode uint32) (err error))
2437
+
2438
+ var Mkdirat = enter_Mkdirat
2439
+
2440
+ func enter_Mkdirat(dirfd int, path string, mode uint32) (err error) {
2441
+ funcref := get_MkdiratAddr()
2442
+ if funcptrtest(GetZosLibVec()+SYS___MKDIRAT_A<<4, "") == 0 {
2443
+ *funcref = impl_Mkdirat
2444
+ } else {
2445
+ *funcref = error_Mkdirat
2446
+ }
2447
+ return (*funcref)(dirfd, path, mode)
2448
+ }
2449
+
2450
+ func error_Mkdirat(dirfd int, path string, mode uint32) (err error) {
2451
+ err = ENOSYS
2452
+ return
2453
+ }
2454
+
2455
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2456
+
2457
+ func Mkfifo(path string, mode uint32) (err error) {
2458
+ var _p0 *byte
2459
+ _p0, err = BytePtrFromString(path)
2460
+ if err != nil {
2461
+ return
2462
+ }
2463
+ runtime.EnterSyscall()
2464
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___MKFIFO_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode))
2465
+ runtime.ExitSyscall()
2466
+ if int64(r0) == -1 {
2467
+ err = errnoErr2(e1, e2)
2468
+ }
2469
+ return
2470
+ }
2471
+
2472
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2473
+
2474
+ func Mknod(path string, mode uint32, dev int) (err error) {
2475
+ var _p0 *byte
2476
+ _p0, err = BytePtrFromString(path)
2477
+ if err != nil {
2478
+ return
2479
+ }
2480
+ runtime.EnterSyscall()
2481
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___MKNOD_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
2482
+ runtime.ExitSyscall()
2483
+ if int64(r0) == -1 {
2484
+ err = errnoErr2(e1, e2)
2485
+ }
2486
+ return
2487
+ }
2488
+
2489
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2490
+
2491
+ func impl_Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
2492
+ var _p0 *byte
2493
+ _p0, err = BytePtrFromString(path)
2494
+ if err != nil {
2495
+ return
2496
+ }
2497
+ runtime.EnterSyscall()
2498
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___MKNODAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
2499
+ runtime.ExitSyscall()
2500
+ if int64(r0) == -1 {
2501
+ err = errnoErr2(e1, e2)
2502
+ }
2503
+ return
2504
+ }
2505
+
2506
+ //go:nosplit
2507
+ func get_MknodatAddr() *(func(dirfd int, path string, mode uint32, dev int) (err error))
2508
+
2509
+ var Mknodat = enter_Mknodat
2510
+
2511
+ func enter_Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
2512
+ funcref := get_MknodatAddr()
2513
+ if funcptrtest(GetZosLibVec()+SYS___MKNODAT_A<<4, "") == 0 {
2514
+ *funcref = impl_Mknodat
2515
+ } else {
2516
+ *funcref = error_Mknodat
2517
+ }
2518
+ return (*funcref)(dirfd, path, mode, dev)
2519
+ }
2520
+
2521
+ func error_Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
2522
+ err = ENOSYS
2523
+ return
2524
+ }
2525
+
2526
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2527
+
2528
+ func impl_PivotRoot(newroot string, oldroot string) (err error) {
2529
+ var _p0 *byte
2530
+ _p0, err = BytePtrFromString(newroot)
2531
+ if err != nil {
2532
+ return
2533
+ }
2534
+ var _p1 *byte
2535
+ _p1, err = BytePtrFromString(oldroot)
2536
+ if err != nil {
2537
+ return
2538
+ }
2539
+ runtime.EnterSyscall()
2540
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___PIVOT_ROOT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)))
2541
+ runtime.ExitSyscall()
2542
+ if int64(r0) == -1 {
2543
+ err = errnoErr2(e1, e2)
2544
+ }
2545
+ return
2546
+ }
2547
+
2548
+ //go:nosplit
2549
+ func get_PivotRootAddr() *(func(newroot string, oldroot string) (err error))
2550
+
2551
+ var PivotRoot = enter_PivotRoot
2552
+
2553
+ func enter_PivotRoot(newroot string, oldroot string) (err error) {
2554
+ funcref := get_PivotRootAddr()
2555
+ if funcptrtest(GetZosLibVec()+SYS___PIVOT_ROOT_A<<4, "") == 0 {
2556
+ *funcref = impl_PivotRoot
2557
+ } else {
2558
+ *funcref = error_PivotRoot
2559
+ }
2560
+ return (*funcref)(newroot, oldroot)
2561
+ }
2562
+
2563
+ func error_PivotRoot(newroot string, oldroot string) (err error) {
2564
+ err = ENOSYS
2565
+ return
2566
+ }
2567
+
2568
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2569
+
2570
+ func Pread(fd int, p []byte, offset int64) (n int, err error) {
2571
+ var _p0 unsafe.Pointer
2572
+ if len(p) > 0 {
2573
+ _p0 = unsafe.Pointer(&p[0])
2574
+ } else {
2575
+ _p0 = unsafe.Pointer(&_zero)
2576
+ }
2577
+ runtime.EnterSyscall()
2578
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_PREAD<<4, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset))
2579
+ runtime.ExitSyscall()
2580
+ n = int(r0)
2581
+ if int64(r0) == -1 {
2582
+ err = errnoErr2(e1, e2)
2583
+ }
2584
+ return
2585
+ }
2586
+
2587
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2588
+
2589
+ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
2590
+ var _p0 unsafe.Pointer
2591
+ if len(p) > 0 {
2592
+ _p0 = unsafe.Pointer(&p[0])
2593
+ } else {
2594
+ _p0 = unsafe.Pointer(&_zero)
2595
+ }
2596
+ runtime.EnterSyscall()
2597
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_PWRITE<<4, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset))
2598
+ runtime.ExitSyscall()
2599
+ n = int(r0)
2600
+ if int64(r0) == -1 {
2601
+ err = errnoErr2(e1, e2)
2602
+ }
2603
+ return
2604
+ }
2605
+
2606
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2607
+
2608
+ func impl_Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
2609
+ runtime.EnterSyscall()
2610
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___PRCTL_A<<4, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5))
2611
+ runtime.ExitSyscall()
2612
+ if int64(r0) == -1 {
2613
+ err = errnoErr2(e1, e2)
2614
+ }
2615
+ return
2616
+ }
2617
+
2618
+ //go:nosplit
2619
+ func get_PrctlAddr() *(func(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error))
2620
+
2621
+ var Prctl = enter_Prctl
2622
+
2623
+ func enter_Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
2624
+ funcref := get_PrctlAddr()
2625
+ if funcptrtest(GetZosLibVec()+SYS___PRCTL_A<<4, "") == 0 {
2626
+ *funcref = impl_Prctl
2627
+ } else {
2628
+ *funcref = error_Prctl
2629
+ }
2630
+ return (*funcref)(option, arg2, arg3, arg4, arg5)
2631
+ }
2632
+
2633
+ func error_Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
2634
+ err = ENOSYS
2635
+ return
2636
+ }
2637
+
2638
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2639
+
2640
+ func impl_Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
2641
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_PRLIMIT<<4, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)))
2642
+ if int64(r0) == -1 {
2643
+ err = errnoErr2(e1, e2)
2644
+ }
2645
+ return
2646
+ }
2647
+
2648
+ //go:nosplit
2649
+ func get_PrlimitAddr() *(func(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error))
2650
+
2651
+ var Prlimit = enter_Prlimit
2652
+
2653
+ func enter_Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
2654
+ funcref := get_PrlimitAddr()
2655
+ if funcptrtest(GetZosLibVec()+SYS_PRLIMIT<<4, "") == 0 {
2656
+ *funcref = impl_Prlimit
2657
+ } else {
2658
+ *funcref = error_Prlimit
2659
+ }
2660
+ return (*funcref)(pid, resource, newlimit, old)
2661
+ }
2662
+
2663
+ func error_Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
2664
+ err = ENOSYS
2665
+ return
2666
+ }
2667
+
2668
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2669
+
2670
+ func Rename(from string, to string) (err error) {
2671
+ var _p0 *byte
2672
+ _p0, err = BytePtrFromString(from)
2673
+ if err != nil {
2674
+ return
2675
+ }
2676
+ var _p1 *byte
2677
+ _p1, err = BytePtrFromString(to)
2678
+ if err != nil {
2679
+ return
2680
+ }
2681
+ runtime.EnterSyscall()
2682
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___RENAME_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)))
2683
+ runtime.ExitSyscall()
2684
+ if int64(r0) == -1 {
2685
+ err = errnoErr2(e1, e2)
2686
+ }
2687
+ return
2688
+ }
2689
+
2690
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2691
+
2692
+ func impl_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
2693
+ var _p0 *byte
2694
+ _p0, err = BytePtrFromString(oldpath)
2695
+ if err != nil {
2696
+ return
2697
+ }
2698
+ var _p1 *byte
2699
+ _p1, err = BytePtrFromString(newpath)
2700
+ if err != nil {
2701
+ return
2702
+ }
2703
+ runtime.EnterSyscall()
2704
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___RENAMEAT_A<<4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
2705
+ runtime.ExitSyscall()
2706
+ if int64(r0) == -1 {
2707
+ err = errnoErr2(e1, e2)
2708
+ }
2709
+ return
2710
+ }
2711
+
2712
+ //go:nosplit
2713
+ func get_RenameatAddr() *(func(olddirfd int, oldpath string, newdirfd int, newpath string) (err error))
2714
+
2715
+ var Renameat = enter_Renameat
2716
+
2717
+ func enter_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
2718
+ funcref := get_RenameatAddr()
2719
+ if funcptrtest(GetZosLibVec()+SYS___RENAMEAT_A<<4, "") == 0 {
2720
+ *funcref = impl_Renameat
2721
+ } else {
2722
+ *funcref = error_Renameat
2723
+ }
2724
+ return (*funcref)(olddirfd, oldpath, newdirfd, newpath)
2725
+ }
2726
+
2727
+ func error_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
2728
+ err = ENOSYS
2729
+ return
2730
+ }
2731
+
2732
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2733
+
2734
+ func impl_Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
2735
+ var _p0 *byte
2736
+ _p0, err = BytePtrFromString(oldpath)
2737
+ if err != nil {
2738
+ return
2739
+ }
2740
+ var _p1 *byte
2741
+ _p1, err = BytePtrFromString(newpath)
2742
+ if err != nil {
2743
+ return
2744
+ }
2745
+ runtime.EnterSyscall()
2746
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___RENAMEAT2_A<<4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags))
2747
+ runtime.ExitSyscall()
2748
+ if int64(r0) == -1 {
2749
+ err = errnoErr2(e1, e2)
2750
+ }
2751
+ return
2752
+ }
2753
+
2754
+ //go:nosplit
2755
+ func get_Renameat2Addr() *(func(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error))
2756
+
2757
+ var Renameat2 = enter_Renameat2
2758
+
2759
+ func enter_Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
2760
+ funcref := get_Renameat2Addr()
2761
+ if funcptrtest(GetZosLibVec()+SYS___RENAMEAT2_A<<4, "") == 0 {
2762
+ *funcref = impl_Renameat2
2763
+ } else {
2764
+ *funcref = error_Renameat2
2765
+ }
2766
+ return (*funcref)(olddirfd, oldpath, newdirfd, newpath, flags)
2767
+ }
2768
+
2769
+ func error_Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
2770
+ err = ENOSYS
2771
+ return
2772
+ }
2773
+
2774
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2775
+
2776
+ func Rmdir(path string) (err error) {
2777
+ var _p0 *byte
2778
+ _p0, err = BytePtrFromString(path)
2779
+ if err != nil {
2780
+ return
2781
+ }
2782
+ runtime.EnterSyscall()
2783
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___RMDIR_A<<4, uintptr(unsafe.Pointer(_p0)))
2784
+ runtime.ExitSyscall()
2785
+ if int64(r0) == -1 {
2786
+ err = errnoErr2(e1, e2)
2787
+ }
2788
+ return
2789
+ }
2790
+
2791
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2792
+
2793
+ func Seek(fd int, offset int64, whence int) (off int64, err error) {
2794
+ runtime.EnterSyscall()
2795
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_LSEEK<<4, uintptr(fd), uintptr(offset), uintptr(whence))
2796
+ runtime.ExitSyscall()
2797
+ off = int64(r0)
2798
+ if int64(r0) == -1 {
2799
+ err = errnoErr2(e1, e2)
2800
+ }
2801
+ return
2802
+ }
2803
+
2804
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2805
+
2806
+ func Setegid(egid int) (err error) {
2807
+ runtime.EnterSyscall()
2808
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETEGID<<4, uintptr(egid))
2809
+ runtime.ExitSyscall()
2810
+ if int64(r0) == -1 {
2811
+ err = errnoErr2(e1, e2)
2812
+ }
2813
+ return
2814
+ }
2815
+
2816
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2817
+
2818
+ func Seteuid(euid int) (err error) {
2819
+ runtime.EnterSyscall()
2820
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETEUID<<4, uintptr(euid))
2821
+ runtime.ExitSyscall()
2822
+ if int64(r0) == -1 {
2823
+ err = errnoErr2(e1, e2)
2824
+ }
2825
+ return
2826
+ }
2827
+
2828
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2829
+
2830
+ func impl_Sethostname(p []byte) (err error) {
2831
+ var _p0 unsafe.Pointer
2832
+ if len(p) > 0 {
2833
+ _p0 = unsafe.Pointer(&p[0])
2834
+ } else {
2835
+ _p0 = unsafe.Pointer(&_zero)
2836
+ }
2837
+ runtime.EnterSyscall()
2838
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___SETHOSTNAME_A<<4, uintptr(_p0), uintptr(len(p)))
2839
+ runtime.ExitSyscall()
2840
+ if int64(r0) == -1 {
2841
+ err = errnoErr2(e1, e2)
2842
+ }
2843
+ return
2844
+ }
2845
+
2846
+ //go:nosplit
2847
+ func get_SethostnameAddr() *(func(p []byte) (err error))
2848
+
2849
+ var Sethostname = enter_Sethostname
2850
+
2851
+ func enter_Sethostname(p []byte) (err error) {
2852
+ funcref := get_SethostnameAddr()
2853
+ if funcptrtest(GetZosLibVec()+SYS___SETHOSTNAME_A<<4, "") == 0 {
2854
+ *funcref = impl_Sethostname
2855
+ } else {
2856
+ *funcref = error_Sethostname
2857
+ }
2858
+ return (*funcref)(p)
2859
+ }
2860
+
2861
+ func error_Sethostname(p []byte) (err error) {
2862
+ err = ENOSYS
2863
+ return
2864
+ }
2865
+
2866
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2867
+
2868
+ func impl_Setns(fd int, nstype int) (err error) {
2869
+ runtime.EnterSyscall()
2870
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETNS<<4, uintptr(fd), uintptr(nstype))
2871
+ runtime.ExitSyscall()
2872
+ if int64(r0) == -1 {
2873
+ err = errnoErr2(e1, e2)
2874
+ }
2875
+ return
2876
+ }
2877
+
2878
+ //go:nosplit
2879
+ func get_SetnsAddr() *(func(fd int, nstype int) (err error))
2880
+
2881
+ var Setns = enter_Setns
2882
+
2883
+ func enter_Setns(fd int, nstype int) (err error) {
2884
+ funcref := get_SetnsAddr()
2885
+ if funcptrtest(GetZosLibVec()+SYS_SETNS<<4, "") == 0 {
2886
+ *funcref = impl_Setns
2887
+ } else {
2888
+ *funcref = error_Setns
2889
+ }
2890
+ return (*funcref)(fd, nstype)
2891
+ }
2892
+
2893
+ func error_Setns(fd int, nstype int) (err error) {
2894
+ err = ENOSYS
2895
+ return
2896
+ }
2897
+
2898
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2899
+
2900
+ func Setpriority(which int, who int, prio int) (err error) {
2901
+ runtime.EnterSyscall()
2902
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETPRIORITY<<4, uintptr(which), uintptr(who), uintptr(prio))
2903
+ runtime.ExitSyscall()
2904
+ if int64(r0) == -1 {
2905
+ err = errnoErr2(e1, e2)
2906
+ }
2907
+ return
2908
+ }
2909
+
2910
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2911
+
2912
+ func Setpgid(pid int, pgid int) (err error) {
2913
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETPGID<<4, uintptr(pid), uintptr(pgid))
2914
+ if int64(r0) == -1 {
2915
+ err = errnoErr2(e1, e2)
2916
+ }
2917
+ return
2918
+ }
2919
+
2920
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2921
+
2922
+ func Setrlimit(resource int, lim *Rlimit) (err error) {
2923
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETRLIMIT<<4, uintptr(resource), uintptr(unsafe.Pointer(lim)))
2924
+ if int64(r0) == -1 {
2925
+ err = errnoErr2(e1, e2)
2926
+ }
2927
+ return
2928
+ }
2929
+
2930
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2931
+
2932
+ func Setregid(rgid int, egid int) (err error) {
2933
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETREGID<<4, uintptr(rgid), uintptr(egid))
2934
+ if int64(r0) == -1 {
2935
+ err = errnoErr2(e1, e2)
2936
+ }
2937
+ return
2938
+ }
2939
+
2940
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2941
+
2942
+ func Setreuid(ruid int, euid int) (err error) {
2943
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETREUID<<4, uintptr(ruid), uintptr(euid))
2944
+ if int64(r0) == -1 {
2945
+ err = errnoErr2(e1, e2)
2946
+ }
2947
+ return
2948
+ }
2949
+
2950
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2951
+
2952
+ func Setsid() (pid int, err error) {
2953
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec() + SYS_SETSID<<4)
2954
+ pid = int(r0)
2955
+ if int64(r0) == -1 {
2956
+ err = errnoErr2(e1, e2)
2957
+ }
2958
+ return
2959
+ }
2960
+
2961
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2962
+
2963
+ func Setuid(uid int) (err error) {
2964
+ runtime.EnterSyscall()
2965
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETUID<<4, uintptr(uid))
2966
+ runtime.ExitSyscall()
2967
+ if int64(r0) == -1 {
2968
+ err = errnoErr2(e1, e2)
2969
+ }
2970
+ return
2971
+ }
2972
+
2973
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2974
+
2975
+ func Setgid(uid int) (err error) {
2976
+ runtime.EnterSyscall()
2977
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SETGID<<4, uintptr(uid))
2978
+ runtime.ExitSyscall()
2979
+ if int64(r0) == -1 {
2980
+ err = errnoErr2(e1, e2)
2981
+ }
2982
+ return
2983
+ }
2984
+
2985
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2986
+
2987
+ func Shutdown(fd int, how int) (err error) {
2988
+ runtime.EnterSyscall()
2989
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_SHUTDOWN<<4, uintptr(fd), uintptr(how))
2990
+ runtime.ExitSyscall()
2991
+ if int64(r0) == -1 {
2992
+ err = errnoErr2(e1, e2)
2993
+ }
2994
+ return
2995
+ }
2996
+
2997
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
2998
+
2999
+ func stat(path string, statLE *Stat_LE_t) (err error) {
3000
+ var _p0 *byte
3001
+ _p0, err = BytePtrFromString(path)
3002
+ if err != nil {
3003
+ return
3004
+ }
3005
+ runtime.EnterSyscall()
3006
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___STAT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(statLE)))
3007
+ runtime.ExitSyscall()
3008
+ if int64(r0) == -1 {
3009
+ err = errnoErr2(e1, e2)
3010
+ }
3011
+ return
3012
+ }
3013
+
3014
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3015
+
3016
+ func Symlink(path string, link string) (err error) {
3017
+ var _p0 *byte
3018
+ _p0, err = BytePtrFromString(path)
3019
+ if err != nil {
3020
+ return
3021
+ }
3022
+ var _p1 *byte
3023
+ _p1, err = BytePtrFromString(link)
3024
+ if err != nil {
3025
+ return
3026
+ }
3027
+ runtime.EnterSyscall()
3028
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___SYMLINK_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)))
3029
+ runtime.ExitSyscall()
3030
+ if int64(r0) == -1 {
3031
+ err = errnoErr2(e1, e2)
3032
+ }
3033
+ return
3034
+ }
3035
+
3036
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3037
+
3038
+ func impl_Symlinkat(oldPath string, dirfd int, newPath string) (err error) {
3039
+ var _p0 *byte
3040
+ _p0, err = BytePtrFromString(oldPath)
3041
+ if err != nil {
3042
+ return
3043
+ }
3044
+ var _p1 *byte
3045
+ _p1, err = BytePtrFromString(newPath)
3046
+ if err != nil {
3047
+ return
3048
+ }
3049
+ runtime.EnterSyscall()
3050
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___SYMLINKAT_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(dirfd), uintptr(unsafe.Pointer(_p1)))
3051
+ runtime.ExitSyscall()
3052
+ if int64(r0) == -1 {
3053
+ err = errnoErr2(e1, e2)
3054
+ }
3055
+ return
3056
+ }
3057
+
3058
+ //go:nosplit
3059
+ func get_SymlinkatAddr() *(func(oldPath string, dirfd int, newPath string) (err error))
3060
+
3061
+ var Symlinkat = enter_Symlinkat
3062
+
3063
+ func enter_Symlinkat(oldPath string, dirfd int, newPath string) (err error) {
3064
+ funcref := get_SymlinkatAddr()
3065
+ if funcptrtest(GetZosLibVec()+SYS___SYMLINKAT_A<<4, "") == 0 {
3066
+ *funcref = impl_Symlinkat
3067
+ } else {
3068
+ *funcref = error_Symlinkat
3069
+ }
3070
+ return (*funcref)(oldPath, dirfd, newPath)
3071
+ }
3072
+
3073
+ func error_Symlinkat(oldPath string, dirfd int, newPath string) (err error) {
3074
+ err = ENOSYS
3075
+ return
3076
+ }
3077
+
3078
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3079
+
3080
+ func Sync() {
3081
+ runtime.EnterSyscall()
3082
+ CallLeFuncWithErr(GetZosLibVec() + SYS_SYNC<<4)
3083
+ runtime.ExitSyscall()
3084
+ return
3085
+ }
3086
+
3087
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3088
+
3089
+ func Truncate(path string, length int64) (err error) {
3090
+ var _p0 *byte
3091
+ _p0, err = BytePtrFromString(path)
3092
+ if err != nil {
3093
+ return
3094
+ }
3095
+ runtime.EnterSyscall()
3096
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___TRUNCATE_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(length))
3097
+ runtime.ExitSyscall()
3098
+ if int64(r0) == -1 {
3099
+ err = errnoErr2(e1, e2)
3100
+ }
3101
+ return
3102
+ }
3103
+
3104
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3105
+
3106
+ func Tcgetattr(fildes int, termptr *Termios) (err error) {
3107
+ runtime.EnterSyscall()
3108
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_TCGETATTR<<4, uintptr(fildes), uintptr(unsafe.Pointer(termptr)))
3109
+ runtime.ExitSyscall()
3110
+ if int64(r0) == -1 {
3111
+ err = errnoErr2(e1, e2)
3112
+ }
3113
+ return
3114
+ }
3115
+
3116
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3117
+
3118
+ func Tcsetattr(fildes int, when int, termptr *Termios) (err error) {
3119
+ runtime.EnterSyscall()
3120
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_TCSETATTR<<4, uintptr(fildes), uintptr(when), uintptr(unsafe.Pointer(termptr)))
3121
+ runtime.ExitSyscall()
3122
+ if int64(r0) == -1 {
3123
+ err = errnoErr2(e1, e2)
3124
+ }
3125
+ return
3126
+ }
3127
+
3128
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3129
+
3130
+ func Umask(mask int) (oldmask int) {
3131
+ runtime.EnterSyscall()
3132
+ r0, _, _ := CallLeFuncWithErr(GetZosLibVec()+SYS_UMASK<<4, uintptr(mask))
3133
+ runtime.ExitSyscall()
3134
+ oldmask = int(r0)
3135
+ return
3136
+ }
3137
+
3138
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3139
+
3140
+ func Unlink(path string) (err error) {
3141
+ var _p0 *byte
3142
+ _p0, err = BytePtrFromString(path)
3143
+ if err != nil {
3144
+ return
3145
+ }
3146
+ runtime.EnterSyscall()
3147
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UNLINK_A<<4, uintptr(unsafe.Pointer(_p0)))
3148
+ runtime.ExitSyscall()
3149
+ if int64(r0) == -1 {
3150
+ err = errnoErr2(e1, e2)
3151
+ }
3152
+ return
3153
+ }
3154
+
3155
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3156
+
3157
+ func impl_Unlinkat(dirfd int, path string, flags int) (err error) {
3158
+ var _p0 *byte
3159
+ _p0, err = BytePtrFromString(path)
3160
+ if err != nil {
3161
+ return
3162
+ }
3163
+ runtime.EnterSyscall()
3164
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UNLINKAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
3165
+ runtime.ExitSyscall()
3166
+ if int64(r0) == -1 {
3167
+ err = errnoErr2(e1, e2)
3168
+ }
3169
+ return
3170
+ }
3171
+
3172
+ //go:nosplit
3173
+ func get_UnlinkatAddr() *(func(dirfd int, path string, flags int) (err error))
3174
+
3175
+ var Unlinkat = enter_Unlinkat
3176
+
3177
+ func enter_Unlinkat(dirfd int, path string, flags int) (err error) {
3178
+ funcref := get_UnlinkatAddr()
3179
+ if funcptrtest(GetZosLibVec()+SYS___UNLINKAT_A<<4, "") == 0 {
3180
+ *funcref = impl_Unlinkat
3181
+ } else {
3182
+ *funcref = error_Unlinkat
3183
+ }
3184
+ return (*funcref)(dirfd, path, flags)
3185
+ }
3186
+
3187
+ func error_Unlinkat(dirfd int, path string, flags int) (err error) {
3188
+ err = ENOSYS
3189
+ return
3190
+ }
3191
+
3192
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3193
+
3194
+ func Utime(path string, utim *Utimbuf) (err error) {
3195
+ var _p0 *byte
3196
+ _p0, err = BytePtrFromString(path)
3197
+ if err != nil {
3198
+ return
3199
+ }
3200
+ runtime.EnterSyscall()
3201
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UTIME_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(utim)))
3202
+ runtime.ExitSyscall()
3203
+ if int64(r0) == -1 {
3204
+ err = errnoErr2(e1, e2)
3205
+ }
3206
+ return
3207
+ }
3208
+
3209
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3210
+
3211
+ func open(path string, mode int, perm uint32) (fd int, err error) {
3212
+ var _p0 *byte
3213
+ _p0, err = BytePtrFromString(path)
3214
+ if err != nil {
3215
+ return
3216
+ }
3217
+ runtime.EnterSyscall()
3218
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___OPEN_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
3219
+ runtime.ExitSyscall()
3220
+ fd = int(r0)
3221
+ if int64(r0) == -1 {
3222
+ err = errnoErr2(e1, e2)
3223
+ }
3224
+ return
3225
+ }
3226
+
3227
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3228
+
3229
+ func impl_openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
3230
+ var _p0 *byte
3231
+ _p0, err = BytePtrFromString(path)
3232
+ if err != nil {
3233
+ return
3234
+ }
3235
+ runtime.EnterSyscall()
3236
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___OPENAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode))
3237
+ runtime.ExitSyscall()
3238
+ fd = int(r0)
3239
+ if int64(r0) == -1 {
3240
+ err = errnoErr2(e1, e2)
3241
+ }
3242
+ return
3243
+ }
3244
+
3245
+ //go:nosplit
3246
+ func get_openatAddr() *(func(dirfd int, path string, flags int, mode uint32) (fd int, err error))
3247
+
3248
+ var openat = enter_openat
3249
+
3250
+ func enter_openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
3251
+ funcref := get_openatAddr()
3252
+ if funcptrtest(GetZosLibVec()+SYS___OPENAT_A<<4, "") == 0 {
3253
+ *funcref = impl_openat
3254
+ } else {
3255
+ *funcref = error_openat
3256
+ }
3257
+ return (*funcref)(dirfd, path, flags, mode)
3258
+ }
3259
+
3260
+ func error_openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
3261
+ fd = -1
3262
+ err = ENOSYS
3263
+ return
3264
+ }
3265
+
3266
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3267
+
3268
+ func impl_openat2(dirfd int, path string, open_how *OpenHow, size int) (fd int, err error) {
3269
+ var _p0 *byte
3270
+ _p0, err = BytePtrFromString(path)
3271
+ if err != nil {
3272
+ return
3273
+ }
3274
+ runtime.EnterSyscall()
3275
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___OPENAT2_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(open_how)), uintptr(size))
3276
+ runtime.ExitSyscall()
3277
+ fd = int(r0)
3278
+ if int64(r0) == -1 {
3279
+ err = errnoErr2(e1, e2)
3280
+ }
3281
+ return
3282
+ }
3283
+
3284
+ //go:nosplit
3285
+ func get_openat2Addr() *(func(dirfd int, path string, open_how *OpenHow, size int) (fd int, err error))
3286
+
3287
+ var openat2 = enter_openat2
3288
+
3289
+ func enter_openat2(dirfd int, path string, open_how *OpenHow, size int) (fd int, err error) {
3290
+ funcref := get_openat2Addr()
3291
+ if funcptrtest(GetZosLibVec()+SYS___OPENAT2_A<<4, "") == 0 {
3292
+ *funcref = impl_openat2
3293
+ } else {
3294
+ *funcref = error_openat2
3295
+ }
3296
+ return (*funcref)(dirfd, path, open_how, size)
3297
+ }
3298
+
3299
+ func error_openat2(dirfd int, path string, open_how *OpenHow, size int) (fd int, err error) {
3300
+ fd = -1
3301
+ err = ENOSYS
3302
+ return
3303
+ }
3304
+
3305
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3306
+
3307
+ func remove(path string) (err error) {
3308
+ var _p0 *byte
3309
+ _p0, err = BytePtrFromString(path)
3310
+ if err != nil {
3311
+ return
3312
+ }
3313
+ runtime.EnterSyscall()
3314
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_REMOVE<<4, uintptr(unsafe.Pointer(_p0)))
3315
+ runtime.ExitSyscall()
3316
+ if int64(r0) == -1 {
3317
+ err = errnoErr2(e1, e2)
3318
+ }
3319
+ return
3320
+ }
3321
+
3322
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3323
+
3324
+ func waitid(idType int, id int, info *Siginfo, options int) (err error) {
3325
+ runtime.EnterSyscall()
3326
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_WAITID<<4, uintptr(idType), uintptr(id), uintptr(unsafe.Pointer(info)), uintptr(options))
3327
+ runtime.ExitSyscall()
3328
+ if int64(r0) == -1 {
3329
+ err = errnoErr2(e1, e2)
3330
+ }
3331
+ return
3332
+ }
3333
+
3334
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3335
+
3336
+ func waitpid(pid int, wstatus *_C_int, options int) (wpid int, err error) {
3337
+ runtime.EnterSyscall()
3338
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_WAITPID<<4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options))
3339
+ runtime.ExitSyscall()
3340
+ wpid = int(r0)
3341
+ if int64(r0) == -1 {
3342
+ err = errnoErr2(e1, e2)
3343
+ }
3344
+ return
3345
+ }
3346
+
3347
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3348
+
3349
+ func gettimeofday(tv *timeval_zos) (err error) {
3350
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETTIMEOFDAY<<4, uintptr(unsafe.Pointer(tv)))
3351
+ if int64(r0) == -1 {
3352
+ err = errnoErr2(e1, e2)
3353
+ }
3354
+ return
3355
+ }
3356
+
3357
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3358
+
3359
+ func pipe(p *[2]_C_int) (err error) {
3360
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_PIPE<<4, uintptr(unsafe.Pointer(p)))
3361
+ if int64(r0) == -1 {
3362
+ err = errnoErr2(e1, e2)
3363
+ }
3364
+ return
3365
+ }
3366
+
3367
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3368
+
3369
+ func utimes(path string, timeval *[2]Timeval) (err error) {
3370
+ var _p0 *byte
3371
+ _p0, err = BytePtrFromString(path)
3372
+ if err != nil {
3373
+ return
3374
+ }
3375
+ runtime.EnterSyscall()
3376
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UTIMES_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)))
3377
+ runtime.ExitSyscall()
3378
+ if int64(r0) == -1 {
3379
+ err = errnoErr2(e1, e2)
3380
+ }
3381
+ return
3382
+ }
3383
+
3384
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3385
+
3386
+ func impl_utimensat(dirfd int, path string, ts *[2]Timespec, flags int) (err error) {
3387
+ var _p0 *byte
3388
+ _p0, err = BytePtrFromString(path)
3389
+ if err != nil {
3390
+ return
3391
+ }
3392
+ runtime.EnterSyscall()
3393
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UTIMENSAT_A<<4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(ts)), uintptr(flags))
3394
+ runtime.ExitSyscall()
3395
+ if int64(r0) == -1 {
3396
+ err = errnoErr2(e1, e2)
3397
+ }
3398
+ return
3399
+ }
3400
+
3401
+ //go:nosplit
3402
+ func get_utimensatAddr() *(func(dirfd int, path string, ts *[2]Timespec, flags int) (err error))
3403
+
3404
+ var utimensat = enter_utimensat
3405
+
3406
+ func enter_utimensat(dirfd int, path string, ts *[2]Timespec, flags int) (err error) {
3407
+ funcref := get_utimensatAddr()
3408
+ if funcptrtest(GetZosLibVec()+SYS___UTIMENSAT_A<<4, "") == 0 {
3409
+ *funcref = impl_utimensat
3410
+ } else {
3411
+ *funcref = error_utimensat
3412
+ }
3413
+ return (*funcref)(dirfd, path, ts, flags)
3414
+ }
3415
+
3416
+ func error_utimensat(dirfd int, path string, ts *[2]Timespec, flags int) (err error) {
3417
+ err = ENOSYS
3418
+ return
3419
+ }
3420
+
3421
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3422
+
3423
+ func Posix_openpt(oflag int) (fd int, err error) {
3424
+ runtime.EnterSyscall()
3425
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_POSIX_OPENPT<<4, uintptr(oflag))
3426
+ runtime.ExitSyscall()
3427
+ fd = int(r0)
3428
+ if int64(r0) == -1 {
3429
+ err = errnoErr2(e1, e2)
3430
+ }
3431
+ return
3432
+ }
3433
+
3434
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3435
+
3436
+ func Grantpt(fildes int) (rc int, err error) {
3437
+ runtime.EnterSyscall()
3438
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GRANTPT<<4, uintptr(fildes))
3439
+ runtime.ExitSyscall()
3440
+ rc = int(r0)
3441
+ if int64(r0) == -1 {
3442
+ err = errnoErr2(e1, e2)
3443
+ }
3444
+ return
3445
+ }
3446
+
3447
+ // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
3448
+
3449
+ func Unlockpt(fildes int) (rc int, err error) {
3450
+ runtime.EnterSyscall()
3451
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_UNLOCKPT<<4, uintptr(fildes))
3452
+ runtime.ExitSyscall()
3453
+ rc = int(r0)
3454
+ if int64(r0) == -1 {
3455
+ err = errnoErr2(e1, e2)
3456
+ }
3457
+ return
3458
+ }