Update for 0.18.0 release (#1337)

* Update CHANGELOG for release.
* Bump VERSION.
* Update vendoring.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2019-05-09 13:19:12 -05:00 committed by GitHub
parent 7882009870
commit f97f01c46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
132 changed files with 19692 additions and 3641 deletions

View file

@ -2,6 +2,17 @@
### **Breaking changes** ### **Breaking changes**
### Changes
* [CHANGE]
* [FEATURE]
* [ENHANCEMENT]
* [BUGFIX]
## 0.18.0 / 2019-05-09
### **Breaking changes**
* Renamed `interface` label to `device` in netclass collector for consistency with * Renamed `interface` label to `device` in netclass collector for consistency with
other network metrics #1224 other network metrics #1224
* The cpufreq metrics now separate the `cpufreq` and `scaling` data based on what the driver provides. #1248 * The cpufreq metrics now separate the `cpufreq` and `scaling` data based on what the driver provides. #1248
@ -13,26 +24,25 @@
### Changes ### Changes
* [BUGFIX] * [CHANGE] Bonding state uses mii_status #1124
* [BUGFIX] Fix node_textfile_mtime_seconds to work properly on symlinks #1326
* [CHANGE] Renamed `interface` label to `device` in netclass collector #1224
* [BUGFIX] Add fallback for missing /proc/1/mounts #1172
* [CHANGE] Add TCPSynRetrans to netstat default filter #1143
* [CHANGE] Add a limit to the number of in-flight requests #1166 * [CHANGE] Add a limit to the number of in-flight requests #1166
* [CHANGE] Renamed `interface` label to `device` in netclass collector #1224
* [CHANGE] Add separate cpufreq and scaling metrics #1248 * [CHANGE] Add separate cpufreq and scaling metrics #1248
* [CHANGE] Several systemd metrics have been turned off by default to improve performance #1254 * [CHANGE] Several systemd metrics have been turned off by default to improve performance #1254
* [CHANGE] Expand systemd collector blacklist #1255 * [CHANGE] Expand systemd collector blacklist #1255
* [CHANGE] Split cpufreq metrics into a separate collector #1253 * [CHANGE] Split cpufreq metrics into a separate collector #1253
* [ENHANCEMENT] Add Infiniband counters #1120
* [ENHANCEMENT] Move network_up labels into new metric network_info #1236
* [ENHANCEMENT] Use 64-bit counters for Darwin netstat
* [FEATURE] Add a flag to disable exporter metrics #1148 * [FEATURE] Add a flag to disable exporter metrics #1148
* [FEATURE] Add kstat-based Solaris metrics for boottime, cpu and zfs collectors #1197 * [FEATURE] Add kstat-based Solaris metrics for boottime, cpu and zfs collectors #1197
* [FEATURE] Add uname collector for FreeBSD #1239 * [FEATURE] Add uname collector for FreeBSD #1239
* [FEATURE] Add diskstats collector for OpenBSD #1250 * [FEATURE] Add diskstats collector for OpenBSD #1250
* [CHANGE] Bonding state uses mii_status #1124
* [FEATURE] Add pressure collector exposing pressure stall information for Linux #1174 * [FEATURE] Add pressure collector exposing pressure stall information for Linux #1174
* [FEATURE] Add perf exporter for Linux #1274 * [FEATURE] Add perf exporter for Linux #1274
* [ENHANCEMENT] Add Infiniband counters #1120
* [ENHANCEMENT] Add TCPSynRetrans to netstat default filter #1143
* [ENHANCEMENT] Move network_up labels into new metric network_info #1236
* [ENHANCEMENT] Use 64-bit counters for Darwin netstat
* [BUGFIX] Add fallback for missing /proc/1/mounts #1172
* [BUGFIX] Fix node_textfile_mtime_seconds to work properly on symlinks #1326
## 0.17.0 / 2018-11-30 ## 0.17.0 / 2018-11-30

View file

@ -1 +1 @@
0.17.0 0.18.0

13
go.mod
View file

@ -2,12 +2,13 @@ module github.com/prometheus/node_exporter
require ( require (
github.com/beevik/ntp v0.2.0 github.com/beevik/ntp v0.2.0
github.com/beorn7/perks v1.0.0 // indirect
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
github.com/ema/qdisc v0.0.0-20180104102928-b307c22d3ce7 github.com/ema/qdisc v0.0.0-20180104102928-b307c22d3ce7
github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968 github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968
github.com/golang/protobuf v1.3.1 // indirect github.com/golang/protobuf v1.3.1 // indirect
github.com/google/go-cmp v0.2.0 // indirect github.com/google/go-cmp v0.3.0 // indirect
github.com/hodgesds/perf-utils v0.0.6 github.com/hodgesds/perf-utils v0.0.7
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/lufia/iostat v0.0.0-20170605150913-9f7362b77ad3 github.com/lufia/iostat v0.0.0-20170605150913-9f7362b77ad3
github.com/mattn/go-xmlrpc v0.0.1 github.com/mattn/go-xmlrpc v0.0.1
@ -16,16 +17,16 @@ require (
github.com/mdlayher/wifi v0.0.0-20180727163819-efdf3f4195d9 github.com/mdlayher/wifi v0.0.0-20180727163819-efdf3f4195d9
github.com/prometheus/client_golang v0.9.2 github.com/prometheus/client_golang v0.9.2
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
github.com/prometheus/common v0.2.0 github.com/prometheus/common v0.3.0
github.com/prometheus/procfs v0.0.0-20190503130316-740c07785007 github.com/prometheus/procfs v0.0.0-20190507043628-bc6930f2d510
github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745 github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745
github.com/sirupsen/logrus v1.4.1 // indirect github.com/sirupsen/logrus v1.4.1 // indirect
github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a
github.com/stretchr/testify v1.3.0 // indirect github.com/stretchr/testify v1.3.0 // indirect
go.uber.org/atomic v1.3.2 // indirect go.uber.org/atomic v1.3.2 // indirect
go.uber.org/multierr v1.1.0 // indirect go.uber.org/multierr v1.1.0 // indirect
golang.org/x/net v0.0.0-20190328230028-74de082e2cca // indirect golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
golang.org/x/sys v0.0.0-20190402142545-baf5eb976a8c golang.org/x/sys v0.0.0-20190507053917-2953c62de483
gopkg.in/alecthomas/kingpin.v2 v2.2.6 gopkg.in/alecthomas/kingpin.v2 v2.2.6
) )

26
go.sum
View file

@ -6,6 +6,8 @@ github.com/beevik/ntp v0.2.0 h1:sGsd+kAXzT0bfVfzJfce04g+dSRfrs+tbQW8lweuYgw=
github.com/beevik/ntp v0.2.0/go.mod h1:hIHWr+l3+/clUnF44zdK+CWW7fO8dR5cIylAQ76NRpg= github.com/beevik/ntp v0.2.0/go.mod h1:hIHWr+l3+/clUnF44zdK+CWW7fO8dR5cIylAQ76NRpg=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@ -24,10 +26,10 @@ github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg= github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/hodgesds/perf-utils v0.0.6 h1:qtHULYRGc+LEIADV2+XI1tJrb9d4PrWl5bwdA94WV3c= github.com/hodgesds/perf-utils v0.0.7 h1:V/5aRKeXn/membOpFdzAgd+fFvmtvTYD6moDuZ7K7SM=
github.com/hodgesds/perf-utils v0.0.6/go.mod h1:F6TfvsbtrF88i++hou29dTXlI2sfsJv+gRZDtmTJkAs= github.com/hodgesds/perf-utils v0.0.7/go.mod h1:F6TfvsbtrF88i++hou29dTXlI2sfsJv+gRZDtmTJkAs=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
@ -59,12 +61,12 @@ github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE=
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
github.com/prometheus/common v0.2.0 h1:kUZDBDTdBVBYBj5Tmh2NZLlF60mfjA27rM34b+cVwNU= github.com/prometheus/common v0.3.0 h1:taZ4h8Tkxv2kNyoSctBvfXEHmBmxrwmIidZTIaHons4=
github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.3.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.0-20190503130316-740c07785007 h1:gT4PpkbWSQM4J8fup/aXeQhY5jLDyHuPq8y2dHspqFw= github.com/prometheus/procfs v0.0.0-20190507043628-bc6930f2d510 h1:xDFyJxLucSC7yg81N/VozfnSEEB2dRj1VgR/YEzl5dA=
github.com/prometheus/procfs v0.0.0-20190503130316-740c07785007/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.0-20190507043628-bc6930f2d510/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745 h1:IuH7WumZNax0D+rEqmy2TyhKCzrtMGqbZO0b8rO00JA= github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745 h1:IuH7WumZNax0D+rEqmy2TyhKCzrtMGqbZO0b8rO00JA=
github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745/go.mod h1:G81aIFAMS9ECrwBYR9YxhlPjWgrItd+Kje78O6+uqm8= github.com/siebenmann/go-kstat v0.0.0-20160321171754-d34789b79745/go.mod h1:G81aIFAMS9ECrwBYR9YxhlPjWgrItd+Kje78O6+uqm8=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
@ -86,8 +88,8 @@ golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnf
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190328230028-74de082e2cca h1:hyA6yiAgbUwuWqtscNvWAI7U1CtlaD1KilQ6iudt1aI= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c h1:uOCk1iQW6Vc18bnC13MfzScl+wdKBmM9Y9kU7Z83/lw=
golang.org/x/net v0.0.0-20190328230028-74de082e2cca/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f h1:Bl/8QSvNqXvPGPGXa2z5xUTmV7VDcZyvRZ+QQXkXTZQ= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f h1:Bl/8QSvNqXvPGPGXa2z5xUTmV7VDcZyvRZ+QQXkXTZQ=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
@ -97,8 +99,8 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190402142545-baf5eb976a8c h1:3xiKTkef8QqBJ8q+4fVUDMRoxnI0H/MVNFswa+aExbo= golang.org/x/sys v0.0.0-20190507053917-2953c62de483 h1:0pONs62zZ8ED8kUnSCsv4RWjmwM6ideAalXGTybpo2s=
golang.org/x/sys v0.0.0-20190402142545-baf5eb976a8c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507053917-2953c62de483/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=

View file

@ -16,9 +16,11 @@ const (
PERF_TYPE_TRACEPOINT = 2 PERF_TYPE_TRACEPOINT = 2
) )
// AvailableEvents returns the list of available events. // AvailableEvents returns a mapping of available subsystems and their
// corresponding list of available events.
func AvailableEvents() (map[string][]string, error) { func AvailableEvents() (map[string][]string, error) {
events := map[string][]string{} events := map[string][]string{}
// BUG(hodgesds): this should ideally check mounts for debugfs
rawEvents, err := fileToStrings(TracingDir + "/available_events") rawEvents, err := fileToStrings(TracingDir + "/available_events")
// Events are colon delimited by type so parse the type and add sub // Events are colon delimited by type so parse the type and add sub
// events appropriately. // events appropriately.
@ -40,6 +42,26 @@ func AvailableEvents() (map[string][]string, error) {
return events, err return events, err
} }
// AvailableSubsystems returns a slice of available subsystems.
func AvailableSubsystems() ([]string, error) {
subsystems := []string{}
// BUG(hodgesds): this should ideally check mounts for debugfs
rawEvents, err := fileToStrings(TracingDir + "/available_events")
// Events are colon delimited by type so parse the type and add sub
// events appropriately.
if err != nil {
return subsystems, err
}
for _, rawEvent := range rawEvents {
splits := strings.Split(rawEvent, ":")
if len(splits) <= 1 {
continue
}
subsystems = append(subsystems, splits[0])
}
return subsystems, nil
}
// AvailableTracers returns the list of available tracers. // AvailableTracers returns the list of available tracers.
func AvailableTracers() ([]string, error) { func AvailableTracers() ([]string, error) {
return fileToStrings(TracingDir + "/available_tracers") return fileToStrings(TracingDir + "/available_tracers")
@ -51,21 +73,22 @@ func CurrentTracer() (string, error) {
return res[0], err return res[0], err
} }
// getTracepointConfig is used to get the configuration for a trace event. // GetTracepointConfig is used to get the configuration for a trace event.
func getTracepointConfig(kind, event string) (uint64, error) { func GetTracepointConfig(subsystem, event string) (uint64, error) {
res, err := fileToStrings(TracingDir + fmt.Sprintf("/events/%s/%s/id", kind, event)) res, err := fileToStrings(
TracingDir + fmt.Sprintf("/events/%s/%s/id", subsystem, event))
if err != nil { if err != nil {
return 0, err return 0, err
} }
return strconv.ParseUint(res[0], 10, 64) return strconv.ParseUint(res[0], 10, 64)
} }
// ProfileTracepoint is used to profile a kernel tracepoint event. Events can // ProfileTracepoint is used to profile a kernel tracepoint event for a
// be listed with `perf list` for Tracepoint Events or in the // specific PID. Events can be listed with `perf list` for Tracepoint Events or
// /sys/kernel/debug/tracing/events directory with the kind being the directory // in the /sys/kernel/debug/tracing/events directory with the kind being the
// and the event being the subdirectory. // directory and the event being the subdirectory.
func ProfileTracepoint(kind, event string, pid, cpu int, opts ...int) (BPFProfiler, error) { func ProfileTracepoint(subsystem, event string, pid, cpu int, opts ...int) (BPFProfiler, error) {
config, err := getTracepointConfig(kind, event) config, err := GetTracepointConfig(subsystem, event)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -96,3 +119,19 @@ func ProfileTracepoint(kind, event string, pid, cpu int, opts ...int) (BPFProfil
fd: fd, fd: fd,
}, nil }, nil
} }
// TracepointEventAttr is used to return an PerfEventAttr for a trace event.
func TracepointEventAttr(subsystem, event string) (*unix.PerfEventAttr, error) {
config, err := GetTracepointConfig(subsystem, event)
if err != nil {
return nil, err
}
return &unix.PerfEventAttr{
Type: PERF_TYPE_TRACEPOINT,
Config: config,
Size: uint32(unsafe.Sizeof(unix.PerfEventAttr{})),
Bits: unix.PerfBitDisabled | unix.PerfBitExcludeHv,
Read_format: unix.PERF_FORMAT_TOTAL_TIME_RUNNING | unix.PERF_FORMAT_TOTAL_TIME_ENABLED,
Sample_type: PERF_SAMPLE_IDENTIFIER,
}, nil
}

View file

@ -73,6 +73,7 @@ PROMU_VERSION ?= 0.3.0
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
GOLANGCI_LINT := GOLANGCI_LINT :=
GOLANGCI_LINT_OPTS ?=
GOLANGCI_LINT_VERSION ?= v1.16.0 GOLANGCI_LINT_VERSION ?= v1.16.0
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64. # golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
# windows isn't included here because of the path separator being different. # windows isn't included here because of the path separator being different.
@ -166,7 +167,7 @@ ifdef GO111MODULE
# 'go list' needs to be executed before staticcheck to prepopulate the modules cache. # 'go list' needs to be executed before staticcheck to prepopulate the modules cache.
# Otherwise staticcheck might fail randomly for some reason not yet explained. # Otherwise staticcheck might fail randomly for some reason not yet explained.
GO111MODULE=$(GO111MODULE) $(GO) list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null GO111MODULE=$(GO111MODULE) $(GO) list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null
GO111MODULE=$(GO111MODULE) $(GOLANGCI_LINT) run $(pkgs) GO111MODULE=$(GO111MODULE) $(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs)
else else
$(GOLANGCI_LINT) run $(pkgs) $(GOLANGCI_LINT) run $(pkgs)
endif endif

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd openbsd // +build aix darwin dragonfly freebsd netbsd openbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package socket package socket

47
vendor/golang.org/x/net/internal/socket/defs_aix.go generated vendored Normal file
View file

@ -0,0 +1,47 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
// +godefs map struct_in_addr [4]byte /* in_addr */
// +godefs map struct_in6_addr [16]byte /* in6_addr */
package socket
/*
#include <sys/socket.h>
#include <netinet/in.h>
*/
import "C"
const (
sysAF_UNSPEC = C.AF_UNSPEC
sysAF_INET = C.AF_INET
sysAF_INET6 = C.AF_INET6
sysSOCK_RAW = C.SOCK_RAW
)
type iovec C.struct_iovec
type msghdr C.struct_msghdr
type mmsghdr C.struct_mmsghdr
type cmsghdr C.struct_cmsghdr
type sockaddrInet C.struct_sockaddr_in
type sockaddrInet6 C.struct_sockaddr_in6
const (
sizeofIovec = C.sizeof_struct_iovec
sizeofMsghdr = C.sizeof_struct_msghdr
sizeofMmsghdr = C.sizeof_struct_mmsghdr
sizeofCmsghdr = C.sizeof_struct_cmsghdr
sizeofSockaddrInet = C.sizeof_struct_sockaddr_in
sizeofSockaddrInet6 = C.sizeof_struct_sockaddr_in6
)

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package socket package socket

View file

@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x // +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x
// +build darwin dragonfly freebsd linux netbsd openbsd // +build aix darwin dragonfly freebsd linux netbsd openbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !linux,!netbsd // +build !aix,!linux,!netbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build linux netbsd // +build aix linux netbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd openbsd // +build aix darwin dragonfly freebsd netbsd openbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd // +build aix darwin dragonfly freebsd netbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd openbsd // +build aix darwin dragonfly freebsd openbsd
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build freebsd netbsd openbsd // +build aix freebsd netbsd openbsd
package socket package socket
@ -15,6 +15,9 @@ func probeProtocolStack() int {
if (runtime.GOOS == "netbsd" || runtime.GOOS == "openbsd") && runtime.GOARCH == "arm" { if (runtime.GOOS == "netbsd" || runtime.GOOS == "openbsd") && runtime.GOARCH == "arm" {
return 8 return 8
} }
if runtime.GOOS == "aix" {
return 1
}
var p uintptr var p uintptr
return int(unsafe.Sizeof(p)) return int(unsafe.Sizeof(p))
} }

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build go1.12 // +build aix go1.12,darwin
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
package socket package socket

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package socket package socket

View file

@ -0,0 +1,69 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs defs_aix.go
// Added for go1.11 compatibility
// +build aix
package socket
const (
sysAF_UNSPEC = 0x0
sysAF_INET = 0x2
sysAF_INET6 = 0x18
sysSOCK_RAW = 0x3
)
type iovec struct {
Base *byte
Len uint64
}
type msghdr struct {
Name *byte
Namelen uint32
Iov *iovec
Iovlen int32
Control *byte
Controllen uint32
Flags int32
}
type mmsghdr struct {
Hdr msghdr
Len uint32
Pad_cgo_0 [4]byte
}
type cmsghdr struct {
Len uint32
Level int32
Type int32
}
type sockaddrInet struct {
Len uint8
Family uint8
Port uint16
Addr [4]byte /* in_addr */
Zero [8]uint8
}
type sockaddrInet6 struct {
Len uint8
Family uint8
Port uint16
Flowinfo uint32
Addr [16]byte /* in6_addr */
Scope_id uint32
}
const (
sizeofIovec = 0x10
sizeofMsghdr = 0x30
sizeofMmsghdr = 0x38
sizeofCmsghdr = 0xc
sizeofSockaddrInet = 0x10
sizeofSockaddrInet6 = 0x1c
)

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd openbsd // +build aix darwin dragonfly freebsd netbsd openbsd
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv4 package ipv4

39
vendor/golang.org/x/net/ipv4/defs_aix.go generated vendored Normal file
View file

@ -0,0 +1,39 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
// +godefs map struct_in_addr [4]byte /* in_addr */
package ipv4
/*
#include <netinet/in.h>
*/
import "C"
const (
sysIP_OPTIONS = C.IP_OPTIONS
sysIP_HDRINCL = C.IP_HDRINCL
sysIP_TOS = C.IP_TOS
sysIP_TTL = C.IP_TTL
sysIP_RECVOPTS = C.IP_RECVOPTS
sysIP_RECVRETOPTS = C.IP_RECVRETOPTS
sysIP_RECVDSTADDR = C.IP_RECVDSTADDR
sysIP_RETOPTS = C.IP_RETOPTS
// IP_RECVIF is defined on AIX but doesn't work.
// IP_RECVINTERFACE must be used instead.
sysIP_RECVIF = C.IP_RECVINTERFACE
sysIP_RECVTTL = C.IP_RECVTTL
sysIP_MULTICAST_IF = C.IP_MULTICAST_IF
sysIP_MULTICAST_TTL = C.IP_MULTICAST_TTL
sysIP_MULTICAST_LOOP = C.IP_MULTICAST_LOOP
sysIP_ADD_MEMBERSHIP = C.IP_ADD_MEMBERSHIP
sysIP_DROP_MEMBERSHIP = C.IP_DROP_MEMBERSHIP
sizeofIPMreq = C.sizeof_struct_ip_mreq
)
type ipMreq C.struct_ip_mreq

View file

@ -241,5 +241,4 @@
// IncludeSourceSpecificGroup may return an error. // IncludeSourceSpecificGroup may return an error.
package ipv4 // import "golang.org/x/net/ipv4" package ipv4 // import "golang.org/x/net/ipv4"
// BUG(mikio): This package is not implemented on AIX, JS, NaCl and // BUG(mikio): This package is not implemented on JS, NaCl and Plan 9.
// Plan 9.

View file

@ -24,14 +24,15 @@ var (
errNoSuchMulticastInterface = errors.New("no such multicast interface") errNoSuchMulticastInterface = errors.New("no such multicast interface")
errNotImplemented = errors.New("not implemented on " + runtime.GOOS + "/" + runtime.GOARCH) errNotImplemented = errors.New("not implemented on " + runtime.GOOS + "/" + runtime.GOARCH)
// See http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html. // See https://www.freebsd.org/doc/en/books/porters-handbook/versions.html.
freebsdVersion uint32 freebsdVersion uint32
compatFreeBSD32 bool // 386 emulation on amd64 compatFreeBSD32 bool // 386 emulation on amd64
) )
// See golang.org/issue/30899. // See golang.org/issue/30899.
func adjustFreeBSD32(m *socket.Message) { func adjustFreeBSD32(m *socket.Message) {
if freebsdVersion >= 1103000 { // FreeBSD 12.0-RELEASE is affected by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236737
if 1200086 <= freebsdVersion && freebsdVersion < 1201000 {
l := (m.NN + 4 - 1) &^ (4 - 1) l := (m.NN + 4 - 1) &^ (4 - 1)
if m.NN < l && l <= len(m.OOB) { if m.NN < l && l <= len(m.OOB) {
m.NN = l m.NN = l

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package ipv4 package ipv4

38
vendor/golang.org/x/net/ipv4/sys_aix.go generated vendored Normal file
View file

@ -0,0 +1,38 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Added for go1.11 compatibility
// +build aix
package ipv4
import (
"net"
"syscall"
"golang.org/x/net/internal/iana"
"golang.org/x/net/internal/socket"
)
var (
ctlOpts = [ctlMax]ctlOpt{
ctlTTL: {sysIP_RECVTTL, 1, marshalTTL, parseTTL},
ctlDst: {sysIP_RECVDSTADDR, net.IPv4len, marshalDst, parseDst},
ctlInterface: {sysIP_RECVIF, syscall.SizeofSockaddrDatalink, marshalInterface, parseInterface},
}
sockOpts = map[int]*sockOpt{
ssoTOS: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_TOS, Len: 4}},
ssoTTL: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_TTL, Len: 4}},
ssoMulticastTTL: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_MULTICAST_TTL, Len: 1}},
ssoMulticastInterface: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_MULTICAST_IF, Len: 4}},
ssoMulticastLoopback: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_MULTICAST_LOOP, Len: 1}},
ssoReceiveTTL: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_RECVTTL, Len: 4}},
ssoReceiveDst: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_RECVDSTADDR, Len: 4}},
ssoReceiveInterface: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_RECVIF, Len: 4}},
ssoHeaderPrepend: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_HDRINCL, Len: 4}},
ssoJoinGroup: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_ADD_MEMBERSHIP, Len: sizeofIPMreq}, typ: ssoTypeIPMreq},
ssoLeaveGroup: {Option: socket.Option{Level: iana.ProtocolIP, Name: sysIP_DROP_MEMBERSHIP, Len: sizeofIPMreq}, typ: ssoTypeIPMreq},
}
)

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd openbsd solaris windows // +build aix darwin dragonfly freebsd netbsd openbsd solaris windows
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!windows // +build !aix,!darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!windows
package ipv4 package ipv4

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package ipv4 package ipv4

33
vendor/golang.org/x/net/ipv4/zsys_aix_ppc64.go generated vendored Normal file
View file

@ -0,0 +1,33 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs defs_aix.go
// Added for go1.11 compatibility
// +build aix
package ipv4
const (
sysIP_OPTIONS = 0x1
sysIP_HDRINCL = 0x2
sysIP_TOS = 0x3
sysIP_TTL = 0x4
sysIP_RECVOPTS = 0x5
sysIP_RECVRETOPTS = 0x6
sysIP_RECVDSTADDR = 0x7
sysIP_RETOPTS = 0x8
sysIP_RECVIF = 0x20
sysIP_RECVTTL = 0x22
sysIP_MULTICAST_IF = 0x9
sysIP_MULTICAST_TTL = 0xa
sysIP_MULTICAST_LOOP = 0xb
sysIP_ADD_MEMBERSHIP = 0xc
sysIP_DROP_MEMBERSHIP = 0xd
sizeofIPMreq = 0x8
)
type ipMreq struct {
Multiaddr [4]byte /* in_addr */
Interface [4]byte /* in_addr */
}

29
vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s generated vendored Normal file
View file

@ -0,0 +1,29 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !gccgo
#include "textflag.h"
//
// System call support for arm64, OpenBSD
//
// Just jump to package syscall's implementation for all these functions.
// The runtime may know about them.
TEXT ·Syscall(SB),NOSPLIT,$0-56
JMP syscall·Syscall(SB)
TEXT ·Syscall6(SB),NOSPLIT,$0-80
JMP syscall·Syscall6(SB)
TEXT ·Syscall9(SB),NOSPLIT,$0-104
JMP syscall·Syscall9(SB)
TEXT ·RawSyscall(SB),NOSPLIT,$0-56
JMP syscall·RawSyscall(SB)
TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
JMP syscall·RawSyscall6(SB)

View file

@ -146,24 +146,39 @@ netbsd_arm)
# API consistent across platforms. # API consistent across platforms.
mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
;; ;;
netbsd_arm64)
mkerrors="$mkerrors -m64"
mksyscall="go run mksyscall.go -netbsd"
mksysnum="go run mksysnum.go 'http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master'"
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
;;
openbsd_386) openbsd_386)
mkerrors="$mkerrors -m32" mkerrors="$mkerrors -m32"
mksyscall="go run mksyscall.go -l32 -openbsd" mksyscall="go run mksyscall.go -l32 -openbsd"
mksysctl="./mksysctl_openbsd.pl" mksysctl="go run mksysctl_openbsd.go"
mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
mktypes="GOARCH=$GOARCH go tool cgo -godefs" mktypes="GOARCH=$GOARCH go tool cgo -godefs"
;; ;;
openbsd_amd64) openbsd_amd64)
mkerrors="$mkerrors -m64" mkerrors="$mkerrors -m64"
mksyscall="go run mksyscall.go -openbsd" mksyscall="go run mksyscall.go -openbsd"
mksysctl="./mksysctl_openbsd.pl" mksysctl="go run mksysctl_openbsd.go"
mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
mktypes="GOARCH=$GOARCH go tool cgo -godefs" mktypes="GOARCH=$GOARCH go tool cgo -godefs"
;; ;;
openbsd_arm) openbsd_arm)
mkerrors="$mkerrors" mkerrors="$mkerrors"
mksyscall="go run mksyscall.go -l32 -openbsd -arm" mksyscall="go run mksyscall.go -l32 -openbsd -arm"
mksysctl="./mksysctl_openbsd.pl" mksysctl="go run mksysctl_openbsd.go"
mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
# Let the type of C char be signed for making the bare syscall
# API consistent across platforms.
mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
;;
openbsd_arm64)
mkerrors="$mkerrors -m64"
mksyscall="go run mksyscall.go -openbsd"
mksysctl="go run mksysctl_openbsd.go"
mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'" mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
# Let the type of C char be signed for making the bare syscall # Let the type of C char be signed for making the bare syscall
# API consistent across platforms. # API consistent across platforms.

View file

@ -222,6 +222,7 @@ struct ltchars {
#include <linux/hdreg.h> #include <linux/hdreg.h>
#include <linux/rtc.h> #include <linux/rtc.h>
#include <linux/if_xdp.h> #include <linux/if_xdp.h>
#include <linux/cryptouser.h>
#include <mtd/ubi-user.h> #include <mtd/ubi-user.h>
#include <net/route.h> #include <net/route.h>
@ -499,6 +500,7 @@ ccflags="$@"
$2 ~ /^NFN/ || $2 ~ /^NFN/ ||
$2 ~ /^XDP_/ || $2 ~ /^XDP_/ ||
$2 ~ /^(HDIO|WIN|SMART)_/ || $2 ~ /^(HDIO|WIN|SMART)_/ ||
$2 ~ /^CRYPTO_/ ||
$2 !~ "WMESGLEN" && $2 !~ "WMESGLEN" &&
$2 ~ /^W[A-Z0-9]+$/ || $2 ~ /^W[A-Z0-9]+$/ ||
$2 ~/^PPPIOC/ || $2 ~/^PPPIOC/ ||

View file

@ -153,6 +153,11 @@ func main() {
} }
funct, inps, outps, sysname := f[2], f[3], f[4], f[5] funct, inps, outps, sysname := f[2], f[3], f[4], f[5]
// ClockGettime doesn't have a syscall number on Darwin, only generate libc wrappers.
if goos == "darwin" && !libc && funct == "ClockGettime" {
continue
}
// Split argument lists on comma. // Split argument lists on comma.
in := parseParamList(inps) in := parseParamList(inps)
out := parseParamList(outps) out := parseParamList(outps)

View file

@ -214,6 +214,11 @@ func main() {
} }
if funct != "fcntl" && funct != "FcntlInt" && funct != "readlen" && funct != "writelen" { if funct != "fcntl" && funct != "FcntlInt" && funct != "readlen" && funct != "writelen" {
if sysname == "select" {
// select is a keyword of Go. Its name is
// changed to c_select.
cExtern += "#define c_select select\n"
}
// Imports of system calls from libc // Imports of system calls from libc
cExtern += fmt.Sprintf("%s %s", cRettype, sysname) cExtern += fmt.Sprintf("%s %s", cRettype, sysname)
cIn := strings.Join(cIn, ", ") cIn := strings.Join(cIn, ", ")
@ -328,7 +333,13 @@ func main() {
} else { } else {
call += "" call += ""
} }
call += fmt.Sprintf("C.%s(%s)", sysname, arglist) if sysname == "select" {
// select is a keyword of Go. Its name is
// changed to c_select.
call += fmt.Sprintf("C.c_%s(%s)", sysname, arglist)
} else {
call += fmt.Sprintf("C.%s(%s)", sysname, arglist)
}
// Assign return values. // Assign return values.
body := "" body := ""

View file

@ -282,6 +282,11 @@ func main() {
if !onlyCommon { if !onlyCommon {
// GCCGO Prototype Generation // GCCGO Prototype Generation
// Imports of system calls from libc // Imports of system calls from libc
if sysname == "select" {
// select is a keyword of Go. Its name is
// changed to c_select.
cExtern += "#define c_select select\n"
}
cExtern += fmt.Sprintf("%s %s", cRettype, sysname) cExtern += fmt.Sprintf("%s %s", cRettype, sysname)
cIn := strings.Join(cIn, ", ") cIn := strings.Join(cIn, ", ")
cExtern += fmt.Sprintf("(%s);\n", cIn) cExtern += fmt.Sprintf("(%s);\n", cIn)
@ -490,7 +495,14 @@ func main() {
// GCCGO function generation // GCCGO function generation
argsgccgolist := strings.Join(argsgccgo, ", ") argsgccgolist := strings.Join(argsgccgo, ", ")
callgccgo := fmt.Sprintf("C.%s(%s)", sysname, argsgccgolist) var callgccgo string
if sysname == "select" {
// select is a keyword of Go. Its name is
// changed to c_select.
callgccgo = fmt.Sprintf("C.c_%s(%s)", sysname, argsgccgolist)
} else {
callgccgo = fmt.Sprintf("C.%s(%s)", sysname, argsgccgolist)
}
textgccgo += callProto textgccgo += callProto
textgccgo += fmt.Sprintf("\tr1 = uintptr(%s)\n", callgccgo) textgccgo += fmt.Sprintf("\tr1 = uintptr(%s)\n", callgccgo)
textgccgo += "\te1 = syscall.GetErrno()\n" textgccgo += "\te1 = syscall.GetErrno()\n"

355
vendor/golang.org/x/sys/unix/mksysctl_openbsd.go generated vendored Normal file
View file

@ -0,0 +1,355 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
// Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
//
// Build a MIB with each entry being an array containing the level, type and
// a hash that will contain additional entries if the current entry is a node.
// We then walk this MIB and create a flattened sysctl name to OID hash.
package main
import (
"bufio"
"fmt"
"os"
"path/filepath"
"regexp"
"sort"
"strings"
)
var (
goos, goarch string
)
// cmdLine returns this programs's commandline arguments.
func cmdLine() string {
return "go run mksysctl_openbsd.go " + strings.Join(os.Args[1:], " ")
}
// buildTags returns build tags.
func buildTags() string {
return fmt.Sprintf("%s,%s", goarch, goos)
}
// reMatch performs regular expression match and stores the substring slice to value pointed by m.
func reMatch(re *regexp.Regexp, str string, m *[]string) bool {
*m = re.FindStringSubmatch(str)
if *m != nil {
return true
}
return false
}
type nodeElement struct {
n int
t string
pE *map[string]nodeElement
}
var (
debugEnabled bool
mib map[string]nodeElement
node *map[string]nodeElement
nodeMap map[string]string
sysCtl []string
)
var (
ctlNames1RE = regexp.MustCompile(`^#define\s+(CTL_NAMES)\s+{`)
ctlNames2RE = regexp.MustCompile(`^#define\s+(CTL_(.*)_NAMES)\s+{`)
ctlNames3RE = regexp.MustCompile(`^#define\s+((.*)CTL_NAMES)\s+{`)
netInetRE = regexp.MustCompile(`^netinet/`)
netInet6RE = regexp.MustCompile(`^netinet6/`)
netRE = regexp.MustCompile(`^net/`)
bracesRE = regexp.MustCompile(`{.*}`)
ctlTypeRE = regexp.MustCompile(`{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}`)
fsNetKernRE = regexp.MustCompile(`^(fs|net|kern)_`)
)
func debug(s string) {
if debugEnabled {
fmt.Fprintln(os.Stderr, s)
}
}
// Walk the MIB and build a sysctl name to OID mapping.
func buildSysctl(pNode *map[string]nodeElement, name string, oid []int) {
lNode := pNode // local copy of pointer to node
var keys []string
for k := range *lNode {
keys = append(keys, k)
}
sort.Strings(keys)
for _, key := range keys {
nodename := name
if name != "" {
nodename += "."
}
nodename += key
nodeoid := append(oid, (*pNode)[key].n)
if (*pNode)[key].t == `CTLTYPE_NODE` {
if _, ok := nodeMap[nodename]; ok {
lNode = &mib
ctlName := nodeMap[nodename]
for _, part := range strings.Split(ctlName, ".") {
lNode = ((*lNode)[part]).pE
}
} else {
lNode = (*pNode)[key].pE
}
buildSysctl(lNode, nodename, nodeoid)
} else if (*pNode)[key].t != "" {
oidStr := []string{}
for j := range nodeoid {
oidStr = append(oidStr, fmt.Sprintf("%d", nodeoid[j]))
}
text := "\t{ \"" + nodename + "\", []_C_int{ " + strings.Join(oidStr, ", ") + " } }, \n"
sysCtl = append(sysCtl, text)
}
}
}
func main() {
// Get the OS (using GOOS_TARGET if it exist)
goos = os.Getenv("GOOS_TARGET")
if goos == "" {
goos = os.Getenv("GOOS")
}
// Get the architecture (using GOARCH_TARGET if it exists)
goarch = os.Getenv("GOARCH_TARGET")
if goarch == "" {
goarch = os.Getenv("GOARCH")
}
// Check if GOOS and GOARCH environment variables are defined
if goarch == "" || goos == "" {
fmt.Fprintf(os.Stderr, "GOARCH or GOOS not defined in environment\n")
os.Exit(1)
}
mib = make(map[string]nodeElement)
headers := [...]string{
`sys/sysctl.h`,
`sys/socket.h`,
`sys/tty.h`,
`sys/malloc.h`,
`sys/mount.h`,
`sys/namei.h`,
`sys/sem.h`,
`sys/shm.h`,
`sys/vmmeter.h`,
`uvm/uvmexp.h`,
`uvm/uvm_param.h`,
`uvm/uvm_swap_encrypt.h`,
`ddb/db_var.h`,
`net/if.h`,
`net/if_pfsync.h`,
`net/pipex.h`,
`netinet/in.h`,
`netinet/icmp_var.h`,
`netinet/igmp_var.h`,
`netinet/ip_ah.h`,
`netinet/ip_carp.h`,
`netinet/ip_divert.h`,
`netinet/ip_esp.h`,
`netinet/ip_ether.h`,
`netinet/ip_gre.h`,
`netinet/ip_ipcomp.h`,
`netinet/ip_ipip.h`,
`netinet/pim_var.h`,
`netinet/tcp_var.h`,
`netinet/udp_var.h`,
`netinet6/in6.h`,
`netinet6/ip6_divert.h`,
`netinet6/pim6_var.h`,
`netinet/icmp6.h`,
`netmpls/mpls.h`,
}
ctls := [...]string{
`kern`,
`vm`,
`fs`,
`net`,
//debug /* Special handling required */
`hw`,
//machdep /* Arch specific */
`user`,
`ddb`,
//vfs /* Special handling required */
`fs.posix`,
`kern.forkstat`,
`kern.intrcnt`,
`kern.malloc`,
`kern.nchstats`,
`kern.seminfo`,
`kern.shminfo`,
`kern.timecounter`,
`kern.tty`,
`kern.watchdog`,
`net.bpf`,
`net.ifq`,
`net.inet`,
`net.inet.ah`,
`net.inet.carp`,
`net.inet.divert`,
`net.inet.esp`,
`net.inet.etherip`,
`net.inet.gre`,
`net.inet.icmp`,
`net.inet.igmp`,
`net.inet.ip`,
`net.inet.ip.ifq`,
`net.inet.ipcomp`,
`net.inet.ipip`,
`net.inet.mobileip`,
`net.inet.pfsync`,
`net.inet.pim`,
`net.inet.tcp`,
`net.inet.udp`,
`net.inet6`,
`net.inet6.divert`,
`net.inet6.ip6`,
`net.inet6.icmp6`,
`net.inet6.pim6`,
`net.inet6.tcp6`,
`net.inet6.udp6`,
`net.mpls`,
`net.mpls.ifq`,
`net.key`,
`net.pflow`,
`net.pfsync`,
`net.pipex`,
`net.rt`,
`vm.swapencrypt`,
//vfsgenctl /* Special handling required */
}
// Node name "fixups"
ctlMap := map[string]string{
"ipproto": "net.inet",
"net.inet.ipproto": "net.inet",
"net.inet6.ipv6proto": "net.inet6",
"net.inet6.ipv6": "net.inet6.ip6",
"net.inet.icmpv6": "net.inet6.icmp6",
"net.inet6.divert6": "net.inet6.divert",
"net.inet6.tcp6": "net.inet.tcp",
"net.inet6.udp6": "net.inet.udp",
"mpls": "net.mpls",
"swpenc": "vm.swapencrypt",
}
// Node mappings
nodeMap = map[string]string{
"net.inet.ip.ifq": "net.ifq",
"net.inet.pfsync": "net.pfsync",
"net.mpls.ifq": "net.ifq",
}
mCtls := make(map[string]bool)
for _, ctl := range ctls {
mCtls[ctl] = true
}
for _, header := range headers {
debug("Processing " + header)
file, err := os.Open(filepath.Join("/usr/include", header))
if err != nil {
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
s := bufio.NewScanner(file)
for s.Scan() {
var sub []string
if reMatch(ctlNames1RE, s.Text(), &sub) ||
reMatch(ctlNames2RE, s.Text(), &sub) ||
reMatch(ctlNames3RE, s.Text(), &sub) {
if sub[1] == `CTL_NAMES` {
// Top level.
node = &mib
} else {
// Node.
nodename := strings.ToLower(sub[2])
ctlName := ""
if reMatch(netInetRE, header, &sub) {
ctlName = "net.inet." + nodename
} else if reMatch(netInet6RE, header, &sub) {
ctlName = "net.inet6." + nodename
} else if reMatch(netRE, header, &sub) {
ctlName = "net." + nodename
} else {
ctlName = nodename
ctlName = fsNetKernRE.ReplaceAllString(ctlName, `$1.`)
}
if val, ok := ctlMap[ctlName]; ok {
ctlName = val
}
if _, ok := mCtls[ctlName]; !ok {
debug("Ignoring " + ctlName + "...")
continue
}
// Walk down from the top of the MIB.
node = &mib
for _, part := range strings.Split(ctlName, ".") {
if _, ok := (*node)[part]; !ok {
debug("Missing node " + part)
(*node)[part] = nodeElement{n: 0, t: "", pE: &map[string]nodeElement{}}
}
node = (*node)[part].pE
}
}
// Populate current node with entries.
i := -1
for !strings.HasPrefix(s.Text(), "}") {
s.Scan()
if reMatch(bracesRE, s.Text(), &sub) {
i++
}
if !reMatch(ctlTypeRE, s.Text(), &sub) {
continue
}
(*node)[sub[1]] = nodeElement{n: i, t: sub[2], pE: &map[string]nodeElement{}}
}
}
}
err = s.Err()
if err != nil {
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
file.Close()
}
buildSysctl(&mib, "", []int{})
sort.Strings(sysCtl)
text := strings.Join(sysCtl, "")
fmt.Printf(srcTemplate, cmdLine(), buildTags(), text)
}
const srcTemplate = `// %s
// Code generated by the command above; DO NOT EDIT.
// +build %s
package unix
type mibentry struct {
ctlname string
ctloid []_C_int
}
var sysctlMib = []mibentry {
%s
}
`

View file

@ -1,265 +0,0 @@
#!/usr/bin/env perl
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#
# Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
#
# Build a MIB with each entry being an array containing the level, type and
# a hash that will contain additional entries if the current entry is a node.
# We then walk this MIB and create a flattened sysctl name to OID hash.
#
use strict;
if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
print STDERR "GOARCH or GOOS not defined in environment\n";
exit 1;
}
my $debug = 0;
my %ctls = ();
my @headers = qw (
sys/sysctl.h
sys/socket.h
sys/tty.h
sys/malloc.h
sys/mount.h
sys/namei.h
sys/sem.h
sys/shm.h
sys/vmmeter.h
uvm/uvmexp.h
uvm/uvm_param.h
uvm/uvm_swap_encrypt.h
ddb/db_var.h
net/if.h
net/if_pfsync.h
net/pipex.h
netinet/in.h
netinet/icmp_var.h
netinet/igmp_var.h
netinet/ip_ah.h
netinet/ip_carp.h
netinet/ip_divert.h
netinet/ip_esp.h
netinet/ip_ether.h
netinet/ip_gre.h
netinet/ip_ipcomp.h
netinet/ip_ipip.h
netinet/pim_var.h
netinet/tcp_var.h
netinet/udp_var.h
netinet6/in6.h
netinet6/ip6_divert.h
netinet6/pim6_var.h
netinet/icmp6.h
netmpls/mpls.h
);
my @ctls = qw (
kern
vm
fs
net
#debug # Special handling required
hw
#machdep # Arch specific
user
ddb
#vfs # Special handling required
fs.posix
kern.forkstat
kern.intrcnt
kern.malloc
kern.nchstats
kern.seminfo
kern.shminfo
kern.timecounter
kern.tty
kern.watchdog
net.bpf
net.ifq
net.inet
net.inet.ah
net.inet.carp
net.inet.divert
net.inet.esp
net.inet.etherip
net.inet.gre
net.inet.icmp
net.inet.igmp
net.inet.ip
net.inet.ip.ifq
net.inet.ipcomp
net.inet.ipip
net.inet.mobileip
net.inet.pfsync
net.inet.pim
net.inet.tcp
net.inet.udp
net.inet6
net.inet6.divert
net.inet6.ip6
net.inet6.icmp6
net.inet6.pim6
net.inet6.tcp6
net.inet6.udp6
net.mpls
net.mpls.ifq
net.key
net.pflow
net.pfsync
net.pipex
net.rt
vm.swapencrypt
#vfsgenctl # Special handling required
);
# Node name "fixups"
my %ctl_map = (
"ipproto" => "net.inet",
"net.inet.ipproto" => "net.inet",
"net.inet6.ipv6proto" => "net.inet6",
"net.inet6.ipv6" => "net.inet6.ip6",
"net.inet.icmpv6" => "net.inet6.icmp6",
"net.inet6.divert6" => "net.inet6.divert",
"net.inet6.tcp6" => "net.inet.tcp",
"net.inet6.udp6" => "net.inet.udp",
"mpls" => "net.mpls",
"swpenc" => "vm.swapencrypt"
);
# Node mappings
my %node_map = (
"net.inet.ip.ifq" => "net.ifq",
"net.inet.pfsync" => "net.pfsync",
"net.mpls.ifq" => "net.ifq"
);
my $ctlname;
my %mib = ();
my %sysctl = ();
my $node;
sub debug() {
print STDERR "$_[0]\n" if $debug;
}
# Walk the MIB and build a sysctl name to OID mapping.
sub build_sysctl() {
my ($node, $name, $oid) = @_;
my %node = %{$node};
my @oid = @{$oid};
foreach my $key (sort keys %node) {
my @node = @{$node{$key}};
my $nodename = $name.($name ne '' ? '.' : '').$key;
my @nodeoid = (@oid, $node[0]);
if ($node[1] eq 'CTLTYPE_NODE') {
if (exists $node_map{$nodename}) {
$node = \%mib;
$ctlname = $node_map{$nodename};
foreach my $part (split /\./, $ctlname) {
$node = \%{@{$$node{$part}}[2]};
}
} else {
$node = $node[2];
}
&build_sysctl($node, $nodename, \@nodeoid);
} elsif ($node[1] ne '') {
$sysctl{$nodename} = \@nodeoid;
}
}
}
foreach my $ctl (@ctls) {
$ctls{$ctl} = $ctl;
}
# Build MIB
foreach my $header (@headers) {
&debug("Processing $header...");
open HEADER, "/usr/include/$header" ||
print STDERR "Failed to open $header\n";
while (<HEADER>) {
if ($_ =~ /^#define\s+(CTL_NAMES)\s+{/ ||
$_ =~ /^#define\s+(CTL_(.*)_NAMES)\s+{/ ||
$_ =~ /^#define\s+((.*)CTL_NAMES)\s+{/) {
if ($1 eq 'CTL_NAMES') {
# Top level.
$node = \%mib;
} else {
# Node.
my $nodename = lc($2);
if ($header =~ /^netinet\//) {
$ctlname = "net.inet.$nodename";
} elsif ($header =~ /^netinet6\//) {
$ctlname = "net.inet6.$nodename";
} elsif ($header =~ /^net\//) {
$ctlname = "net.$nodename";
} else {
$ctlname = "$nodename";
$ctlname =~ s/^(fs|net|kern)_/$1\./;
}
if (exists $ctl_map{$ctlname}) {
$ctlname = $ctl_map{$ctlname};
}
if (not exists $ctls{$ctlname}) {
&debug("Ignoring $ctlname...");
next;
}
# Walk down from the top of the MIB.
$node = \%mib;
foreach my $part (split /\./, $ctlname) {
if (not exists $$node{$part}) {
&debug("Missing node $part");
$$node{$part} = [ 0, '', {} ];
}
$node = \%{@{$$node{$part}}[2]};
}
}
# Populate current node with entries.
my $i = -1;
while (defined($_) && $_ !~ /^}/) {
$_ = <HEADER>;
$i++ if $_ =~ /{.*}/;
next if $_ !~ /{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}/;
$$node{$1} = [ $i, $2, {} ];
}
}
}
close HEADER;
}
&build_sysctl(\%mib, "", []);
print <<EOF;
// mksysctl_openbsd.pl
// Code generated by the command above; DO NOT EDIT.
// +build $ENV{'GOARCH'},$ENV{'GOOS'}
package unix;
type mibentry struct {
ctlname string
ctloid []_C_int
}
var sysctlMib = []mibentry {
EOF
foreach my $name (sort keys %sysctl) {
my @oid = @{$sysctl{$name}};
print "\t{ \"$name\", []_C_int{ ", join(', ', @oid), " } }, \n";
}
print <<EOF;
}
EOF

View file

@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build openbsd
// +build 386 amd64 arm
package unix package unix
import ( import (

View file

@ -18,10 +18,13 @@ func cmsgAlignOf(salen int) int {
salign := SizeofPtr salign := SizeofPtr
switch runtime.GOOS { switch runtime.GOOS {
case "darwin", "dragonfly", "solaris": case "aix":
// NOTE: It seems like 64-bit Darwin, DragonFly BSD and // There is no alignment on AIX.
// Solaris kernels still require 32-bit aligned access to salign = 1
// network subsystem. case "darwin", "dragonfly", "solaris", "illumos":
// NOTE: It seems like 64-bit Darwin, DragonFly BSD,
// illumos, and Solaris kernels still require 32-bit
// aligned access to network subsystem.
if SizeofPtr == 8 { if SizeofPtr == 8 {
salign = 4 salign = 4
} }

View file

@ -50,5 +50,4 @@ func BytePtrFromString(s string) (*byte, error) {
} }
// Single-word zero for use when we need a valid pointer to 0 bytes. // Single-word zero for use when we need a valid pointer to 0 bytes.
// See mkunix.pl.
var _zero uintptr var _zero uintptr

View file

@ -444,8 +444,6 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
//sysnb Times(tms *Tms) (ticks uintptr, err error) //sysnb Times(tms *Tms) (ticks uintptr, err error)
//sysnb Umask(mask int) (oldmask int) //sysnb Umask(mask int) (oldmask int)
//sysnb Uname(buf *Utsname) (err error) //sysnb Uname(buf *Utsname) (err error)
//TODO umount
// //sys Unmount(target string, flags int) (err error) = umount
//sys Unlink(path string) (err error) //sys Unlink(path string) (err error)
//sys Unlinkat(dirfd int, path string, flags int) (err error) //sys Unlinkat(dirfd int, path string, flags int) (err error)
//sys Ustat(dev int, ubuf *Ustat_t) (err error) //sys Ustat(dev int, ubuf *Ustat_t) (err error)
@ -470,8 +468,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
//sys Pause() (err error) //sys Pause() (err error)
//sys Pread(fd int, p []byte, offset int64) (n int, err error) = pread64 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = pread64
//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64
//TODO Select //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
// //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) //sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
//sysnb Setregid(rgid int, egid int) (err error) //sysnb Setregid(rgid int, egid int) (err error)
//sysnb Setreuid(ruid int, euid int) (err error) //sysnb Setreuid(ruid int, euid int) (err error)
@ -493,8 +490,10 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) //sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) //sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) //sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) // In order to use msghdr structure with Control, Controllen, nrecvmsg and nsendmsg must be used.
//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = nrecvmsg
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
//sys munmap(addr uintptr, length uintptr) (err error) //sys munmap(addr uintptr, length uintptr) (err error)
@ -547,3 +546,12 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
//sys Utime(path string, buf *Utimbuf) (err error) //sys Utime(path string, buf *Utimbuf) (err error)
//sys Getsystemcfg(label int) (n uint64) //sys Getsystemcfg(label int) (n uint64)
//sys umount(target string) (err error)
func Unmount(target string, flags int) (err error) {
if flags != 0 {
// AIX doesn't have any flags for umount.
return ENOSYS
}
return umount(target)
}

View file

@ -1662,6 +1662,82 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
return EACCES return EACCES
} }
//sys nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) = SYS_NAME_TO_HANDLE_AT
//sys openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) = SYS_OPEN_BY_HANDLE_AT
// fileHandle is the argument to nameToHandleAt and openByHandleAt. We
// originally tried to generate it via unix/linux/types.go with "type
// fileHandle C.struct_file_handle" but that generated empty structs
// for mips64 and mips64le. Instead, hard code it for now (it's the
// same everywhere else) until the mips64 generator issue is fixed.
type fileHandle struct {
Bytes uint32
Type int32
}
// FileHandle represents the C struct file_handle used by
// name_to_handle_at (see NameToHandleAt) and open_by_handle_at (see
// OpenByHandleAt).
type FileHandle struct {
*fileHandle
}
// NewFileHandle constructs a FileHandle.
func NewFileHandle(handleType int32, handle []byte) FileHandle {
const hdrSize = unsafe.Sizeof(fileHandle{})
buf := make([]byte, hdrSize+uintptr(len(handle)))
copy(buf[hdrSize:], handle)
fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
fh.Type = handleType
fh.Bytes = uint32(len(handle))
return FileHandle{fh}
}
func (fh *FileHandle) Size() int { return int(fh.fileHandle.Bytes) }
func (fh *FileHandle) Type() int32 { return fh.fileHandle.Type }
func (fh *FileHandle) Bytes() []byte {
n := fh.Size()
if n == 0 {
return nil
}
return (*[1 << 30]byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type)) + 4))[:n:n]
}
// NameToHandleAt wraps the name_to_handle_at system call; it obtains
// a handle for a path name.
func NameToHandleAt(dirfd int, path string, flags int) (handle FileHandle, mountID int, err error) {
var mid _C_int
// Try first with a small buffer, assuming the handle will
// only be 32 bytes.
size := uint32(32 + unsafe.Sizeof(fileHandle{}))
didResize := false
for {
buf := make([]byte, size)
fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
fh.Bytes = size - uint32(unsafe.Sizeof(fileHandle{}))
err = nameToHandleAt(dirfd, path, fh, &mid, flags)
if err == EOVERFLOW {
if didResize {
// We shouldn't need to resize more than once
return
}
didResize = true
size = fh.Bytes + uint32(unsafe.Sizeof(fileHandle{}))
continue
}
if err != nil {
return
}
return FileHandle{fh}, int(mid), nil
}
}
// OpenByHandleAt wraps the open_by_handle_at system call; it opens a
// file via a handle as previously returned by NameToHandleAt.
func OpenByHandleAt(mountFD int, handle FileHandle, flags int) (fd int, err error) {
return openByHandleAt(mountFD, handle.fileHandle, flags)
}
/* /*
* Unimplemented * Unimplemented
*/ */

37
vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go generated vendored Normal file
View file

@ -0,0 +1,37 @@
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build arm64,openbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec int64) Timeval {
return Timeval{Sec: sec, Usec: usec}
}
func SetKevent(k *Kevent_t, fd, mode, flags int) {
k.Ident = uint64(fd)
k.Filter = int16(mode)
k.Flags = uint16(flags)
}
func (iov *Iovec) SetLen(length int) {
iov.Len = uint64(length)
}
func (msghdr *Msghdr) SetControllen(length int) {
msghdr.Controllen = uint32(length)
}
func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length)
}
// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
// of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
const SYS___SYSCTL = SYS_SYSCTL

View file

@ -351,7 +351,11 @@ func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
} }
func SetsockoptString(fd, level, opt int, s string) (err error) { func SetsockoptString(fd, level, opt int, s string) (err error) {
return setsockopt(fd, level, opt, unsafe.Pointer(&[]byte(s)[0]), uintptr(len(s))) var p unsafe.Pointer
if len(s) > 0 {
p = unsafe.Pointer(&[]byte(s)[0])
}
return setsockopt(fd, level, opt, p, uintptr(len(s)))
} }
func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) { func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {

View file

@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build openbsd
package unix package unix
import ( import (

View file

@ -926,6 +926,8 @@ const (
TCSETSF = 0x5404 TCSETSF = 0x5404
TCSETSW = 0x5403 TCSETSW = 0x5403
TCXONC = 0x540b TCXONC = 0x540b
TIMER_ABSTIME = 0x3e7
TIMER_MAX = 0x20
TIOC = 0x5400 TIOC = 0x5400
TIOCCBRK = 0x2000747a TIOCCBRK = 0x2000747a
TIOCCDTR = 0x20007478 TIOCCDTR = 0x20007478

View file

@ -3,7 +3,7 @@
// +build ppc64,aix // +build ppc64,aix
// Created by cgo -godefs - DO NOT EDIT // Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -maix64 _const.go // cgo -godefs -- -maix64 _const.go
package unix package unix
@ -926,6 +926,8 @@ const (
TCSETSF = 0x5404 TCSETSF = 0x5404
TCSETSW = 0x5403 TCSETSW = 0x5403
TCXONC = 0x540b TCXONC = 0x540b
TIMER_ABSTIME = 0x3e7
TIMER_MAX = 0x20
TIOC = 0x5400 TIOC = 0x5400
TIOCCBRK = 0x2000747a TIOCCBRK = 0x2000747a
TIOCCDTR = 0x20007478 TIOCCDTR = 0x20007478

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1487,6 +1501,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1957,6 +1972,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2005,6 +2021,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x12 SO_RCVLOWAT = 0x12
SO_RCVTIMEO = 0x14 SO_RCVTIMEO = 0x14
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x14
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2016,9 +2034,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x13 SO_SNDLOWAT = 0x13
SO_SNDTIMEO = 0x15 SO_SNDTIMEO = 0x15
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x15
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2312,8 +2338,10 @@ const (
UBI_IOCMKVOL = 0x40986f00 UBI_IOCMKVOL = 0x40986f00
UBI_IOCRMVOL = 0x40046f01 UBI_IOCRMVOL = 0x40046f01
UBI_IOCRNVOL = 0x51106f03 UBI_IOCRNVOL = 0x51106f03
UBI_IOCRPEB = 0x40046f04
UBI_IOCRSVOL = 0x400c6f02 UBI_IOCRSVOL = 0x400c6f02
UBI_IOCSETVOLPROP = 0x40104f06 UBI_IOCSETVOLPROP = 0x40104f06
UBI_IOCSPEB = 0x40046f05
UBI_IOCVOLCRBLK = 0x40804f07 UBI_IOCVOLCRBLK = 0x40804f07
UBI_IOCVOLRMBLK = 0x4f08 UBI_IOCVOLRMBLK = 0x4f08
UBI_IOCVOLUP = 0x40084f00 UBI_IOCVOLUP = 0x40084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1487,6 +1501,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1958,6 +1973,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2006,6 +2022,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x12 SO_RCVLOWAT = 0x12
SO_RCVTIMEO = 0x14 SO_RCVTIMEO = 0x14
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x14
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2017,9 +2035,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x13 SO_SNDLOWAT = 0x13
SO_SNDTIMEO = 0x15 SO_SNDTIMEO = 0x15
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x15
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2313,8 +2339,10 @@ const (
UBI_IOCMKVOL = 0x40986f00 UBI_IOCMKVOL = 0x40986f00
UBI_IOCRMVOL = 0x40046f01 UBI_IOCRMVOL = 0x40046f01
UBI_IOCRNVOL = 0x51106f03 UBI_IOCRNVOL = 0x51106f03
UBI_IOCRPEB = 0x40046f04
UBI_IOCRSVOL = 0x400c6f02 UBI_IOCRSVOL = 0x400c6f02
UBI_IOCSETVOLPROP = 0x40104f06 UBI_IOCSETVOLPROP = 0x40104f06
UBI_IOCSPEB = 0x40046f05
UBI_IOCVOLCRBLK = 0x40804f07 UBI_IOCVOLCRBLK = 0x40804f07
UBI_IOCVOLRMBLK = 0x4f08 UBI_IOCVOLRMBLK = 0x4f08
UBI_IOCVOLUP = 0x40084f00 UBI_IOCVOLUP = 0x40084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1964,6 +1979,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2012,6 +2028,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x12 SO_RCVLOWAT = 0x12
SO_RCVTIMEO = 0x14 SO_RCVTIMEO = 0x14
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x14
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2023,9 +2041,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x13 SO_SNDLOWAT = 0x13
SO_SNDTIMEO = 0x15 SO_SNDTIMEO = 0x15
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x15
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2319,8 +2345,10 @@ const (
UBI_IOCMKVOL = 0x40986f00 UBI_IOCMKVOL = 0x40986f00
UBI_IOCRMVOL = 0x40046f01 UBI_IOCRMVOL = 0x40046f01
UBI_IOCRNVOL = 0x51106f03 UBI_IOCRNVOL = 0x51106f03
UBI_IOCRPEB = 0x40046f04
UBI_IOCRSVOL = 0x400c6f02 UBI_IOCRSVOL = 0x400c6f02
UBI_IOCSETVOLPROP = 0x40104f06 UBI_IOCSETVOLPROP = 0x40104f06
UBI_IOCSPEB = 0x40046f05
UBI_IOCVOLCRBLK = 0x40804f07 UBI_IOCVOLCRBLK = 0x40804f07
UBI_IOCVOLRMBLK = 0x4f08 UBI_IOCVOLRMBLK = 0x4f08
UBI_IOCVOLUP = 0x40084f00 UBI_IOCVOLUP = 0x40084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -499,6 +503,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -507,8 +512,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -522,6 +531,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -530,6 +543,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1488,6 +1502,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1948,6 +1963,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -1996,6 +2012,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x12 SO_RCVLOWAT = 0x12
SO_RCVTIMEO = 0x14 SO_RCVTIMEO = 0x14
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x14
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2007,9 +2025,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x13 SO_SNDLOWAT = 0x13
SO_SNDTIMEO = 0x15 SO_SNDTIMEO = 0x15
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x15
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2304,8 +2330,10 @@ const (
UBI_IOCMKVOL = 0x40986f00 UBI_IOCMKVOL = 0x40986f00
UBI_IOCRMVOL = 0x40046f01 UBI_IOCRMVOL = 0x40046f01
UBI_IOCRNVOL = 0x51106f03 UBI_IOCRNVOL = 0x51106f03
UBI_IOCRPEB = 0x40046f04
UBI_IOCRSVOL = 0x400c6f02 UBI_IOCRSVOL = 0x400c6f02
UBI_IOCSETVOLPROP = 0x40104f06 UBI_IOCSETVOLPROP = 0x40104f06
UBI_IOCSPEB = 0x40046f05
UBI_IOCVOLCRBLK = 0x40804f07 UBI_IOCVOLCRBLK = 0x40804f07
UBI_IOCVOLRMBLK = 0x4f08 UBI_IOCVOLRMBLK = 0x4f08
UBI_IOCVOLUP = 0x40084f00 UBI_IOCVOLUP = 0x40084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1957,6 +1972,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x20 SO_BROADCAST = 0x20
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2005,6 +2021,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x1004 SO_RCVLOWAT = 0x1004
SO_RCVTIMEO = 0x1006 SO_RCVTIMEO = 0x1006
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x1006
SO_REUSEADDR = 0x4 SO_REUSEADDR = 0x4
SO_REUSEPORT = 0x200 SO_REUSEPORT = 0x200
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2016,10 +2034,18 @@ const (
SO_SNDBUFFORCE = 0x1f SO_SNDBUFFORCE = 0x1f
SO_SNDLOWAT = 0x1003 SO_SNDLOWAT = 0x1003
SO_SNDTIMEO = 0x1005 SO_SNDTIMEO = 0x1005
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x1005
SO_STYLE = 0x1008 SO_STYLE = 0x1008
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x1008 SO_TYPE = 0x1008
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2314,8 +2340,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1957,6 +1972,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x20 SO_BROADCAST = 0x20
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2005,6 +2021,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x1004 SO_RCVLOWAT = 0x1004
SO_RCVTIMEO = 0x1006 SO_RCVTIMEO = 0x1006
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x1006
SO_REUSEADDR = 0x4 SO_REUSEADDR = 0x4
SO_REUSEPORT = 0x200 SO_REUSEPORT = 0x200
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2016,10 +2034,18 @@ const (
SO_SNDBUFFORCE = 0x1f SO_SNDBUFFORCE = 0x1f
SO_SNDLOWAT = 0x1003 SO_SNDLOWAT = 0x1003
SO_SNDTIMEO = 0x1005 SO_SNDTIMEO = 0x1005
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x1005
SO_STYLE = 0x1008 SO_STYLE = 0x1008
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x1008 SO_TYPE = 0x1008
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2314,8 +2340,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1957,6 +1972,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x20 SO_BROADCAST = 0x20
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2005,6 +2021,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x1004 SO_RCVLOWAT = 0x1004
SO_RCVTIMEO = 0x1006 SO_RCVTIMEO = 0x1006
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x1006
SO_REUSEADDR = 0x4 SO_REUSEADDR = 0x4
SO_REUSEPORT = 0x200 SO_REUSEPORT = 0x200
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2016,10 +2034,18 @@ const (
SO_SNDBUFFORCE = 0x1f SO_SNDBUFFORCE = 0x1f
SO_SNDLOWAT = 0x1003 SO_SNDLOWAT = 0x1003
SO_SNDTIMEO = 0x1005 SO_SNDTIMEO = 0x1005
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x1005
SO_STYLE = 0x1008 SO_STYLE = 0x1008
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x1008 SO_TYPE = 0x1008
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2314,8 +2340,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1957,6 +1972,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x20 SO_BROADCAST = 0x20
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2005,6 +2021,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x1004 SO_RCVLOWAT = 0x1004
SO_RCVTIMEO = 0x1006 SO_RCVTIMEO = 0x1006
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x1006
SO_REUSEADDR = 0x4 SO_REUSEADDR = 0x4
SO_REUSEPORT = 0x200 SO_REUSEPORT = 0x200
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2016,10 +2034,18 @@ const (
SO_SNDBUFFORCE = 0x1f SO_SNDBUFFORCE = 0x1f
SO_SNDLOWAT = 0x1003 SO_SNDLOWAT = 0x1003
SO_SNDTIMEO = 0x1005 SO_SNDTIMEO = 0x1005
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x1005
SO_STYLE = 0x1008 SO_STYLE = 0x1008
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x1008 SO_TYPE = 0x1008
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2314,8 +2340,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x3000 CRDLY = 0x3000
CREAD = 0x800 CREAD = 0x800
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x100 CS6 = 0x100
CS7 = 0x200 CS7 = 0x200
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1487,6 +1501,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -2015,6 +2030,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2063,6 +2079,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x10 SO_RCVLOWAT = 0x10
SO_RCVTIMEO = 0x12 SO_RCVTIMEO = 0x12
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x12
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2074,9 +2092,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x11 SO_SNDLOWAT = 0x11
SO_SNDTIMEO = 0x13 SO_SNDTIMEO = 0x13
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x13
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2374,8 +2400,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x3000 CRDLY = 0x3000
CREAD = 0x800 CREAD = 0x800
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x100 CS6 = 0x100
CS7 = 0x200 CS7 = 0x200
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1487,6 +1501,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -2015,6 +2030,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2063,6 +2079,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x10 SO_RCVLOWAT = 0x10
SO_RCVTIMEO = 0x12 SO_RCVTIMEO = 0x12
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x12
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2074,9 +2092,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x11 SO_SNDLOWAT = 0x11
SO_SNDTIMEO = 0x13 SO_SNDTIMEO = 0x13
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x13
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2374,8 +2400,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -1945,6 +1960,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -1993,6 +2009,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x12 SO_RCVLOWAT = 0x12
SO_RCVTIMEO = 0x14 SO_RCVTIMEO = 0x14
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x14
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2004,9 +2022,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x13 SO_SNDLOWAT = 0x13
SO_SNDTIMEO = 0x15 SO_SNDTIMEO = 0x15
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x15
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2300,8 +2326,10 @@ const (
UBI_IOCMKVOL = 0x40986f00 UBI_IOCMKVOL = 0x40986f00
UBI_IOCRMVOL = 0x40046f01 UBI_IOCRMVOL = 0x40046f01
UBI_IOCRNVOL = 0x51106f03 UBI_IOCRNVOL = 0x51106f03
UBI_IOCRPEB = 0x40046f04
UBI_IOCRSVOL = 0x400c6f02 UBI_IOCRSVOL = 0x400c6f02
UBI_IOCSETVOLPROP = 0x40104f06 UBI_IOCSETVOLPROP = 0x40104f06
UBI_IOCSPEB = 0x40046f05
UBI_IOCVOLCRBLK = 0x40804f07 UBI_IOCVOLCRBLK = 0x40804f07
UBI_IOCVOLRMBLK = 0x4f08 UBI_IOCVOLRMBLK = 0x4f08
UBI_IOCVOLUP = 0x40084f00 UBI_IOCVOLUP = 0x40084f00

View file

@ -320,6 +320,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -497,6 +501,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -505,8 +510,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -520,6 +529,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -528,6 +541,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1485,6 +1499,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -2018,6 +2033,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x33 SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34 SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19 SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30 SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x6 SO_BROADCAST = 0x6
SO_BSDCOMPAT = 0xe SO_BSDCOMPAT = 0xe
@ -2066,6 +2082,8 @@ const (
SO_RCVBUFFORCE = 0x21 SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x12 SO_RCVLOWAT = 0x12
SO_RCVTIMEO = 0x14 SO_RCVTIMEO = 0x14
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x14
SO_REUSEADDR = 0x2 SO_REUSEADDR = 0x2
SO_REUSEPORT = 0xf SO_REUSEPORT = 0xf
SO_RXQ_OVFL = 0x28 SO_RXQ_OVFL = 0x28
@ -2077,9 +2095,17 @@ const (
SO_SNDBUFFORCE = 0x20 SO_SNDBUFFORCE = 0x20
SO_SNDLOWAT = 0x13 SO_SNDLOWAT = 0x13
SO_SNDTIMEO = 0x15 SO_SNDTIMEO = 0x15
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x15
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25 SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23 SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d SO_TXTIME = 0x3d
SO_TYPE = 0x3 SO_TYPE = 0x3
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2373,8 +2399,10 @@ const (
UBI_IOCMKVOL = 0x40986f00 UBI_IOCMKVOL = 0x40986f00
UBI_IOCRMVOL = 0x40046f01 UBI_IOCRMVOL = 0x40046f01
UBI_IOCRNVOL = 0x51106f03 UBI_IOCRNVOL = 0x51106f03
UBI_IOCRPEB = 0x40046f04
UBI_IOCRSVOL = 0x400c6f02 UBI_IOCRSVOL = 0x400c6f02
UBI_IOCSETVOLPROP = 0x40104f06 UBI_IOCSETVOLPROP = 0x40104f06
UBI_IOCSPEB = 0x40046f05
UBI_IOCVOLCRBLK = 0x40804f07 UBI_IOCVOLCRBLK = 0x40804f07
UBI_IOCVOLRMBLK = 0x4f08 UBI_IOCVOLRMBLK = 0x4f08
UBI_IOCVOLUP = 0x40084f00 UBI_IOCVOLUP = 0x40084f00

View file

@ -323,6 +323,10 @@ const (
CRDLY = 0x600 CRDLY = 0x600
CREAD = 0x80 CREAD = 0x80
CRTSCTS = 0x80000000 CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0 CS5 = 0x0
CS6 = 0x10 CS6 = 0x10
CS7 = 0x20 CS7 = 0x20
@ -501,6 +505,7 @@ const (
FAN_ALL_MARK_FLAGS = 0xff FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000 FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10 FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4 FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0 FAN_CLASS_NOTIF = 0x0
@ -509,8 +514,12 @@ const (
FAN_CLOSE = 0x18 FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10 FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8 FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2 FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40 FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000 FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1 FAN_MARK_ADD = 0x1
@ -524,6 +533,10 @@ const (
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1 FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2 FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000 FAN_ONDIR = 0x40000000
@ -532,6 +545,7 @@ const (
FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000 FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000 FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100 FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20 FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10 FAN_UNLIMITED_QUEUE = 0x10
@ -1489,6 +1503,7 @@ const (
PR_SET_TSC = 0x1a PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6 PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2 PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8 PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1 PR_SPEC_INDIRECT_BRANCH = 0x1
@ -2010,6 +2025,7 @@ const (
SO_ATTACH_REUSEPORT_CBPF = 0x35 SO_ATTACH_REUSEPORT_CBPF = 0x35
SO_ATTACH_REUSEPORT_EBPF = 0x36 SO_ATTACH_REUSEPORT_EBPF = 0x36
SO_BINDTODEVICE = 0xd SO_BINDTODEVICE = 0xd
SO_BINDTOIFINDEX = 0x41
SO_BPF_EXTENSIONS = 0x32 SO_BPF_EXTENSIONS = 0x32
SO_BROADCAST = 0x20 SO_BROADCAST = 0x20
SO_BSDCOMPAT = 0x400 SO_BSDCOMPAT = 0x400
@ -2058,6 +2074,8 @@ const (
SO_RCVBUFFORCE = 0x100b SO_RCVBUFFORCE = 0x100b
SO_RCVLOWAT = 0x800 SO_RCVLOWAT = 0x800
SO_RCVTIMEO = 0x2000 SO_RCVTIMEO = 0x2000
SO_RCVTIMEO_NEW = 0x44
SO_RCVTIMEO_OLD = 0x2000
SO_REUSEADDR = 0x4 SO_REUSEADDR = 0x4
SO_REUSEPORT = 0x200 SO_REUSEPORT = 0x200
SO_RXQ_OVFL = 0x24 SO_RXQ_OVFL = 0x24
@ -2069,9 +2087,17 @@ const (
SO_SNDBUFFORCE = 0x100a SO_SNDBUFFORCE = 0x100a
SO_SNDLOWAT = 0x1000 SO_SNDLOWAT = 0x1000
SO_SNDTIMEO = 0x4000 SO_SNDTIMEO = 0x4000
SO_SNDTIMEO_NEW = 0x45
SO_SNDTIMEO_OLD = 0x4000
SO_TIMESTAMP = 0x1d SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x23 SO_TIMESTAMPING = 0x23
SO_TIMESTAMPING_NEW = 0x43
SO_TIMESTAMPING_OLD = 0x23
SO_TIMESTAMPNS = 0x21 SO_TIMESTAMPNS = 0x21
SO_TIMESTAMPNS_NEW = 0x42
SO_TIMESTAMPNS_OLD = 0x21
SO_TIMESTAMP_NEW = 0x46
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3f SO_TXTIME = 0x3f
SO_TYPE = 0x1008 SO_TYPE = 0x1008
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2 SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
@ -2362,8 +2388,10 @@ const (
UBI_IOCMKVOL = 0x80986f00 UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01 UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03 UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02 UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06 UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07 UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08 UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00 UBI_IOCVOLUP = 0x80084f00

1789
vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -83,6 +83,8 @@ int lstat(uintptr_t, uintptr_t);
int pause(); int pause();
int pread64(int, uintptr_t, size_t, long long); int pread64(int, uintptr_t, size_t, long long);
int pwrite64(int, uintptr_t, size_t, long long); int pwrite64(int, uintptr_t, size_t, long long);
#define c_select select
int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
int setregid(int, int); int setregid(int, int);
int setreuid(int, int); int setreuid(int, int);
@ -103,8 +105,8 @@ int getpeername(int, uintptr_t, uintptr_t);
int getsockname(int, uintptr_t, uintptr_t); int getsockname(int, uintptr_t, uintptr_t);
int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
int recvmsg(int, uintptr_t, int); int nrecvmsg(int, uintptr_t, int);
int sendmsg(int, uintptr_t, int); int nsendmsg(int, uintptr_t, int);
int munmap(uintptr_t, uintptr_t); int munmap(uintptr_t, uintptr_t);
int madvise(uintptr_t, size_t, int); int madvise(uintptr_t, size_t, int);
int mprotect(uintptr_t, size_t, int); int mprotect(uintptr_t, size_t, int);
@ -118,6 +120,8 @@ int poll(uintptr_t, int, int);
int gettimeofday(uintptr_t, uintptr_t); int gettimeofday(uintptr_t, uintptr_t);
int time(uintptr_t); int time(uintptr_t);
int utime(uintptr_t, uintptr_t); int utime(uintptr_t, uintptr_t);
unsigned long long getsystemcfg(int);
int umount(uintptr_t);
int getrlimit64(int, uintptr_t); int getrlimit64(int, uintptr_t);
int setrlimit64(int, uintptr_t); int setrlimit64(int, uintptr_t);
long long lseek64(int, long long, int); long long lseek64(int, long long, int);
@ -1004,6 +1008,17 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
r0, er := C.c_select(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))))
n = int(r0)
if r0 == -1 && er != nil {
err = er
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
r0, er := C.pselect(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))), C.uintptr_t(uintptr(unsafe.Pointer(sigmask)))) r0, er := C.pselect(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))), C.uintptr_t(uintptr(unsafe.Pointer(sigmask))))
n = int(r0) n = int(r0)
@ -1225,7 +1240,7 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
r0, er := C.recvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags)) r0, er := C.nrecvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
n = int(r0) n = int(r0)
if r0 == -1 && er != nil { if r0 == -1 && er != nil {
err = er err = er
@ -1236,7 +1251,7 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
r0, er := C.sendmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags)) r0, er := C.nsendmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
n = int(r0) n = int(r0)
if r0 == -1 && er != nil { if r0 == -1 && er != nil {
err = er err = er
@ -1409,6 +1424,25 @@ func Utime(path string, buf *Utimbuf) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Getsystemcfg(label int) (n uint64) {
r0, _ := C.getsystemcfg(C.int(label))
n = uint64(r0)
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func umount(target string) (err error) {
_p0 := uintptr(unsafe.Pointer(C.CString(target)))
r0, er := C.umount(C.uintptr_t(_p0))
if r0 == -1 && er != nil {
err = er
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Getrlimit(resource int, rlim *Rlimit) (err error) { func Getrlimit(resource int, rlim *Rlimit) (err error) {
r0, er := C.getrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim)))) r0, er := C.getrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim))))
if r0 == -1 && er != nil { if r0 == -1 && er != nil {

View file

@ -960,6 +960,17 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
r0, e1 := callselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)))
n = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
r0, e1 := callpselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask))) r0, e1 := callpselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
n = int(r0) n = int(r0)
@ -1189,7 +1200,7 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
r0, e1 := callrecvmsg(s, uintptr(unsafe.Pointer(msg)), flags) r0, e1 := callnrecvmsg(s, uintptr(unsafe.Pointer(msg)), flags)
n = int(r0) n = int(r0)
if e1 != 0 { if e1 != 0 {
err = errnoErr(e1) err = errnoErr(e1)
@ -1200,7 +1211,7 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
r0, e1 := callsendmsg(s, uintptr(unsafe.Pointer(msg)), flags) r0, e1 := callnsendmsg(s, uintptr(unsafe.Pointer(msg)), flags)
n = int(r0) n = int(r0)
if e1 != 0 { if e1 != 0 {
err = errnoErr(e1) err = errnoErr(e1)
@ -1375,6 +1386,21 @@ func Getsystemcfg(label int) (n uint64) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func umount(target string) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(target)
if err != nil {
return
}
_, e1 := callumount(uintptr(unsafe.Pointer(_p0)))
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Getrlimit(resource int, rlim *Rlimit) (err error) { func Getrlimit(resource int, rlim *Rlimit) (err error) {
_, e1 := callgetrlimit(resource, uintptr(unsafe.Pointer(rlim))) _, e1 := callgetrlimit(resource, uintptr(unsafe.Pointer(rlim)))
if e1 != 0 { if e1 != 0 {

View file

@ -85,6 +85,7 @@ import (
//go:cgo_import_dynamic libc_pause pause "libc.a/shr_64.o" //go:cgo_import_dynamic libc_pause pause "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_pread64 pread64 "libc.a/shr_64.o" //go:cgo_import_dynamic libc_pread64 pread64 "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_pwrite64 pwrite64 "libc.a/shr_64.o" //go:cgo_import_dynamic libc_pwrite64 pwrite64 "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_select select "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_pselect pselect "libc.a/shr_64.o" //go:cgo_import_dynamic libc_pselect pselect "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_setregid setregid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setregid setregid "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_setreuid setreuid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setreuid setreuid "libc.a/shr_64.o"
@ -105,8 +106,8 @@ import (
//go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o" //go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o" //go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o" //go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.a/shr_64.o" //go:cgo_import_dynamic libc_nrecvmsg nrecvmsg "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.a/shr_64.o" //go:cgo_import_dynamic libc_nsendmsg nsendmsg "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_munmap munmap "libc.a/shr_64.o" //go:cgo_import_dynamic libc_munmap munmap "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_madvise madvise "libc.a/shr_64.o" //go:cgo_import_dynamic libc_madvise madvise "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_mprotect mprotect "libc.a/shr_64.o" //go:cgo_import_dynamic libc_mprotect mprotect "libc.a/shr_64.o"
@ -121,6 +122,7 @@ import (
//go:cgo_import_dynamic libc_time time "libc.a/shr_64.o" //go:cgo_import_dynamic libc_time time "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_utime utime "libc.a/shr_64.o" //go:cgo_import_dynamic libc_utime utime "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o" //go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_umount umount "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.a/shr_64.o" //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
//go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o" //go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
@ -201,6 +203,7 @@ import (
//go:linkname libc_pause libc_pause //go:linkname libc_pause libc_pause
//go:linkname libc_pread64 libc_pread64 //go:linkname libc_pread64 libc_pread64
//go:linkname libc_pwrite64 libc_pwrite64 //go:linkname libc_pwrite64 libc_pwrite64
//go:linkname libc_select libc_select
//go:linkname libc_pselect libc_pselect //go:linkname libc_pselect libc_pselect
//go:linkname libc_setregid libc_setregid //go:linkname libc_setregid libc_setregid
//go:linkname libc_setreuid libc_setreuid //go:linkname libc_setreuid libc_setreuid
@ -221,8 +224,8 @@ import (
//go:linkname libc_getsockname libc_getsockname //go:linkname libc_getsockname libc_getsockname
//go:linkname libc_recvfrom libc_recvfrom //go:linkname libc_recvfrom libc_recvfrom
//go:linkname libc_sendto libc_sendto //go:linkname libc_sendto libc_sendto
//go:linkname libc_recvmsg libc_recvmsg //go:linkname libc_nrecvmsg libc_nrecvmsg
//go:linkname libc_sendmsg libc_sendmsg //go:linkname libc_nsendmsg libc_nsendmsg
//go:linkname libc_munmap libc_munmap //go:linkname libc_munmap libc_munmap
//go:linkname libc_madvise libc_madvise //go:linkname libc_madvise libc_madvise
//go:linkname libc_mprotect libc_mprotect //go:linkname libc_mprotect libc_mprotect
@ -237,6 +240,7 @@ import (
//go:linkname libc_time libc_time //go:linkname libc_time libc_time
//go:linkname libc_utime libc_utime //go:linkname libc_utime libc_utime
//go:linkname libc_getsystemcfg libc_getsystemcfg //go:linkname libc_getsystemcfg libc_getsystemcfg
//go:linkname libc_umount libc_umount
//go:linkname libc_getrlimit libc_getrlimit //go:linkname libc_getrlimit libc_getrlimit
//go:linkname libc_setrlimit libc_setrlimit //go:linkname libc_setrlimit libc_setrlimit
//go:linkname libc_lseek libc_lseek //go:linkname libc_lseek libc_lseek
@ -320,6 +324,7 @@ var (
libc_pause, libc_pause,
libc_pread64, libc_pread64,
libc_pwrite64, libc_pwrite64,
libc_select,
libc_pselect, libc_pselect,
libc_setregid, libc_setregid,
libc_setreuid, libc_setreuid,
@ -340,8 +345,8 @@ var (
libc_getsockname, libc_getsockname,
libc_recvfrom, libc_recvfrom,
libc_sendto, libc_sendto,
libc_recvmsg, libc_nrecvmsg,
libc_sendmsg, libc_nsendmsg,
libc_munmap, libc_munmap,
libc_madvise, libc_madvise,
libc_mprotect, libc_mprotect,
@ -356,6 +361,7 @@ var (
libc_time, libc_time,
libc_utime, libc_utime,
libc_getsystemcfg, libc_getsystemcfg,
libc_umount,
libc_getrlimit, libc_getrlimit,
libc_setrlimit, libc_setrlimit,
libc_lseek, libc_lseek,
@ -893,6 +899,13 @@ func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_select)), 5, uintptr(nfd), r, w, e, timeout, 0)
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) { func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pselect)), 6, uintptr(nfd), r, w, e, timeout, sigmask) r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pselect)), 6, uintptr(nfd), r, w, e, timeout, sigmask)
return return
@ -1033,15 +1046,15 @@ func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen u
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) { func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_recvmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0) r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nrecvmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
return return
} }
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) { func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sendmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0) r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nsendmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
return return
} }
@ -1145,6 +1158,13 @@ func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_umount)), 1, _p0, 0, 0, 0, 0, 0)
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) { func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0) r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
return return

View file

@ -83,6 +83,8 @@ int lstat(uintptr_t, uintptr_t);
int pause(); int pause();
int pread64(int, uintptr_t, size_t, long long); int pread64(int, uintptr_t, size_t, long long);
int pwrite64(int, uintptr_t, size_t, long long); int pwrite64(int, uintptr_t, size_t, long long);
#define c_select select
int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
int setregid(int, int); int setregid(int, int);
int setreuid(int, int); int setreuid(int, int);
@ -103,8 +105,8 @@ int getpeername(int, uintptr_t, uintptr_t);
int getsockname(int, uintptr_t, uintptr_t); int getsockname(int, uintptr_t, uintptr_t);
int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
int recvmsg(int, uintptr_t, int); int nrecvmsg(int, uintptr_t, int);
int sendmsg(int, uintptr_t, int); int nsendmsg(int, uintptr_t, int);
int munmap(uintptr_t, uintptr_t); int munmap(uintptr_t, uintptr_t);
int madvise(uintptr_t, size_t, int); int madvise(uintptr_t, size_t, int);
int mprotect(uintptr_t, size_t, int); int mprotect(uintptr_t, size_t, int);
@ -119,6 +121,7 @@ int gettimeofday(uintptr_t, uintptr_t);
int time(uintptr_t); int time(uintptr_t);
int utime(uintptr_t, uintptr_t); int utime(uintptr_t, uintptr_t);
unsigned long long getsystemcfg(int); unsigned long long getsystemcfg(int);
int umount(uintptr_t);
int getrlimit(int, uintptr_t); int getrlimit(int, uintptr_t);
int setrlimit(int, uintptr_t); int setrlimit(int, uintptr_t);
long long lseek(int, long long, int); long long lseek(int, long long, int);
@ -732,6 +735,14 @@ func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
r1 = uintptr(C.c_select(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout)))
e1 = syscall.GetErrno()
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) { func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask))) r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask)))
e1 = syscall.GetErrno() e1 = syscall.GetErrno()
@ -892,16 +903,16 @@ func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen u
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) { func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
r1 = uintptr(C.recvmsg(C.int(s), C.uintptr_t(msg), C.int(flags))) r1 = uintptr(C.nrecvmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
e1 = syscall.GetErrno() e1 = syscall.GetErrno()
return return
} }
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) { func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
r1 = uintptr(C.sendmsg(C.int(s), C.uintptr_t(msg), C.int(flags))) r1 = uintptr(C.nsendmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
e1 = syscall.GetErrno() e1 = syscall.GetErrno()
return return
} }
@ -1020,6 +1031,14 @@ func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
r1 = uintptr(C.umount(C.uintptr_t(_p0)))
e1 = syscall.GetErrno()
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) { func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim))) r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim)))
e1 = syscall.GetErrno() e1 = syscall.GetErrno()

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func pipe(p *[2]_C_int) (err error) { func pipe(p *[2]_C_int) (err error) {
_, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func pipe(p *[2]_C_int) (err error) { func pipe(p *[2]_C_int) (err error) {
_, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
if e1 != 0 { if e1 != 0 {
@ -2340,3 +2366,18 @@ func armSyncFileRange(fd int, flags int, off int64, n int64) (err error) {
} }
return return
} }
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(cmdline)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
var _p0 unsafe.Pointer var _p0 unsafe.Pointer
if len(events) > 0 { if len(events) > 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
var _p0 unsafe.Pointer var _p0 unsafe.Pointer
if len(events) > 0 { if len(events) > 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Dup2(oldfd int, newfd int) (err error) { func Dup2(oldfd int, newfd int) (err error) {
_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
if e1 != 0 { if e1 != 0 {

View file

@ -1679,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
var _p0 *byte
_p0, err = BytePtrFromString(pathname)
if err != nil {
return
}
_, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
fd = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
var _p0 unsafe.Pointer var _p0 unsafe.Pointer
if len(events) > 0 { if len(events) > 0 {

1692
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,8 @@
// mksysctl_openbsd.pl // mksysctl_openbsd.pl
// Code generated by the command above; DO NOT EDIT. // Code generated by the command above; DO NOT EDIT.
// +build 386,openbsd
package unix package unix
type mibentry struct { type mibentry struct {

View file

@ -1,4 +1,4 @@
// mksysctl_openbsd.pl // go run mksysctl_openbsd.go
// Code generated by the command above; DO NOT EDIT. // Code generated by the command above; DO NOT EDIT.
// +build amd64,openbsd // +build amd64,openbsd

View file

@ -1,6 +1,8 @@
// mksysctl_openbsd.pl // go run mksysctl_openbsd.go
// Code generated by the command above; DO NOT EDIT. // Code generated by the command above; DO NOT EDIT.
// +build arm,openbsd
package unix package unix
type mibentry struct { type mibentry struct {

275
vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go generated vendored Normal file
View file

@ -0,0 +1,275 @@
// go run mksysctl_openbsd.go
// Code generated by the command above; DO NOT EDIT.
// +build arm64,openbsd
package unix
type mibentry struct {
ctlname string
ctloid []_C_int
}
var sysctlMib = []mibentry{
{"ddb.console", []_C_int{9, 6}},
{"ddb.log", []_C_int{9, 7}},
{"ddb.max_line", []_C_int{9, 3}},
{"ddb.max_width", []_C_int{9, 2}},
{"ddb.panic", []_C_int{9, 5}},
{"ddb.profile", []_C_int{9, 9}},
{"ddb.radix", []_C_int{9, 1}},
{"ddb.tab_stop_width", []_C_int{9, 4}},
{"ddb.trigger", []_C_int{9, 8}},
{"fs.posix.setuid", []_C_int{3, 1, 1}},
{"hw.allowpowerdown", []_C_int{6, 22}},
{"hw.byteorder", []_C_int{6, 4}},
{"hw.cpuspeed", []_C_int{6, 12}},
{"hw.diskcount", []_C_int{6, 10}},
{"hw.disknames", []_C_int{6, 8}},
{"hw.diskstats", []_C_int{6, 9}},
{"hw.machine", []_C_int{6, 1}},
{"hw.model", []_C_int{6, 2}},
{"hw.ncpu", []_C_int{6, 3}},
{"hw.ncpufound", []_C_int{6, 21}},
{"hw.ncpuonline", []_C_int{6, 25}},
{"hw.pagesize", []_C_int{6, 7}},
{"hw.perfpolicy", []_C_int{6, 23}},
{"hw.physmem", []_C_int{6, 19}},
{"hw.product", []_C_int{6, 15}},
{"hw.serialno", []_C_int{6, 17}},
{"hw.setperf", []_C_int{6, 13}},
{"hw.smt", []_C_int{6, 24}},
{"hw.usermem", []_C_int{6, 20}},
{"hw.uuid", []_C_int{6, 18}},
{"hw.vendor", []_C_int{6, 14}},
{"hw.version", []_C_int{6, 16}},
{"kern.allowkmem", []_C_int{1, 52}},
{"kern.argmax", []_C_int{1, 8}},
{"kern.audio", []_C_int{1, 84}},
{"kern.boottime", []_C_int{1, 21}},
{"kern.bufcachepercent", []_C_int{1, 72}},
{"kern.ccpu", []_C_int{1, 45}},
{"kern.clockrate", []_C_int{1, 12}},
{"kern.consdev", []_C_int{1, 75}},
{"kern.cp_time", []_C_int{1, 40}},
{"kern.cp_time2", []_C_int{1, 71}},
{"kern.cpustats", []_C_int{1, 85}},
{"kern.domainname", []_C_int{1, 22}},
{"kern.file", []_C_int{1, 73}},
{"kern.forkstat", []_C_int{1, 42}},
{"kern.fscale", []_C_int{1, 46}},
{"kern.fsync", []_C_int{1, 33}},
{"kern.global_ptrace", []_C_int{1, 81}},
{"kern.hostid", []_C_int{1, 11}},
{"kern.hostname", []_C_int{1, 10}},
{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
{"kern.job_control", []_C_int{1, 19}},
{"kern.malloc.buckets", []_C_int{1, 39, 1}},
{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
{"kern.maxclusters", []_C_int{1, 67}},
{"kern.maxfiles", []_C_int{1, 7}},
{"kern.maxlocksperuid", []_C_int{1, 70}},
{"kern.maxpartitions", []_C_int{1, 23}},
{"kern.maxproc", []_C_int{1, 6}},
{"kern.maxthread", []_C_int{1, 25}},
{"kern.maxvnodes", []_C_int{1, 5}},
{"kern.mbstat", []_C_int{1, 59}},
{"kern.msgbuf", []_C_int{1, 48}},
{"kern.msgbufsize", []_C_int{1, 38}},
{"kern.nchstats", []_C_int{1, 41}},
{"kern.netlivelocks", []_C_int{1, 76}},
{"kern.nfiles", []_C_int{1, 56}},
{"kern.ngroups", []_C_int{1, 18}},
{"kern.nosuidcoredump", []_C_int{1, 32}},
{"kern.nprocs", []_C_int{1, 47}},
{"kern.nselcoll", []_C_int{1, 43}},
{"kern.nthreads", []_C_int{1, 26}},
{"kern.numvnodes", []_C_int{1, 58}},
{"kern.osrelease", []_C_int{1, 2}},
{"kern.osrevision", []_C_int{1, 3}},
{"kern.ostype", []_C_int{1, 1}},
{"kern.osversion", []_C_int{1, 27}},
{"kern.pool_debug", []_C_int{1, 77}},
{"kern.posix1version", []_C_int{1, 17}},
{"kern.proc", []_C_int{1, 66}},
{"kern.rawpartition", []_C_int{1, 24}},
{"kern.saved_ids", []_C_int{1, 20}},
{"kern.securelevel", []_C_int{1, 9}},
{"kern.seminfo", []_C_int{1, 61}},
{"kern.shminfo", []_C_int{1, 62}},
{"kern.somaxconn", []_C_int{1, 28}},
{"kern.sominconn", []_C_int{1, 29}},
{"kern.splassert", []_C_int{1, 54}},
{"kern.stackgap_random", []_C_int{1, 50}},
{"kern.sysvipc_info", []_C_int{1, 51}},
{"kern.sysvmsg", []_C_int{1, 34}},
{"kern.sysvsem", []_C_int{1, 35}},
{"kern.sysvshm", []_C_int{1, 36}},
{"kern.timecounter.choice", []_C_int{1, 69, 4}},
{"kern.timecounter.hardware", []_C_int{1, 69, 3}},
{"kern.timecounter.tick", []_C_int{1, 69, 1}},
{"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
{"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
{"kern.tty.tk_nin", []_C_int{1, 44, 1}},
{"kern.tty.tk_nout", []_C_int{1, 44, 2}},
{"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
{"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
{"kern.ttycount", []_C_int{1, 57}},
{"kern.version", []_C_int{1, 4}},
{"kern.watchdog.auto", []_C_int{1, 64, 2}},
{"kern.watchdog.period", []_C_int{1, 64, 1}},
{"kern.witnesswatch", []_C_int{1, 53}},
{"kern.wxabort", []_C_int{1, 74}},
{"net.bpf.bufsize", []_C_int{4, 31, 1}},
{"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
{"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
{"net.inet.ah.stats", []_C_int{4, 2, 51, 2}},
{"net.inet.carp.allow", []_C_int{4, 2, 112, 1}},
{"net.inet.carp.log", []_C_int{4, 2, 112, 3}},
{"net.inet.carp.preempt", []_C_int{4, 2, 112, 2}},
{"net.inet.carp.stats", []_C_int{4, 2, 112, 4}},
{"net.inet.divert.recvspace", []_C_int{4, 2, 258, 1}},
{"net.inet.divert.sendspace", []_C_int{4, 2, 258, 2}},
{"net.inet.divert.stats", []_C_int{4, 2, 258, 3}},
{"net.inet.esp.enable", []_C_int{4, 2, 50, 1}},
{"net.inet.esp.stats", []_C_int{4, 2, 50, 4}},
{"net.inet.esp.udpencap", []_C_int{4, 2, 50, 2}},
{"net.inet.esp.udpencap_port", []_C_int{4, 2, 50, 3}},
{"net.inet.etherip.allow", []_C_int{4, 2, 97, 1}},
{"net.inet.etherip.stats", []_C_int{4, 2, 97, 2}},
{"net.inet.gre.allow", []_C_int{4, 2, 47, 1}},
{"net.inet.gre.wccp", []_C_int{4, 2, 47, 2}},
{"net.inet.icmp.bmcastecho", []_C_int{4, 2, 1, 2}},
{"net.inet.icmp.errppslimit", []_C_int{4, 2, 1, 3}},
{"net.inet.icmp.maskrepl", []_C_int{4, 2, 1, 1}},
{"net.inet.icmp.rediraccept", []_C_int{4, 2, 1, 4}},
{"net.inet.icmp.redirtimeout", []_C_int{4, 2, 1, 5}},
{"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
{"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
{"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
{"net.inet.ip.arpdown", []_C_int{4, 2, 0, 40}},
{"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
{"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}},
{"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
{"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
{"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
{"net.inet.ip.ifq.drops", []_C_int{4, 2, 0, 30, 3}},
{"net.inet.ip.ifq.len", []_C_int{4, 2, 0, 30, 1}},
{"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
{"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
{"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
{"net.inet.ip.mrtmfc", []_C_int{4, 2, 0, 37}},
{"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
{"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
{"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}},
{"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
{"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
{"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
{"net.inet.ip.multipath", []_C_int{4, 2, 0, 32}},
{"net.inet.ip.portfirst", []_C_int{4, 2, 0, 7}},
{"net.inet.ip.porthifirst", []_C_int{4, 2, 0, 9}},
{"net.inet.ip.porthilast", []_C_int{4, 2, 0, 10}},
{"net.inet.ip.portlast", []_C_int{4, 2, 0, 8}},
{"net.inet.ip.redirect", []_C_int{4, 2, 0, 2}},
{"net.inet.ip.sourceroute", []_C_int{4, 2, 0, 5}},
{"net.inet.ip.stats", []_C_int{4, 2, 0, 33}},
{"net.inet.ip.ttl", []_C_int{4, 2, 0, 3}},
{"net.inet.ipcomp.enable", []_C_int{4, 2, 108, 1}},
{"net.inet.ipcomp.stats", []_C_int{4, 2, 108, 2}},
{"net.inet.ipip.allow", []_C_int{4, 2, 4, 1}},
{"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
{"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
{"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
{"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
{"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
{"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
{"net.inet.tcp.drop", []_C_int{4, 2, 6, 19}},
{"net.inet.tcp.ecn", []_C_int{4, 2, 6, 14}},
{"net.inet.tcp.ident", []_C_int{4, 2, 6, 9}},
{"net.inet.tcp.keepidle", []_C_int{4, 2, 6, 3}},
{"net.inet.tcp.keepinittime", []_C_int{4, 2, 6, 2}},
{"net.inet.tcp.keepintvl", []_C_int{4, 2, 6, 4}},
{"net.inet.tcp.mssdflt", []_C_int{4, 2, 6, 11}},
{"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
{"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
{"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
{"net.inet.tcp.rootonly", []_C_int{4, 2, 6, 24}},
{"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
{"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
{"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
{"net.inet.tcp.slowhz", []_C_int{4, 2, 6, 5}},
{"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
{"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
{"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
{"net.inet.tcp.synhashsize", []_C_int{4, 2, 6, 25}},
{"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}},
{"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
{"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
{"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
{"net.inet.udp.rootonly", []_C_int{4, 2, 17, 6}},
{"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
{"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
{"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
{"net.inet6.divert.sendspace", []_C_int{4, 24, 86, 2}},
{"net.inet6.divert.stats", []_C_int{4, 24, 86, 3}},
{"net.inet6.icmp6.errppslimit", []_C_int{4, 24, 30, 14}},
{"net.inet6.icmp6.mtudisc_hiwat", []_C_int{4, 24, 30, 16}},
{"net.inet6.icmp6.mtudisc_lowat", []_C_int{4, 24, 30, 17}},
{"net.inet6.icmp6.nd6_debug", []_C_int{4, 24, 30, 18}},
{"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
{"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
{"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
{"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
{"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
{"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
{"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
{"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
{"net.inet6.ip6.defmcasthlim", []_C_int{4, 24, 17, 18}},
{"net.inet6.ip6.forwarding", []_C_int{4, 24, 17, 1}},
{"net.inet6.ip6.forwsrcrt", []_C_int{4, 24, 17, 5}},
{"net.inet6.ip6.hdrnestlimit", []_C_int{4, 24, 17, 15}},
{"net.inet6.ip6.hlim", []_C_int{4, 24, 17, 3}},
{"net.inet6.ip6.log_interval", []_C_int{4, 24, 17, 14}},
{"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
{"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
{"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
{"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
{"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}},
{"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}},
{"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
{"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
{"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
{"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
{"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
{"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
{"net.inet6.ip6.soiikey", []_C_int{4, 24, 17, 54}},
{"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
{"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
{"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
{"net.key.sadb_dump", []_C_int{4, 30, 1}},
{"net.key.spd_dump", []_C_int{4, 30, 2}},
{"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
{"net.mpls.ifq.drops", []_C_int{4, 33, 3, 3}},
{"net.mpls.ifq.len", []_C_int{4, 33, 3, 1}},
{"net.mpls.ifq.maxlen", []_C_int{4, 33, 3, 2}},
{"net.mpls.mapttl_ip", []_C_int{4, 33, 5}},
{"net.mpls.mapttl_ip6", []_C_int{4, 33, 6}},
{"net.mpls.maxloop_inkernel", []_C_int{4, 33, 4}},
{"net.mpls.ttl", []_C_int{4, 33, 2}},
{"net.pflow.stats", []_C_int{4, 34, 1}},
{"net.pipex.enable", []_C_int{4, 35, 1}},
{"vm.anonmin", []_C_int{2, 7}},
{"vm.loadavg", []_C_int{2, 2}},
{"vm.malloc_conf", []_C_int{2, 12}},
{"vm.maxslp", []_C_int{2, 10}},
{"vm.nkmempages", []_C_int{2, 6}},
{"vm.psstrings", []_C_int{2, 3}},
{"vm.swapencrypt.enable", []_C_int{2, 5, 0}},
{"vm.swapencrypt.keyscreated", []_C_int{2, 5, 1}},
{"vm.swapencrypt.keysdeleted", []_C_int{2, 5, 2}},
{"vm.uspace", []_C_int{2, 11}},
{"vm.uvmexp", []_C_int{2, 4}},
{"vm.vmmeter", []_C_int{2, 1}},
{"vm.vnodemin", []_C_int{2, 9}},
{"vm.vtextmin", []_C_int{2, 8}},
}

View file

@ -6,387 +6,421 @@
package unix package unix
const ( const (
SYS_RESTART_SYSCALL = 0 SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1 SYS_EXIT = 1
SYS_FORK = 2 SYS_FORK = 2
SYS_READ = 3 SYS_READ = 3
SYS_WRITE = 4 SYS_WRITE = 4
SYS_OPEN = 5 SYS_OPEN = 5
SYS_CLOSE = 6 SYS_CLOSE = 6
SYS_WAITPID = 7 SYS_WAITPID = 7
SYS_CREAT = 8 SYS_CREAT = 8
SYS_LINK = 9 SYS_LINK = 9
SYS_UNLINK = 10 SYS_UNLINK = 10
SYS_EXECVE = 11 SYS_EXECVE = 11
SYS_CHDIR = 12 SYS_CHDIR = 12
SYS_TIME = 13 SYS_TIME = 13
SYS_MKNOD = 14 SYS_MKNOD = 14
SYS_CHMOD = 15 SYS_CHMOD = 15
SYS_LCHOWN = 16 SYS_LCHOWN = 16
SYS_BREAK = 17 SYS_BREAK = 17
SYS_OLDSTAT = 18 SYS_OLDSTAT = 18
SYS_LSEEK = 19 SYS_LSEEK = 19
SYS_GETPID = 20 SYS_GETPID = 20
SYS_MOUNT = 21 SYS_MOUNT = 21
SYS_UMOUNT = 22 SYS_UMOUNT = 22
SYS_SETUID = 23 SYS_SETUID = 23
SYS_GETUID = 24 SYS_GETUID = 24
SYS_STIME = 25 SYS_STIME = 25
SYS_PTRACE = 26 SYS_PTRACE = 26
SYS_ALARM = 27 SYS_ALARM = 27
SYS_OLDFSTAT = 28 SYS_OLDFSTAT = 28
SYS_PAUSE = 29 SYS_PAUSE = 29
SYS_UTIME = 30 SYS_UTIME = 30
SYS_STTY = 31 SYS_STTY = 31
SYS_GTTY = 32 SYS_GTTY = 32
SYS_ACCESS = 33 SYS_ACCESS = 33
SYS_NICE = 34 SYS_NICE = 34
SYS_FTIME = 35 SYS_FTIME = 35
SYS_SYNC = 36 SYS_SYNC = 36
SYS_KILL = 37 SYS_KILL = 37
SYS_RENAME = 38 SYS_RENAME = 38
SYS_MKDIR = 39 SYS_MKDIR = 39
SYS_RMDIR = 40 SYS_RMDIR = 40
SYS_DUP = 41 SYS_DUP = 41
SYS_PIPE = 42 SYS_PIPE = 42
SYS_TIMES = 43 SYS_TIMES = 43
SYS_PROF = 44 SYS_PROF = 44
SYS_BRK = 45 SYS_BRK = 45
SYS_SETGID = 46 SYS_SETGID = 46
SYS_GETGID = 47 SYS_GETGID = 47
SYS_SIGNAL = 48 SYS_SIGNAL = 48
SYS_GETEUID = 49 SYS_GETEUID = 49
SYS_GETEGID = 50 SYS_GETEGID = 50
SYS_ACCT = 51 SYS_ACCT = 51
SYS_UMOUNT2 = 52 SYS_UMOUNT2 = 52
SYS_LOCK = 53 SYS_LOCK = 53
SYS_IOCTL = 54 SYS_IOCTL = 54
SYS_FCNTL = 55 SYS_FCNTL = 55
SYS_MPX = 56 SYS_MPX = 56
SYS_SETPGID = 57 SYS_SETPGID = 57
SYS_ULIMIT = 58 SYS_ULIMIT = 58
SYS_OLDOLDUNAME = 59 SYS_OLDOLDUNAME = 59
SYS_UMASK = 60 SYS_UMASK = 60
SYS_CHROOT = 61 SYS_CHROOT = 61
SYS_USTAT = 62 SYS_USTAT = 62
SYS_DUP2 = 63 SYS_DUP2 = 63
SYS_GETPPID = 64 SYS_GETPPID = 64
SYS_GETPGRP = 65 SYS_GETPGRP = 65
SYS_SETSID = 66 SYS_SETSID = 66
SYS_SIGACTION = 67 SYS_SIGACTION = 67
SYS_SGETMASK = 68 SYS_SGETMASK = 68
SYS_SSETMASK = 69 SYS_SSETMASK = 69
SYS_SETREUID = 70 SYS_SETREUID = 70
SYS_SETREGID = 71 SYS_SETREGID = 71
SYS_SIGSUSPEND = 72 SYS_SIGSUSPEND = 72
SYS_SIGPENDING = 73 SYS_SIGPENDING = 73
SYS_SETHOSTNAME = 74 SYS_SETHOSTNAME = 74
SYS_SETRLIMIT = 75 SYS_SETRLIMIT = 75
SYS_GETRLIMIT = 76 SYS_GETRLIMIT = 76
SYS_GETRUSAGE = 77 SYS_GETRUSAGE = 77
SYS_GETTIMEOFDAY = 78 SYS_GETTIMEOFDAY = 78
SYS_SETTIMEOFDAY = 79 SYS_SETTIMEOFDAY = 79
SYS_GETGROUPS = 80 SYS_GETGROUPS = 80
SYS_SETGROUPS = 81 SYS_SETGROUPS = 81
SYS_SELECT = 82 SYS_SELECT = 82
SYS_SYMLINK = 83 SYS_SYMLINK = 83
SYS_OLDLSTAT = 84 SYS_OLDLSTAT = 84
SYS_READLINK = 85 SYS_READLINK = 85
SYS_USELIB = 86 SYS_USELIB = 86
SYS_SWAPON = 87 SYS_SWAPON = 87
SYS_REBOOT = 88 SYS_REBOOT = 88
SYS_READDIR = 89 SYS_READDIR = 89
SYS_MMAP = 90 SYS_MMAP = 90
SYS_MUNMAP = 91 SYS_MUNMAP = 91
SYS_TRUNCATE = 92 SYS_TRUNCATE = 92
SYS_FTRUNCATE = 93 SYS_FTRUNCATE = 93
SYS_FCHMOD = 94 SYS_FCHMOD = 94
SYS_FCHOWN = 95 SYS_FCHOWN = 95
SYS_GETPRIORITY = 96 SYS_GETPRIORITY = 96
SYS_SETPRIORITY = 97 SYS_SETPRIORITY = 97
SYS_PROFIL = 98 SYS_PROFIL = 98
SYS_STATFS = 99 SYS_STATFS = 99
SYS_FSTATFS = 100 SYS_FSTATFS = 100
SYS_IOPERM = 101 SYS_IOPERM = 101
SYS_SOCKETCALL = 102 SYS_SOCKETCALL = 102
SYS_SYSLOG = 103 SYS_SYSLOG = 103
SYS_SETITIMER = 104 SYS_SETITIMER = 104
SYS_GETITIMER = 105 SYS_GETITIMER = 105
SYS_STAT = 106 SYS_STAT = 106
SYS_LSTAT = 107 SYS_LSTAT = 107
SYS_FSTAT = 108 SYS_FSTAT = 108
SYS_OLDUNAME = 109 SYS_OLDUNAME = 109
SYS_IOPL = 110 SYS_IOPL = 110
SYS_VHANGUP = 111 SYS_VHANGUP = 111
SYS_IDLE = 112 SYS_IDLE = 112
SYS_VM86OLD = 113 SYS_VM86OLD = 113
SYS_WAIT4 = 114 SYS_WAIT4 = 114
SYS_SWAPOFF = 115 SYS_SWAPOFF = 115
SYS_SYSINFO = 116 SYS_SYSINFO = 116
SYS_IPC = 117 SYS_IPC = 117
SYS_FSYNC = 118 SYS_FSYNC = 118
SYS_SIGRETURN = 119 SYS_SIGRETURN = 119
SYS_CLONE = 120 SYS_CLONE = 120
SYS_SETDOMAINNAME = 121 SYS_SETDOMAINNAME = 121
SYS_UNAME = 122 SYS_UNAME = 122
SYS_MODIFY_LDT = 123 SYS_MODIFY_LDT = 123
SYS_ADJTIMEX = 124 SYS_ADJTIMEX = 124
SYS_MPROTECT = 125 SYS_MPROTECT = 125
SYS_SIGPROCMASK = 126 SYS_SIGPROCMASK = 126
SYS_CREATE_MODULE = 127 SYS_CREATE_MODULE = 127
SYS_INIT_MODULE = 128 SYS_INIT_MODULE = 128
SYS_DELETE_MODULE = 129 SYS_DELETE_MODULE = 129
SYS_GET_KERNEL_SYMS = 130 SYS_GET_KERNEL_SYMS = 130
SYS_QUOTACTL = 131 SYS_QUOTACTL = 131
SYS_GETPGID = 132 SYS_GETPGID = 132
SYS_FCHDIR = 133 SYS_FCHDIR = 133
SYS_BDFLUSH = 134 SYS_BDFLUSH = 134
SYS_SYSFS = 135 SYS_SYSFS = 135
SYS_PERSONALITY = 136 SYS_PERSONALITY = 136
SYS_AFS_SYSCALL = 137 SYS_AFS_SYSCALL = 137
SYS_SETFSUID = 138 SYS_SETFSUID = 138
SYS_SETFSGID = 139 SYS_SETFSGID = 139
SYS__LLSEEK = 140 SYS__LLSEEK = 140
SYS_GETDENTS = 141 SYS_GETDENTS = 141
SYS__NEWSELECT = 142 SYS__NEWSELECT = 142
SYS_FLOCK = 143 SYS_FLOCK = 143
SYS_MSYNC = 144 SYS_MSYNC = 144
SYS_READV = 145 SYS_READV = 145
SYS_WRITEV = 146 SYS_WRITEV = 146
SYS_GETSID = 147 SYS_GETSID = 147
SYS_FDATASYNC = 148 SYS_FDATASYNC = 148
SYS__SYSCTL = 149 SYS__SYSCTL = 149
SYS_MLOCK = 150 SYS_MLOCK = 150
SYS_MUNLOCK = 151 SYS_MUNLOCK = 151
SYS_MLOCKALL = 152 SYS_MLOCKALL = 152
SYS_MUNLOCKALL = 153 SYS_MUNLOCKALL = 153
SYS_SCHED_SETPARAM = 154 SYS_SCHED_SETPARAM = 154
SYS_SCHED_GETPARAM = 155 SYS_SCHED_GETPARAM = 155
SYS_SCHED_SETSCHEDULER = 156 SYS_SCHED_SETSCHEDULER = 156
SYS_SCHED_GETSCHEDULER = 157 SYS_SCHED_GETSCHEDULER = 157
SYS_SCHED_YIELD = 158 SYS_SCHED_YIELD = 158
SYS_SCHED_GET_PRIORITY_MAX = 159 SYS_SCHED_GET_PRIORITY_MAX = 159
SYS_SCHED_GET_PRIORITY_MIN = 160 SYS_SCHED_GET_PRIORITY_MIN = 160
SYS_SCHED_RR_GET_INTERVAL = 161 SYS_SCHED_RR_GET_INTERVAL = 161
SYS_NANOSLEEP = 162 SYS_NANOSLEEP = 162
SYS_MREMAP = 163 SYS_MREMAP = 163
SYS_SETRESUID = 164 SYS_SETRESUID = 164
SYS_GETRESUID = 165 SYS_GETRESUID = 165
SYS_VM86 = 166 SYS_VM86 = 166
SYS_QUERY_MODULE = 167 SYS_QUERY_MODULE = 167
SYS_POLL = 168 SYS_POLL = 168
SYS_NFSSERVCTL = 169 SYS_NFSSERVCTL = 169
SYS_SETRESGID = 170 SYS_SETRESGID = 170
SYS_GETRESGID = 171 SYS_GETRESGID = 171
SYS_PRCTL = 172 SYS_PRCTL = 172
SYS_RT_SIGRETURN = 173 SYS_RT_SIGRETURN = 173
SYS_RT_SIGACTION = 174 SYS_RT_SIGACTION = 174
SYS_RT_SIGPROCMASK = 175 SYS_RT_SIGPROCMASK = 175
SYS_RT_SIGPENDING = 176 SYS_RT_SIGPENDING = 176
SYS_RT_SIGTIMEDWAIT = 177 SYS_RT_SIGTIMEDWAIT = 177
SYS_RT_SIGQUEUEINFO = 178 SYS_RT_SIGQUEUEINFO = 178
SYS_RT_SIGSUSPEND = 179 SYS_RT_SIGSUSPEND = 179
SYS_PREAD64 = 180 SYS_PREAD64 = 180
SYS_PWRITE64 = 181 SYS_PWRITE64 = 181
SYS_CHOWN = 182 SYS_CHOWN = 182
SYS_GETCWD = 183 SYS_GETCWD = 183
SYS_CAPGET = 184 SYS_CAPGET = 184
SYS_CAPSET = 185 SYS_CAPSET = 185
SYS_SIGALTSTACK = 186 SYS_SIGALTSTACK = 186
SYS_SENDFILE = 187 SYS_SENDFILE = 187
SYS_GETPMSG = 188 SYS_GETPMSG = 188
SYS_PUTPMSG = 189 SYS_PUTPMSG = 189
SYS_VFORK = 190 SYS_VFORK = 190
SYS_UGETRLIMIT = 191 SYS_UGETRLIMIT = 191
SYS_MMAP2 = 192 SYS_MMAP2 = 192
SYS_TRUNCATE64 = 193 SYS_TRUNCATE64 = 193
SYS_FTRUNCATE64 = 194 SYS_FTRUNCATE64 = 194
SYS_STAT64 = 195 SYS_STAT64 = 195
SYS_LSTAT64 = 196 SYS_LSTAT64 = 196
SYS_FSTAT64 = 197 SYS_FSTAT64 = 197
SYS_LCHOWN32 = 198 SYS_LCHOWN32 = 198
SYS_GETUID32 = 199 SYS_GETUID32 = 199
SYS_GETGID32 = 200 SYS_GETGID32 = 200
SYS_GETEUID32 = 201 SYS_GETEUID32 = 201
SYS_GETEGID32 = 202 SYS_GETEGID32 = 202
SYS_SETREUID32 = 203 SYS_SETREUID32 = 203
SYS_SETREGID32 = 204 SYS_SETREGID32 = 204
SYS_GETGROUPS32 = 205 SYS_GETGROUPS32 = 205
SYS_SETGROUPS32 = 206 SYS_SETGROUPS32 = 206
SYS_FCHOWN32 = 207 SYS_FCHOWN32 = 207
SYS_SETRESUID32 = 208 SYS_SETRESUID32 = 208
SYS_GETRESUID32 = 209 SYS_GETRESUID32 = 209
SYS_SETRESGID32 = 210 SYS_SETRESGID32 = 210
SYS_GETRESGID32 = 211 SYS_GETRESGID32 = 211
SYS_CHOWN32 = 212 SYS_CHOWN32 = 212
SYS_SETUID32 = 213 SYS_SETUID32 = 213
SYS_SETGID32 = 214 SYS_SETGID32 = 214
SYS_SETFSUID32 = 215 SYS_SETFSUID32 = 215
SYS_SETFSGID32 = 216 SYS_SETFSGID32 = 216
SYS_PIVOT_ROOT = 217 SYS_PIVOT_ROOT = 217
SYS_MINCORE = 218 SYS_MINCORE = 218
SYS_MADVISE = 219 SYS_MADVISE = 219
SYS_GETDENTS64 = 220 SYS_GETDENTS64 = 220
SYS_FCNTL64 = 221 SYS_FCNTL64 = 221
SYS_GETTID = 224 SYS_GETTID = 224
SYS_READAHEAD = 225 SYS_READAHEAD = 225
SYS_SETXATTR = 226 SYS_SETXATTR = 226
SYS_LSETXATTR = 227 SYS_LSETXATTR = 227
SYS_FSETXATTR = 228 SYS_FSETXATTR = 228
SYS_GETXATTR = 229 SYS_GETXATTR = 229
SYS_LGETXATTR = 230 SYS_LGETXATTR = 230
SYS_FGETXATTR = 231 SYS_FGETXATTR = 231
SYS_LISTXATTR = 232 SYS_LISTXATTR = 232
SYS_LLISTXATTR = 233 SYS_LLISTXATTR = 233
SYS_FLISTXATTR = 234 SYS_FLISTXATTR = 234
SYS_REMOVEXATTR = 235 SYS_REMOVEXATTR = 235
SYS_LREMOVEXATTR = 236 SYS_LREMOVEXATTR = 236
SYS_FREMOVEXATTR = 237 SYS_FREMOVEXATTR = 237
SYS_TKILL = 238 SYS_TKILL = 238
SYS_SENDFILE64 = 239 SYS_SENDFILE64 = 239
SYS_FUTEX = 240 SYS_FUTEX = 240
SYS_SCHED_SETAFFINITY = 241 SYS_SCHED_SETAFFINITY = 241
SYS_SCHED_GETAFFINITY = 242 SYS_SCHED_GETAFFINITY = 242
SYS_SET_THREAD_AREA = 243 SYS_SET_THREAD_AREA = 243
SYS_GET_THREAD_AREA = 244 SYS_GET_THREAD_AREA = 244
SYS_IO_SETUP = 245 SYS_IO_SETUP = 245
SYS_IO_DESTROY = 246 SYS_IO_DESTROY = 246
SYS_IO_GETEVENTS = 247 SYS_IO_GETEVENTS = 247
SYS_IO_SUBMIT = 248 SYS_IO_SUBMIT = 248
SYS_IO_CANCEL = 249 SYS_IO_CANCEL = 249
SYS_FADVISE64 = 250 SYS_FADVISE64 = 250
SYS_EXIT_GROUP = 252 SYS_EXIT_GROUP = 252
SYS_LOOKUP_DCOOKIE = 253 SYS_LOOKUP_DCOOKIE = 253
SYS_EPOLL_CREATE = 254 SYS_EPOLL_CREATE = 254
SYS_EPOLL_CTL = 255 SYS_EPOLL_CTL = 255
SYS_EPOLL_WAIT = 256 SYS_EPOLL_WAIT = 256
SYS_REMAP_FILE_PAGES = 257 SYS_REMAP_FILE_PAGES = 257
SYS_SET_TID_ADDRESS = 258 SYS_SET_TID_ADDRESS = 258
SYS_TIMER_CREATE = 259 SYS_TIMER_CREATE = 259
SYS_TIMER_SETTIME = 260 SYS_TIMER_SETTIME = 260
SYS_TIMER_GETTIME = 261 SYS_TIMER_GETTIME = 261
SYS_TIMER_GETOVERRUN = 262 SYS_TIMER_GETOVERRUN = 262
SYS_TIMER_DELETE = 263 SYS_TIMER_DELETE = 263
SYS_CLOCK_SETTIME = 264 SYS_CLOCK_SETTIME = 264
SYS_CLOCK_GETTIME = 265 SYS_CLOCK_GETTIME = 265
SYS_CLOCK_GETRES = 266 SYS_CLOCK_GETRES = 266
SYS_CLOCK_NANOSLEEP = 267 SYS_CLOCK_NANOSLEEP = 267
SYS_STATFS64 = 268 SYS_STATFS64 = 268
SYS_FSTATFS64 = 269 SYS_FSTATFS64 = 269
SYS_TGKILL = 270 SYS_TGKILL = 270
SYS_UTIMES = 271 SYS_UTIMES = 271
SYS_FADVISE64_64 = 272 SYS_FADVISE64_64 = 272
SYS_VSERVER = 273 SYS_VSERVER = 273
SYS_MBIND = 274 SYS_MBIND = 274
SYS_GET_MEMPOLICY = 275 SYS_GET_MEMPOLICY = 275
SYS_SET_MEMPOLICY = 276 SYS_SET_MEMPOLICY = 276
SYS_MQ_OPEN = 277 SYS_MQ_OPEN = 277
SYS_MQ_UNLINK = 278 SYS_MQ_UNLINK = 278
SYS_MQ_TIMEDSEND = 279 SYS_MQ_TIMEDSEND = 279
SYS_MQ_TIMEDRECEIVE = 280 SYS_MQ_TIMEDRECEIVE = 280
SYS_MQ_NOTIFY = 281 SYS_MQ_NOTIFY = 281
SYS_MQ_GETSETATTR = 282 SYS_MQ_GETSETATTR = 282
SYS_KEXEC_LOAD = 283 SYS_KEXEC_LOAD = 283
SYS_WAITID = 284 SYS_WAITID = 284
SYS_ADD_KEY = 286 SYS_ADD_KEY = 286
SYS_REQUEST_KEY = 287 SYS_REQUEST_KEY = 287
SYS_KEYCTL = 288 SYS_KEYCTL = 288
SYS_IOPRIO_SET = 289 SYS_IOPRIO_SET = 289
SYS_IOPRIO_GET = 290 SYS_IOPRIO_GET = 290
SYS_INOTIFY_INIT = 291 SYS_INOTIFY_INIT = 291
SYS_INOTIFY_ADD_WATCH = 292 SYS_INOTIFY_ADD_WATCH = 292
SYS_INOTIFY_RM_WATCH = 293 SYS_INOTIFY_RM_WATCH = 293
SYS_MIGRATE_PAGES = 294 SYS_MIGRATE_PAGES = 294
SYS_OPENAT = 295 SYS_OPENAT = 295
SYS_MKDIRAT = 296 SYS_MKDIRAT = 296
SYS_MKNODAT = 297 SYS_MKNODAT = 297
SYS_FCHOWNAT = 298 SYS_FCHOWNAT = 298
SYS_FUTIMESAT = 299 SYS_FUTIMESAT = 299
SYS_FSTATAT64 = 300 SYS_FSTATAT64 = 300
SYS_UNLINKAT = 301 SYS_UNLINKAT = 301
SYS_RENAMEAT = 302 SYS_RENAMEAT = 302
SYS_LINKAT = 303 SYS_LINKAT = 303
SYS_SYMLINKAT = 304 SYS_SYMLINKAT = 304
SYS_READLINKAT = 305 SYS_READLINKAT = 305
SYS_FCHMODAT = 306 SYS_FCHMODAT = 306
SYS_FACCESSAT = 307 SYS_FACCESSAT = 307
SYS_PSELECT6 = 308 SYS_PSELECT6 = 308
SYS_PPOLL = 309 SYS_PPOLL = 309
SYS_UNSHARE = 310 SYS_UNSHARE = 310
SYS_SET_ROBUST_LIST = 311 SYS_SET_ROBUST_LIST = 311
SYS_GET_ROBUST_LIST = 312 SYS_GET_ROBUST_LIST = 312
SYS_SPLICE = 313 SYS_SPLICE = 313
SYS_SYNC_FILE_RANGE = 314 SYS_SYNC_FILE_RANGE = 314
SYS_TEE = 315 SYS_TEE = 315
SYS_VMSPLICE = 316 SYS_VMSPLICE = 316
SYS_MOVE_PAGES = 317 SYS_MOVE_PAGES = 317
SYS_GETCPU = 318 SYS_GETCPU = 318
SYS_EPOLL_PWAIT = 319 SYS_EPOLL_PWAIT = 319
SYS_UTIMENSAT = 320 SYS_UTIMENSAT = 320
SYS_SIGNALFD = 321 SYS_SIGNALFD = 321
SYS_TIMERFD_CREATE = 322 SYS_TIMERFD_CREATE = 322
SYS_EVENTFD = 323 SYS_EVENTFD = 323
SYS_FALLOCATE = 324 SYS_FALLOCATE = 324
SYS_TIMERFD_SETTIME = 325 SYS_TIMERFD_SETTIME = 325
SYS_TIMERFD_GETTIME = 326 SYS_TIMERFD_GETTIME = 326
SYS_SIGNALFD4 = 327 SYS_SIGNALFD4 = 327
SYS_EVENTFD2 = 328 SYS_EVENTFD2 = 328
SYS_EPOLL_CREATE1 = 329 SYS_EPOLL_CREATE1 = 329
SYS_DUP3 = 330 SYS_DUP3 = 330
SYS_PIPE2 = 331 SYS_PIPE2 = 331
SYS_INOTIFY_INIT1 = 332 SYS_INOTIFY_INIT1 = 332
SYS_PREADV = 333 SYS_PREADV = 333
SYS_PWRITEV = 334 SYS_PWRITEV = 334
SYS_RT_TGSIGQUEUEINFO = 335 SYS_RT_TGSIGQUEUEINFO = 335
SYS_PERF_EVENT_OPEN = 336 SYS_PERF_EVENT_OPEN = 336
SYS_RECVMMSG = 337 SYS_RECVMMSG = 337
SYS_FANOTIFY_INIT = 338 SYS_FANOTIFY_INIT = 338
SYS_FANOTIFY_MARK = 339 SYS_FANOTIFY_MARK = 339
SYS_PRLIMIT64 = 340 SYS_PRLIMIT64 = 340
SYS_NAME_TO_HANDLE_AT = 341 SYS_NAME_TO_HANDLE_AT = 341
SYS_OPEN_BY_HANDLE_AT = 342 SYS_OPEN_BY_HANDLE_AT = 342
SYS_CLOCK_ADJTIME = 343 SYS_CLOCK_ADJTIME = 343
SYS_SYNCFS = 344 SYS_SYNCFS = 344
SYS_SENDMMSG = 345 SYS_SENDMMSG = 345
SYS_SETNS = 346 SYS_SETNS = 346
SYS_PROCESS_VM_READV = 347 SYS_PROCESS_VM_READV = 347
SYS_PROCESS_VM_WRITEV = 348 SYS_PROCESS_VM_WRITEV = 348
SYS_KCMP = 349 SYS_KCMP = 349
SYS_FINIT_MODULE = 350 SYS_FINIT_MODULE = 350
SYS_SCHED_SETATTR = 351 SYS_SCHED_SETATTR = 351
SYS_SCHED_GETATTR = 352 SYS_SCHED_GETATTR = 352
SYS_RENAMEAT2 = 353 SYS_RENAMEAT2 = 353
SYS_SECCOMP = 354 SYS_SECCOMP = 354
SYS_GETRANDOM = 355 SYS_GETRANDOM = 355
SYS_MEMFD_CREATE = 356 SYS_MEMFD_CREATE = 356
SYS_BPF = 357 SYS_BPF = 357
SYS_EXECVEAT = 358 SYS_EXECVEAT = 358
SYS_SOCKET = 359 SYS_SOCKET = 359
SYS_SOCKETPAIR = 360 SYS_SOCKETPAIR = 360
SYS_BIND = 361 SYS_BIND = 361
SYS_CONNECT = 362 SYS_CONNECT = 362
SYS_LISTEN = 363 SYS_LISTEN = 363
SYS_ACCEPT4 = 364 SYS_ACCEPT4 = 364
SYS_GETSOCKOPT = 365 SYS_GETSOCKOPT = 365
SYS_SETSOCKOPT = 366 SYS_SETSOCKOPT = 366
SYS_GETSOCKNAME = 367 SYS_GETSOCKNAME = 367
SYS_GETPEERNAME = 368 SYS_GETPEERNAME = 368
SYS_SENDTO = 369 SYS_SENDTO = 369
SYS_SENDMSG = 370 SYS_SENDMSG = 370
SYS_RECVFROM = 371 SYS_RECVFROM = 371
SYS_RECVMSG = 372 SYS_RECVMSG = 372
SYS_SHUTDOWN = 373 SYS_SHUTDOWN = 373
SYS_USERFAULTFD = 374 SYS_USERFAULTFD = 374
SYS_MEMBARRIER = 375 SYS_MEMBARRIER = 375
SYS_MLOCK2 = 376 SYS_MLOCK2 = 376
SYS_COPY_FILE_RANGE = 377 SYS_COPY_FILE_RANGE = 377
SYS_PREADV2 = 378 SYS_PREADV2 = 378
SYS_PWRITEV2 = 379 SYS_PWRITEV2 = 379
SYS_PKEY_MPROTECT = 380 SYS_PKEY_MPROTECT = 380
SYS_PKEY_ALLOC = 381 SYS_PKEY_ALLOC = 381
SYS_PKEY_FREE = 382 SYS_PKEY_FREE = 382
SYS_STATX = 383 SYS_STATX = 383
SYS_ARCH_PRCTL = 384 SYS_ARCH_PRCTL = 384
SYS_IO_PGETEVENTS = 385 SYS_IO_PGETEVENTS = 385
SYS_RSEQ = 386 SYS_RSEQ = 386
SYS_SEMGET = 393
SYS_SEMCTL = 394
SYS_SHMGET = 395
SYS_SHMCTL = 396
SYS_SHMAT = 397
SYS_SHMDT = 398
SYS_MSGGET = 399
SYS_MSGSND = 400
SYS_MSGRCV = 401
SYS_MSGCTL = 402
SYS_CLOCK_GETTIME64 = 403
SYS_CLOCK_SETTIME64 = 404
SYS_CLOCK_ADJTIME64 = 405
SYS_CLOCK_GETRES_TIME64 = 406
SYS_CLOCK_NANOSLEEP_TIME64 = 407
SYS_TIMER_GETTIME64 = 408
SYS_TIMER_SETTIME64 = 409
SYS_TIMERFD_GETTIME64 = 410
SYS_TIMERFD_SETTIME64 = 411
SYS_UTIMENSAT_TIME64 = 412
SYS_PSELECT6_TIME64 = 413
SYS_PPOLL_TIME64 = 414
SYS_IO_PGETEVENTS_TIME64 = 416
SYS_RECVMMSG_TIME64 = 417
SYS_MQ_TIMEDSEND_TIME64 = 418
SYS_MQ_TIMEDRECEIVE_TIME64 = 419
SYS_SEMTIMEDOP_TIME64 = 420
SYS_RT_SIGTIMEDWAIT_TIME64 = 421
SYS_FUTEX_TIME64 = 422
SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427
) )

View file

@ -341,4 +341,8 @@ const (
SYS_STATX = 332 SYS_STATX = 332
SYS_IO_PGETEVENTS = 333 SYS_IO_PGETEVENTS = 333
SYS_RSEQ = 334 SYS_RSEQ = 334
SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427
) )

View file

@ -6,359 +6,385 @@
package unix package unix
const ( const (
SYS_RESTART_SYSCALL = 0 SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1 SYS_EXIT = 1
SYS_FORK = 2 SYS_FORK = 2
SYS_READ = 3 SYS_READ = 3
SYS_WRITE = 4 SYS_WRITE = 4
SYS_OPEN = 5 SYS_OPEN = 5
SYS_CLOSE = 6 SYS_CLOSE = 6
SYS_CREAT = 8 SYS_CREAT = 8
SYS_LINK = 9 SYS_LINK = 9
SYS_UNLINK = 10 SYS_UNLINK = 10
SYS_EXECVE = 11 SYS_EXECVE = 11
SYS_CHDIR = 12 SYS_CHDIR = 12
SYS_MKNOD = 14 SYS_MKNOD = 14
SYS_CHMOD = 15 SYS_CHMOD = 15
SYS_LCHOWN = 16 SYS_LCHOWN = 16
SYS_LSEEK = 19 SYS_LSEEK = 19
SYS_GETPID = 20 SYS_GETPID = 20
SYS_MOUNT = 21 SYS_MOUNT = 21
SYS_SETUID = 23 SYS_SETUID = 23
SYS_GETUID = 24 SYS_GETUID = 24
SYS_PTRACE = 26 SYS_PTRACE = 26
SYS_PAUSE = 29 SYS_PAUSE = 29
SYS_ACCESS = 33 SYS_ACCESS = 33
SYS_NICE = 34 SYS_NICE = 34
SYS_SYNC = 36 SYS_SYNC = 36
SYS_KILL = 37 SYS_KILL = 37
SYS_RENAME = 38 SYS_RENAME = 38
SYS_MKDIR = 39 SYS_MKDIR = 39
SYS_RMDIR = 40 SYS_RMDIR = 40
SYS_DUP = 41 SYS_DUP = 41
SYS_PIPE = 42 SYS_PIPE = 42
SYS_TIMES = 43 SYS_TIMES = 43
SYS_BRK = 45 SYS_BRK = 45
SYS_SETGID = 46 SYS_SETGID = 46
SYS_GETGID = 47 SYS_GETGID = 47
SYS_GETEUID = 49 SYS_GETEUID = 49
SYS_GETEGID = 50 SYS_GETEGID = 50
SYS_ACCT = 51 SYS_ACCT = 51
SYS_UMOUNT2 = 52 SYS_UMOUNT2 = 52
SYS_IOCTL = 54 SYS_IOCTL = 54
SYS_FCNTL = 55 SYS_FCNTL = 55
SYS_SETPGID = 57 SYS_SETPGID = 57
SYS_UMASK = 60 SYS_UMASK = 60
SYS_CHROOT = 61 SYS_CHROOT = 61
SYS_USTAT = 62 SYS_USTAT = 62
SYS_DUP2 = 63 SYS_DUP2 = 63
SYS_GETPPID = 64 SYS_GETPPID = 64
SYS_GETPGRP = 65 SYS_GETPGRP = 65
SYS_SETSID = 66 SYS_SETSID = 66
SYS_SIGACTION = 67 SYS_SIGACTION = 67
SYS_SETREUID = 70 SYS_SETREUID = 70
SYS_SETREGID = 71 SYS_SETREGID = 71
SYS_SIGSUSPEND = 72 SYS_SIGSUSPEND = 72
SYS_SIGPENDING = 73 SYS_SIGPENDING = 73
SYS_SETHOSTNAME = 74 SYS_SETHOSTNAME = 74
SYS_SETRLIMIT = 75 SYS_SETRLIMIT = 75
SYS_GETRUSAGE = 77 SYS_GETRUSAGE = 77
SYS_GETTIMEOFDAY = 78 SYS_GETTIMEOFDAY = 78
SYS_SETTIMEOFDAY = 79 SYS_SETTIMEOFDAY = 79
SYS_GETGROUPS = 80 SYS_GETGROUPS = 80
SYS_SETGROUPS = 81 SYS_SETGROUPS = 81
SYS_SYMLINK = 83 SYS_SYMLINK = 83
SYS_READLINK = 85 SYS_READLINK = 85
SYS_USELIB = 86 SYS_USELIB = 86
SYS_SWAPON = 87 SYS_SWAPON = 87
SYS_REBOOT = 88 SYS_REBOOT = 88
SYS_MUNMAP = 91 SYS_MUNMAP = 91
SYS_TRUNCATE = 92 SYS_TRUNCATE = 92
SYS_FTRUNCATE = 93 SYS_FTRUNCATE = 93
SYS_FCHMOD = 94 SYS_FCHMOD = 94
SYS_FCHOWN = 95 SYS_FCHOWN = 95
SYS_GETPRIORITY = 96 SYS_GETPRIORITY = 96
SYS_SETPRIORITY = 97 SYS_SETPRIORITY = 97
SYS_STATFS = 99 SYS_STATFS = 99
SYS_FSTATFS = 100 SYS_FSTATFS = 100
SYS_SYSLOG = 103 SYS_SYSLOG = 103
SYS_SETITIMER = 104 SYS_SETITIMER = 104
SYS_GETITIMER = 105 SYS_GETITIMER = 105
SYS_STAT = 106 SYS_STAT = 106
SYS_LSTAT = 107 SYS_LSTAT = 107
SYS_FSTAT = 108 SYS_FSTAT = 108
SYS_VHANGUP = 111 SYS_VHANGUP = 111
SYS_WAIT4 = 114 SYS_WAIT4 = 114
SYS_SWAPOFF = 115 SYS_SWAPOFF = 115
SYS_SYSINFO = 116 SYS_SYSINFO = 116
SYS_FSYNC = 118 SYS_FSYNC = 118
SYS_SIGRETURN = 119 SYS_SIGRETURN = 119
SYS_CLONE = 120 SYS_CLONE = 120
SYS_SETDOMAINNAME = 121 SYS_SETDOMAINNAME = 121
SYS_UNAME = 122 SYS_UNAME = 122
SYS_ADJTIMEX = 124 SYS_ADJTIMEX = 124
SYS_MPROTECT = 125 SYS_MPROTECT = 125
SYS_SIGPROCMASK = 126 SYS_SIGPROCMASK = 126
SYS_INIT_MODULE = 128 SYS_INIT_MODULE = 128
SYS_DELETE_MODULE = 129 SYS_DELETE_MODULE = 129
SYS_QUOTACTL = 131 SYS_QUOTACTL = 131
SYS_GETPGID = 132 SYS_GETPGID = 132
SYS_FCHDIR = 133 SYS_FCHDIR = 133
SYS_BDFLUSH = 134 SYS_BDFLUSH = 134
SYS_SYSFS = 135 SYS_SYSFS = 135
SYS_PERSONALITY = 136 SYS_PERSONALITY = 136
SYS_SETFSUID = 138 SYS_SETFSUID = 138
SYS_SETFSGID = 139 SYS_SETFSGID = 139
SYS__LLSEEK = 140 SYS__LLSEEK = 140
SYS_GETDENTS = 141 SYS_GETDENTS = 141
SYS__NEWSELECT = 142 SYS__NEWSELECT = 142
SYS_FLOCK = 143 SYS_FLOCK = 143
SYS_MSYNC = 144 SYS_MSYNC = 144
SYS_READV = 145 SYS_READV = 145
SYS_WRITEV = 146 SYS_WRITEV = 146
SYS_GETSID = 147 SYS_GETSID = 147
SYS_FDATASYNC = 148 SYS_FDATASYNC = 148
SYS__SYSCTL = 149 SYS__SYSCTL = 149
SYS_MLOCK = 150 SYS_MLOCK = 150
SYS_MUNLOCK = 151 SYS_MUNLOCK = 151
SYS_MLOCKALL = 152 SYS_MLOCKALL = 152
SYS_MUNLOCKALL = 153 SYS_MUNLOCKALL = 153
SYS_SCHED_SETPARAM = 154 SYS_SCHED_SETPARAM = 154
SYS_SCHED_GETPARAM = 155 SYS_SCHED_GETPARAM = 155
SYS_SCHED_SETSCHEDULER = 156 SYS_SCHED_SETSCHEDULER = 156
SYS_SCHED_GETSCHEDULER = 157 SYS_SCHED_GETSCHEDULER = 157
SYS_SCHED_YIELD = 158 SYS_SCHED_YIELD = 158
SYS_SCHED_GET_PRIORITY_MAX = 159 SYS_SCHED_GET_PRIORITY_MAX = 159
SYS_SCHED_GET_PRIORITY_MIN = 160 SYS_SCHED_GET_PRIORITY_MIN = 160
SYS_SCHED_RR_GET_INTERVAL = 161 SYS_SCHED_RR_GET_INTERVAL = 161
SYS_NANOSLEEP = 162 SYS_NANOSLEEP = 162
SYS_MREMAP = 163 SYS_MREMAP = 163
SYS_SETRESUID = 164 SYS_SETRESUID = 164
SYS_GETRESUID = 165 SYS_GETRESUID = 165
SYS_POLL = 168 SYS_POLL = 168
SYS_NFSSERVCTL = 169 SYS_NFSSERVCTL = 169
SYS_SETRESGID = 170 SYS_SETRESGID = 170
SYS_GETRESGID = 171 SYS_GETRESGID = 171
SYS_PRCTL = 172 SYS_PRCTL = 172
SYS_RT_SIGRETURN = 173 SYS_RT_SIGRETURN = 173
SYS_RT_SIGACTION = 174 SYS_RT_SIGACTION = 174
SYS_RT_SIGPROCMASK = 175 SYS_RT_SIGPROCMASK = 175
SYS_RT_SIGPENDING = 176 SYS_RT_SIGPENDING = 176
SYS_RT_SIGTIMEDWAIT = 177 SYS_RT_SIGTIMEDWAIT = 177
SYS_RT_SIGQUEUEINFO = 178 SYS_RT_SIGQUEUEINFO = 178
SYS_RT_SIGSUSPEND = 179 SYS_RT_SIGSUSPEND = 179
SYS_PREAD64 = 180 SYS_PREAD64 = 180
SYS_PWRITE64 = 181 SYS_PWRITE64 = 181
SYS_CHOWN = 182 SYS_CHOWN = 182
SYS_GETCWD = 183 SYS_GETCWD = 183
SYS_CAPGET = 184 SYS_CAPGET = 184
SYS_CAPSET = 185 SYS_CAPSET = 185
SYS_SIGALTSTACK = 186 SYS_SIGALTSTACK = 186
SYS_SENDFILE = 187 SYS_SENDFILE = 187
SYS_VFORK = 190 SYS_VFORK = 190
SYS_UGETRLIMIT = 191 SYS_UGETRLIMIT = 191
SYS_MMAP2 = 192 SYS_MMAP2 = 192
SYS_TRUNCATE64 = 193 SYS_TRUNCATE64 = 193
SYS_FTRUNCATE64 = 194 SYS_FTRUNCATE64 = 194
SYS_STAT64 = 195 SYS_STAT64 = 195
SYS_LSTAT64 = 196 SYS_LSTAT64 = 196
SYS_FSTAT64 = 197 SYS_FSTAT64 = 197
SYS_LCHOWN32 = 198 SYS_LCHOWN32 = 198
SYS_GETUID32 = 199 SYS_GETUID32 = 199
SYS_GETGID32 = 200 SYS_GETGID32 = 200
SYS_GETEUID32 = 201 SYS_GETEUID32 = 201
SYS_GETEGID32 = 202 SYS_GETEGID32 = 202
SYS_SETREUID32 = 203 SYS_SETREUID32 = 203
SYS_SETREGID32 = 204 SYS_SETREGID32 = 204
SYS_GETGROUPS32 = 205 SYS_GETGROUPS32 = 205
SYS_SETGROUPS32 = 206 SYS_SETGROUPS32 = 206
SYS_FCHOWN32 = 207 SYS_FCHOWN32 = 207
SYS_SETRESUID32 = 208 SYS_SETRESUID32 = 208
SYS_GETRESUID32 = 209 SYS_GETRESUID32 = 209
SYS_SETRESGID32 = 210 SYS_SETRESGID32 = 210
SYS_GETRESGID32 = 211 SYS_GETRESGID32 = 211
SYS_CHOWN32 = 212 SYS_CHOWN32 = 212
SYS_SETUID32 = 213 SYS_SETUID32 = 213
SYS_SETGID32 = 214 SYS_SETGID32 = 214
SYS_SETFSUID32 = 215 SYS_SETFSUID32 = 215
SYS_SETFSGID32 = 216 SYS_SETFSGID32 = 216
SYS_GETDENTS64 = 217 SYS_GETDENTS64 = 217
SYS_PIVOT_ROOT = 218 SYS_PIVOT_ROOT = 218
SYS_MINCORE = 219 SYS_MINCORE = 219
SYS_MADVISE = 220 SYS_MADVISE = 220
SYS_FCNTL64 = 221 SYS_FCNTL64 = 221
SYS_GETTID = 224 SYS_GETTID = 224
SYS_READAHEAD = 225 SYS_READAHEAD = 225
SYS_SETXATTR = 226 SYS_SETXATTR = 226
SYS_LSETXATTR = 227 SYS_LSETXATTR = 227
SYS_FSETXATTR = 228 SYS_FSETXATTR = 228
SYS_GETXATTR = 229 SYS_GETXATTR = 229
SYS_LGETXATTR = 230 SYS_LGETXATTR = 230
SYS_FGETXATTR = 231 SYS_FGETXATTR = 231
SYS_LISTXATTR = 232 SYS_LISTXATTR = 232
SYS_LLISTXATTR = 233 SYS_LLISTXATTR = 233
SYS_FLISTXATTR = 234 SYS_FLISTXATTR = 234
SYS_REMOVEXATTR = 235 SYS_REMOVEXATTR = 235
SYS_LREMOVEXATTR = 236 SYS_LREMOVEXATTR = 236
SYS_FREMOVEXATTR = 237 SYS_FREMOVEXATTR = 237
SYS_TKILL = 238 SYS_TKILL = 238
SYS_SENDFILE64 = 239 SYS_SENDFILE64 = 239
SYS_FUTEX = 240 SYS_FUTEX = 240
SYS_SCHED_SETAFFINITY = 241 SYS_SCHED_SETAFFINITY = 241
SYS_SCHED_GETAFFINITY = 242 SYS_SCHED_GETAFFINITY = 242
SYS_IO_SETUP = 243 SYS_IO_SETUP = 243
SYS_IO_DESTROY = 244 SYS_IO_DESTROY = 244
SYS_IO_GETEVENTS = 245 SYS_IO_GETEVENTS = 245
SYS_IO_SUBMIT = 246 SYS_IO_SUBMIT = 246
SYS_IO_CANCEL = 247 SYS_IO_CANCEL = 247
SYS_EXIT_GROUP = 248 SYS_EXIT_GROUP = 248
SYS_LOOKUP_DCOOKIE = 249 SYS_LOOKUP_DCOOKIE = 249
SYS_EPOLL_CREATE = 250 SYS_EPOLL_CREATE = 250
SYS_EPOLL_CTL = 251 SYS_EPOLL_CTL = 251
SYS_EPOLL_WAIT = 252 SYS_EPOLL_WAIT = 252
SYS_REMAP_FILE_PAGES = 253 SYS_REMAP_FILE_PAGES = 253
SYS_SET_TID_ADDRESS = 256 SYS_SET_TID_ADDRESS = 256
SYS_TIMER_CREATE = 257 SYS_TIMER_CREATE = 257
SYS_TIMER_SETTIME = 258 SYS_TIMER_SETTIME = 258
SYS_TIMER_GETTIME = 259 SYS_TIMER_GETTIME = 259
SYS_TIMER_GETOVERRUN = 260 SYS_TIMER_GETOVERRUN = 260
SYS_TIMER_DELETE = 261 SYS_TIMER_DELETE = 261
SYS_CLOCK_SETTIME = 262 SYS_CLOCK_SETTIME = 262
SYS_CLOCK_GETTIME = 263 SYS_CLOCK_GETTIME = 263
SYS_CLOCK_GETRES = 264 SYS_CLOCK_GETRES = 264
SYS_CLOCK_NANOSLEEP = 265 SYS_CLOCK_NANOSLEEP = 265
SYS_STATFS64 = 266 SYS_STATFS64 = 266
SYS_FSTATFS64 = 267 SYS_FSTATFS64 = 267
SYS_TGKILL = 268 SYS_TGKILL = 268
SYS_UTIMES = 269 SYS_UTIMES = 269
SYS_ARM_FADVISE64_64 = 270 SYS_ARM_FADVISE64_64 = 270
SYS_PCICONFIG_IOBASE = 271 SYS_PCICONFIG_IOBASE = 271
SYS_PCICONFIG_READ = 272 SYS_PCICONFIG_READ = 272
SYS_PCICONFIG_WRITE = 273 SYS_PCICONFIG_WRITE = 273
SYS_MQ_OPEN = 274 SYS_MQ_OPEN = 274
SYS_MQ_UNLINK = 275 SYS_MQ_UNLINK = 275
SYS_MQ_TIMEDSEND = 276 SYS_MQ_TIMEDSEND = 276
SYS_MQ_TIMEDRECEIVE = 277 SYS_MQ_TIMEDRECEIVE = 277
SYS_MQ_NOTIFY = 278 SYS_MQ_NOTIFY = 278
SYS_MQ_GETSETATTR = 279 SYS_MQ_GETSETATTR = 279
SYS_WAITID = 280 SYS_WAITID = 280
SYS_SOCKET = 281 SYS_SOCKET = 281
SYS_BIND = 282 SYS_BIND = 282
SYS_CONNECT = 283 SYS_CONNECT = 283
SYS_LISTEN = 284 SYS_LISTEN = 284
SYS_ACCEPT = 285 SYS_ACCEPT = 285
SYS_GETSOCKNAME = 286 SYS_GETSOCKNAME = 286
SYS_GETPEERNAME = 287 SYS_GETPEERNAME = 287
SYS_SOCKETPAIR = 288 SYS_SOCKETPAIR = 288
SYS_SEND = 289 SYS_SEND = 289
SYS_SENDTO = 290 SYS_SENDTO = 290
SYS_RECV = 291 SYS_RECV = 291
SYS_RECVFROM = 292 SYS_RECVFROM = 292
SYS_SHUTDOWN = 293 SYS_SHUTDOWN = 293
SYS_SETSOCKOPT = 294 SYS_SETSOCKOPT = 294
SYS_GETSOCKOPT = 295 SYS_GETSOCKOPT = 295
SYS_SENDMSG = 296 SYS_SENDMSG = 296
SYS_RECVMSG = 297 SYS_RECVMSG = 297
SYS_SEMOP = 298 SYS_SEMOP = 298
SYS_SEMGET = 299 SYS_SEMGET = 299
SYS_SEMCTL = 300 SYS_SEMCTL = 300
SYS_MSGSND = 301 SYS_MSGSND = 301
SYS_MSGRCV = 302 SYS_MSGRCV = 302
SYS_MSGGET = 303 SYS_MSGGET = 303
SYS_MSGCTL = 304 SYS_MSGCTL = 304
SYS_SHMAT = 305 SYS_SHMAT = 305
SYS_SHMDT = 306 SYS_SHMDT = 306
SYS_SHMGET = 307 SYS_SHMGET = 307
SYS_SHMCTL = 308 SYS_SHMCTL = 308
SYS_ADD_KEY = 309 SYS_ADD_KEY = 309
SYS_REQUEST_KEY = 310 SYS_REQUEST_KEY = 310
SYS_KEYCTL = 311 SYS_KEYCTL = 311
SYS_SEMTIMEDOP = 312 SYS_SEMTIMEDOP = 312
SYS_VSERVER = 313 SYS_VSERVER = 313
SYS_IOPRIO_SET = 314 SYS_IOPRIO_SET = 314
SYS_IOPRIO_GET = 315 SYS_IOPRIO_GET = 315
SYS_INOTIFY_INIT = 316 SYS_INOTIFY_INIT = 316
SYS_INOTIFY_ADD_WATCH = 317 SYS_INOTIFY_ADD_WATCH = 317
SYS_INOTIFY_RM_WATCH = 318 SYS_INOTIFY_RM_WATCH = 318
SYS_MBIND = 319 SYS_MBIND = 319
SYS_GET_MEMPOLICY = 320 SYS_GET_MEMPOLICY = 320
SYS_SET_MEMPOLICY = 321 SYS_SET_MEMPOLICY = 321
SYS_OPENAT = 322 SYS_OPENAT = 322
SYS_MKDIRAT = 323 SYS_MKDIRAT = 323
SYS_MKNODAT = 324 SYS_MKNODAT = 324
SYS_FCHOWNAT = 325 SYS_FCHOWNAT = 325
SYS_FUTIMESAT = 326 SYS_FUTIMESAT = 326
SYS_FSTATAT64 = 327 SYS_FSTATAT64 = 327
SYS_UNLINKAT = 328 SYS_UNLINKAT = 328
SYS_RENAMEAT = 329 SYS_RENAMEAT = 329
SYS_LINKAT = 330 SYS_LINKAT = 330
SYS_SYMLINKAT = 331 SYS_SYMLINKAT = 331
SYS_READLINKAT = 332 SYS_READLINKAT = 332
SYS_FCHMODAT = 333 SYS_FCHMODAT = 333
SYS_FACCESSAT = 334 SYS_FACCESSAT = 334
SYS_PSELECT6 = 335 SYS_PSELECT6 = 335
SYS_PPOLL = 336 SYS_PPOLL = 336
SYS_UNSHARE = 337 SYS_UNSHARE = 337
SYS_SET_ROBUST_LIST = 338 SYS_SET_ROBUST_LIST = 338
SYS_GET_ROBUST_LIST = 339 SYS_GET_ROBUST_LIST = 339
SYS_SPLICE = 340 SYS_SPLICE = 340
SYS_ARM_SYNC_FILE_RANGE = 341 SYS_ARM_SYNC_FILE_RANGE = 341
SYS_TEE = 342 SYS_TEE = 342
SYS_VMSPLICE = 343 SYS_VMSPLICE = 343
SYS_MOVE_PAGES = 344 SYS_MOVE_PAGES = 344
SYS_GETCPU = 345 SYS_GETCPU = 345
SYS_EPOLL_PWAIT = 346 SYS_EPOLL_PWAIT = 346
SYS_KEXEC_LOAD = 347 SYS_KEXEC_LOAD = 347
SYS_UTIMENSAT = 348 SYS_UTIMENSAT = 348
SYS_SIGNALFD = 349 SYS_SIGNALFD = 349
SYS_TIMERFD_CREATE = 350 SYS_TIMERFD_CREATE = 350
SYS_EVENTFD = 351 SYS_EVENTFD = 351
SYS_FALLOCATE = 352 SYS_FALLOCATE = 352
SYS_TIMERFD_SETTIME = 353 SYS_TIMERFD_SETTIME = 353
SYS_TIMERFD_GETTIME = 354 SYS_TIMERFD_GETTIME = 354
SYS_SIGNALFD4 = 355 SYS_SIGNALFD4 = 355
SYS_EVENTFD2 = 356 SYS_EVENTFD2 = 356
SYS_EPOLL_CREATE1 = 357 SYS_EPOLL_CREATE1 = 357
SYS_DUP3 = 358 SYS_DUP3 = 358
SYS_PIPE2 = 359 SYS_PIPE2 = 359
SYS_INOTIFY_INIT1 = 360 SYS_INOTIFY_INIT1 = 360
SYS_PREADV = 361 SYS_PREADV = 361
SYS_PWRITEV = 362 SYS_PWRITEV = 362
SYS_RT_TGSIGQUEUEINFO = 363 SYS_RT_TGSIGQUEUEINFO = 363
SYS_PERF_EVENT_OPEN = 364 SYS_PERF_EVENT_OPEN = 364
SYS_RECVMMSG = 365 SYS_RECVMMSG = 365
SYS_ACCEPT4 = 366 SYS_ACCEPT4 = 366
SYS_FANOTIFY_INIT = 367 SYS_FANOTIFY_INIT = 367
SYS_FANOTIFY_MARK = 368 SYS_FANOTIFY_MARK = 368
SYS_PRLIMIT64 = 369 SYS_PRLIMIT64 = 369
SYS_NAME_TO_HANDLE_AT = 370 SYS_NAME_TO_HANDLE_AT = 370
SYS_OPEN_BY_HANDLE_AT = 371 SYS_OPEN_BY_HANDLE_AT = 371
SYS_CLOCK_ADJTIME = 372 SYS_CLOCK_ADJTIME = 372
SYS_SYNCFS = 373 SYS_SYNCFS = 373
SYS_SENDMMSG = 374 SYS_SENDMMSG = 374
SYS_SETNS = 375 SYS_SETNS = 375
SYS_PROCESS_VM_READV = 376 SYS_PROCESS_VM_READV = 376
SYS_PROCESS_VM_WRITEV = 377 SYS_PROCESS_VM_WRITEV = 377
SYS_KCMP = 378 SYS_KCMP = 378
SYS_FINIT_MODULE = 379 SYS_FINIT_MODULE = 379
SYS_SCHED_SETATTR = 380 SYS_SCHED_SETATTR = 380
SYS_SCHED_GETATTR = 381 SYS_SCHED_GETATTR = 381
SYS_RENAMEAT2 = 382 SYS_RENAMEAT2 = 382
SYS_SECCOMP = 383 SYS_SECCOMP = 383
SYS_GETRANDOM = 384 SYS_GETRANDOM = 384
SYS_MEMFD_CREATE = 385 SYS_MEMFD_CREATE = 385
SYS_BPF = 386 SYS_BPF = 386
SYS_EXECVEAT = 387 SYS_EXECVEAT = 387
SYS_USERFAULTFD = 388 SYS_USERFAULTFD = 388
SYS_MEMBARRIER = 389 SYS_MEMBARRIER = 389
SYS_MLOCK2 = 390 SYS_MLOCK2 = 390
SYS_COPY_FILE_RANGE = 391 SYS_COPY_FILE_RANGE = 391
SYS_PREADV2 = 392 SYS_PREADV2 = 392
SYS_PWRITEV2 = 393 SYS_PWRITEV2 = 393
SYS_PKEY_MPROTECT = 394 SYS_PKEY_MPROTECT = 394
SYS_PKEY_ALLOC = 395 SYS_PKEY_ALLOC = 395
SYS_PKEY_FREE = 396 SYS_PKEY_FREE = 396
SYS_STATX = 397 SYS_STATX = 397
SYS_RSEQ = 398 SYS_RSEQ = 398
SYS_IO_PGETEVENTS = 399 SYS_IO_PGETEVENTS = 399
SYS_MIGRATE_PAGES = 400
SYS_KEXEC_FILE_LOAD = 401
SYS_CLOCK_GETTIME64 = 403
SYS_CLOCK_SETTIME64 = 404
SYS_CLOCK_ADJTIME64 = 405
SYS_CLOCK_GETRES_TIME64 = 406
SYS_CLOCK_NANOSLEEP_TIME64 = 407
SYS_TIMER_GETTIME64 = 408
SYS_TIMER_SETTIME64 = 409
SYS_TIMERFD_GETTIME64 = 410
SYS_TIMERFD_SETTIME64 = 411
SYS_UTIMENSAT_TIME64 = 412
SYS_PSELECT6_TIME64 = 413
SYS_PPOLL_TIME64 = 414
SYS_IO_PGETEVENTS_TIME64 = 416
SYS_RECVMMSG_TIME64 = 417
SYS_MQ_TIMEDSEND_TIME64 = 418
SYS_MQ_TIMEDRECEIVE_TIME64 = 419
SYS_SEMTIMEDOP_TIME64 = 420
SYS_RT_SIGTIMEDWAIT_TIME64 = 421
SYS_FUTEX_TIME64 = 422
SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427
) )

View file

@ -286,4 +286,8 @@ const (
SYS_IO_PGETEVENTS = 292 SYS_IO_PGETEVENTS = 292
SYS_RSEQ = 293 SYS_RSEQ = 293
SYS_KEXEC_FILE_LOAD = 294 SYS_KEXEC_FILE_LOAD = 294
SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427
) )

View file

@ -6,372 +6,406 @@
package unix package unix
const ( const (
SYS_SYSCALL = 4000 SYS_SYSCALL = 4000
SYS_EXIT = 4001 SYS_EXIT = 4001
SYS_FORK = 4002 SYS_FORK = 4002
SYS_READ = 4003 SYS_READ = 4003
SYS_WRITE = 4004 SYS_WRITE = 4004
SYS_OPEN = 4005 SYS_OPEN = 4005
SYS_CLOSE = 4006 SYS_CLOSE = 4006
SYS_WAITPID = 4007 SYS_WAITPID = 4007
SYS_CREAT = 4008 SYS_CREAT = 4008
SYS_LINK = 4009 SYS_LINK = 4009
SYS_UNLINK = 4010 SYS_UNLINK = 4010
SYS_EXECVE = 4011 SYS_EXECVE = 4011
SYS_CHDIR = 4012 SYS_CHDIR = 4012
SYS_TIME = 4013 SYS_TIME = 4013
SYS_MKNOD = 4014 SYS_MKNOD = 4014
SYS_CHMOD = 4015 SYS_CHMOD = 4015
SYS_LCHOWN = 4016 SYS_LCHOWN = 4016
SYS_BREAK = 4017 SYS_BREAK = 4017
SYS_UNUSED18 = 4018 SYS_UNUSED18 = 4018
SYS_LSEEK = 4019 SYS_LSEEK = 4019
SYS_GETPID = 4020 SYS_GETPID = 4020
SYS_MOUNT = 4021 SYS_MOUNT = 4021
SYS_UMOUNT = 4022 SYS_UMOUNT = 4022
SYS_SETUID = 4023 SYS_SETUID = 4023
SYS_GETUID = 4024 SYS_GETUID = 4024
SYS_STIME = 4025 SYS_STIME = 4025
SYS_PTRACE = 4026 SYS_PTRACE = 4026
SYS_ALARM = 4027 SYS_ALARM = 4027
SYS_UNUSED28 = 4028 SYS_UNUSED28 = 4028
SYS_PAUSE = 4029 SYS_PAUSE = 4029
SYS_UTIME = 4030 SYS_UTIME = 4030
SYS_STTY = 4031 SYS_STTY = 4031
SYS_GTTY = 4032 SYS_GTTY = 4032
SYS_ACCESS = 4033 SYS_ACCESS = 4033
SYS_NICE = 4034 SYS_NICE = 4034
SYS_FTIME = 4035 SYS_FTIME = 4035
SYS_SYNC = 4036 SYS_SYNC = 4036
SYS_KILL = 4037 SYS_KILL = 4037
SYS_RENAME = 4038 SYS_RENAME = 4038
SYS_MKDIR = 4039 SYS_MKDIR = 4039
SYS_RMDIR = 4040 SYS_RMDIR = 4040
SYS_DUP = 4041 SYS_DUP = 4041
SYS_PIPE = 4042 SYS_PIPE = 4042
SYS_TIMES = 4043 SYS_TIMES = 4043
SYS_PROF = 4044 SYS_PROF = 4044
SYS_BRK = 4045 SYS_BRK = 4045
SYS_SETGID = 4046 SYS_SETGID = 4046
SYS_GETGID = 4047 SYS_GETGID = 4047
SYS_SIGNAL = 4048 SYS_SIGNAL = 4048
SYS_GETEUID = 4049 SYS_GETEUID = 4049
SYS_GETEGID = 4050 SYS_GETEGID = 4050
SYS_ACCT = 4051 SYS_ACCT = 4051
SYS_UMOUNT2 = 4052 SYS_UMOUNT2 = 4052
SYS_LOCK = 4053 SYS_LOCK = 4053
SYS_IOCTL = 4054 SYS_IOCTL = 4054
SYS_FCNTL = 4055 SYS_FCNTL = 4055
SYS_MPX = 4056 SYS_MPX = 4056
SYS_SETPGID = 4057 SYS_SETPGID = 4057
SYS_ULIMIT = 4058 SYS_ULIMIT = 4058
SYS_UNUSED59 = 4059 SYS_UNUSED59 = 4059
SYS_UMASK = 4060 SYS_UMASK = 4060
SYS_CHROOT = 4061 SYS_CHROOT = 4061
SYS_USTAT = 4062 SYS_USTAT = 4062
SYS_DUP2 = 4063 SYS_DUP2 = 4063
SYS_GETPPID = 4064 SYS_GETPPID = 4064
SYS_GETPGRP = 4065 SYS_GETPGRP = 4065
SYS_SETSID = 4066 SYS_SETSID = 4066
SYS_SIGACTION = 4067 SYS_SIGACTION = 4067
SYS_SGETMASK = 4068 SYS_SGETMASK = 4068
SYS_SSETMASK = 4069 SYS_SSETMASK = 4069
SYS_SETREUID = 4070 SYS_SETREUID = 4070
SYS_SETREGID = 4071 SYS_SETREGID = 4071
SYS_SIGSUSPEND = 4072 SYS_SIGSUSPEND = 4072
SYS_SIGPENDING = 4073 SYS_SIGPENDING = 4073
SYS_SETHOSTNAME = 4074 SYS_SETHOSTNAME = 4074
SYS_SETRLIMIT = 4075 SYS_SETRLIMIT = 4075
SYS_GETRLIMIT = 4076 SYS_GETRLIMIT = 4076
SYS_GETRUSAGE = 4077 SYS_GETRUSAGE = 4077
SYS_GETTIMEOFDAY = 4078 SYS_GETTIMEOFDAY = 4078
SYS_SETTIMEOFDAY = 4079 SYS_SETTIMEOFDAY = 4079
SYS_GETGROUPS = 4080 SYS_GETGROUPS = 4080
SYS_SETGROUPS = 4081 SYS_SETGROUPS = 4081
SYS_RESERVED82 = 4082 SYS_RESERVED82 = 4082
SYS_SYMLINK = 4083 SYS_SYMLINK = 4083
SYS_UNUSED84 = 4084 SYS_UNUSED84 = 4084
SYS_READLINK = 4085 SYS_READLINK = 4085
SYS_USELIB = 4086 SYS_USELIB = 4086
SYS_SWAPON = 4087 SYS_SWAPON = 4087
SYS_REBOOT = 4088 SYS_REBOOT = 4088
SYS_READDIR = 4089 SYS_READDIR = 4089
SYS_MMAP = 4090 SYS_MMAP = 4090
SYS_MUNMAP = 4091 SYS_MUNMAP = 4091
SYS_TRUNCATE = 4092 SYS_TRUNCATE = 4092
SYS_FTRUNCATE = 4093 SYS_FTRUNCATE = 4093
SYS_FCHMOD = 4094 SYS_FCHMOD = 4094
SYS_FCHOWN = 4095 SYS_FCHOWN = 4095
SYS_GETPRIORITY = 4096 SYS_GETPRIORITY = 4096
SYS_SETPRIORITY = 4097 SYS_SETPRIORITY = 4097
SYS_PROFIL = 4098 SYS_PROFIL = 4098
SYS_STATFS = 4099 SYS_STATFS = 4099
SYS_FSTATFS = 4100 SYS_FSTATFS = 4100
SYS_IOPERM = 4101 SYS_IOPERM = 4101
SYS_SOCKETCALL = 4102 SYS_SOCKETCALL = 4102
SYS_SYSLOG = 4103 SYS_SYSLOG = 4103
SYS_SETITIMER = 4104 SYS_SETITIMER = 4104
SYS_GETITIMER = 4105 SYS_GETITIMER = 4105
SYS_STAT = 4106 SYS_STAT = 4106
SYS_LSTAT = 4107 SYS_LSTAT = 4107
SYS_FSTAT = 4108 SYS_FSTAT = 4108
SYS_UNUSED109 = 4109 SYS_UNUSED109 = 4109
SYS_IOPL = 4110 SYS_IOPL = 4110
SYS_VHANGUP = 4111 SYS_VHANGUP = 4111
SYS_IDLE = 4112 SYS_IDLE = 4112
SYS_VM86 = 4113 SYS_VM86 = 4113
SYS_WAIT4 = 4114 SYS_WAIT4 = 4114
SYS_SWAPOFF = 4115 SYS_SWAPOFF = 4115
SYS_SYSINFO = 4116 SYS_SYSINFO = 4116
SYS_IPC = 4117 SYS_IPC = 4117
SYS_FSYNC = 4118 SYS_FSYNC = 4118
SYS_SIGRETURN = 4119 SYS_SIGRETURN = 4119
SYS_CLONE = 4120 SYS_CLONE = 4120
SYS_SETDOMAINNAME = 4121 SYS_SETDOMAINNAME = 4121
SYS_UNAME = 4122 SYS_UNAME = 4122
SYS_MODIFY_LDT = 4123 SYS_MODIFY_LDT = 4123
SYS_ADJTIMEX = 4124 SYS_ADJTIMEX = 4124
SYS_MPROTECT = 4125 SYS_MPROTECT = 4125
SYS_SIGPROCMASK = 4126 SYS_SIGPROCMASK = 4126
SYS_CREATE_MODULE = 4127 SYS_CREATE_MODULE = 4127
SYS_INIT_MODULE = 4128 SYS_INIT_MODULE = 4128
SYS_DELETE_MODULE = 4129 SYS_DELETE_MODULE = 4129
SYS_GET_KERNEL_SYMS = 4130 SYS_GET_KERNEL_SYMS = 4130
SYS_QUOTACTL = 4131 SYS_QUOTACTL = 4131
SYS_GETPGID = 4132 SYS_GETPGID = 4132
SYS_FCHDIR = 4133 SYS_FCHDIR = 4133
SYS_BDFLUSH = 4134 SYS_BDFLUSH = 4134
SYS_SYSFS = 4135 SYS_SYSFS = 4135
SYS_PERSONALITY = 4136 SYS_PERSONALITY = 4136
SYS_AFS_SYSCALL = 4137 SYS_AFS_SYSCALL = 4137
SYS_SETFSUID = 4138 SYS_SETFSUID = 4138
SYS_SETFSGID = 4139 SYS_SETFSGID = 4139
SYS__LLSEEK = 4140 SYS__LLSEEK = 4140
SYS_GETDENTS = 4141 SYS_GETDENTS = 4141
SYS__NEWSELECT = 4142 SYS__NEWSELECT = 4142
SYS_FLOCK = 4143 SYS_FLOCK = 4143
SYS_MSYNC = 4144 SYS_MSYNC = 4144
SYS_READV = 4145 SYS_READV = 4145
SYS_WRITEV = 4146 SYS_WRITEV = 4146
SYS_CACHEFLUSH = 4147 SYS_CACHEFLUSH = 4147
SYS_CACHECTL = 4148 SYS_CACHECTL = 4148
SYS_SYSMIPS = 4149 SYS_SYSMIPS = 4149
SYS_UNUSED150 = 4150 SYS_UNUSED150 = 4150
SYS_GETSID = 4151 SYS_GETSID = 4151
SYS_FDATASYNC = 4152 SYS_FDATASYNC = 4152
SYS__SYSCTL = 4153 SYS__SYSCTL = 4153
SYS_MLOCK = 4154 SYS_MLOCK = 4154
SYS_MUNLOCK = 4155 SYS_MUNLOCK = 4155
SYS_MLOCKALL = 4156 SYS_MLOCKALL = 4156
SYS_MUNLOCKALL = 4157 SYS_MUNLOCKALL = 4157
SYS_SCHED_SETPARAM = 4158 SYS_SCHED_SETPARAM = 4158
SYS_SCHED_GETPARAM = 4159 SYS_SCHED_GETPARAM = 4159
SYS_SCHED_SETSCHEDULER = 4160 SYS_SCHED_SETSCHEDULER = 4160
SYS_SCHED_GETSCHEDULER = 4161 SYS_SCHED_GETSCHEDULER = 4161
SYS_SCHED_YIELD = 4162 SYS_SCHED_YIELD = 4162
SYS_SCHED_GET_PRIORITY_MAX = 4163 SYS_SCHED_GET_PRIORITY_MAX = 4163
SYS_SCHED_GET_PRIORITY_MIN = 4164 SYS_SCHED_GET_PRIORITY_MIN = 4164
SYS_SCHED_RR_GET_INTERVAL = 4165 SYS_SCHED_RR_GET_INTERVAL = 4165
SYS_NANOSLEEP = 4166 SYS_NANOSLEEP = 4166
SYS_MREMAP = 4167 SYS_MREMAP = 4167
SYS_ACCEPT = 4168 SYS_ACCEPT = 4168
SYS_BIND = 4169 SYS_BIND = 4169
SYS_CONNECT = 4170 SYS_CONNECT = 4170
SYS_GETPEERNAME = 4171 SYS_GETPEERNAME = 4171
SYS_GETSOCKNAME = 4172 SYS_GETSOCKNAME = 4172
SYS_GETSOCKOPT = 4173 SYS_GETSOCKOPT = 4173
SYS_LISTEN = 4174 SYS_LISTEN = 4174
SYS_RECV = 4175 SYS_RECV = 4175
SYS_RECVFROM = 4176 SYS_RECVFROM = 4176
SYS_RECVMSG = 4177 SYS_RECVMSG = 4177
SYS_SEND = 4178 SYS_SEND = 4178
SYS_SENDMSG = 4179 SYS_SENDMSG = 4179
SYS_SENDTO = 4180 SYS_SENDTO = 4180
SYS_SETSOCKOPT = 4181 SYS_SETSOCKOPT = 4181
SYS_SHUTDOWN = 4182 SYS_SHUTDOWN = 4182
SYS_SOCKET = 4183 SYS_SOCKET = 4183
SYS_SOCKETPAIR = 4184 SYS_SOCKETPAIR = 4184
SYS_SETRESUID = 4185 SYS_SETRESUID = 4185
SYS_GETRESUID = 4186 SYS_GETRESUID = 4186
SYS_QUERY_MODULE = 4187 SYS_QUERY_MODULE = 4187
SYS_POLL = 4188 SYS_POLL = 4188
SYS_NFSSERVCTL = 4189 SYS_NFSSERVCTL = 4189
SYS_SETRESGID = 4190 SYS_SETRESGID = 4190
SYS_GETRESGID = 4191 SYS_GETRESGID = 4191
SYS_PRCTL = 4192 SYS_PRCTL = 4192
SYS_RT_SIGRETURN = 4193 SYS_RT_SIGRETURN = 4193
SYS_RT_SIGACTION = 4194 SYS_RT_SIGACTION = 4194
SYS_RT_SIGPROCMASK = 4195 SYS_RT_SIGPROCMASK = 4195
SYS_RT_SIGPENDING = 4196 SYS_RT_SIGPENDING = 4196
SYS_RT_SIGTIMEDWAIT = 4197 SYS_RT_SIGTIMEDWAIT = 4197
SYS_RT_SIGQUEUEINFO = 4198 SYS_RT_SIGQUEUEINFO = 4198
SYS_RT_SIGSUSPEND = 4199 SYS_RT_SIGSUSPEND = 4199
SYS_PREAD64 = 4200 SYS_PREAD64 = 4200
SYS_PWRITE64 = 4201 SYS_PWRITE64 = 4201
SYS_CHOWN = 4202 SYS_CHOWN = 4202
SYS_GETCWD = 4203 SYS_GETCWD = 4203
SYS_CAPGET = 4204 SYS_CAPGET = 4204
SYS_CAPSET = 4205 SYS_CAPSET = 4205
SYS_SIGALTSTACK = 4206 SYS_SIGALTSTACK = 4206
SYS_SENDFILE = 4207 SYS_SENDFILE = 4207
SYS_GETPMSG = 4208 SYS_GETPMSG = 4208
SYS_PUTPMSG = 4209 SYS_PUTPMSG = 4209
SYS_MMAP2 = 4210 SYS_MMAP2 = 4210
SYS_TRUNCATE64 = 4211 SYS_TRUNCATE64 = 4211
SYS_FTRUNCATE64 = 4212 SYS_FTRUNCATE64 = 4212
SYS_STAT64 = 4213 SYS_STAT64 = 4213
SYS_LSTAT64 = 4214 SYS_LSTAT64 = 4214
SYS_FSTAT64 = 4215 SYS_FSTAT64 = 4215
SYS_PIVOT_ROOT = 4216 SYS_PIVOT_ROOT = 4216
SYS_MINCORE = 4217 SYS_MINCORE = 4217
SYS_MADVISE = 4218 SYS_MADVISE = 4218
SYS_GETDENTS64 = 4219 SYS_GETDENTS64 = 4219
SYS_FCNTL64 = 4220 SYS_FCNTL64 = 4220
SYS_RESERVED221 = 4221 SYS_RESERVED221 = 4221
SYS_GETTID = 4222 SYS_GETTID = 4222
SYS_READAHEAD = 4223 SYS_READAHEAD = 4223
SYS_SETXATTR = 4224 SYS_SETXATTR = 4224
SYS_LSETXATTR = 4225 SYS_LSETXATTR = 4225
SYS_FSETXATTR = 4226 SYS_FSETXATTR = 4226
SYS_GETXATTR = 4227 SYS_GETXATTR = 4227
SYS_LGETXATTR = 4228 SYS_LGETXATTR = 4228
SYS_FGETXATTR = 4229 SYS_FGETXATTR = 4229
SYS_LISTXATTR = 4230 SYS_LISTXATTR = 4230
SYS_LLISTXATTR = 4231 SYS_LLISTXATTR = 4231
SYS_FLISTXATTR = 4232 SYS_FLISTXATTR = 4232
SYS_REMOVEXATTR = 4233 SYS_REMOVEXATTR = 4233
SYS_LREMOVEXATTR = 4234 SYS_LREMOVEXATTR = 4234
SYS_FREMOVEXATTR = 4235 SYS_FREMOVEXATTR = 4235
SYS_TKILL = 4236 SYS_TKILL = 4236
SYS_SENDFILE64 = 4237 SYS_SENDFILE64 = 4237
SYS_FUTEX = 4238 SYS_FUTEX = 4238
SYS_SCHED_SETAFFINITY = 4239 SYS_SCHED_SETAFFINITY = 4239
SYS_SCHED_GETAFFINITY = 4240 SYS_SCHED_GETAFFINITY = 4240
SYS_IO_SETUP = 4241 SYS_IO_SETUP = 4241
SYS_IO_DESTROY = 4242 SYS_IO_DESTROY = 4242
SYS_IO_GETEVENTS = 4243 SYS_IO_GETEVENTS = 4243
SYS_IO_SUBMIT = 4244 SYS_IO_SUBMIT = 4244
SYS_IO_CANCEL = 4245 SYS_IO_CANCEL = 4245
SYS_EXIT_GROUP = 4246 SYS_EXIT_GROUP = 4246
SYS_LOOKUP_DCOOKIE = 4247 SYS_LOOKUP_DCOOKIE = 4247
SYS_EPOLL_CREATE = 4248 SYS_EPOLL_CREATE = 4248
SYS_EPOLL_CTL = 4249 SYS_EPOLL_CTL = 4249
SYS_EPOLL_WAIT = 4250 SYS_EPOLL_WAIT = 4250
SYS_REMAP_FILE_PAGES = 4251 SYS_REMAP_FILE_PAGES = 4251
SYS_SET_TID_ADDRESS = 4252 SYS_SET_TID_ADDRESS = 4252
SYS_RESTART_SYSCALL = 4253 SYS_RESTART_SYSCALL = 4253
SYS_FADVISE64 = 4254 SYS_FADVISE64 = 4254
SYS_STATFS64 = 4255 SYS_STATFS64 = 4255
SYS_FSTATFS64 = 4256 SYS_FSTATFS64 = 4256
SYS_TIMER_CREATE = 4257 SYS_TIMER_CREATE = 4257
SYS_TIMER_SETTIME = 4258 SYS_TIMER_SETTIME = 4258
SYS_TIMER_GETTIME = 4259 SYS_TIMER_GETTIME = 4259
SYS_TIMER_GETOVERRUN = 4260 SYS_TIMER_GETOVERRUN = 4260
SYS_TIMER_DELETE = 4261 SYS_TIMER_DELETE = 4261
SYS_CLOCK_SETTIME = 4262 SYS_CLOCK_SETTIME = 4262
SYS_CLOCK_GETTIME = 4263 SYS_CLOCK_GETTIME = 4263
SYS_CLOCK_GETRES = 4264 SYS_CLOCK_GETRES = 4264
SYS_CLOCK_NANOSLEEP = 4265 SYS_CLOCK_NANOSLEEP = 4265
SYS_TGKILL = 4266 SYS_TGKILL = 4266
SYS_UTIMES = 4267 SYS_UTIMES = 4267
SYS_MBIND = 4268 SYS_MBIND = 4268
SYS_GET_MEMPOLICY = 4269 SYS_GET_MEMPOLICY = 4269
SYS_SET_MEMPOLICY = 4270 SYS_SET_MEMPOLICY = 4270
SYS_MQ_OPEN = 4271 SYS_MQ_OPEN = 4271
SYS_MQ_UNLINK = 4272 SYS_MQ_UNLINK = 4272
SYS_MQ_TIMEDSEND = 4273 SYS_MQ_TIMEDSEND = 4273
SYS_MQ_TIMEDRECEIVE = 4274 SYS_MQ_TIMEDRECEIVE = 4274
SYS_MQ_NOTIFY = 4275 SYS_MQ_NOTIFY = 4275
SYS_MQ_GETSETATTR = 4276 SYS_MQ_GETSETATTR = 4276
SYS_VSERVER = 4277 SYS_VSERVER = 4277
SYS_WAITID = 4278 SYS_WAITID = 4278
SYS_ADD_KEY = 4280 SYS_ADD_KEY = 4280
SYS_REQUEST_KEY = 4281 SYS_REQUEST_KEY = 4281
SYS_KEYCTL = 4282 SYS_KEYCTL = 4282
SYS_SET_THREAD_AREA = 4283 SYS_SET_THREAD_AREA = 4283
SYS_INOTIFY_INIT = 4284 SYS_INOTIFY_INIT = 4284
SYS_INOTIFY_ADD_WATCH = 4285 SYS_INOTIFY_ADD_WATCH = 4285
SYS_INOTIFY_RM_WATCH = 4286 SYS_INOTIFY_RM_WATCH = 4286
SYS_MIGRATE_PAGES = 4287 SYS_MIGRATE_PAGES = 4287
SYS_OPENAT = 4288 SYS_OPENAT = 4288
SYS_MKDIRAT = 4289 SYS_MKDIRAT = 4289
SYS_MKNODAT = 4290 SYS_MKNODAT = 4290
SYS_FCHOWNAT = 4291 SYS_FCHOWNAT = 4291
SYS_FUTIMESAT = 4292 SYS_FUTIMESAT = 4292
SYS_FSTATAT64 = 4293 SYS_FSTATAT64 = 4293
SYS_UNLINKAT = 4294 SYS_UNLINKAT = 4294
SYS_RENAMEAT = 4295 SYS_RENAMEAT = 4295
SYS_LINKAT = 4296 SYS_LINKAT = 4296
SYS_SYMLINKAT = 4297 SYS_SYMLINKAT = 4297
SYS_READLINKAT = 4298 SYS_READLINKAT = 4298
SYS_FCHMODAT = 4299 SYS_FCHMODAT = 4299
SYS_FACCESSAT = 4300 SYS_FACCESSAT = 4300
SYS_PSELECT6 = 4301 SYS_PSELECT6 = 4301
SYS_PPOLL = 4302 SYS_PPOLL = 4302
SYS_UNSHARE = 4303 SYS_UNSHARE = 4303
SYS_SPLICE = 4304 SYS_SPLICE = 4304
SYS_SYNC_FILE_RANGE = 4305 SYS_SYNC_FILE_RANGE = 4305
SYS_TEE = 4306 SYS_TEE = 4306
SYS_VMSPLICE = 4307 SYS_VMSPLICE = 4307
SYS_MOVE_PAGES = 4308 SYS_MOVE_PAGES = 4308
SYS_SET_ROBUST_LIST = 4309 SYS_SET_ROBUST_LIST = 4309
SYS_GET_ROBUST_LIST = 4310 SYS_GET_ROBUST_LIST = 4310
SYS_KEXEC_LOAD = 4311 SYS_KEXEC_LOAD = 4311
SYS_GETCPU = 4312 SYS_GETCPU = 4312
SYS_EPOLL_PWAIT = 4313 SYS_EPOLL_PWAIT = 4313
SYS_IOPRIO_SET = 4314 SYS_IOPRIO_SET = 4314
SYS_IOPRIO_GET = 4315 SYS_IOPRIO_GET = 4315
SYS_UTIMENSAT = 4316 SYS_UTIMENSAT = 4316
SYS_SIGNALFD = 4317 SYS_SIGNALFD = 4317
SYS_TIMERFD = 4318 SYS_TIMERFD = 4318
SYS_EVENTFD = 4319 SYS_EVENTFD = 4319
SYS_FALLOCATE = 4320 SYS_FALLOCATE = 4320
SYS_TIMERFD_CREATE = 4321 SYS_TIMERFD_CREATE = 4321
SYS_TIMERFD_GETTIME = 4322 SYS_TIMERFD_GETTIME = 4322
SYS_TIMERFD_SETTIME = 4323 SYS_TIMERFD_SETTIME = 4323
SYS_SIGNALFD4 = 4324 SYS_SIGNALFD4 = 4324
SYS_EVENTFD2 = 4325 SYS_EVENTFD2 = 4325
SYS_EPOLL_CREATE1 = 4326 SYS_EPOLL_CREATE1 = 4326
SYS_DUP3 = 4327 SYS_DUP3 = 4327
SYS_PIPE2 = 4328 SYS_PIPE2 = 4328
SYS_INOTIFY_INIT1 = 4329 SYS_INOTIFY_INIT1 = 4329
SYS_PREADV = 4330 SYS_PREADV = 4330
SYS_PWRITEV = 4331 SYS_PWRITEV = 4331
SYS_RT_TGSIGQUEUEINFO = 4332 SYS_RT_TGSIGQUEUEINFO = 4332
SYS_PERF_EVENT_OPEN = 4333 SYS_PERF_EVENT_OPEN = 4333
SYS_ACCEPT4 = 4334 SYS_ACCEPT4 = 4334
SYS_RECVMMSG = 4335 SYS_RECVMMSG = 4335
SYS_FANOTIFY_INIT = 4336 SYS_FANOTIFY_INIT = 4336
SYS_FANOTIFY_MARK = 4337 SYS_FANOTIFY_MARK = 4337
SYS_PRLIMIT64 = 4338 SYS_PRLIMIT64 = 4338
SYS_NAME_TO_HANDLE_AT = 4339 SYS_NAME_TO_HANDLE_AT = 4339
SYS_OPEN_BY_HANDLE_AT = 4340 SYS_OPEN_BY_HANDLE_AT = 4340
SYS_CLOCK_ADJTIME = 4341 SYS_CLOCK_ADJTIME = 4341
SYS_SYNCFS = 4342 SYS_SYNCFS = 4342
SYS_SENDMMSG = 4343 SYS_SENDMMSG = 4343
SYS_SETNS = 4344 SYS_SETNS = 4344
SYS_PROCESS_VM_READV = 4345 SYS_PROCESS_VM_READV = 4345
SYS_PROCESS_VM_WRITEV = 4346 SYS_PROCESS_VM_WRITEV = 4346
SYS_KCMP = 4347 SYS_KCMP = 4347
SYS_FINIT_MODULE = 4348 SYS_FINIT_MODULE = 4348
SYS_SCHED_SETATTR = 4349 SYS_SCHED_SETATTR = 4349
SYS_SCHED_GETATTR = 4350 SYS_SCHED_GETATTR = 4350
SYS_RENAMEAT2 = 4351 SYS_RENAMEAT2 = 4351
SYS_SECCOMP = 4352 SYS_SECCOMP = 4352
SYS_GETRANDOM = 4353 SYS_GETRANDOM = 4353
SYS_MEMFD_CREATE = 4354 SYS_MEMFD_CREATE = 4354
SYS_BPF = 4355 SYS_BPF = 4355
SYS_EXECVEAT = 4356 SYS_EXECVEAT = 4356
SYS_USERFAULTFD = 4357 SYS_USERFAULTFD = 4357
SYS_MEMBARRIER = 4358 SYS_MEMBARRIER = 4358
SYS_MLOCK2 = 4359 SYS_MLOCK2 = 4359
SYS_COPY_FILE_RANGE = 4360 SYS_COPY_FILE_RANGE = 4360
SYS_PREADV2 = 4361 SYS_PREADV2 = 4361
SYS_PWRITEV2 = 4362 SYS_PWRITEV2 = 4362
SYS_PKEY_MPROTECT = 4363 SYS_PKEY_MPROTECT = 4363
SYS_PKEY_ALLOC = 4364 SYS_PKEY_ALLOC = 4364
SYS_PKEY_FREE = 4365 SYS_PKEY_FREE = 4365
SYS_STATX = 4366 SYS_STATX = 4366
SYS_RSEQ = 4367 SYS_RSEQ = 4367
SYS_IO_PGETEVENTS = 4368 SYS_IO_PGETEVENTS = 4368
SYS_SEMGET = 4393
SYS_SEMCTL = 4394
SYS_SHMGET = 4395
SYS_SHMCTL = 4396
SYS_SHMAT = 4397
SYS_SHMDT = 4398
SYS_MSGGET = 4399
SYS_MSGSND = 4400
SYS_MSGRCV = 4401
SYS_MSGCTL = 4402
SYS_CLOCK_GETTIME64 = 4403
SYS_CLOCK_SETTIME64 = 4404
SYS_CLOCK_ADJTIME64 = 4405
SYS_CLOCK_GETRES_TIME64 = 4406
SYS_CLOCK_NANOSLEEP_TIME64 = 4407
SYS_TIMER_GETTIME64 = 4408
SYS_TIMER_SETTIME64 = 4409
SYS_TIMERFD_GETTIME64 = 4410
SYS_TIMERFD_SETTIME64 = 4411
SYS_UTIMENSAT_TIME64 = 4412
SYS_PSELECT6_TIME64 = 4413
SYS_PPOLL_TIME64 = 4414
SYS_IO_PGETEVENTS_TIME64 = 4416
SYS_RECVMMSG_TIME64 = 4417
SYS_MQ_TIMEDSEND_TIME64 = 4418
SYS_MQ_TIMEDRECEIVE_TIME64 = 4419
SYS_SEMTIMEDOP_TIME64 = 4420
SYS_RT_SIGTIMEDWAIT_TIME64 = 4421
SYS_FUTEX_TIME64 = 4422
SYS_SCHED_RR_GET_INTERVAL_TIME64 = 4423
SYS_PIDFD_SEND_SIGNAL = 4424
SYS_IO_URING_SETUP = 4425
SYS_IO_URING_ENTER = 4426
SYS_IO_URING_REGISTER = 4427
) )

Some files were not shown because too many files have changed in this diff Show more