Compare commits
4 Commits
d464e2ee38
...
80ba1868bd
Author | SHA1 | Date |
---|---|---|
Maxim Lebedev | 80ba1868bd | |
Maxim Lebedev | 90305d49e3 | |
Maxim Lebedev | 80895bfed3 | |
Maxim Lebedev | 364f974c0b |
18
go.mod
18
go.mod
|
@ -8,9 +8,9 @@ require (
|
||||||
github.com/fasthttp/router v1.4.10
|
github.com/fasthttp/router v1.4.10
|
||||||
github.com/goccy/go-json v0.9.7
|
github.com/goccy/go-json v0.9.7
|
||||||
github.com/jmoiron/sqlx v1.3.5
|
github.com/jmoiron/sqlx v1.3.5
|
||||||
github.com/lestrrat-go/jwx/v2 v2.0.2
|
github.com/lestrrat-go/jwx/v2 v2.0.3
|
||||||
github.com/spf13/viper v1.12.0
|
github.com/spf13/viper v1.12.0
|
||||||
github.com/stretchr/testify v1.7.2
|
github.com/stretchr/testify v1.7.4
|
||||||
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80
|
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80
|
||||||
github.com/valyala/fasthttp v1.37.0
|
github.com/valyala/fasthttp v1.37.0
|
||||||
github.com/valyala/fasttemplate v1.2.1
|
github.com/valyala/fasttemplate v1.2.1
|
||||||
|
@ -18,7 +18,7 @@ require (
|
||||||
go.etcd.io/bbolt v1.3.6
|
go.etcd.io/bbolt v1.3.6
|
||||||
golang.org/x/text v0.3.7
|
golang.org/x/text v0.3.7
|
||||||
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f
|
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f
|
||||||
inet.af/netaddr v0.0.0-20211027220019-c74959edd3b6
|
inet.af/netaddr v0.0.0-20220617031823-097006376321
|
||||||
modernc.org/sqlite v1.17.3
|
modernc.org/sqlite v1.17.3
|
||||||
source.toby3d.me/toby3d/form v0.3.0
|
source.toby3d.me/toby3d/form v0.3.0
|
||||||
source.toby3d.me/toby3d/middleware v0.9.2
|
source.toby3d.me/toby3d/middleware v0.9.2
|
||||||
|
@ -38,7 +38,7 @@ require (
|
||||||
github.com/klauspost/compress v1.15.6 // indirect
|
github.com/klauspost/compress v1.15.6 // indirect
|
||||||
github.com/lestrrat-go/blackmagic v1.0.1 // indirect
|
github.com/lestrrat-go/blackmagic v1.0.1 // indirect
|
||||||
github.com/lestrrat-go/httpcc v1.0.1 // indirect
|
github.com/lestrrat-go/httpcc v1.0.1 // indirect
|
||||||
github.com/lestrrat-go/httprc v1.0.1 // indirect
|
github.com/lestrrat-go/httprc v1.0.2 // indirect
|
||||||
github.com/lestrrat-go/iter v1.0.2 // indirect
|
github.com/lestrrat-go/iter v1.0.2 // indirect
|
||||||
github.com/lestrrat-go/option v1.0.0 // indirect
|
github.com/lestrrat-go/option v1.0.0 // indirect
|
||||||
github.com/magiconair/properties v1.8.6 // indirect
|
github.com/magiconair/properties v1.8.6 // indirect
|
||||||
|
@ -58,12 +58,12 @@ require (
|
||||||
github.com/subosito/gotenv v1.4.0 // indirect
|
github.com/subosito/gotenv v1.4.0 // indirect
|
||||||
github.com/tinylib/msgp v1.1.6 // indirect
|
github.com/tinylib/msgp v1.1.6 // indirect
|
||||||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||||
go4.org/intern v0.0.0-20220301175310-a089fc204883 // indirect
|
go4.org/intern v0.0.0-20220617035311-6925f38cc365 // indirect
|
||||||
go4.org/unsafe/assume-no-moving-gc v0.0.0-20211027215541-db492cf91b37 // indirect
|
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 // indirect
|
||||||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
|
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
|
||||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
|
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
|
||||||
golang.org/x/net v0.0.0-20220607020251-c690dde0001d // indirect
|
golang.org/x/net v0.0.0-20220621193019-9d032be2e588 // indirect
|
||||||
golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68 // indirect
|
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c // indirect
|
||||||
golang.org/x/tools v0.1.11 // indirect
|
golang.org/x/tools v0.1.11 // indirect
|
||||||
gopkg.in/ini.v1 v1.66.6 // indirect
|
gopkg.in/ini.v1 v1.66.6 // indirect
|
||||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||||
|
@ -71,7 +71,7 @@ require (
|
||||||
lukechampine.com/uint128 v1.2.0 // indirect
|
lukechampine.com/uint128 v1.2.0 // indirect
|
||||||
modernc.org/cc/v3 v3.36.0 // indirect
|
modernc.org/cc/v3 v3.36.0 // indirect
|
||||||
modernc.org/ccgo/v3 v3.16.6 // indirect
|
modernc.org/ccgo/v3 v3.16.6 // indirect
|
||||||
modernc.org/libc v1.16.8 // indirect
|
modernc.org/libc v1.16.10 // indirect
|
||||||
modernc.org/mathutil v1.4.1 // indirect
|
modernc.org/mathutil v1.4.1 // indirect
|
||||||
modernc.org/memory v1.1.1 // indirect
|
modernc.org/memory v1.1.1 // indirect
|
||||||
modernc.org/opt v0.1.3 // indirect
|
modernc.org/opt v0.1.3 // indirect
|
||||||
|
|
35
go.sum
35
go.sum
|
@ -188,12 +188,12 @@ github.com/lestrrat-go/blackmagic v1.0.1 h1:lS5Zts+5HIC/8og6cGHb0uCcNCa3OUt1ygh3
|
||||||
github.com/lestrrat-go/blackmagic v1.0.1/go.mod h1:UrEqBzIR2U6CnzVyUtfM6oZNMt/7O7Vohk2J0OGSAtU=
|
github.com/lestrrat-go/blackmagic v1.0.1/go.mod h1:UrEqBzIR2U6CnzVyUtfM6oZNMt/7O7Vohk2J0OGSAtU=
|
||||||
github.com/lestrrat-go/httpcc v1.0.1 h1:ydWCStUeJLkpYyjLDHihupbn2tYmZ7m22BGkcvZZrIE=
|
github.com/lestrrat-go/httpcc v1.0.1 h1:ydWCStUeJLkpYyjLDHihupbn2tYmZ7m22BGkcvZZrIE=
|
||||||
github.com/lestrrat-go/httpcc v1.0.1/go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E=
|
github.com/lestrrat-go/httpcc v1.0.1/go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E=
|
||||||
github.com/lestrrat-go/httprc v1.0.1 h1:Cnc4NxIySph38pQPzKbjg5OkKsGR/Cf5xcWt5OlSUDI=
|
github.com/lestrrat-go/httprc v1.0.2 h1:1hPZNeBRt9cvvYFR83XTkoQQidSFmAj3dqgR3AuQj9U=
|
||||||
github.com/lestrrat-go/httprc v1.0.1/go.mod h1:5Ml+nB++j6IC0e6LzefJnrpMQDKgDwDCaIQQzhbqhJM=
|
github.com/lestrrat-go/httprc v1.0.2/go.mod h1:5Ml+nB++j6IC0e6LzefJnrpMQDKgDwDCaIQQzhbqhJM=
|
||||||
github.com/lestrrat-go/iter v1.0.2 h1:gMXo1q4c2pHmC3dn8LzRhJfP1ceCbgSiT9lUydIzltI=
|
github.com/lestrrat-go/iter v1.0.2 h1:gMXo1q4c2pHmC3dn8LzRhJfP1ceCbgSiT9lUydIzltI=
|
||||||
github.com/lestrrat-go/iter v1.0.2/go.mod h1:Momfcq3AnRlRjI5b5O8/G5/BvpzrhoFTZcn06fEOPt4=
|
github.com/lestrrat-go/iter v1.0.2/go.mod h1:Momfcq3AnRlRjI5b5O8/G5/BvpzrhoFTZcn06fEOPt4=
|
||||||
github.com/lestrrat-go/jwx/v2 v2.0.2 h1:wkq9jwCkF3xrykISzn0Eksd7NEMOZ9yvCdnEpovIJX8=
|
github.com/lestrrat-go/jwx/v2 v2.0.3 h1:9zeZGkbiVkiSuzRsy2SbQJdTuA/At1I2Hh9R/GonCKg=
|
||||||
github.com/lestrrat-go/jwx/v2 v2.0.2/go.mod h1:xV8+xRcrKbmnScV8adOzUuuTrL8aAZJoY4q2JAqIYU8=
|
github.com/lestrrat-go/jwx/v2 v2.0.3/go.mod h1:4tnab1l/rJWhxmtVsAtc2kr+pWGg72IcnWFk8gM0tLM=
|
||||||
github.com/lestrrat-go/option v1.0.0 h1:WqAWL8kh8VcSoD6xjSH34/1m8yxluXQbDeKNfvFeEO4=
|
github.com/lestrrat-go/option v1.0.0 h1:WqAWL8kh8VcSoD6xjSH34/1m8yxluXQbDeKNfvFeEO4=
|
||||||
github.com/lestrrat-go/option v1.0.0/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I=
|
github.com/lestrrat-go/option v1.0.0/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I=
|
||||||
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
|
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
|
||||||
|
@ -252,14 +252,16 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An
|
||||||
github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ=
|
github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ=
|
||||||
github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI=
|
github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
|
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
||||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
||||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s=
|
|
||||||
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
|
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
|
||||||
|
github.com/stretchr/testify v1.7.4 h1:wZRexSlwd7ZXfKINDLsO4r7WBt3gTKONc6K/VesHvHM=
|
||||||
|
github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||||
github.com/subosito/gotenv v1.4.0 h1:yAzM1+SmVcz5R4tXGsNMu1jUl2aOJXoiWUCEwwnGrvs=
|
github.com/subosito/gotenv v1.4.0 h1:yAzM1+SmVcz5R4tXGsNMu1jUl2aOJXoiWUCEwwnGrvs=
|
||||||
github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo=
|
github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo=
|
||||||
github.com/tinylib/msgp v1.1.6 h1:i+SbKraHhnrf9M5MYmvQhFnbLhAXSDWF8WWsuyRdocw=
|
github.com/tinylib/msgp v1.1.6 h1:i+SbKraHhnrf9M5MYmvQhFnbLhAXSDWF8WWsuyRdocw=
|
||||||
|
@ -289,10 +291,11 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
|
go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
|
||||||
go4.org/intern v0.0.0-20211027215823-ae77deb06f29/go.mod h1:cS2ma+47FKrLPdXFpr7CuxiTW3eyJbWew4qx0qtQWDA=
|
go4.org/intern v0.0.0-20211027215823-ae77deb06f29/go.mod h1:cS2ma+47FKrLPdXFpr7CuxiTW3eyJbWew4qx0qtQWDA=
|
||||||
go4.org/intern v0.0.0-20220301175310-a089fc204883 h1:pq5gAii+wMY+DsJ5r9I6T7CHjHxHlb4d45gChzX2SsI=
|
go4.org/intern v0.0.0-20220617035311-6925f38cc365 h1:t9hFvR102YlOqU0fQn1wgwhNvSbHGBbbJxX9JKfU3l0=
|
||||||
go4.org/intern v0.0.0-20220301175310-a089fc204883/go.mod h1:cS2ma+47FKrLPdXFpr7CuxiTW3eyJbWew4qx0qtQWDA=
|
go4.org/intern v0.0.0-20220617035311-6925f38cc365/go.mod h1:WXRv3p7T6gzt0CcJm43AAKdKVZmcQbwwC7EwquU5BZU=
|
||||||
go4.org/unsafe/assume-no-moving-gc v0.0.0-20211027215541-db492cf91b37 h1:Tx9kY6yUkLge/pFG7IEMwDZy6CS2ajFc9TvQdPCW0uA=
|
|
||||||
go4.org/unsafe/assume-no-moving-gc v0.0.0-20211027215541-db492cf91b37/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
|
go4.org/unsafe/assume-no-moving-gc v0.0.0-20211027215541-db492cf91b37/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
|
||||||
|
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 h1:FyBZqvoA/jbNzuAWLQE2kG820zMAkcilx6BMjGbL/E4=
|
||||||
|
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760/go.mod h1:FftLjUGFEDu5k8lt0ddY+HcrH/qU/0qk+H8j9/nTl3E=
|
||||||
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/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
|
@ -379,8 +382,8 @@ golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT
|
||||||
golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||||
golang.org/x/net v0.0.0-20220607020251-c690dde0001d h1:4SFsTMi4UahlKoloni7L4eYzhFRifURQLw+yv0QDCx8=
|
golang.org/x/net v0.0.0-20220621193019-9d032be2e588 h1:9ubFuySsnAJYGyJrZ3koiEv8FyqofCBdz3G9Mbf2YFc=
|
||||||
golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
golang.org/x/net v0.0.0-20220621193019-9d032be2e588/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
|
@ -448,8 +451,8 @@ golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68 h1:z8Hj/bl9cOV2grsOpEaQFUaly0JWN3i97mo3jXKJNp0=
|
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c h1:aFV+BgZ4svzjfabn8ERpuB4JI4N6/rdy1iusx77G3oU=
|
||||||
golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
|
@ -635,8 +638,8 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh
|
||||||
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
|
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
|
||||||
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||||
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||||
inet.af/netaddr v0.0.0-20211027220019-c74959edd3b6 h1:acCzuUSQ79tGsM/O50VRFySfMm19IoMKL+sZztZkCxw=
|
inet.af/netaddr v0.0.0-20220617031823-097006376321 h1:B4dC8ySKTQXasnjDTMsoCMf1sQG4WsMej0WXaHxunmU=
|
||||||
inet.af/netaddr v0.0.0-20211027220019-c74959edd3b6/go.mod h1:y3MGhcFMlh0KZPMuXXow8mpjxxAk3yoDNsp4cQz54i8=
|
inet.af/netaddr v0.0.0-20220617031823-097006376321/go.mod h1:OIezDfdzOgFhuw4HuWapWq2e9l0H9tK4F1j+ETRtF3k=
|
||||||
lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
|
lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
|
||||||
lukechampine.com/uint128 v1.2.0 h1:mBi/5l91vocEN8otkC5bDLhi2KdCticRiwbdB0O+rjI=
|
lukechampine.com/uint128 v1.2.0 h1:mBi/5l91vocEN8otkC5bDLhi2KdCticRiwbdB0O+rjI=
|
||||||
lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
|
lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
|
||||||
|
@ -655,8 +658,8 @@ modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwco
|
||||||
modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A=
|
modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A=
|
||||||
modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU=
|
modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU=
|
||||||
modernc.org/libc v1.16.7/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU=
|
modernc.org/libc v1.16.7/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU=
|
||||||
modernc.org/libc v1.16.8 h1:Ux98PaOMvolgoFX/YwusFOHBnanXdGRmWgI8ciI2z4o=
|
modernc.org/libc v1.16.10 h1:SRBpcdFf2eYY6B+MAJ4B5SbstLkd2y58ljZTLmAPLxU=
|
||||||
modernc.org/libc v1.16.8/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU=
|
modernc.org/libc v1.16.10/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU=
|
||||||
modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||||
modernc.org/mathutil v1.4.1 h1:ij3fYGe8zBF4Vu+g0oT7mB06r8sqGWKuJu1yXeR4by8=
|
modernc.org/mathutil v1.4.1 h1:ij3fYGe8zBF4Vu+g0oT7mB06r8sqGWKuJu1yXeR4by8=
|
||||||
modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
|
||||||
|
|
|
@ -141,7 +141,7 @@ func (h *RequestHandler) Register(r *router.Router) {
|
||||||
ContextKey: "csrf",
|
ContextKey: "csrf",
|
||||||
CookieDomain: h.config.Server.Domain,
|
CookieDomain: h.config.Server.Domain,
|
||||||
CookieName: "__Secure-csrf",
|
CookieName: "__Secure-csrf",
|
||||||
CookiePath: "",
|
CookiePath: "/authorize",
|
||||||
TokenLookup: "param:_csrf",
|
TokenLookup: "param:_csrf",
|
||||||
TokenLength: 0,
|
TokenLength: 0,
|
||||||
CookieSecure: true,
|
CookieSecure: true,
|
||||||
|
@ -239,7 +239,6 @@ func (h *RequestHandler) handleAuthorize(ctx *http.RequestCtx) {
|
||||||
func (h *RequestHandler) handleVerify(ctx *http.RequestCtx) {
|
func (h *RequestHandler) handleVerify(ctx *http.RequestCtx) {
|
||||||
ctx.Response.Header.Set(http.HeaderAccessControlAllowOrigin, h.config.Server.Domain)
|
ctx.Response.Header.Set(http.HeaderAccessControlAllowOrigin, h.config.Server.Domain)
|
||||||
ctx.SetContentType(common.MIMEApplicationJSONCharsetUTF8)
|
ctx.SetContentType(common.MIMEApplicationJSONCharsetUTF8)
|
||||||
ctx.Request.Header.DelCookie("__Secure-csrf")
|
|
||||||
|
|
||||||
encoder := json.NewEncoder(ctx)
|
encoder := json.NewEncoder(ctx)
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ func (h *RequestHandler) Register(r *router.Router) {
|
||||||
ContextKey: "csrf",
|
ContextKey: "csrf",
|
||||||
CookieDomain: h.config.Server.Domain,
|
CookieDomain: h.config.Server.Domain,
|
||||||
CookieName: "__Secure-csrf",
|
CookieName: "__Secure-csrf",
|
||||||
CookiePath: "",
|
CookiePath: "/ticket",
|
||||||
TokenLookup: "form:_csrf",
|
TokenLookup: "form:_csrf",
|
||||||
TokenLength: 0,
|
TokenLength: 0,
|
||||||
CookieSecure: true,
|
CookieSecure: true,
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
Changes
|
Changes
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
v1.0.2 13 Jun 2022
|
||||||
|
* Properly release a lock when the fetch fails (#5)
|
||||||
|
|
||||||
v1.0.1 29 Mar 2022
|
v1.0.1 29 Mar 2022
|
||||||
* Bump dependency for github.com/lestrrat-go/httpcc to v1.0.1
|
* Bump dependency for github.com/lestrrat-go/httpcc to v1.0.1
|
||||||
|
|
||||||
|
|
|
@ -151,6 +151,7 @@ func (c *Cache) getOrFetch(ctx context.Context, u string, forceRefresh bool) (in
|
||||||
// if forceRefresh is true)
|
// if forceRefresh is true)
|
||||||
if forceRefresh || !e.hasBeenFetched() {
|
if forceRefresh || !e.hasBeenFetched() {
|
||||||
if err := c.queue.fetchAndStore(ctx, e); err != nil {
|
if err := c.queue.fetchAndStore(ctx, e); err != nil {
|
||||||
|
e.releaseSem()
|
||||||
return nil, fmt.Errorf(`failed to fetch %q: %w`, u, err)
|
return nil, fmt.Errorf(`failed to fetch %q: %w`, u, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,11 @@ Changes
|
||||||
v2 has many incompatibilities with v1. To see the full list of differences between
|
v2 has many incompatibilities with v1. To see the full list of differences between
|
||||||
v1 and v2, please read the Changes-v2.md file (https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes-v2.md)
|
v1 and v2, please read the Changes-v2.md file (https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes-v2.md)
|
||||||
|
|
||||||
|
v2.0.3 - 13 Jun 2022
|
||||||
|
[Bug Fixes]
|
||||||
|
* [jwk] Update dependency on github.com/lestrrat-go/httprc to v1.0.2 to
|
||||||
|
avoid unintended blocking in the update goroutine for jwk.Cache
|
||||||
|
|
||||||
v2.0.2 - 23 May 2022
|
v2.0.2 - 23 May 2022
|
||||||
[Bug Fixes][Security]
|
[Bug Fixes][Security]
|
||||||
* [jwe] An old bug from at least 7 years ago existed in handling AES-CBC unpadding,
|
* [jwe] An old bug from at least 7 years ago existed in handling AES-CBC unpadding,
|
||||||
|
|
|
@ -199,5 +199,3 @@ options:
|
||||||
|
|
||||||
However, when you set WithNumericDateParePedantic to `true`, the
|
However, when you set WithNumericDateParePedantic to `true`, the
|
||||||
RFC3339 parser is not tried, and we expect a numeric value strictly
|
RFC3339 parser is not tried, and we expect a numeric value strictly
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -563,7 +563,7 @@ func isEmpty(object interface{}) bool {
|
||||||
|
|
||||||
switch objValue.Kind() {
|
switch objValue.Kind() {
|
||||||
// collection types are empty when they have no element
|
// collection types are empty when they have no element
|
||||||
case reflect.Array, reflect.Chan, reflect.Map, reflect.Slice:
|
case reflect.Chan, reflect.Map, reflect.Slice:
|
||||||
return objValue.Len() == 0
|
return objValue.Len() == 0
|
||||||
// pointers are empty if nil or if the value they point to is empty
|
// pointers are empty if nil or if the value they point to is empty
|
||||||
case reflect.Ptr:
|
case reflect.Ptr:
|
||||||
|
@ -573,6 +573,7 @@ func isEmpty(object interface{}) bool {
|
||||||
deref := objValue.Elem().Interface()
|
deref := objValue.Elem().Interface()
|
||||||
return isEmpty(deref)
|
return isEmpty(deref)
|
||||||
// for all other types, compare against the zero value
|
// for all other types, compare against the zero value
|
||||||
|
// array types are empty when they match their zero-initialized state
|
||||||
default:
|
default:
|
||||||
zero := reflect.Zero(objValue.Type())
|
zero := reflect.Zero(objValue.Type())
|
||||||
return reflect.DeepEqual(object, zero.Interface())
|
return reflect.DeepEqual(object, zero.Interface())
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// 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.
|
||||||
|
|
||||||
//go:build go1.19
|
//go:build go1.20
|
||||||
// +build go1.19
|
// +build go1.20
|
||||||
|
|
||||||
package assume_no_moving_gc
|
package assume_no_moving_gc
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
|
||||||
MOVV trap+0(FP), R11 // syscall entry
|
MOVV trap+0(FP), R11 // syscall entry
|
||||||
SYSCALL
|
SYSCALL
|
||||||
MOVV R4, r1+32(FP)
|
MOVV R4, r1+32(FP)
|
||||||
MOVV R5, r2+40(FP)
|
MOVV R0, r2+40(FP) // r2 is not used. Always set to 0
|
||||||
JAL runtime·exitsyscall(SB)
|
JAL runtime·exitsyscall(SB)
|
||||||
RET
|
RET
|
||||||
|
|
||||||
|
@ -50,5 +50,5 @@ TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
|
||||||
MOVV trap+0(FP), R11 // syscall entry
|
MOVV trap+0(FP), R11 // syscall entry
|
||||||
SYSCALL
|
SYSCALL
|
||||||
MOVV R4, r1+32(FP)
|
MOVV R4, r1+32(FP)
|
||||||
MOVV R5, r2+40(FP)
|
MOVV R0, r2+40(FP) // r2 is not used. Always set to 0
|
||||||
RET
|
RET
|
||||||
|
|
|
@ -393,6 +393,13 @@ func GetsockoptXucred(fd, level, opt int) (*Xucred, error) {
|
||||||
return x, err
|
return x, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetsockoptTCPConnectionInfo(fd, level, opt int) (*TCPConnectionInfo, error) {
|
||||||
|
var value TCPConnectionInfo
|
||||||
|
vallen := _Socklen(SizeofTCPConnectionInfo)
|
||||||
|
err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
|
||||||
|
return &value, err
|
||||||
|
}
|
||||||
|
|
||||||
func SysctlKinfoProc(name string, args ...int) (*KinfoProc, error) {
|
func SysctlKinfoProc(name string, args ...int) (*KinfoProc, error) {
|
||||||
mib, err := sysctlmib(name, args...)
|
mib, err := sysctlmib(name, args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -12,8 +12,6 @@ import "unsafe"
|
||||||
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
|
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
|
||||||
//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
|
//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
|
||||||
//sys Fchown(fd int, uid int, gid int) (err error)
|
//sys Fchown(fd int, uid int, gid int) (err error)
|
||||||
//sys Fstat(fd int, stat *Stat_t) (err error)
|
|
||||||
//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
|
|
||||||
//sys Fstatfs(fd int, buf *Statfs_t) (err error)
|
//sys Fstatfs(fd int, buf *Statfs_t) (err error)
|
||||||
//sys Ftruncate(fd int, length int64) (err error)
|
//sys Ftruncate(fd int, length int64) (err error)
|
||||||
//sysnb Getegid() (egid int)
|
//sysnb Getegid() (egid int)
|
||||||
|
@ -43,6 +41,43 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
||||||
//sys Shutdown(fd int, how int) (err error)
|
//sys Shutdown(fd int, how int) (err error)
|
||||||
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
||||||
|
|
||||||
|
func timespecFromStatxTimestamp(x StatxTimestamp) Timespec {
|
||||||
|
return Timespec{
|
||||||
|
Sec: x.Sec,
|
||||||
|
Nsec: int64(x.Nsec),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func Fstatat(fd int, path string, stat *Stat_t, flags int) error {
|
||||||
|
var r Statx_t
|
||||||
|
// Do it the glibc way, add AT_NO_AUTOMOUNT.
|
||||||
|
if err := Statx(fd, path, AT_NO_AUTOMOUNT|flags, STATX_BASIC_STATS, &r); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
stat.Dev = Mkdev(r.Dev_major, r.Dev_minor)
|
||||||
|
stat.Ino = r.Ino
|
||||||
|
stat.Mode = uint32(r.Mode)
|
||||||
|
stat.Nlink = r.Nlink
|
||||||
|
stat.Uid = r.Uid
|
||||||
|
stat.Gid = r.Gid
|
||||||
|
stat.Rdev = Mkdev(r.Rdev_major, r.Rdev_minor)
|
||||||
|
// hope we don't get to process files so large to overflow these size
|
||||||
|
// fields...
|
||||||
|
stat.Size = int64(r.Size)
|
||||||
|
stat.Blksize = int32(r.Blksize)
|
||||||
|
stat.Blocks = int64(r.Blocks)
|
||||||
|
stat.Atim = timespecFromStatxTimestamp(r.Atime)
|
||||||
|
stat.Mtim = timespecFromStatxTimestamp(r.Mtime)
|
||||||
|
stat.Ctim = timespecFromStatxTimestamp(r.Ctime)
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
||||||
|
return Fstatat(fd, "", stat, AT_EMPTY_PATH)
|
||||||
|
}
|
||||||
|
|
||||||
func Stat(path string, stat *Stat_t) (err error) {
|
func Stat(path string, stat *Stat_t) (err error) {
|
||||||
return Fstatat(AT_FDCWD, path, stat, 0)
|
return Fstatat(AT_FDCWD, path, stat, 0)
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@ import "unsafe"
|
||||||
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
|
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
|
||||||
//sysnb Getuid() (uid int)
|
//sysnb Getuid() (uid int)
|
||||||
//sys Listen(s int, n int) (err error)
|
//sys Listen(s int, n int) (err error)
|
||||||
|
//sys MemfdSecret(flags int) (fd int, err error)
|
||||||
//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
||||||
//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
||||||
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
||||||
|
|
|
@ -184,6 +184,7 @@ const (
|
||||||
BPF_F_ALLOW_MULTI = 0x2
|
BPF_F_ALLOW_MULTI = 0x2
|
||||||
BPF_F_ALLOW_OVERRIDE = 0x1
|
BPF_F_ALLOW_OVERRIDE = 0x1
|
||||||
BPF_F_ANY_ALIGNMENT = 0x2
|
BPF_F_ANY_ALIGNMENT = 0x2
|
||||||
|
BPF_F_KPROBE_MULTI_RETURN = 0x1
|
||||||
BPF_F_QUERY_EFFECTIVE = 0x1
|
BPF_F_QUERY_EFFECTIVE = 0x1
|
||||||
BPF_F_REPLACE = 0x4
|
BPF_F_REPLACE = 0x4
|
||||||
BPF_F_SLEEPABLE = 0x10
|
BPF_F_SLEEPABLE = 0x10
|
||||||
|
@ -191,6 +192,8 @@ const (
|
||||||
BPF_F_TEST_RND_HI32 = 0x4
|
BPF_F_TEST_RND_HI32 = 0x4
|
||||||
BPF_F_TEST_RUN_ON_CPU = 0x1
|
BPF_F_TEST_RUN_ON_CPU = 0x1
|
||||||
BPF_F_TEST_STATE_FREQ = 0x8
|
BPF_F_TEST_STATE_FREQ = 0x8
|
||||||
|
BPF_F_TEST_XDP_LIVE_FRAMES = 0x2
|
||||||
|
BPF_F_XDP_HAS_FRAGS = 0x20
|
||||||
BPF_H = 0x8
|
BPF_H = 0x8
|
||||||
BPF_IMM = 0x0
|
BPF_IMM = 0x0
|
||||||
BPF_IND = 0x40
|
BPF_IND = 0x40
|
||||||
|
@ -517,9 +520,9 @@ const (
|
||||||
DM_UUID_FLAG = 0x4000
|
DM_UUID_FLAG = 0x4000
|
||||||
DM_UUID_LEN = 0x81
|
DM_UUID_LEN = 0x81
|
||||||
DM_VERSION = 0xc138fd00
|
DM_VERSION = 0xc138fd00
|
||||||
DM_VERSION_EXTRA = "-ioctl (2021-03-22)"
|
DM_VERSION_EXTRA = "-ioctl (2022-02-22)"
|
||||||
DM_VERSION_MAJOR = 0x4
|
DM_VERSION_MAJOR = 0x4
|
||||||
DM_VERSION_MINOR = 0x2d
|
DM_VERSION_MINOR = 0x2e
|
||||||
DM_VERSION_PATCHLEVEL = 0x0
|
DM_VERSION_PATCHLEVEL = 0x0
|
||||||
DT_BLK = 0x6
|
DT_BLK = 0x6
|
||||||
DT_CHR = 0x2
|
DT_CHR = 0x2
|
||||||
|
@ -712,6 +715,7 @@ const (
|
||||||
ETH_P_EDSA = 0xdada
|
ETH_P_EDSA = 0xdada
|
||||||
ETH_P_ERSPAN = 0x88be
|
ETH_P_ERSPAN = 0x88be
|
||||||
ETH_P_ERSPAN2 = 0x22eb
|
ETH_P_ERSPAN2 = 0x22eb
|
||||||
|
ETH_P_ETHERCAT = 0x88a4
|
||||||
ETH_P_FCOE = 0x8906
|
ETH_P_FCOE = 0x8906
|
||||||
ETH_P_FIP = 0x8914
|
ETH_P_FIP = 0x8914
|
||||||
ETH_P_HDLC = 0x19
|
ETH_P_HDLC = 0x19
|
||||||
|
@ -749,6 +753,7 @@ const (
|
||||||
ETH_P_PPP_MP = 0x8
|
ETH_P_PPP_MP = 0x8
|
||||||
ETH_P_PPP_SES = 0x8864
|
ETH_P_PPP_SES = 0x8864
|
||||||
ETH_P_PREAUTH = 0x88c7
|
ETH_P_PREAUTH = 0x88c7
|
||||||
|
ETH_P_PROFINET = 0x8892
|
||||||
ETH_P_PRP = 0x88fb
|
ETH_P_PRP = 0x88fb
|
||||||
ETH_P_PUP = 0x200
|
ETH_P_PUP = 0x200
|
||||||
ETH_P_PUPAT = 0x201
|
ETH_P_PUPAT = 0x201
|
||||||
|
@ -837,6 +842,7 @@ const (
|
||||||
FAN_FS_ERROR = 0x8000
|
FAN_FS_ERROR = 0x8000
|
||||||
FAN_MARK_ADD = 0x1
|
FAN_MARK_ADD = 0x1
|
||||||
FAN_MARK_DONT_FOLLOW = 0x4
|
FAN_MARK_DONT_FOLLOW = 0x4
|
||||||
|
FAN_MARK_EVICTABLE = 0x200
|
||||||
FAN_MARK_FILESYSTEM = 0x100
|
FAN_MARK_FILESYSTEM = 0x100
|
||||||
FAN_MARK_FLUSH = 0x80
|
FAN_MARK_FLUSH = 0x80
|
||||||
FAN_MARK_IGNORED_MASK = 0x20
|
FAN_MARK_IGNORED_MASK = 0x20
|
||||||
|
@ -1055,7 +1061,7 @@ const (
|
||||||
IFA_F_STABLE_PRIVACY = 0x800
|
IFA_F_STABLE_PRIVACY = 0x800
|
||||||
IFA_F_TEMPORARY = 0x1
|
IFA_F_TEMPORARY = 0x1
|
||||||
IFA_F_TENTATIVE = 0x40
|
IFA_F_TENTATIVE = 0x40
|
||||||
IFA_MAX = 0xa
|
IFA_MAX = 0xb
|
||||||
IFF_ALLMULTI = 0x200
|
IFF_ALLMULTI = 0x200
|
||||||
IFF_ATTACH_QUEUE = 0x200
|
IFF_ATTACH_QUEUE = 0x200
|
||||||
IFF_AUTOMEDIA = 0x4000
|
IFF_AUTOMEDIA = 0x4000
|
||||||
|
@ -1403,6 +1409,7 @@ const (
|
||||||
LANDLOCK_ACCESS_FS_MAKE_SYM = 0x1000
|
LANDLOCK_ACCESS_FS_MAKE_SYM = 0x1000
|
||||||
LANDLOCK_ACCESS_FS_READ_DIR = 0x8
|
LANDLOCK_ACCESS_FS_READ_DIR = 0x8
|
||||||
LANDLOCK_ACCESS_FS_READ_FILE = 0x4
|
LANDLOCK_ACCESS_FS_READ_FILE = 0x4
|
||||||
|
LANDLOCK_ACCESS_FS_REFER = 0x2000
|
||||||
LANDLOCK_ACCESS_FS_REMOVE_DIR = 0x10
|
LANDLOCK_ACCESS_FS_REMOVE_DIR = 0x10
|
||||||
LANDLOCK_ACCESS_FS_REMOVE_FILE = 0x20
|
LANDLOCK_ACCESS_FS_REMOVE_FILE = 0x20
|
||||||
LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2
|
LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2
|
||||||
|
@ -1758,6 +1765,7 @@ const (
|
||||||
NLM_F_ACK_TLVS = 0x200
|
NLM_F_ACK_TLVS = 0x200
|
||||||
NLM_F_APPEND = 0x800
|
NLM_F_APPEND = 0x800
|
||||||
NLM_F_ATOMIC = 0x400
|
NLM_F_ATOMIC = 0x400
|
||||||
|
NLM_F_BULK = 0x200
|
||||||
NLM_F_CAPPED = 0x100
|
NLM_F_CAPPED = 0x100
|
||||||
NLM_F_CREATE = 0x400
|
NLM_F_CREATE = 0x400
|
||||||
NLM_F_DUMP = 0x300
|
NLM_F_DUMP = 0x300
|
||||||
|
@ -2075,6 +2083,11 @@ const (
|
||||||
PR_SET_UNALIGN = 0x6
|
PR_SET_UNALIGN = 0x6
|
||||||
PR_SET_VMA = 0x53564d41
|
PR_SET_VMA = 0x53564d41
|
||||||
PR_SET_VMA_ANON_NAME = 0x0
|
PR_SET_VMA_ANON_NAME = 0x0
|
||||||
|
PR_SME_GET_VL = 0x40
|
||||||
|
PR_SME_SET_VL = 0x3f
|
||||||
|
PR_SME_SET_VL_ONEXEC = 0x40000
|
||||||
|
PR_SME_VL_INHERIT = 0x20000
|
||||||
|
PR_SME_VL_LEN_MASK = 0xffff
|
||||||
PR_SPEC_DISABLE = 0x4
|
PR_SPEC_DISABLE = 0x4
|
||||||
PR_SPEC_DISABLE_NOEXEC = 0x10
|
PR_SPEC_DISABLE_NOEXEC = 0x10
|
||||||
PR_SPEC_ENABLE = 0x2
|
PR_SPEC_ENABLE = 0x2
|
||||||
|
@ -2227,8 +2240,9 @@ const (
|
||||||
RTC_FEATURE_ALARM = 0x0
|
RTC_FEATURE_ALARM = 0x0
|
||||||
RTC_FEATURE_ALARM_RES_2S = 0x3
|
RTC_FEATURE_ALARM_RES_2S = 0x3
|
||||||
RTC_FEATURE_ALARM_RES_MINUTE = 0x1
|
RTC_FEATURE_ALARM_RES_MINUTE = 0x1
|
||||||
|
RTC_FEATURE_ALARM_WAKEUP_ONLY = 0x7
|
||||||
RTC_FEATURE_BACKUP_SWITCH_MODE = 0x6
|
RTC_FEATURE_BACKUP_SWITCH_MODE = 0x6
|
||||||
RTC_FEATURE_CNT = 0x7
|
RTC_FEATURE_CNT = 0x8
|
||||||
RTC_FEATURE_CORRECTION = 0x5
|
RTC_FEATURE_CORRECTION = 0x5
|
||||||
RTC_FEATURE_NEED_WEEK_DAY = 0x2
|
RTC_FEATURE_NEED_WEEK_DAY = 0x2
|
||||||
RTC_FEATURE_UPDATE_INTERRUPT = 0x4
|
RTC_FEATURE_UPDATE_INTERRUPT = 0x4
|
||||||
|
@ -2302,6 +2316,7 @@ const (
|
||||||
RTM_DELRULE = 0x21
|
RTM_DELRULE = 0x21
|
||||||
RTM_DELTCLASS = 0x29
|
RTM_DELTCLASS = 0x29
|
||||||
RTM_DELTFILTER = 0x2d
|
RTM_DELTFILTER = 0x2d
|
||||||
|
RTM_DELTUNNEL = 0x79
|
||||||
RTM_DELVLAN = 0x71
|
RTM_DELVLAN = 0x71
|
||||||
RTM_F_CLONED = 0x200
|
RTM_F_CLONED = 0x200
|
||||||
RTM_F_EQUALIZE = 0x400
|
RTM_F_EQUALIZE = 0x400
|
||||||
|
@ -2334,8 +2349,9 @@ const (
|
||||||
RTM_GETSTATS = 0x5e
|
RTM_GETSTATS = 0x5e
|
||||||
RTM_GETTCLASS = 0x2a
|
RTM_GETTCLASS = 0x2a
|
||||||
RTM_GETTFILTER = 0x2e
|
RTM_GETTFILTER = 0x2e
|
||||||
|
RTM_GETTUNNEL = 0x7a
|
||||||
RTM_GETVLAN = 0x72
|
RTM_GETVLAN = 0x72
|
||||||
RTM_MAX = 0x77
|
RTM_MAX = 0x7b
|
||||||
RTM_NEWACTION = 0x30
|
RTM_NEWACTION = 0x30
|
||||||
RTM_NEWADDR = 0x14
|
RTM_NEWADDR = 0x14
|
||||||
RTM_NEWADDRLABEL = 0x48
|
RTM_NEWADDRLABEL = 0x48
|
||||||
|
@ -2359,11 +2375,13 @@ const (
|
||||||
RTM_NEWSTATS = 0x5c
|
RTM_NEWSTATS = 0x5c
|
||||||
RTM_NEWTCLASS = 0x28
|
RTM_NEWTCLASS = 0x28
|
||||||
RTM_NEWTFILTER = 0x2c
|
RTM_NEWTFILTER = 0x2c
|
||||||
RTM_NR_FAMILIES = 0x1a
|
RTM_NEWTUNNEL = 0x78
|
||||||
RTM_NR_MSGTYPES = 0x68
|
RTM_NR_FAMILIES = 0x1b
|
||||||
|
RTM_NR_MSGTYPES = 0x6c
|
||||||
RTM_SETDCB = 0x4f
|
RTM_SETDCB = 0x4f
|
||||||
RTM_SETLINK = 0x13
|
RTM_SETLINK = 0x13
|
||||||
RTM_SETNEIGHTBL = 0x43
|
RTM_SETNEIGHTBL = 0x43
|
||||||
|
RTM_SETSTATS = 0x5f
|
||||||
RTNH_ALIGNTO = 0x4
|
RTNH_ALIGNTO = 0x4
|
||||||
RTNH_COMPARE_MASK = 0x59
|
RTNH_COMPARE_MASK = 0x59
|
||||||
RTNH_F_DEAD = 0x1
|
RTNH_F_DEAD = 0x1
|
||||||
|
@ -2544,6 +2562,9 @@ const (
|
||||||
SOCK_RDM = 0x4
|
SOCK_RDM = 0x4
|
||||||
SOCK_SEQPACKET = 0x5
|
SOCK_SEQPACKET = 0x5
|
||||||
SOCK_SNDBUF_LOCK = 0x1
|
SOCK_SNDBUF_LOCK = 0x1
|
||||||
|
SOCK_TXREHASH_DEFAULT = 0xff
|
||||||
|
SOCK_TXREHASH_DISABLED = 0x0
|
||||||
|
SOCK_TXREHASH_ENABLED = 0x1
|
||||||
SOL_AAL = 0x109
|
SOL_AAL = 0x109
|
||||||
SOL_ALG = 0x117
|
SOL_ALG = 0x117
|
||||||
SOL_ATM = 0x108
|
SOL_ATM = 0x108
|
||||||
|
@ -2559,6 +2580,8 @@ const (
|
||||||
SOL_IUCV = 0x115
|
SOL_IUCV = 0x115
|
||||||
SOL_KCM = 0x119
|
SOL_KCM = 0x119
|
||||||
SOL_LLC = 0x10c
|
SOL_LLC = 0x10c
|
||||||
|
SOL_MCTP = 0x11d
|
||||||
|
SOL_MPTCP = 0x11c
|
||||||
SOL_NETBEUI = 0x10b
|
SOL_NETBEUI = 0x10b
|
||||||
SOL_NETLINK = 0x10e
|
SOL_NETLINK = 0x10e
|
||||||
SOL_NFC = 0x118
|
SOL_NFC = 0x118
|
||||||
|
@ -2674,7 +2697,7 @@ const (
|
||||||
TASKSTATS_GENL_NAME = "TASKSTATS"
|
TASKSTATS_GENL_NAME = "TASKSTATS"
|
||||||
TASKSTATS_GENL_VERSION = 0x1
|
TASKSTATS_GENL_VERSION = 0x1
|
||||||
TASKSTATS_TYPE_MAX = 0x6
|
TASKSTATS_TYPE_MAX = 0x6
|
||||||
TASKSTATS_VERSION = 0xb
|
TASKSTATS_VERSION = 0xd
|
||||||
TCIFLUSH = 0x0
|
TCIFLUSH = 0x0
|
||||||
TCIOFF = 0x2
|
TCIOFF = 0x2
|
||||||
TCIOFLUSH = 0x2
|
TCIOFLUSH = 0x2
|
||||||
|
|
|
@ -326,6 +326,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -350,6 +351,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -327,6 +327,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -351,6 +352,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -333,6 +333,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -357,6 +358,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -323,6 +323,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -347,6 +348,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
@ -511,6 +513,7 @@ const (
|
||||||
WORDSIZE = 0x40
|
WORDSIZE = 0x40
|
||||||
XCASE = 0x4
|
XCASE = 0x4
|
||||||
XTABS = 0x1800
|
XTABS = 0x1800
|
||||||
|
ZA_MAGIC = 0x54366345
|
||||||
_HIDIOCGRAWNAME = 0x80804804
|
_HIDIOCGRAWNAME = 0x80804804
|
||||||
_HIDIOCGRAWPHYS = 0x80404805
|
_HIDIOCGRAWPHYS = 0x80404805
|
||||||
_HIDIOCGRAWUNIQ = 0x80404808
|
_HIDIOCGRAWUNIQ = 0x80404808
|
||||||
|
|
|
@ -109,8 +109,6 @@ const (
|
||||||
IUCLC = 0x200
|
IUCLC = 0x200
|
||||||
IXOFF = 0x1000
|
IXOFF = 0x1000
|
||||||
IXON = 0x400
|
IXON = 0x400
|
||||||
LASX_CTX_MAGIC = 0x41535801
|
|
||||||
LSX_CTX_MAGIC = 0x53580001
|
|
||||||
MAP_ANON = 0x20
|
MAP_ANON = 0x20
|
||||||
MAP_ANONYMOUS = 0x20
|
MAP_ANONYMOUS = 0x20
|
||||||
MAP_DENYWRITE = 0x800
|
MAP_DENYWRITE = 0x800
|
||||||
|
@ -319,6 +317,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -343,6 +342,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -326,6 +326,7 @@ const (
|
||||||
SO_RCVBUF = 0x1002
|
SO_RCVBUF = 0x1002
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x1004
|
SO_RCVLOWAT = 0x1004
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x1006
|
SO_RCVTIMEO = 0x1006
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x1006
|
SO_RCVTIMEO_OLD = 0x1006
|
||||||
|
@ -351,6 +352,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x1008
|
SO_TYPE = 0x1008
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -326,6 +326,7 @@ const (
|
||||||
SO_RCVBUF = 0x1002
|
SO_RCVBUF = 0x1002
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x1004
|
SO_RCVLOWAT = 0x1004
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x1006
|
SO_RCVTIMEO = 0x1006
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x1006
|
SO_RCVTIMEO_OLD = 0x1006
|
||||||
|
@ -351,6 +352,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x1008
|
SO_TYPE = 0x1008
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -326,6 +326,7 @@ const (
|
||||||
SO_RCVBUF = 0x1002
|
SO_RCVBUF = 0x1002
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x1004
|
SO_RCVLOWAT = 0x1004
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x1006
|
SO_RCVTIMEO = 0x1006
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x1006
|
SO_RCVTIMEO_OLD = 0x1006
|
||||||
|
@ -351,6 +352,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x1008
|
SO_TYPE = 0x1008
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -326,6 +326,7 @@ const (
|
||||||
SO_RCVBUF = 0x1002
|
SO_RCVBUF = 0x1002
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x1004
|
SO_RCVLOWAT = 0x1004
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x1006
|
SO_RCVTIMEO = 0x1006
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x1006
|
SO_RCVTIMEO_OLD = 0x1006
|
||||||
|
@ -351,6 +352,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x1008
|
SO_TYPE = 0x1008
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -381,6 +381,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x10
|
SO_RCVLOWAT = 0x10
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x12
|
SO_RCVTIMEO = 0x12
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x12
|
SO_RCVTIMEO_OLD = 0x12
|
||||||
|
@ -405,6 +406,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -385,6 +385,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x10
|
SO_RCVLOWAT = 0x10
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x12
|
SO_RCVTIMEO = 0x12
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x12
|
SO_RCVTIMEO_OLD = 0x12
|
||||||
|
@ -409,6 +410,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -385,6 +385,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x10
|
SO_RCVLOWAT = 0x10
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x12
|
SO_RCVTIMEO = 0x12
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x12
|
SO_RCVTIMEO_OLD = 0x12
|
||||||
|
@ -409,6 +410,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -314,6 +314,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -338,6 +339,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -389,6 +389,7 @@ const (
|
||||||
SO_RCVBUF = 0x8
|
SO_RCVBUF = 0x8
|
||||||
SO_RCVBUFFORCE = 0x21
|
SO_RCVBUFFORCE = 0x21
|
||||||
SO_RCVLOWAT = 0x12
|
SO_RCVLOWAT = 0x12
|
||||||
|
SO_RCVMARK = 0x4b
|
||||||
SO_RCVTIMEO = 0x14
|
SO_RCVTIMEO = 0x14
|
||||||
SO_RCVTIMEO_NEW = 0x42
|
SO_RCVTIMEO_NEW = 0x42
|
||||||
SO_RCVTIMEO_OLD = 0x14
|
SO_RCVTIMEO_OLD = 0x14
|
||||||
|
@ -413,6 +414,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x40
|
SO_TIMESTAMPNS_NEW = 0x40
|
||||||
SO_TIMESTAMPNS_OLD = 0x23
|
SO_TIMESTAMPNS_OLD = 0x23
|
||||||
SO_TIMESTAMP_NEW = 0x3f
|
SO_TIMESTAMP_NEW = 0x3f
|
||||||
|
SO_TXREHASH = 0x4a
|
||||||
SO_TXTIME = 0x3d
|
SO_TXTIME = 0x3d
|
||||||
SO_TYPE = 0x3
|
SO_TYPE = 0x3
|
||||||
SO_WIFI_STATUS = 0x29
|
SO_WIFI_STATUS = 0x29
|
||||||
|
|
|
@ -380,6 +380,7 @@ const (
|
||||||
SO_RCVBUF = 0x1002
|
SO_RCVBUF = 0x1002
|
||||||
SO_RCVBUFFORCE = 0x100b
|
SO_RCVBUFFORCE = 0x100b
|
||||||
SO_RCVLOWAT = 0x800
|
SO_RCVLOWAT = 0x800
|
||||||
|
SO_RCVMARK = 0x54
|
||||||
SO_RCVTIMEO = 0x2000
|
SO_RCVTIMEO = 0x2000
|
||||||
SO_RCVTIMEO_NEW = 0x44
|
SO_RCVTIMEO_NEW = 0x44
|
||||||
SO_RCVTIMEO_OLD = 0x2000
|
SO_RCVTIMEO_OLD = 0x2000
|
||||||
|
@ -404,6 +405,7 @@ const (
|
||||||
SO_TIMESTAMPNS_NEW = 0x42
|
SO_TIMESTAMPNS_NEW = 0x42
|
||||||
SO_TIMESTAMPNS_OLD = 0x21
|
SO_TIMESTAMPNS_OLD = 0x21
|
||||||
SO_TIMESTAMP_NEW = 0x46
|
SO_TIMESTAMP_NEW = 0x46
|
||||||
|
SO_TXREHASH = 0x53
|
||||||
SO_TXTIME = 0x3f
|
SO_TXTIME = 0x3f
|
||||||
SO_TYPE = 0x1008
|
SO_TYPE = 0x1008
|
||||||
SO_WIFI_STATUS = 0x25
|
SO_WIFI_STATUS = 0x25
|
||||||
|
|
|
@ -83,31 +83,6 @@ func Fchown(fd int, uid int, gid 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 Fstat(fd int, stat *Stat_t) (err error) {
|
|
||||||
_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
||||||
var _p0 *byte
|
|
||||||
_p0, err = BytePtrFromString(path)
|
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
_, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func Fstatfs(fd int, buf *Statfs_t) (err error) {
|
func Fstatfs(fd int, buf *Statfs_t) (err error) {
|
||||||
_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
|
_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
|
@ -180,6 +180,17 @@ func Listen(s 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 MemfdSecret(flags int) (fd int, err error) {
|
||||||
|
r0, _, e1 := Syscall(SYS_MEMFD_SECRET, uintptr(flags), 0, 0)
|
||||||
|
fd = int(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func pread(fd int, p []byte, offset int64) (n int, err error) {
|
func pread(fd int, p []byte, offset int64) (n int, err error) {
|
||||||
var _p0 unsafe.Pointer
|
var _p0 unsafe.Pointer
|
||||||
if len(p) > 0 {
|
if len(p) > 0 {
|
||||||
|
|
|
@ -85,8 +85,6 @@ const (
|
||||||
SYS_SPLICE = 76
|
SYS_SPLICE = 76
|
||||||
SYS_TEE = 77
|
SYS_TEE = 77
|
||||||
SYS_READLINKAT = 78
|
SYS_READLINKAT = 78
|
||||||
SYS_FSTATAT = 79
|
|
||||||
SYS_FSTAT = 80
|
|
||||||
SYS_SYNC = 81
|
SYS_SYNC = 81
|
||||||
SYS_FSYNC = 82
|
SYS_FSYNC = 82
|
||||||
SYS_FDATASYNC = 83
|
SYS_FDATASYNC = 83
|
||||||
|
|
|
@ -309,6 +309,7 @@ const (
|
||||||
SYS_LANDLOCK_CREATE_RULESET = 444
|
SYS_LANDLOCK_CREATE_RULESET = 444
|
||||||
SYS_LANDLOCK_ADD_RULE = 445
|
SYS_LANDLOCK_ADD_RULE = 445
|
||||||
SYS_LANDLOCK_RESTRICT_SELF = 446
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
||||||
|
SYS_MEMFD_SECRET = 447
|
||||||
SYS_PROCESS_MRELEASE = 448
|
SYS_PROCESS_MRELEASE = 448
|
||||||
SYS_FUTEX_WAITV = 449
|
SYS_FUTEX_WAITV = 449
|
||||||
SYS_SET_MEMPOLICY_HOME_NODE = 450
|
SYS_SET_MEMPOLICY_HOME_NODE = 450
|
||||||
|
|
|
@ -366,6 +366,32 @@ type ICMPv6Filter struct {
|
||||||
Filt [8]uint32
|
Filt [8]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TCPConnectionInfo struct {
|
||||||
|
State uint8
|
||||||
|
Snd_wscale uint8
|
||||||
|
Rcv_wscale uint8
|
||||||
|
_ uint8
|
||||||
|
Options uint32
|
||||||
|
Flags uint32
|
||||||
|
Rto uint32
|
||||||
|
Maxseg uint32
|
||||||
|
Snd_ssthresh uint32
|
||||||
|
Snd_cwnd uint32
|
||||||
|
Snd_wnd uint32
|
||||||
|
Snd_sbbytes uint32
|
||||||
|
Rcv_wnd uint32
|
||||||
|
Rttcur uint32
|
||||||
|
Srtt uint32
|
||||||
|
Rttvar uint32
|
||||||
|
Txpackets uint64
|
||||||
|
Txbytes uint64
|
||||||
|
Txretransmitbytes uint64
|
||||||
|
Rxpackets uint64
|
||||||
|
Rxbytes uint64
|
||||||
|
Rxoutoforderbytes uint64
|
||||||
|
Txretransmitpackets uint64
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrInet4 = 0x10
|
SizeofSockaddrInet4 = 0x10
|
||||||
SizeofSockaddrInet6 = 0x1c
|
SizeofSockaddrInet6 = 0x1c
|
||||||
|
@ -390,6 +416,7 @@ const (
|
||||||
SizeofInet6Pktinfo = 0x14
|
SizeofInet6Pktinfo = 0x14
|
||||||
SizeofIPv6MTUInfo = 0x20
|
SizeofIPv6MTUInfo = 0x20
|
||||||
SizeofICMPv6Filter = 0x20
|
SizeofICMPv6Filter = 0x20
|
||||||
|
SizeofTCPConnectionInfo = 0x70
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -366,6 +366,32 @@ type ICMPv6Filter struct {
|
||||||
Filt [8]uint32
|
Filt [8]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TCPConnectionInfo struct {
|
||||||
|
State uint8
|
||||||
|
Snd_wscale uint8
|
||||||
|
Rcv_wscale uint8
|
||||||
|
_ uint8
|
||||||
|
Options uint32
|
||||||
|
Flags uint32
|
||||||
|
Rto uint32
|
||||||
|
Maxseg uint32
|
||||||
|
Snd_ssthresh uint32
|
||||||
|
Snd_cwnd uint32
|
||||||
|
Snd_wnd uint32
|
||||||
|
Snd_sbbytes uint32
|
||||||
|
Rcv_wnd uint32
|
||||||
|
Rttcur uint32
|
||||||
|
Srtt uint32
|
||||||
|
Rttvar uint32
|
||||||
|
Txpackets uint64
|
||||||
|
Txbytes uint64
|
||||||
|
Txretransmitbytes uint64
|
||||||
|
Rxpackets uint64
|
||||||
|
Rxbytes uint64
|
||||||
|
Rxoutoforderbytes uint64
|
||||||
|
Txretransmitpackets uint64
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrInet4 = 0x10
|
SizeofSockaddrInet4 = 0x10
|
||||||
SizeofSockaddrInet6 = 0x1c
|
SizeofSockaddrInet6 = 0x1c
|
||||||
|
@ -390,6 +416,7 @@ const (
|
||||||
SizeofInet6Pktinfo = 0x14
|
SizeofInet6Pktinfo = 0x14
|
||||||
SizeofIPv6MTUInfo = 0x20
|
SizeofIPv6MTUInfo = 0x20
|
||||||
SizeofICMPv6Filter = 0x20
|
SizeofICMPv6Filter = 0x20
|
||||||
|
SizeofTCPConnectionInfo = 0x70
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -1127,7 +1127,9 @@ const (
|
||||||
PERF_BR_SYSRET = 0x8
|
PERF_BR_SYSRET = 0x8
|
||||||
PERF_BR_COND_CALL = 0x9
|
PERF_BR_COND_CALL = 0x9
|
||||||
PERF_BR_COND_RET = 0xa
|
PERF_BR_COND_RET = 0xa
|
||||||
PERF_BR_MAX = 0xb
|
PERF_BR_ERET = 0xb
|
||||||
|
PERF_BR_IRQ = 0xc
|
||||||
|
PERF_BR_MAX = 0xd
|
||||||
PERF_SAMPLE_REGS_ABI_NONE = 0x0
|
PERF_SAMPLE_REGS_ABI_NONE = 0x0
|
||||||
PERF_SAMPLE_REGS_ABI_32 = 0x1
|
PERF_SAMPLE_REGS_ABI_32 = 0x1
|
||||||
PERF_SAMPLE_REGS_ABI_64 = 0x2
|
PERF_SAMPLE_REGS_ABI_64 = 0x2
|
||||||
|
@ -2969,7 +2971,7 @@ const (
|
||||||
DEVLINK_CMD_TRAP_POLICER_NEW = 0x47
|
DEVLINK_CMD_TRAP_POLICER_NEW = 0x47
|
||||||
DEVLINK_CMD_TRAP_POLICER_DEL = 0x48
|
DEVLINK_CMD_TRAP_POLICER_DEL = 0x48
|
||||||
DEVLINK_CMD_HEALTH_REPORTER_TEST = 0x49
|
DEVLINK_CMD_HEALTH_REPORTER_TEST = 0x49
|
||||||
DEVLINK_CMD_MAX = 0x4d
|
DEVLINK_CMD_MAX = 0x51
|
||||||
DEVLINK_PORT_TYPE_NOTSET = 0x0
|
DEVLINK_PORT_TYPE_NOTSET = 0x0
|
||||||
DEVLINK_PORT_TYPE_AUTO = 0x1
|
DEVLINK_PORT_TYPE_AUTO = 0x1
|
||||||
DEVLINK_PORT_TYPE_ETH = 0x2
|
DEVLINK_PORT_TYPE_ETH = 0x2
|
||||||
|
@ -3198,7 +3200,7 @@ const (
|
||||||
DEVLINK_ATTR_RATE_NODE_NAME = 0xa8
|
DEVLINK_ATTR_RATE_NODE_NAME = 0xa8
|
||||||
DEVLINK_ATTR_RATE_PARENT_NODE_NAME = 0xa9
|
DEVLINK_ATTR_RATE_PARENT_NODE_NAME = 0xa9
|
||||||
DEVLINK_ATTR_REGION_MAX_SNAPSHOTS = 0xaa
|
DEVLINK_ATTR_REGION_MAX_SNAPSHOTS = 0xaa
|
||||||
DEVLINK_ATTR_MAX = 0xaa
|
DEVLINK_ATTR_MAX = 0xae
|
||||||
DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0
|
DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0
|
||||||
DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1
|
DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1
|
||||||
DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0
|
DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0
|
||||||
|
@ -3638,7 +3640,11 @@ const (
|
||||||
ETHTOOL_A_RINGS_RX_MINI = 0x7
|
ETHTOOL_A_RINGS_RX_MINI = 0x7
|
||||||
ETHTOOL_A_RINGS_RX_JUMBO = 0x8
|
ETHTOOL_A_RINGS_RX_JUMBO = 0x8
|
||||||
ETHTOOL_A_RINGS_TX = 0x9
|
ETHTOOL_A_RINGS_TX = 0x9
|
||||||
ETHTOOL_A_RINGS_MAX = 0xa
|
ETHTOOL_A_RINGS_RX_BUF_LEN = 0xa
|
||||||
|
ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 0xb
|
||||||
|
ETHTOOL_A_RINGS_CQE_SIZE = 0xc
|
||||||
|
ETHTOOL_A_RINGS_TX_PUSH = 0xd
|
||||||
|
ETHTOOL_A_RINGS_MAX = 0xd
|
||||||
ETHTOOL_A_CHANNELS_UNSPEC = 0x0
|
ETHTOOL_A_CHANNELS_UNSPEC = 0x0
|
||||||
ETHTOOL_A_CHANNELS_HEADER = 0x1
|
ETHTOOL_A_CHANNELS_HEADER = 0x1
|
||||||
ETHTOOL_A_CHANNELS_RX_MAX = 0x2
|
ETHTOOL_A_CHANNELS_RX_MAX = 0x2
|
||||||
|
@ -4323,7 +4329,7 @@ const (
|
||||||
NL80211_ATTR_MAC_HINT = 0xc8
|
NL80211_ATTR_MAC_HINT = 0xc8
|
||||||
NL80211_ATTR_MAC_MASK = 0xd7
|
NL80211_ATTR_MAC_MASK = 0xd7
|
||||||
NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca
|
NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca
|
||||||
NL80211_ATTR_MAX = 0x135
|
NL80211_ATTR_MAX = 0x137
|
||||||
NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4
|
NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4
|
||||||
NL80211_ATTR_MAX_CSA_COUNTERS = 0xce
|
NL80211_ATTR_MAX_CSA_COUNTERS = 0xce
|
||||||
NL80211_ATTR_MAX_MATCH_SETS = 0x85
|
NL80211_ATTR_MAX_MATCH_SETS = 0x85
|
||||||
|
@ -4549,7 +4555,7 @@ const (
|
||||||
NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 0x3
|
NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 0x3
|
||||||
NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 0x5
|
NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 0x5
|
||||||
NL80211_BAND_IFTYPE_ATTR_IFTYPES = 0x1
|
NL80211_BAND_IFTYPE_ATTR_IFTYPES = 0x1
|
||||||
NL80211_BAND_IFTYPE_ATTR_MAX = 0x7
|
NL80211_BAND_IFTYPE_ATTR_MAX = 0xb
|
||||||
NL80211_BAND_S1GHZ = 0x4
|
NL80211_BAND_S1GHZ = 0x4
|
||||||
NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 0x2
|
NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 0x2
|
||||||
NL80211_BITRATE_ATTR_MAX = 0x2
|
NL80211_BITRATE_ATTR_MAX = 0x2
|
||||||
|
@ -4887,7 +4893,7 @@ const (
|
||||||
NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf
|
NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf
|
||||||
NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe
|
NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe
|
||||||
NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf
|
NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf
|
||||||
NL80211_FREQUENCY_ATTR_MAX = 0x19
|
NL80211_FREQUENCY_ATTR_MAX = 0x1b
|
||||||
NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6
|
NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6
|
||||||
NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11
|
NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11
|
||||||
NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc
|
NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc
|
||||||
|
@ -5254,7 +5260,7 @@ const (
|
||||||
NL80211_RATE_INFO_HE_RU_ALLOC_52 = 0x1
|
NL80211_RATE_INFO_HE_RU_ALLOC_52 = 0x1
|
||||||
NL80211_RATE_INFO_HE_RU_ALLOC_996 = 0x5
|
NL80211_RATE_INFO_HE_RU_ALLOC_996 = 0x5
|
||||||
NL80211_RATE_INFO_HE_RU_ALLOC = 0x11
|
NL80211_RATE_INFO_HE_RU_ALLOC = 0x11
|
||||||
NL80211_RATE_INFO_MAX = 0x11
|
NL80211_RATE_INFO_MAX = 0x16
|
||||||
NL80211_RATE_INFO_MCS = 0x2
|
NL80211_RATE_INFO_MCS = 0x2
|
||||||
NL80211_RATE_INFO_SHORT_GI = 0x4
|
NL80211_RATE_INFO_SHORT_GI = 0x4
|
||||||
NL80211_RATE_INFO_VHT_MCS = 0x6
|
NL80211_RATE_INFO_VHT_MCS = 0x6
|
||||||
|
|
|
@ -324,6 +324,13 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
_ [4]byte
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint32
|
type cpuMask uint32
|
||||||
|
|
|
@ -338,6 +338,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -315,6 +315,13 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
_ [4]byte
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint32
|
type cpuMask uint32
|
||||||
|
|
|
@ -317,6 +317,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -318,6 +318,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -320,6 +320,13 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
_ [4]byte
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint32
|
type cpuMask uint32
|
||||||
|
|
|
@ -320,6 +320,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -320,6 +320,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -320,6 +320,13 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
_ [4]byte
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint32
|
type cpuMask uint32
|
||||||
|
|
|
@ -327,6 +327,13 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
_ [4]byte
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint32
|
type cpuMask uint32
|
||||||
|
|
|
@ -327,6 +327,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -327,6 +327,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -345,6 +345,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -340,6 +340,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -322,6 +322,12 @@ type Taskstats struct {
|
||||||
Ac_btime64 uint64
|
Ac_btime64 uint64
|
||||||
Compact_count uint64
|
Compact_count uint64
|
||||||
Compact_delay_total uint64
|
Compact_delay_total uint64
|
||||||
|
Ac_tgid uint32
|
||||||
|
Ac_tgetime uint64
|
||||||
|
Ac_exe_dev uint64
|
||||||
|
Ac_exe_inode uint64
|
||||||
|
Wpcopy_count uint64
|
||||||
|
Wpcopy_delay_total uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
type cpuMask uint64
|
type cpuMask uint64
|
||||||
|
|
|
@ -167,7 +167,9 @@ more:
|
||||||
format++
|
format++
|
||||||
var arg uint64
|
var arg uint64
|
||||||
switch mod {
|
switch mod {
|
||||||
case modNone, modL, modLL, mod64:
|
case modNone:
|
||||||
|
arg = uint64(VaUint32(args))
|
||||||
|
case modL, modLL, mod64:
|
||||||
arg = VaUint64(args)
|
arg = VaUint64(args)
|
||||||
case modH:
|
case modH:
|
||||||
arg = uint64(uint16(VaInt32(args)))
|
arg = uint64(uint16(VaInt32(args)))
|
||||||
|
@ -198,7 +200,9 @@ more:
|
||||||
format++
|
format++
|
||||||
var arg uint64
|
var arg uint64
|
||||||
switch mod {
|
switch mod {
|
||||||
case modNone, modL, modLL, mod64:
|
case modNone:
|
||||||
|
arg = uint64(VaUint32(args))
|
||||||
|
case modL, modLL, mod64:
|
||||||
arg = VaUint64(args)
|
arg = VaUint64(args)
|
||||||
case modH:
|
case modH:
|
||||||
arg = uint64(uint16(VaInt32(args)))
|
arg = uint64(uint16(VaInt32(args)))
|
||||||
|
@ -280,7 +284,9 @@ more:
|
||||||
format++
|
format++
|
||||||
var arg uint64
|
var arg uint64
|
||||||
switch mod {
|
switch mod {
|
||||||
case modNone, modL, modLL, mod64:
|
case modNone:
|
||||||
|
arg = uint64(VaUint32(args))
|
||||||
|
case modL, modLL, mod64:
|
||||||
arg = VaUint64(args)
|
arg = VaUint64(args)
|
||||||
case modH:
|
case modH:
|
||||||
arg = uint64(uint16(VaInt32(args)))
|
arg = uint64(uint16(VaInt32(args)))
|
||||||
|
|
|
@ -71,14 +71,14 @@ github.com/lestrrat-go/blackmagic
|
||||||
# github.com/lestrrat-go/httpcc v1.0.1
|
# github.com/lestrrat-go/httpcc v1.0.1
|
||||||
## explicit; go 1.16
|
## explicit; go 1.16
|
||||||
github.com/lestrrat-go/httpcc
|
github.com/lestrrat-go/httpcc
|
||||||
# github.com/lestrrat-go/httprc v1.0.1
|
# github.com/lestrrat-go/httprc v1.0.2
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
github.com/lestrrat-go/httprc
|
github.com/lestrrat-go/httprc
|
||||||
# github.com/lestrrat-go/iter v1.0.2
|
# github.com/lestrrat-go/iter v1.0.2
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
github.com/lestrrat-go/iter/arrayiter
|
github.com/lestrrat-go/iter/arrayiter
|
||||||
github.com/lestrrat-go/iter/mapiter
|
github.com/lestrrat-go/iter/mapiter
|
||||||
# github.com/lestrrat-go/jwx/v2 v2.0.2
|
# github.com/lestrrat-go/jwx/v2 v2.0.3
|
||||||
## explicit; go 1.16
|
## explicit; go 1.16
|
||||||
github.com/lestrrat-go/jwx/v2
|
github.com/lestrrat-go/jwx/v2
|
||||||
github.com/lestrrat-go/jwx/v2/cert
|
github.com/lestrrat-go/jwx/v2/cert
|
||||||
|
@ -163,7 +163,7 @@ github.com/spf13/viper/internal/encoding/javaproperties
|
||||||
github.com/spf13/viper/internal/encoding/json
|
github.com/spf13/viper/internal/encoding/json
|
||||||
github.com/spf13/viper/internal/encoding/toml
|
github.com/spf13/viper/internal/encoding/toml
|
||||||
github.com/spf13/viper/internal/encoding/yaml
|
github.com/spf13/viper/internal/encoding/yaml
|
||||||
# github.com/stretchr/testify v1.7.2
|
# github.com/stretchr/testify v1.7.4
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
github.com/stretchr/testify/assert
|
github.com/stretchr/testify/assert
|
||||||
# github.com/subosito/gotenv v1.4.0
|
# github.com/subosito/gotenv v1.4.0
|
||||||
|
@ -194,10 +194,10 @@ github.com/valyala/quicktemplate
|
||||||
# go.etcd.io/bbolt v1.3.6
|
# go.etcd.io/bbolt v1.3.6
|
||||||
## explicit; go 1.12
|
## explicit; go 1.12
|
||||||
go.etcd.io/bbolt
|
go.etcd.io/bbolt
|
||||||
# go4.org/intern v0.0.0-20220301175310-a089fc204883
|
# go4.org/intern v0.0.0-20220617035311-6925f38cc365
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
go4.org/intern
|
go4.org/intern
|
||||||
# go4.org/unsafe/assume-no-moving-gc v0.0.0-20211027215541-db492cf91b37
|
# go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760
|
||||||
## explicit; go 1.11
|
## explicit; go 1.11
|
||||||
go4.org/unsafe/assume-no-moving-gc
|
go4.org/unsafe/assume-no-moving-gc
|
||||||
# golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
|
# golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
|
||||||
|
@ -209,11 +209,11 @@ golang.org/x/crypto/pbkdf2
|
||||||
# golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
|
# golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/mod/semver
|
golang.org/x/mod/semver
|
||||||
# golang.org/x/net v0.0.0-20220607020251-c690dde0001d
|
# golang.org/x/net v0.0.0-20220621193019-9d032be2e588
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/net/html
|
golang.org/x/net/html
|
||||||
golang.org/x/net/html/atom
|
golang.org/x/net/html/atom
|
||||||
# golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68
|
# golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/sys/execabs
|
golang.org/x/sys/execabs
|
||||||
golang.org/x/sys/internal/unsafeheader
|
golang.org/x/sys/internal/unsafeheader
|
||||||
|
@ -261,7 +261,7 @@ gopkg.in/yaml.v2
|
||||||
# gopkg.in/yaml.v3 v3.0.1
|
# gopkg.in/yaml.v3 v3.0.1
|
||||||
## explicit
|
## explicit
|
||||||
gopkg.in/yaml.v3
|
gopkg.in/yaml.v3
|
||||||
# inet.af/netaddr v0.0.0-20211027220019-c74959edd3b6
|
# inet.af/netaddr v0.0.0-20220617031823-097006376321
|
||||||
## explicit; go 1.12
|
## explicit; go 1.12
|
||||||
inet.af/netaddr
|
inet.af/netaddr
|
||||||
# lukechampine.com/uint128 v1.2.0
|
# lukechampine.com/uint128 v1.2.0
|
||||||
|
@ -273,7 +273,7 @@ modernc.org/cc/v3
|
||||||
# modernc.org/ccgo/v3 v3.16.6
|
# modernc.org/ccgo/v3 v3.16.6
|
||||||
## explicit; go 1.16
|
## explicit; go 1.16
|
||||||
modernc.org/ccgo/v3/lib
|
modernc.org/ccgo/v3/lib
|
||||||
# modernc.org/libc v1.16.8
|
# modernc.org/libc v1.16.10
|
||||||
## explicit; go 1.16
|
## explicit; go 1.16
|
||||||
modernc.org/libc
|
modernc.org/libc
|
||||||
modernc.org/libc/errno
|
modernc.org/libc/errno
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
"redirect_uri": p.Client.RedirectURI[0].String(),
|
"redirect_uri": p.Client.RedirectURI[0].String(),
|
||||||
"response_type": domain.ResponseTypeCode.String(),
|
"response_type": domain.ResponseTypeCode.String(),
|
||||||
"state": p.State,
|
"state": p.State,
|
||||||
"scope": domain.Scopes{domain.ScopeProfile, domain.ScopeEmail}.String(),
|
|
||||||
} %}
|
} %}
|
||||||
<input
|
<input
|
||||||
type="hidden"
|
type="hidden"
|
||||||
|
@ -58,6 +57,16 @@
|
||||||
value="{%s value %}">
|
value="{%s value %}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for _, scope := domain.Scopes{
|
||||||
|
domain.ScopeProfile,
|
||||||
|
domain.ScopeEmail,
|
||||||
|
} %}
|
||||||
|
<input
|
||||||
|
type="hidden"
|
||||||
|
name="scope[]"
|
||||||
|
value="{%s scope.String() %}">
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="url"
|
type="url"
|
||||||
name="me"
|
name="me"
|
||||||
|
|
Loading…
Reference in New Issue