mirror of https://github.com/docker/cli.git
Merge pull request #4604 from thaJeztah/x_net_17
vendor: golang.org/x/net v0.17.0
This commit is contained in:
commit
8890a38d42
10
vendor.mod
10
vendor.mod
|
@ -39,9 +39,9 @@ require (
|
||||||
github.com/tonistiigi/go-rosetta v0.0.0-20200727161949-f79598599c5d
|
github.com/tonistiigi/go-rosetta v0.0.0-20200727161949-f79598599c5d
|
||||||
github.com/xeipuuv/gojsonschema v1.2.0
|
github.com/xeipuuv/gojsonschema v1.2.0
|
||||||
golang.org/x/sync v0.3.0
|
golang.org/x/sync v0.3.0
|
||||||
golang.org/x/sys v0.10.0
|
golang.org/x/sys v0.13.0
|
||||||
golang.org/x/term v0.8.0
|
golang.org/x/term v0.13.0
|
||||||
golang.org/x/text v0.9.0
|
golang.org/x/text v0.13.0
|
||||||
gopkg.in/yaml.v2 v2.4.0
|
gopkg.in/yaml.v2 v2.4.0
|
||||||
gotest.tools/v3 v3.5.0
|
gotest.tools/v3 v3.5.0
|
||||||
)
|
)
|
||||||
|
@ -79,9 +79,9 @@ require (
|
||||||
go.opentelemetry.io/otel/internal/metric v0.27.0 // indirect
|
go.opentelemetry.io/otel/internal/metric v0.27.0 // indirect
|
||||||
go.opentelemetry.io/otel/metric v0.27.0 // indirect
|
go.opentelemetry.io/otel/metric v0.27.0 // indirect
|
||||||
go.opentelemetry.io/otel/trace v1.4.1 // indirect
|
go.opentelemetry.io/otel/trace v1.4.1 // indirect
|
||||||
golang.org/x/crypto v0.9.0 // indirect
|
golang.org/x/crypto v0.14.0 // indirect
|
||||||
golang.org/x/mod v0.10.0 // indirect
|
golang.org/x/mod v0.10.0 // indirect
|
||||||
golang.org/x/net v0.10.0 // indirect
|
golang.org/x/net v0.17.0 // indirect
|
||||||
golang.org/x/time v0.3.0 // indirect
|
golang.org/x/time v0.3.0 // indirect
|
||||||
golang.org/x/tools v0.8.0 // indirect
|
golang.org/x/tools v0.8.0 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
|
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
|
||||||
|
|
20
vendor.sum
20
vendor.sum
|
@ -297,8 +297,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U
|
||||||
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||||
golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
|
golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
|
||||||
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
|
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
|
||||||
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
|
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
|
||||||
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
|
golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
|
||||||
|
@ -310,8 +310,8 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
||||||
golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
|
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
|
||||||
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
|
||||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/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-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
|
@ -333,15 +333,15 @@ golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||||
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
|
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
|
||||||
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||||
golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols=
|
golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek=
|
||||||
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
|
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
|
||||||
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=
|
||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
|
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
|
||||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||||
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
|
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
|
||||||
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
#
|
|
||||||
# This Dockerfile builds a recent curl with HTTP/2 client support, using
|
|
||||||
# a recent nghttp2 build.
|
|
||||||
#
|
|
||||||
# See the Makefile for how to tag it. If Docker and that image is found, the
|
|
||||||
# Go tests use this curl binary for integration tests.
|
|
||||||
#
|
|
||||||
|
|
||||||
FROM ubuntu:trusty
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get upgrade -y && \
|
|
||||||
apt-get install -y git-core build-essential wget
|
|
||||||
|
|
||||||
RUN apt-get install -y --no-install-recommends \
|
|
||||||
autotools-dev libtool pkg-config zlib1g-dev \
|
|
||||||
libcunit1-dev libssl-dev libxml2-dev libevent-dev \
|
|
||||||
automake autoconf
|
|
||||||
|
|
||||||
# The list of packages nghttp2 recommends for h2load:
|
|
||||||
RUN apt-get install -y --no-install-recommends make binutils \
|
|
||||||
autoconf automake autotools-dev \
|
|
||||||
libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev \
|
|
||||||
libev-dev libevent-dev libjansson-dev libjemalloc-dev \
|
|
||||||
cython python3.4-dev python-setuptools
|
|
||||||
|
|
||||||
# Note: setting NGHTTP2_VER before the git clone, so an old git clone isn't cached:
|
|
||||||
ENV NGHTTP2_VER 895da9a
|
|
||||||
RUN cd /root && git clone https://github.com/tatsuhiro-t/nghttp2.git
|
|
||||||
|
|
||||||
WORKDIR /root/nghttp2
|
|
||||||
RUN git reset --hard $NGHTTP2_VER
|
|
||||||
RUN autoreconf -i
|
|
||||||
RUN automake
|
|
||||||
RUN autoconf
|
|
||||||
RUN ./configure
|
|
||||||
RUN make
|
|
||||||
RUN make install
|
|
||||||
|
|
||||||
WORKDIR /root
|
|
||||||
RUN wget https://curl.se/download/curl-7.45.0.tar.gz
|
|
||||||
RUN tar -zxvf curl-7.45.0.tar.gz
|
|
||||||
WORKDIR /root/curl-7.45.0
|
|
||||||
RUN ./configure --with-ssl --with-nghttp2=/usr/local
|
|
||||||
RUN make
|
|
||||||
RUN make install
|
|
||||||
RUN ldconfig
|
|
||||||
|
|
||||||
CMD ["-h"]
|
|
||||||
ENTRYPOINT ["/usr/local/bin/curl"]
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
curlimage:
|
|
||||||
docker build -t gohttp2/curl .
|
|
||||||
|
|
|
@ -441,7 +441,7 @@ func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) {
|
||||||
if s.NewWriteScheduler != nil {
|
if s.NewWriteScheduler != nil {
|
||||||
sc.writeSched = s.NewWriteScheduler()
|
sc.writeSched = s.NewWriteScheduler()
|
||||||
} else {
|
} else {
|
||||||
sc.writeSched = NewPriorityWriteScheduler(nil)
|
sc.writeSched = newRoundRobinWriteScheduler()
|
||||||
}
|
}
|
||||||
|
|
||||||
// These start at the RFC-specified defaults. If there is a higher
|
// These start at the RFC-specified defaults. If there is a higher
|
||||||
|
@ -581,9 +581,11 @@ type serverConn struct {
|
||||||
advMaxStreams uint32 // our SETTINGS_MAX_CONCURRENT_STREAMS advertised the client
|
advMaxStreams uint32 // our SETTINGS_MAX_CONCURRENT_STREAMS advertised the client
|
||||||
curClientStreams uint32 // number of open streams initiated by the client
|
curClientStreams uint32 // number of open streams initiated by the client
|
||||||
curPushedStreams uint32 // number of open streams initiated by server push
|
curPushedStreams uint32 // number of open streams initiated by server push
|
||||||
|
curHandlers uint32 // number of running handler goroutines
|
||||||
maxClientStreamID uint32 // max ever seen from client (odd), or 0 if there have been no client requests
|
maxClientStreamID uint32 // max ever seen from client (odd), or 0 if there have been no client requests
|
||||||
maxPushPromiseID uint32 // ID of the last push promise (even), or 0 if there have been no pushes
|
maxPushPromiseID uint32 // ID of the last push promise (even), or 0 if there have been no pushes
|
||||||
streams map[uint32]*stream
|
streams map[uint32]*stream
|
||||||
|
unstartedHandlers []unstartedHandler
|
||||||
initialStreamSendWindowSize int32
|
initialStreamSendWindowSize int32
|
||||||
maxFrameSize int32
|
maxFrameSize int32
|
||||||
peerMaxHeaderListSize uint32 // zero means unknown (default)
|
peerMaxHeaderListSize uint32 // zero means unknown (default)
|
||||||
|
@ -981,6 +983,8 @@ func (sc *serverConn) serve() {
|
||||||
return
|
return
|
||||||
case gracefulShutdownMsg:
|
case gracefulShutdownMsg:
|
||||||
sc.startGracefulShutdownInternal()
|
sc.startGracefulShutdownInternal()
|
||||||
|
case handlerDoneMsg:
|
||||||
|
sc.handlerDone()
|
||||||
default:
|
default:
|
||||||
panic("unknown timer")
|
panic("unknown timer")
|
||||||
}
|
}
|
||||||
|
@ -1012,14 +1016,6 @@ func (sc *serverConn) serve() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sc *serverConn) awaitGracefulShutdown(sharedCh <-chan struct{}, privateCh chan struct{}) {
|
|
||||||
select {
|
|
||||||
case <-sc.doneServing:
|
|
||||||
case <-sharedCh:
|
|
||||||
close(privateCh)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
type serverMessage int
|
type serverMessage int
|
||||||
|
|
||||||
// Message values sent to serveMsgCh.
|
// Message values sent to serveMsgCh.
|
||||||
|
@ -1028,6 +1024,7 @@ var (
|
||||||
idleTimerMsg = new(serverMessage)
|
idleTimerMsg = new(serverMessage)
|
||||||
shutdownTimerMsg = new(serverMessage)
|
shutdownTimerMsg = new(serverMessage)
|
||||||
gracefulShutdownMsg = new(serverMessage)
|
gracefulShutdownMsg = new(serverMessage)
|
||||||
|
handlerDoneMsg = new(serverMessage)
|
||||||
)
|
)
|
||||||
|
|
||||||
func (sc *serverConn) onSettingsTimer() { sc.sendServeMsg(settingsTimerMsg) }
|
func (sc *serverConn) onSettingsTimer() { sc.sendServeMsg(settingsTimerMsg) }
|
||||||
|
@ -1900,9 +1897,11 @@ func (st *stream) copyTrailersToHandlerRequest() {
|
||||||
// onReadTimeout is run on its own goroutine (from time.AfterFunc)
|
// onReadTimeout is run on its own goroutine (from time.AfterFunc)
|
||||||
// when the stream's ReadTimeout has fired.
|
// when the stream's ReadTimeout has fired.
|
||||||
func (st *stream) onReadTimeout() {
|
func (st *stream) onReadTimeout() {
|
||||||
// Wrap the ErrDeadlineExceeded to avoid callers depending on us
|
if st.body != nil {
|
||||||
// returning the bare error.
|
// Wrap the ErrDeadlineExceeded to avoid callers depending on us
|
||||||
st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
|
// returning the bare error.
|
||||||
|
st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// onWriteTimeout is run on its own goroutine (from time.AfterFunc)
|
// onWriteTimeout is run on its own goroutine (from time.AfterFunc)
|
||||||
|
@ -2020,13 +2019,10 @@ func (sc *serverConn) processHeaders(f *MetaHeadersFrame) error {
|
||||||
// (in Go 1.8), though. That's a more sane option anyway.
|
// (in Go 1.8), though. That's a more sane option anyway.
|
||||||
if sc.hs.ReadTimeout != 0 {
|
if sc.hs.ReadTimeout != 0 {
|
||||||
sc.conn.SetReadDeadline(time.Time{})
|
sc.conn.SetReadDeadline(time.Time{})
|
||||||
if st.body != nil {
|
st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout)
|
||||||
st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
go sc.runHandler(rw, req, handler)
|
return sc.scheduleHandler(id, rw, req, handler)
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sc *serverConn) upgradeRequest(req *http.Request) {
|
func (sc *serverConn) upgradeRequest(req *http.Request) {
|
||||||
|
@ -2046,6 +2042,10 @@ func (sc *serverConn) upgradeRequest(req *http.Request) {
|
||||||
sc.conn.SetReadDeadline(time.Time{})
|
sc.conn.SetReadDeadline(time.Time{})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is the first request on the connection,
|
||||||
|
// so start the handler directly rather than going
|
||||||
|
// through scheduleHandler.
|
||||||
|
sc.curHandlers++
|
||||||
go sc.runHandler(rw, req, sc.handler.ServeHTTP)
|
go sc.runHandler(rw, req, sc.handler.ServeHTTP)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2286,8 +2286,62 @@ func (sc *serverConn) newResponseWriter(st *stream, req *http.Request) *response
|
||||||
return &responseWriter{rws: rws}
|
return &responseWriter{rws: rws}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type unstartedHandler struct {
|
||||||
|
streamID uint32
|
||||||
|
rw *responseWriter
|
||||||
|
req *http.Request
|
||||||
|
handler func(http.ResponseWriter, *http.Request)
|
||||||
|
}
|
||||||
|
|
||||||
|
// scheduleHandler starts a handler goroutine,
|
||||||
|
// or schedules one to start as soon as an existing handler finishes.
|
||||||
|
func (sc *serverConn) scheduleHandler(streamID uint32, rw *responseWriter, req *http.Request, handler func(http.ResponseWriter, *http.Request)) error {
|
||||||
|
sc.serveG.check()
|
||||||
|
maxHandlers := sc.advMaxStreams
|
||||||
|
if sc.curHandlers < maxHandlers {
|
||||||
|
sc.curHandlers++
|
||||||
|
go sc.runHandler(rw, req, handler)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
if len(sc.unstartedHandlers) > int(4*sc.advMaxStreams) {
|
||||||
|
return sc.countError("too_many_early_resets", ConnectionError(ErrCodeEnhanceYourCalm))
|
||||||
|
}
|
||||||
|
sc.unstartedHandlers = append(sc.unstartedHandlers, unstartedHandler{
|
||||||
|
streamID: streamID,
|
||||||
|
rw: rw,
|
||||||
|
req: req,
|
||||||
|
handler: handler,
|
||||||
|
})
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (sc *serverConn) handlerDone() {
|
||||||
|
sc.serveG.check()
|
||||||
|
sc.curHandlers--
|
||||||
|
i := 0
|
||||||
|
maxHandlers := sc.advMaxStreams
|
||||||
|
for ; i < len(sc.unstartedHandlers); i++ {
|
||||||
|
u := sc.unstartedHandlers[i]
|
||||||
|
if sc.streams[u.streamID] == nil {
|
||||||
|
// This stream was reset before its goroutine had a chance to start.
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
if sc.curHandlers >= maxHandlers {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
sc.curHandlers++
|
||||||
|
go sc.runHandler(u.rw, u.req, u.handler)
|
||||||
|
sc.unstartedHandlers[i] = unstartedHandler{} // don't retain references
|
||||||
|
}
|
||||||
|
sc.unstartedHandlers = sc.unstartedHandlers[i:]
|
||||||
|
if len(sc.unstartedHandlers) == 0 {
|
||||||
|
sc.unstartedHandlers = nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Run on its own goroutine.
|
// Run on its own goroutine.
|
||||||
func (sc *serverConn) runHandler(rw *responseWriter, req *http.Request, handler func(http.ResponseWriter, *http.Request)) {
|
func (sc *serverConn) runHandler(rw *responseWriter, req *http.Request, handler func(http.ResponseWriter, *http.Request)) {
|
||||||
|
defer sc.sendServeMsg(handlerDoneMsg)
|
||||||
didPanic := true
|
didPanic := true
|
||||||
defer func() {
|
defer func() {
|
||||||
rw.rws.stream.cancelCtx()
|
rw.rws.stream.cancelCtx()
|
||||||
|
@ -2429,7 +2483,7 @@ type requestBody struct {
|
||||||
conn *serverConn
|
conn *serverConn
|
||||||
closeOnce sync.Once // for use by Close only
|
closeOnce sync.Once // for use by Close only
|
||||||
sawEOF bool // for use by Read only
|
sawEOF bool // for use by Read only
|
||||||
pipe *pipe // non-nil if we have a HTTP entity message body
|
pipe *pipe // non-nil if we have an HTTP entity message body
|
||||||
needsContinue bool // need to send a 100-continue
|
needsContinue bool // need to send a 100-continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2569,7 +2623,8 @@ func (rws *responseWriterState) writeChunk(p []byte) (n int, err error) {
|
||||||
clen = ""
|
clen = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if clen == "" && rws.handlerDone && bodyAllowedForStatus(rws.status) && (len(p) > 0 || !isHeadResp) {
|
_, hasContentLength := rws.snapHeader["Content-Length"]
|
||||||
|
if !hasContentLength && clen == "" && rws.handlerDone && bodyAllowedForStatus(rws.status) && (len(p) > 0 || !isHeadResp) {
|
||||||
clen = strconv.Itoa(len(p))
|
clen = strconv.Itoa(len(p))
|
||||||
}
|
}
|
||||||
_, hasContentType := rws.snapHeader["Content-Type"]
|
_, hasContentType := rws.snapHeader["Content-Type"]
|
||||||
|
@ -2774,7 +2829,7 @@ func (w *responseWriter) FlushError() error {
|
||||||
err = rws.bw.Flush()
|
err = rws.bw.Flush()
|
||||||
} else {
|
} else {
|
||||||
// The bufio.Writer won't call chunkWriter.Write
|
// The bufio.Writer won't call chunkWriter.Write
|
||||||
// (writeChunk with zero bytes, so we have to do it
|
// (writeChunk with zero bytes), so we have to do it
|
||||||
// ourselves to force the HTTP response header and/or
|
// ourselves to force the HTTP response header and/or
|
||||||
// final DATA frame (with END_STREAM) to be sent.
|
// final DATA frame (with END_STREAM) to be sent.
|
||||||
_, err = chunkWriter{rws}.Write(nil)
|
_, err = chunkWriter{rws}.Write(nil)
|
||||||
|
|
|
@ -19,6 +19,7 @@ import (
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"log"
|
"log"
|
||||||
"math"
|
"math"
|
||||||
|
"math/bits"
|
||||||
mathrand "math/rand"
|
mathrand "math/rand"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
@ -290,8 +291,7 @@ func (t *Transport) initConnPool() {
|
||||||
// HTTP/2 server.
|
// HTTP/2 server.
|
||||||
type ClientConn struct {
|
type ClientConn struct {
|
||||||
t *Transport
|
t *Transport
|
||||||
tconn net.Conn // usually *tls.Conn, except specialized impls
|
tconn net.Conn // usually *tls.Conn, except specialized impls
|
||||||
tconnClosed bool
|
|
||||||
tlsState *tls.ConnectionState // nil only for specialized impls
|
tlsState *tls.ConnectionState // nil only for specialized impls
|
||||||
reused uint32 // whether conn is being reused; atomic
|
reused uint32 // whether conn is being reused; atomic
|
||||||
singleUse bool // whether being used for a single http.Request
|
singleUse bool // whether being used for a single http.Request
|
||||||
|
@ -518,11 +518,14 @@ func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
func authorityAddr(scheme string, authority string) (addr string) {
|
func authorityAddr(scheme string, authority string) (addr string) {
|
||||||
host, port, err := net.SplitHostPort(authority)
|
host, port, err := net.SplitHostPort(authority)
|
||||||
if err != nil { // authority didn't have a port
|
if err != nil { // authority didn't have a port
|
||||||
|
host = authority
|
||||||
|
port = ""
|
||||||
|
}
|
||||||
|
if port == "" { // authority's port was empty
|
||||||
port = "443"
|
port = "443"
|
||||||
if scheme == "http" {
|
if scheme == "http" {
|
||||||
port = "80"
|
port = "80"
|
||||||
}
|
}
|
||||||
host = authority
|
|
||||||
}
|
}
|
||||||
if a, err := idna.ToASCII(host); err == nil {
|
if a, err := idna.ToASCII(host); err == nil {
|
||||||
host = a
|
host = a
|
||||||
|
@ -1268,21 +1271,23 @@ func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
|
|
||||||
cancelRequest := func(cs *clientStream, err error) error {
|
cancelRequest := func(cs *clientStream, err error) error {
|
||||||
cs.cc.mu.Lock()
|
cs.cc.mu.Lock()
|
||||||
defer cs.cc.mu.Unlock()
|
bodyClosed := cs.reqBodyClosed
|
||||||
cs.abortStreamLocked(err)
|
cs.cc.mu.Unlock()
|
||||||
if cs.ID != 0 {
|
// Wait for the request body to be closed.
|
||||||
// This request may have failed because of a problem with the connection,
|
//
|
||||||
// or for some unrelated reason. (For example, the user might have canceled
|
// If nothing closed the body before now, abortStreamLocked
|
||||||
// the request without waiting for a response.) Mark the connection as
|
// will have started a goroutine to close it.
|
||||||
// not reusable, since trying to reuse a dead connection is worse than
|
//
|
||||||
// unnecessarily creating a new one.
|
// Closing the body before returning avoids a race condition
|
||||||
//
|
// with net/http checking its readTrackingBody to see if the
|
||||||
// If cs.ID is 0, then the request was never allocated a stream ID and
|
// body was read from or closed. See golang/go#60041.
|
||||||
// whatever went wrong was unrelated to the connection. We might have
|
//
|
||||||
// timed out waiting for a stream slot when StrictMaxConcurrentStreams
|
// The body is closed in a separate goroutine without the
|
||||||
// is set, for example, in which case retrying on a different connection
|
// connection mutex held, but dropping the mutex before waiting
|
||||||
// will not help.
|
// will keep us from holding it indefinitely if the body
|
||||||
cs.cc.doNotReuse = true
|
// close is slow for some reason.
|
||||||
|
if bodyClosed != nil {
|
||||||
|
<-bodyClosed
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -1301,11 +1306,14 @@ func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
return handleResponseHeaders()
|
return handleResponseHeaders()
|
||||||
default:
|
default:
|
||||||
waitDone()
|
waitDone()
|
||||||
return nil, cancelRequest(cs, cs.abortErr)
|
return nil, cs.abortErr
|
||||||
}
|
}
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
return nil, cancelRequest(cs, ctx.Err())
|
err := ctx.Err()
|
||||||
|
cs.abortStream(err)
|
||||||
|
return nil, cancelRequest(cs, err)
|
||||||
case <-cs.reqCancel:
|
case <-cs.reqCancel:
|
||||||
|
cs.abortStream(errRequestCanceled)
|
||||||
return nil, cancelRequest(cs, errRequestCanceled)
|
return nil, cancelRequest(cs, errRequestCanceled)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1672,7 +1680,27 @@ func (cs *clientStream) frameScratchBufferLen(maxFrameSize int) int {
|
||||||
return int(n) // doesn't truncate; max is 512K
|
return int(n) // doesn't truncate; max is 512K
|
||||||
}
|
}
|
||||||
|
|
||||||
var bufPool sync.Pool // of *[]byte
|
// Seven bufPools manage different frame sizes. This helps to avoid scenarios where long-running
|
||||||
|
// streaming requests using small frame sizes occupy large buffers initially allocated for prior
|
||||||
|
// requests needing big buffers. The size ranges are as follows:
|
||||||
|
// {0 KB, 16 KB], {16 KB, 32 KB], {32 KB, 64 KB], {64 KB, 128 KB], {128 KB, 256 KB],
|
||||||
|
// {256 KB, 512 KB], {512 KB, infinity}
|
||||||
|
// In practice, the maximum scratch buffer size should not exceed 512 KB due to
|
||||||
|
// frameScratchBufferLen(maxFrameSize), thus the "infinity pool" should never be used.
|
||||||
|
// It exists mainly as a safety measure, for potential future increases in max buffer size.
|
||||||
|
var bufPools [7]sync.Pool // of *[]byte
|
||||||
|
func bufPoolIndex(size int) int {
|
||||||
|
if size <= 16384 {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
size -= 1
|
||||||
|
bits := bits.Len(uint(size))
|
||||||
|
index := bits - 14
|
||||||
|
if index >= len(bufPools) {
|
||||||
|
return len(bufPools) - 1
|
||||||
|
}
|
||||||
|
return index
|
||||||
|
}
|
||||||
|
|
||||||
func (cs *clientStream) writeRequestBody(req *http.Request) (err error) {
|
func (cs *clientStream) writeRequestBody(req *http.Request) (err error) {
|
||||||
cc := cs.cc
|
cc := cs.cc
|
||||||
|
@ -1690,12 +1718,13 @@ func (cs *clientStream) writeRequestBody(req *http.Request) (err error) {
|
||||||
// Scratch buffer for reading into & writing from.
|
// Scratch buffer for reading into & writing from.
|
||||||
scratchLen := cs.frameScratchBufferLen(maxFrameSize)
|
scratchLen := cs.frameScratchBufferLen(maxFrameSize)
|
||||||
var buf []byte
|
var buf []byte
|
||||||
if bp, ok := bufPool.Get().(*[]byte); ok && len(*bp) >= scratchLen {
|
index := bufPoolIndex(scratchLen)
|
||||||
defer bufPool.Put(bp)
|
if bp, ok := bufPools[index].Get().(*[]byte); ok && len(*bp) >= scratchLen {
|
||||||
|
defer bufPools[index].Put(bp)
|
||||||
buf = *bp
|
buf = *bp
|
||||||
} else {
|
} else {
|
||||||
buf = make([]byte, scratchLen)
|
buf = make([]byte, scratchLen)
|
||||||
defer bufPool.Put(&buf)
|
defer bufPools[index].Put(&buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
var sawEOF bool
|
var sawEOF bool
|
||||||
|
@ -1863,6 +1892,9 @@ func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trail
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if !httpguts.ValidHostHeader(host) {
|
||||||
|
return nil, errors.New("http2: invalid Host header")
|
||||||
|
}
|
||||||
|
|
||||||
var path string
|
var path string
|
||||||
if req.Method != "CONNECT" {
|
if req.Method != "CONNECT" {
|
||||||
|
@ -1899,7 +1931,7 @@ func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trail
|
||||||
// 8.1.2.3 Request Pseudo-Header Fields
|
// 8.1.2.3 Request Pseudo-Header Fields
|
||||||
// The :path pseudo-header field includes the path and query parts of the
|
// The :path pseudo-header field includes the path and query parts of the
|
||||||
// target URI (the path-absolute production and optionally a '?' character
|
// target URI (the path-absolute production and optionally a '?' character
|
||||||
// followed by the query production (see Sections 3.3 and 3.4 of
|
// followed by the query production, see Sections 3.3 and 3.4 of
|
||||||
// [RFC3986]).
|
// [RFC3986]).
|
||||||
f(":authority", host)
|
f(":authority", host)
|
||||||
m := req.Method
|
m := req.Method
|
||||||
|
|
|
@ -184,7 +184,8 @@ func (wr *FrameWriteRequest) replyToWriter(err error) {
|
||||||
|
|
||||||
// writeQueue is used by implementations of WriteScheduler.
|
// writeQueue is used by implementations of WriteScheduler.
|
||||||
type writeQueue struct {
|
type writeQueue struct {
|
||||||
s []FrameWriteRequest
|
s []FrameWriteRequest
|
||||||
|
prev, next *writeQueue
|
||||||
}
|
}
|
||||||
|
|
||||||
func (q *writeQueue) empty() bool { return len(q.s) == 0 }
|
func (q *writeQueue) empty() bool { return len(q.s) == 0 }
|
||||||
|
|
|
@ -0,0 +1,119 @@
|
||||||
|
// Copyright 2023 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.
|
||||||
|
|
||||||
|
package http2
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"math"
|
||||||
|
)
|
||||||
|
|
||||||
|
type roundRobinWriteScheduler struct {
|
||||||
|
// control contains control frames (SETTINGS, PING, etc.).
|
||||||
|
control writeQueue
|
||||||
|
|
||||||
|
// streams maps stream ID to a queue.
|
||||||
|
streams map[uint32]*writeQueue
|
||||||
|
|
||||||
|
// stream queues are stored in a circular linked list.
|
||||||
|
// head is the next stream to write, or nil if there are no streams open.
|
||||||
|
head *writeQueue
|
||||||
|
|
||||||
|
// pool of empty queues for reuse.
|
||||||
|
queuePool writeQueuePool
|
||||||
|
}
|
||||||
|
|
||||||
|
// newRoundRobinWriteScheduler constructs a new write scheduler.
|
||||||
|
// The round robin scheduler priorizes control frames
|
||||||
|
// like SETTINGS and PING over DATA frames.
|
||||||
|
// When there are no control frames to send, it performs a round-robin
|
||||||
|
// selection from the ready streams.
|
||||||
|
func newRoundRobinWriteScheduler() WriteScheduler {
|
||||||
|
ws := &roundRobinWriteScheduler{
|
||||||
|
streams: make(map[uint32]*writeQueue),
|
||||||
|
}
|
||||||
|
return ws
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ws *roundRobinWriteScheduler) OpenStream(streamID uint32, options OpenStreamOptions) {
|
||||||
|
if ws.streams[streamID] != nil {
|
||||||
|
panic(fmt.Errorf("stream %d already opened", streamID))
|
||||||
|
}
|
||||||
|
q := ws.queuePool.get()
|
||||||
|
ws.streams[streamID] = q
|
||||||
|
if ws.head == nil {
|
||||||
|
ws.head = q
|
||||||
|
q.next = q
|
||||||
|
q.prev = q
|
||||||
|
} else {
|
||||||
|
// Queues are stored in a ring.
|
||||||
|
// Insert the new stream before ws.head, putting it at the end of the list.
|
||||||
|
q.prev = ws.head.prev
|
||||||
|
q.next = ws.head
|
||||||
|
q.prev.next = q
|
||||||
|
q.next.prev = q
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ws *roundRobinWriteScheduler) CloseStream(streamID uint32) {
|
||||||
|
q := ws.streams[streamID]
|
||||||
|
if q == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if q.next == q {
|
||||||
|
// This was the only open stream.
|
||||||
|
ws.head = nil
|
||||||
|
} else {
|
||||||
|
q.prev.next = q.next
|
||||||
|
q.next.prev = q.prev
|
||||||
|
if ws.head == q {
|
||||||
|
ws.head = q.next
|
||||||
|
}
|
||||||
|
}
|
||||||
|
delete(ws.streams, streamID)
|
||||||
|
ws.queuePool.put(q)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ws *roundRobinWriteScheduler) AdjustStream(streamID uint32, priority PriorityParam) {}
|
||||||
|
|
||||||
|
func (ws *roundRobinWriteScheduler) Push(wr FrameWriteRequest) {
|
||||||
|
if wr.isControl() {
|
||||||
|
ws.control.push(wr)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
q := ws.streams[wr.StreamID()]
|
||||||
|
if q == nil {
|
||||||
|
// This is a closed stream.
|
||||||
|
// wr should not be a HEADERS or DATA frame.
|
||||||
|
// We push the request onto the control queue.
|
||||||
|
if wr.DataSize() > 0 {
|
||||||
|
panic("add DATA on non-open stream")
|
||||||
|
}
|
||||||
|
ws.control.push(wr)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
q.push(wr)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (ws *roundRobinWriteScheduler) Pop() (FrameWriteRequest, bool) {
|
||||||
|
// Control and RST_STREAM frames first.
|
||||||
|
if !ws.control.empty() {
|
||||||
|
return ws.control.shift(), true
|
||||||
|
}
|
||||||
|
if ws.head == nil {
|
||||||
|
return FrameWriteRequest{}, false
|
||||||
|
}
|
||||||
|
q := ws.head
|
||||||
|
for {
|
||||||
|
if wr, ok := q.consume(math.MaxInt32); ok {
|
||||||
|
ws.head = q.next
|
||||||
|
return wr, true
|
||||||
|
}
|
||||||
|
q = q.next
|
||||||
|
if q == ws.head {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return FrameWriteRequest{}, false
|
||||||
|
}
|
|
@ -121,7 +121,7 @@ func CheckJoiners(enable bool) Option {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// StrictDomainName limits the set of permissable ASCII characters to those
|
// StrictDomainName limits the set of permissible ASCII characters to those
|
||||||
// allowed in domain names as defined in RFC 1034 (A-Z, a-z, 0-9 and the
|
// allowed in domain names as defined in RFC 1034 (A-Z, a-z, 0-9 and the
|
||||||
// hyphen). This is set by default for MapForLookup and ValidateForRegistration,
|
// hyphen). This is set by default for MapForLookup and ValidateForRegistration,
|
||||||
// but is only useful if ValidateLabels is set.
|
// but is only useful if ValidateLabels is set.
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -6,27 +6,6 @@
|
||||||
|
|
||||||
package idna
|
package idna
|
||||||
|
|
||||||
// appendMapping appends the mapping for the respective rune. isMapped must be
|
|
||||||
// true. A mapping is a categorization of a rune as defined in UTS #46.
|
|
||||||
func (c info) appendMapping(b []byte, s string) []byte {
|
|
||||||
index := int(c >> indexShift)
|
|
||||||
if c&xorBit == 0 {
|
|
||||||
s := mappings[index:]
|
|
||||||
return append(b, s[1:s[0]+1]...)
|
|
||||||
}
|
|
||||||
b = append(b, s...)
|
|
||||||
if c&inlineXOR == inlineXOR {
|
|
||||||
// TODO: support and handle two-byte inline masks
|
|
||||||
b[len(b)-1] ^= byte(index)
|
|
||||||
} else {
|
|
||||||
for p := len(b) - int(xorData[index]); p < len(b); p++ {
|
|
||||||
index++
|
|
||||||
b[p] ^= xorData[index]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sparse block handling code.
|
// Sparse block handling code.
|
||||||
|
|
||||||
type valueRange struct {
|
type valueRange struct {
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
||||||
|
|
||||||
|
// Copyright 2016 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.
|
||||||
|
|
||||||
|
//go:build !go1.16
|
||||||
|
// +build !go1.16
|
||||||
|
|
||||||
|
package idna
|
||||||
|
|
||||||
|
// appendMapping appends the mapping for the respective rune. isMapped must be
|
||||||
|
// true. A mapping is a categorization of a rune as defined in UTS #46.
|
||||||
|
func (c info) appendMapping(b []byte, s string) []byte {
|
||||||
|
index := int(c >> indexShift)
|
||||||
|
if c&xorBit == 0 {
|
||||||
|
s := mappings[index:]
|
||||||
|
return append(b, s[1:s[0]+1]...)
|
||||||
|
}
|
||||||
|
b = append(b, s...)
|
||||||
|
if c&inlineXOR == inlineXOR {
|
||||||
|
// TODO: support and handle two-byte inline masks
|
||||||
|
b[len(b)-1] ^= byte(index)
|
||||||
|
} else {
|
||||||
|
for p := len(b) - int(xorData[index]); p < len(b); p++ {
|
||||||
|
index++
|
||||||
|
b[p] ^= xorData[index]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return b
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
||||||
|
|
||||||
|
// Copyright 2016 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.
|
||||||
|
|
||||||
|
//go:build go1.16
|
||||||
|
// +build go1.16
|
||||||
|
|
||||||
|
package idna
|
||||||
|
|
||||||
|
// appendMapping appends the mapping for the respective rune. isMapped must be
|
||||||
|
// true. A mapping is a categorization of a rune as defined in UTS #46.
|
||||||
|
func (c info) appendMapping(b []byte, s string) []byte {
|
||||||
|
index := int(c >> indexShift)
|
||||||
|
if c&xorBit == 0 {
|
||||||
|
p := index
|
||||||
|
return append(b, mappings[mappingIndex[p]:mappingIndex[p+1]]...)
|
||||||
|
}
|
||||||
|
b = append(b, s...)
|
||||||
|
if c&inlineXOR == inlineXOR {
|
||||||
|
// TODO: support and handle two-byte inline masks
|
||||||
|
b[len(b)-1] ^= byte(index)
|
||||||
|
} else {
|
||||||
|
for p := len(b) - int(xorData[index]); p < len(b); p++ {
|
||||||
|
index++
|
||||||
|
b[p] ^= xorData[index]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return b
|
||||||
|
}
|
|
@ -1,30 +0,0 @@
|
||||||
// Copyright 2020 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.
|
|
||||||
|
|
||||||
// Package unsafeheader contains header declarations for the Go runtime's
|
|
||||||
// slice and string implementations.
|
|
||||||
//
|
|
||||||
// This package allows x/sys to use types equivalent to
|
|
||||||
// reflect.SliceHeader and reflect.StringHeader without introducing
|
|
||||||
// a dependency on the (relatively heavy) "reflect" package.
|
|
||||||
package unsafeheader
|
|
||||||
|
|
||||||
import (
|
|
||||||
"unsafe"
|
|
||||||
)
|
|
||||||
|
|
||||||
// Slice is the runtime representation of a slice.
|
|
||||||
// It cannot be used safely or portably and its representation may change in a later release.
|
|
||||||
type Slice struct {
|
|
||||||
Data unsafe.Pointer
|
|
||||||
Len int
|
|
||||||
Cap int
|
|
||||||
}
|
|
||||||
|
|
||||||
// String is the runtime representation of a string.
|
|
||||||
// It cannot be used safely or portably and its representation may change in a later release.
|
|
||||||
type String struct {
|
|
||||||
Data unsafe.Pointer
|
|
||||||
Len int
|
|
||||||
}
|
|
|
@ -583,6 +583,7 @@ ccflags="$@"
|
||||||
$2 ~ /^PERF_/ ||
|
$2 ~ /^PERF_/ ||
|
||||||
$2 ~ /^SECCOMP_MODE_/ ||
|
$2 ~ /^SECCOMP_MODE_/ ||
|
||||||
$2 ~ /^SEEK_/ ||
|
$2 ~ /^SEEK_/ ||
|
||||||
|
$2 ~ /^SCHED_/ ||
|
||||||
$2 ~ /^SPLICE_/ ||
|
$2 ~ /^SPLICE_/ ||
|
||||||
$2 ~ /^SYNC_FILE_RANGE_/ ||
|
$2 ~ /^SYNC_FILE_RANGE_/ ||
|
||||||
$2 !~ /IOC_MAGIC/ &&
|
$2 !~ /IOC_MAGIC/ &&
|
||||||
|
@ -624,7 +625,7 @@ ccflags="$@"
|
||||||
$2 ~ /^MEM/ ||
|
$2 ~ /^MEM/ ||
|
||||||
$2 ~ /^WG/ ||
|
$2 ~ /^WG/ ||
|
||||||
$2 ~ /^FIB_RULE_/ ||
|
$2 ~ /^FIB_RULE_/ ||
|
||||||
$2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE)/ {printf("\t%s = C.%s\n", $2, $2)}
|
$2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE|IOMIN$|IOOPT$|ALIGNOFF$|DISCARD|ROTATIONAL$|ZEROOUT$|GETDISKSEQ$)/ {printf("\t%s = C.%s\n", $2, $2)}
|
||||||
$2 ~ /^__WCOREFLAG$/ {next}
|
$2 ~ /^__WCOREFLAG$/ {next}
|
||||||
$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
|
$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
// Copyright 2023 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.
|
||||||
|
|
||||||
|
//go:build aix || darwin || dragonfly || freebsd || openbsd || solaris
|
||||||
|
// +build aix darwin dragonfly freebsd openbsd solaris
|
||||||
|
|
||||||
|
package unix
|
||||||
|
|
||||||
|
var mapper = &mmapper{
|
||||||
|
active: make(map[*byte][]byte),
|
||||||
|
mmap: mmap,
|
||||||
|
munmap: munmap,
|
||||||
|
}
|
|
@ -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 linux
|
//go:build linux || netbsd
|
||||||
// +build linux
|
// +build linux netbsd
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
|
@ -14,8 +14,17 @@ type mremapMmapper struct {
|
||||||
mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var mapper = &mremapMmapper{
|
||||||
|
mmapper: mmapper{
|
||||||
|
active: make(map[*byte][]byte),
|
||||||
|
mmap: mmap,
|
||||||
|
munmap: munmap,
|
||||||
|
},
|
||||||
|
mremap: mremap,
|
||||||
|
}
|
||||||
|
|
||||||
func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
||||||
if newLength <= 0 || len(oldData) == 0 || len(oldData) != cap(oldData) || flags&MREMAP_FIXED != 0 {
|
if newLength <= 0 || len(oldData) == 0 || len(oldData) != cap(oldData) || flags&mremapFixed != 0 {
|
||||||
return nil, EINVAL
|
return nil, EINVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,9 +41,13 @@ func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data [
|
||||||
}
|
}
|
||||||
bNew := unsafe.Slice((*byte)(unsafe.Pointer(newAddr)), newLength)
|
bNew := unsafe.Slice((*byte)(unsafe.Pointer(newAddr)), newLength)
|
||||||
pNew := &bNew[cap(bNew)-1]
|
pNew := &bNew[cap(bNew)-1]
|
||||||
if flags&MREMAP_DONTUNMAP == 0 {
|
if flags&mremapDontunmap == 0 {
|
||||||
delete(m.active, pOld)
|
delete(m.active, pOld)
|
||||||
}
|
}
|
||||||
m.active[pNew] = bNew
|
m.active[pNew] = bNew
|
||||||
return bNew, nil
|
return bNew, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
||||||
|
return mapper.Mremap(oldData, newLength, flags)
|
||||||
|
}
|
||||||
|
|
|
@ -7,12 +7,6 @@
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
import "unsafe"
|
|
||||||
|
|
||||||
func ptrace(request int, pid int, addr uintptr, data uintptr) error {
|
func ptrace(request int, pid int, addr uintptr, data uintptr) error {
|
||||||
return ptrace1(request, pid, addr, data)
|
return ptrace1(request, pid, addr, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) error {
|
|
||||||
return ptrace1Ptr(request, pid, addr, data)
|
|
||||||
}
|
|
||||||
|
|
|
@ -7,12 +7,6 @@
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
import "unsafe"
|
|
||||||
|
|
||||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||||
return ENOTSUP
|
return ENOTSUP
|
||||||
}
|
}
|
||||||
|
|
||||||
func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
|
|
||||||
return ENOTSUP
|
|
||||||
}
|
|
||||||
|
|
|
@ -487,8 +487,6 @@ func Fsync(fd int) 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)
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys readlen(fd int, p *byte, np int) (n int, err error) = read
|
|
||||||
//sys writelen(fd int, p *byte, np int) (n int, err error) = write
|
|
||||||
|
|
||||||
//sys Dup2(oldfd int, newfd int) (err error)
|
//sys Dup2(oldfd int, newfd int) (err error)
|
||||||
//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = posix_fadvise64
|
//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = posix_fadvise64
|
||||||
|
@ -535,21 +533,6 @@ func Fsync(fd int) error {
|
||||||
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
|
//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)
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Madvise(b []byte, advice int) (err error)
|
//sys Madvise(b []byte, advice int) (err error)
|
||||||
//sys Mprotect(b []byte, prot int) (err error)
|
//sys Mprotect(b []byte, prot int) (err error)
|
||||||
//sys Mlock(b []byte) (err error)
|
//sys Mlock(b []byte) (err error)
|
||||||
|
|
|
@ -601,20 +601,6 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
|
||||||
// Gethostuuid(uuid *byte, timeout *Timespec) (err error)
|
// Gethostuuid(uuid *byte, timeout *Timespec) (err error)
|
||||||
// Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
|
// Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Madvise(b []byte, behav int) (err error)
|
//sys Madvise(b []byte, behav int) (err error)
|
||||||
//sys Mlock(b []byte) (err error)
|
//sys Mlock(b []byte) (err error)
|
||||||
//sys Mlockall(flags int) (err error)
|
//sys Mlockall(flags int) (err error)
|
||||||
|
|
|
@ -510,30 +510,36 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find size.
|
for {
|
||||||
n := uintptr(0)
|
// Find size.
|
||||||
if err := sysctl(mib, nil, &n, nil, 0); err != nil {
|
n := uintptr(0)
|
||||||
return nil, err
|
if err := sysctl(mib, nil, &n, nil, 0); err != nil {
|
||||||
}
|
return nil, err
|
||||||
if n == 0 {
|
}
|
||||||
return nil, nil
|
if n == 0 {
|
||||||
}
|
return nil, nil
|
||||||
if n%SizeofKinfoProc != 0 {
|
}
|
||||||
return nil, fmt.Errorf("sysctl() returned a size of %d, which is not a multiple of %d", n, SizeofKinfoProc)
|
if n%SizeofKinfoProc != 0 {
|
||||||
}
|
return nil, fmt.Errorf("sysctl() returned a size of %d, which is not a multiple of %d", n, SizeofKinfoProc)
|
||||||
|
}
|
||||||
|
|
||||||
// Read into buffer of that size.
|
// Read into buffer of that size.
|
||||||
buf := make([]KinfoProc, n/SizeofKinfoProc)
|
buf := make([]KinfoProc, n/SizeofKinfoProc)
|
||||||
if err := sysctl(mib, (*byte)(unsafe.Pointer(&buf[0])), &n, nil, 0); err != nil {
|
if err := sysctl(mib, (*byte)(unsafe.Pointer(&buf[0])), &n, nil, 0); err != nil {
|
||||||
return nil, err
|
if err == ENOMEM {
|
||||||
}
|
// Process table grew. Try again.
|
||||||
if n%SizeofKinfoProc != 0 {
|
continue
|
||||||
return nil, fmt.Errorf("sysctl() returned a size of %d, which is not a multiple of %d", n, SizeofKinfoProc)
|
}
|
||||||
}
|
return nil, err
|
||||||
|
}
|
||||||
|
if n%SizeofKinfoProc != 0 {
|
||||||
|
return nil, fmt.Errorf("sysctl() returned a size of %d, which is not a multiple of %d", n, SizeofKinfoProc)
|
||||||
|
}
|
||||||
|
|
||||||
// The actual call may return less than the original reported required
|
// The actual call may return less than the original reported required
|
||||||
// size so ensure we deal with that.
|
// size so ensure we deal with that.
|
||||||
return buf[:n/SizeofKinfoProc], nil
|
return buf[:n/SizeofKinfoProc], nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
|
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
|
||||||
|
@ -638,189 +644,3 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
|
|
||||||
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Unimplemented
|
|
||||||
*/
|
|
||||||
// Profil
|
|
||||||
// Sigaction
|
|
||||||
// Sigprocmask
|
|
||||||
// Getlogin
|
|
||||||
// Sigpending
|
|
||||||
// Sigaltstack
|
|
||||||
// Ioctl
|
|
||||||
// Reboot
|
|
||||||
// Execve
|
|
||||||
// Vfork
|
|
||||||
// Sbrk
|
|
||||||
// Sstk
|
|
||||||
// Ovadvise
|
|
||||||
// Mincore
|
|
||||||
// Setitimer
|
|
||||||
// Swapon
|
|
||||||
// Select
|
|
||||||
// Sigsuspend
|
|
||||||
// Readv
|
|
||||||
// Writev
|
|
||||||
// Nfssvc
|
|
||||||
// Getfh
|
|
||||||
// Quotactl
|
|
||||||
// Csops
|
|
||||||
// Waitid
|
|
||||||
// Add_profil
|
|
||||||
// Kdebug_trace
|
|
||||||
// Sigreturn
|
|
||||||
// Atsocket
|
|
||||||
// Kqueue_from_portset_np
|
|
||||||
// Kqueue_portset
|
|
||||||
// Getattrlist
|
|
||||||
// Getdirentriesattr
|
|
||||||
// Searchfs
|
|
||||||
// Delete
|
|
||||||
// Copyfile
|
|
||||||
// Watchevent
|
|
||||||
// Waitevent
|
|
||||||
// Modwatch
|
|
||||||
// Fsctl
|
|
||||||
// Initgroups
|
|
||||||
// Posix_spawn
|
|
||||||
// Nfsclnt
|
|
||||||
// Fhopen
|
|
||||||
// Minherit
|
|
||||||
// Semsys
|
|
||||||
// Msgsys
|
|
||||||
// Shmsys
|
|
||||||
// Semctl
|
|
||||||
// Semget
|
|
||||||
// Semop
|
|
||||||
// Msgctl
|
|
||||||
// Msgget
|
|
||||||
// Msgsnd
|
|
||||||
// Msgrcv
|
|
||||||
// Shm_open
|
|
||||||
// Shm_unlink
|
|
||||||
// Sem_open
|
|
||||||
// Sem_close
|
|
||||||
// Sem_unlink
|
|
||||||
// Sem_wait
|
|
||||||
// Sem_trywait
|
|
||||||
// Sem_post
|
|
||||||
// Sem_getvalue
|
|
||||||
// Sem_init
|
|
||||||
// Sem_destroy
|
|
||||||
// Open_extended
|
|
||||||
// Umask_extended
|
|
||||||
// Stat_extended
|
|
||||||
// Lstat_extended
|
|
||||||
// Fstat_extended
|
|
||||||
// Chmod_extended
|
|
||||||
// Fchmod_extended
|
|
||||||
// Access_extended
|
|
||||||
// Settid
|
|
||||||
// Gettid
|
|
||||||
// Setsgroups
|
|
||||||
// Getsgroups
|
|
||||||
// Setwgroups
|
|
||||||
// Getwgroups
|
|
||||||
// Mkfifo_extended
|
|
||||||
// Mkdir_extended
|
|
||||||
// Identitysvc
|
|
||||||
// Shared_region_check_np
|
|
||||||
// Shared_region_map_np
|
|
||||||
// __pthread_mutex_destroy
|
|
||||||
// __pthread_mutex_init
|
|
||||||
// __pthread_mutex_lock
|
|
||||||
// __pthread_mutex_trylock
|
|
||||||
// __pthread_mutex_unlock
|
|
||||||
// __pthread_cond_init
|
|
||||||
// __pthread_cond_destroy
|
|
||||||
// __pthread_cond_broadcast
|
|
||||||
// __pthread_cond_signal
|
|
||||||
// Setsid_with_pid
|
|
||||||
// __pthread_cond_timedwait
|
|
||||||
// Aio_fsync
|
|
||||||
// Aio_return
|
|
||||||
// Aio_suspend
|
|
||||||
// Aio_cancel
|
|
||||||
// Aio_error
|
|
||||||
// Aio_read
|
|
||||||
// Aio_write
|
|
||||||
// Lio_listio
|
|
||||||
// __pthread_cond_wait
|
|
||||||
// Iopolicysys
|
|
||||||
// __pthread_kill
|
|
||||||
// __pthread_sigmask
|
|
||||||
// __sigwait
|
|
||||||
// __disable_threadsignal
|
|
||||||
// __pthread_markcancel
|
|
||||||
// __pthread_canceled
|
|
||||||
// __semwait_signal
|
|
||||||
// Proc_info
|
|
||||||
// sendfile
|
|
||||||
// Stat64_extended
|
|
||||||
// Lstat64_extended
|
|
||||||
// Fstat64_extended
|
|
||||||
// __pthread_chdir
|
|
||||||
// __pthread_fchdir
|
|
||||||
// Audit
|
|
||||||
// Auditon
|
|
||||||
// Getauid
|
|
||||||
// Setauid
|
|
||||||
// Getaudit
|
|
||||||
// Setaudit
|
|
||||||
// Getaudit_addr
|
|
||||||
// Setaudit_addr
|
|
||||||
// Auditctl
|
|
||||||
// Bsdthread_create
|
|
||||||
// Bsdthread_terminate
|
|
||||||
// Stack_snapshot
|
|
||||||
// Bsdthread_register
|
|
||||||
// Workq_open
|
|
||||||
// Workq_ops
|
|
||||||
// __mac_execve
|
|
||||||
// __mac_syscall
|
|
||||||
// __mac_get_file
|
|
||||||
// __mac_set_file
|
|
||||||
// __mac_get_link
|
|
||||||
// __mac_set_link
|
|
||||||
// __mac_get_proc
|
|
||||||
// __mac_set_proc
|
|
||||||
// __mac_get_fd
|
|
||||||
// __mac_set_fd
|
|
||||||
// __mac_get_pid
|
|
||||||
// __mac_get_lcid
|
|
||||||
// __mac_get_lctx
|
|
||||||
// __mac_set_lctx
|
|
||||||
// Setlcid
|
|
||||||
// Read_nocancel
|
|
||||||
// Write_nocancel
|
|
||||||
// Open_nocancel
|
|
||||||
// Close_nocancel
|
|
||||||
// Wait4_nocancel
|
|
||||||
// Recvmsg_nocancel
|
|
||||||
// Sendmsg_nocancel
|
|
||||||
// Recvfrom_nocancel
|
|
||||||
// Accept_nocancel
|
|
||||||
// Fcntl_nocancel
|
|
||||||
// Select_nocancel
|
|
||||||
// Fsync_nocancel
|
|
||||||
// Connect_nocancel
|
|
||||||
// Sigsuspend_nocancel
|
|
||||||
// Readv_nocancel
|
|
||||||
// Writev_nocancel
|
|
||||||
// Sendto_nocancel
|
|
||||||
// Pread_nocancel
|
|
||||||
// Pwrite_nocancel
|
|
||||||
// Waitid_nocancel
|
|
||||||
// Poll_nocancel
|
|
||||||
// Msgsnd_nocancel
|
|
||||||
// Msgrcv_nocancel
|
|
||||||
// Sem_wait_nocancel
|
|
||||||
// Aio_suspend_nocancel
|
|
||||||
// __sigwait_nocancel
|
|
||||||
// __semwait_signal_nocancel
|
|
||||||
// __mac_mount
|
|
||||||
// __mac_get_mount
|
|
||||||
// __mac_getfsstat
|
|
||||||
|
|
|
@ -47,6 +47,5 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
|
||||||
//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
|
//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
|
||||||
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
|
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
|
||||||
//sys ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) = SYS_ptrace
|
//sys ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) = SYS_ptrace
|
||||||
//sys ptrace1Ptr(request int, pid int, addr unsafe.Pointer, data uintptr) (err error) = SYS_ptrace
|
|
||||||
//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
|
//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
|
||||||
//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
|
//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
|
||||||
|
|
|
@ -47,6 +47,5 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
|
||||||
//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
|
//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
|
||||||
//sys Lstat(path string, stat *Stat_t) (err error)
|
//sys Lstat(path string, stat *Stat_t) (err error)
|
||||||
//sys ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) = SYS_ptrace
|
//sys ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) = SYS_ptrace
|
||||||
//sys ptrace1Ptr(request int, pid int, addr unsafe.Pointer, data uintptr) (err error) = SYS_ptrace
|
|
||||||
//sys Stat(path string, stat *Stat_t) (err error)
|
//sys Stat(path string, stat *Stat_t) (err error)
|
||||||
//sys Statfs(path string, stat *Statfs_t) (err error)
|
//sys Statfs(path string, stat *Statfs_t) (err error)
|
||||||
|
|
|
@ -343,203 +343,5 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
|
|
||||||
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
|
||||||
//sys accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
|
//sys accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
|
||||||
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
||||||
|
|
||||||
/*
|
|
||||||
* Unimplemented
|
|
||||||
* TODO(jsing): Update this list for DragonFly.
|
|
||||||
*/
|
|
||||||
// Profil
|
|
||||||
// Sigaction
|
|
||||||
// Sigprocmask
|
|
||||||
// Getlogin
|
|
||||||
// Sigpending
|
|
||||||
// Sigaltstack
|
|
||||||
// Reboot
|
|
||||||
// Execve
|
|
||||||
// Vfork
|
|
||||||
// Sbrk
|
|
||||||
// Sstk
|
|
||||||
// Ovadvise
|
|
||||||
// Mincore
|
|
||||||
// Setitimer
|
|
||||||
// Swapon
|
|
||||||
// Select
|
|
||||||
// Sigsuspend
|
|
||||||
// Readv
|
|
||||||
// Writev
|
|
||||||
// Nfssvc
|
|
||||||
// Getfh
|
|
||||||
// Quotactl
|
|
||||||
// Mount
|
|
||||||
// Csops
|
|
||||||
// Waitid
|
|
||||||
// Add_profil
|
|
||||||
// Kdebug_trace
|
|
||||||
// Sigreturn
|
|
||||||
// Atsocket
|
|
||||||
// Kqueue_from_portset_np
|
|
||||||
// Kqueue_portset
|
|
||||||
// Getattrlist
|
|
||||||
// Setattrlist
|
|
||||||
// Getdirentriesattr
|
|
||||||
// Searchfs
|
|
||||||
// Delete
|
|
||||||
// Copyfile
|
|
||||||
// Watchevent
|
|
||||||
// Waitevent
|
|
||||||
// Modwatch
|
|
||||||
// Getxattr
|
|
||||||
// Fgetxattr
|
|
||||||
// Setxattr
|
|
||||||
// Fsetxattr
|
|
||||||
// Removexattr
|
|
||||||
// Fremovexattr
|
|
||||||
// Listxattr
|
|
||||||
// Flistxattr
|
|
||||||
// Fsctl
|
|
||||||
// Initgroups
|
|
||||||
// Posix_spawn
|
|
||||||
// Nfsclnt
|
|
||||||
// Fhopen
|
|
||||||
// Minherit
|
|
||||||
// Semsys
|
|
||||||
// Msgsys
|
|
||||||
// Shmsys
|
|
||||||
// Semctl
|
|
||||||
// Semget
|
|
||||||
// Semop
|
|
||||||
// Msgctl
|
|
||||||
// Msgget
|
|
||||||
// Msgsnd
|
|
||||||
// Msgrcv
|
|
||||||
// Shmat
|
|
||||||
// Shmctl
|
|
||||||
// Shmdt
|
|
||||||
// Shmget
|
|
||||||
// Shm_open
|
|
||||||
// Shm_unlink
|
|
||||||
// Sem_open
|
|
||||||
// Sem_close
|
|
||||||
// Sem_unlink
|
|
||||||
// Sem_wait
|
|
||||||
// Sem_trywait
|
|
||||||
// Sem_post
|
|
||||||
// Sem_getvalue
|
|
||||||
// Sem_init
|
|
||||||
// Sem_destroy
|
|
||||||
// Open_extended
|
|
||||||
// Umask_extended
|
|
||||||
// Stat_extended
|
|
||||||
// Lstat_extended
|
|
||||||
// Fstat_extended
|
|
||||||
// Chmod_extended
|
|
||||||
// Fchmod_extended
|
|
||||||
// Access_extended
|
|
||||||
// Settid
|
|
||||||
// Gettid
|
|
||||||
// Setsgroups
|
|
||||||
// Getsgroups
|
|
||||||
// Setwgroups
|
|
||||||
// Getwgroups
|
|
||||||
// Mkfifo_extended
|
|
||||||
// Mkdir_extended
|
|
||||||
// Identitysvc
|
|
||||||
// Shared_region_check_np
|
|
||||||
// Shared_region_map_np
|
|
||||||
// __pthread_mutex_destroy
|
|
||||||
// __pthread_mutex_init
|
|
||||||
// __pthread_mutex_lock
|
|
||||||
// __pthread_mutex_trylock
|
|
||||||
// __pthread_mutex_unlock
|
|
||||||
// __pthread_cond_init
|
|
||||||
// __pthread_cond_destroy
|
|
||||||
// __pthread_cond_broadcast
|
|
||||||
// __pthread_cond_signal
|
|
||||||
// Setsid_with_pid
|
|
||||||
// __pthread_cond_timedwait
|
|
||||||
// Aio_fsync
|
|
||||||
// Aio_return
|
|
||||||
// Aio_suspend
|
|
||||||
// Aio_cancel
|
|
||||||
// Aio_error
|
|
||||||
// Aio_read
|
|
||||||
// Aio_write
|
|
||||||
// Lio_listio
|
|
||||||
// __pthread_cond_wait
|
|
||||||
// Iopolicysys
|
|
||||||
// __pthread_kill
|
|
||||||
// __pthread_sigmask
|
|
||||||
// __sigwait
|
|
||||||
// __disable_threadsignal
|
|
||||||
// __pthread_markcancel
|
|
||||||
// __pthread_canceled
|
|
||||||
// __semwait_signal
|
|
||||||
// Proc_info
|
|
||||||
// Stat64_extended
|
|
||||||
// Lstat64_extended
|
|
||||||
// Fstat64_extended
|
|
||||||
// __pthread_chdir
|
|
||||||
// __pthread_fchdir
|
|
||||||
// Audit
|
|
||||||
// Auditon
|
|
||||||
// Getauid
|
|
||||||
// Setauid
|
|
||||||
// Getaudit
|
|
||||||
// Setaudit
|
|
||||||
// Getaudit_addr
|
|
||||||
// Setaudit_addr
|
|
||||||
// Auditctl
|
|
||||||
// Bsdthread_create
|
|
||||||
// Bsdthread_terminate
|
|
||||||
// Stack_snapshot
|
|
||||||
// Bsdthread_register
|
|
||||||
// Workq_open
|
|
||||||
// Workq_ops
|
|
||||||
// __mac_execve
|
|
||||||
// __mac_syscall
|
|
||||||
// __mac_get_file
|
|
||||||
// __mac_set_file
|
|
||||||
// __mac_get_link
|
|
||||||
// __mac_set_link
|
|
||||||
// __mac_get_proc
|
|
||||||
// __mac_set_proc
|
|
||||||
// __mac_get_fd
|
|
||||||
// __mac_set_fd
|
|
||||||
// __mac_get_pid
|
|
||||||
// __mac_get_lcid
|
|
||||||
// __mac_get_lctx
|
|
||||||
// __mac_set_lctx
|
|
||||||
// Setlcid
|
|
||||||
// Read_nocancel
|
|
||||||
// Write_nocancel
|
|
||||||
// Open_nocancel
|
|
||||||
// Close_nocancel
|
|
||||||
// Wait4_nocancel
|
|
||||||
// Recvmsg_nocancel
|
|
||||||
// Sendmsg_nocancel
|
|
||||||
// Recvfrom_nocancel
|
|
||||||
// Accept_nocancel
|
|
||||||
// Fcntl_nocancel
|
|
||||||
// Select_nocancel
|
|
||||||
// Fsync_nocancel
|
|
||||||
// Connect_nocancel
|
|
||||||
// Sigsuspend_nocancel
|
|
||||||
// Readv_nocancel
|
|
||||||
// Writev_nocancel
|
|
||||||
// Sendto_nocancel
|
|
||||||
// Pread_nocancel
|
|
||||||
// Pwrite_nocancel
|
|
||||||
// Waitid_nocancel
|
|
||||||
// Msgsnd_nocancel
|
|
||||||
// Msgrcv_nocancel
|
|
||||||
// Sem_wait_nocancel
|
|
||||||
// Aio_suspend_nocancel
|
|
||||||
// __sigwait_nocancel
|
|
||||||
// __semwait_signal_nocancel
|
|
||||||
// __mac_mount
|
|
||||||
// __mac_get_mount
|
|
||||||
// __mac_getfsstat
|
|
||||||
|
|
|
@ -449,197 +449,5 @@ func Dup3(oldfd, newfd, flags int) error {
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
|
|
||||||
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
|
||||||
//sys accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
|
//sys accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
|
||||||
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
||||||
|
|
||||||
/*
|
|
||||||
* Unimplemented
|
|
||||||
*/
|
|
||||||
// Profil
|
|
||||||
// Sigaction
|
|
||||||
// Sigprocmask
|
|
||||||
// Getlogin
|
|
||||||
// Sigpending
|
|
||||||
// Sigaltstack
|
|
||||||
// Ioctl
|
|
||||||
// Reboot
|
|
||||||
// Execve
|
|
||||||
// Vfork
|
|
||||||
// Sbrk
|
|
||||||
// Sstk
|
|
||||||
// Ovadvise
|
|
||||||
// Mincore
|
|
||||||
// Setitimer
|
|
||||||
// Swapon
|
|
||||||
// Select
|
|
||||||
// Sigsuspend
|
|
||||||
// Readv
|
|
||||||
// Writev
|
|
||||||
// Nfssvc
|
|
||||||
// Getfh
|
|
||||||
// Quotactl
|
|
||||||
// Mount
|
|
||||||
// Csops
|
|
||||||
// Waitid
|
|
||||||
// Add_profil
|
|
||||||
// Kdebug_trace
|
|
||||||
// Sigreturn
|
|
||||||
// Atsocket
|
|
||||||
// Kqueue_from_portset_np
|
|
||||||
// Kqueue_portset
|
|
||||||
// Getattrlist
|
|
||||||
// Setattrlist
|
|
||||||
// Getdents
|
|
||||||
// Getdirentriesattr
|
|
||||||
// Searchfs
|
|
||||||
// Delete
|
|
||||||
// Copyfile
|
|
||||||
// Watchevent
|
|
||||||
// Waitevent
|
|
||||||
// Modwatch
|
|
||||||
// Fsctl
|
|
||||||
// Initgroups
|
|
||||||
// Posix_spawn
|
|
||||||
// Nfsclnt
|
|
||||||
// Fhopen
|
|
||||||
// Minherit
|
|
||||||
// Semsys
|
|
||||||
// Msgsys
|
|
||||||
// Shmsys
|
|
||||||
// Semctl
|
|
||||||
// Semget
|
|
||||||
// Semop
|
|
||||||
// Msgctl
|
|
||||||
// Msgget
|
|
||||||
// Msgsnd
|
|
||||||
// Msgrcv
|
|
||||||
// Shmat
|
|
||||||
// Shmctl
|
|
||||||
// Shmdt
|
|
||||||
// Shmget
|
|
||||||
// Shm_open
|
|
||||||
// Shm_unlink
|
|
||||||
// Sem_open
|
|
||||||
// Sem_close
|
|
||||||
// Sem_unlink
|
|
||||||
// Sem_wait
|
|
||||||
// Sem_trywait
|
|
||||||
// Sem_post
|
|
||||||
// Sem_getvalue
|
|
||||||
// Sem_init
|
|
||||||
// Sem_destroy
|
|
||||||
// Open_extended
|
|
||||||
// Umask_extended
|
|
||||||
// Stat_extended
|
|
||||||
// Lstat_extended
|
|
||||||
// Fstat_extended
|
|
||||||
// Chmod_extended
|
|
||||||
// Fchmod_extended
|
|
||||||
// Access_extended
|
|
||||||
// Settid
|
|
||||||
// Gettid
|
|
||||||
// Setsgroups
|
|
||||||
// Getsgroups
|
|
||||||
// Setwgroups
|
|
||||||
// Getwgroups
|
|
||||||
// Mkfifo_extended
|
|
||||||
// Mkdir_extended
|
|
||||||
// Identitysvc
|
|
||||||
// Shared_region_check_np
|
|
||||||
// Shared_region_map_np
|
|
||||||
// __pthread_mutex_destroy
|
|
||||||
// __pthread_mutex_init
|
|
||||||
// __pthread_mutex_lock
|
|
||||||
// __pthread_mutex_trylock
|
|
||||||
// __pthread_mutex_unlock
|
|
||||||
// __pthread_cond_init
|
|
||||||
// __pthread_cond_destroy
|
|
||||||
// __pthread_cond_broadcast
|
|
||||||
// __pthread_cond_signal
|
|
||||||
// Setsid_with_pid
|
|
||||||
// __pthread_cond_timedwait
|
|
||||||
// Aio_fsync
|
|
||||||
// Aio_return
|
|
||||||
// Aio_suspend
|
|
||||||
// Aio_cancel
|
|
||||||
// Aio_error
|
|
||||||
// Aio_read
|
|
||||||
// Aio_write
|
|
||||||
// Lio_listio
|
|
||||||
// __pthread_cond_wait
|
|
||||||
// Iopolicysys
|
|
||||||
// __pthread_kill
|
|
||||||
// __pthread_sigmask
|
|
||||||
// __sigwait
|
|
||||||
// __disable_threadsignal
|
|
||||||
// __pthread_markcancel
|
|
||||||
// __pthread_canceled
|
|
||||||
// __semwait_signal
|
|
||||||
// Proc_info
|
|
||||||
// Stat64_extended
|
|
||||||
// Lstat64_extended
|
|
||||||
// Fstat64_extended
|
|
||||||
// __pthread_chdir
|
|
||||||
// __pthread_fchdir
|
|
||||||
// Audit
|
|
||||||
// Auditon
|
|
||||||
// Getauid
|
|
||||||
// Setauid
|
|
||||||
// Getaudit
|
|
||||||
// Setaudit
|
|
||||||
// Getaudit_addr
|
|
||||||
// Setaudit_addr
|
|
||||||
// Auditctl
|
|
||||||
// Bsdthread_create
|
|
||||||
// Bsdthread_terminate
|
|
||||||
// Stack_snapshot
|
|
||||||
// Bsdthread_register
|
|
||||||
// Workq_open
|
|
||||||
// Workq_ops
|
|
||||||
// __mac_execve
|
|
||||||
// __mac_syscall
|
|
||||||
// __mac_get_file
|
|
||||||
// __mac_set_file
|
|
||||||
// __mac_get_link
|
|
||||||
// __mac_set_link
|
|
||||||
// __mac_get_proc
|
|
||||||
// __mac_set_proc
|
|
||||||
// __mac_get_fd
|
|
||||||
// __mac_set_fd
|
|
||||||
// __mac_get_pid
|
|
||||||
// __mac_get_lcid
|
|
||||||
// __mac_get_lctx
|
|
||||||
// __mac_set_lctx
|
|
||||||
// Setlcid
|
|
||||||
// Read_nocancel
|
|
||||||
// Write_nocancel
|
|
||||||
// Open_nocancel
|
|
||||||
// Close_nocancel
|
|
||||||
// Wait4_nocancel
|
|
||||||
// Recvmsg_nocancel
|
|
||||||
// Sendmsg_nocancel
|
|
||||||
// Recvfrom_nocancel
|
|
||||||
// Accept_nocancel
|
|
||||||
// Fcntl_nocancel
|
|
||||||
// Select_nocancel
|
|
||||||
// Fsync_nocancel
|
|
||||||
// Connect_nocancel
|
|
||||||
// Sigsuspend_nocancel
|
|
||||||
// Readv_nocancel
|
|
||||||
// Writev_nocancel
|
|
||||||
// Sendto_nocancel
|
|
||||||
// Pread_nocancel
|
|
||||||
// Pwrite_nocancel
|
|
||||||
// Waitid_nocancel
|
|
||||||
// Poll_nocancel
|
|
||||||
// Msgsnd_nocancel
|
|
||||||
// Msgrcv_nocancel
|
|
||||||
// Sem_wait_nocancel
|
|
||||||
// Aio_suspend_nocancel
|
|
||||||
// __sigwait_nocancel
|
|
||||||
// __semwait_signal_nocancel
|
|
||||||
// __mac_mount
|
|
||||||
// __mac_get_mount
|
|
||||||
// __mac_getfsstat
|
|
||||||
|
|
|
@ -693,10 +693,10 @@ type SockaddrALG struct {
|
||||||
|
|
||||||
func (sa *SockaddrALG) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
func (sa *SockaddrALG) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
||||||
// Leave room for NUL byte terminator.
|
// Leave room for NUL byte terminator.
|
||||||
if len(sa.Type) > 13 {
|
if len(sa.Type) > len(sa.raw.Type)-1 {
|
||||||
return nil, 0, EINVAL
|
return nil, 0, EINVAL
|
||||||
}
|
}
|
||||||
if len(sa.Name) > 63 {
|
if len(sa.Name) > len(sa.raw.Name)-1 {
|
||||||
return nil, 0, EINVAL
|
return nil, 0, EINVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -704,17 +704,8 @@ func (sa *SockaddrALG) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
||||||
sa.raw.Feat = sa.Feature
|
sa.raw.Feat = sa.Feature
|
||||||
sa.raw.Mask = sa.Mask
|
sa.raw.Mask = sa.Mask
|
||||||
|
|
||||||
typ, err := ByteSliceFromString(sa.Type)
|
copy(sa.raw.Type[:], sa.Type)
|
||||||
if err != nil {
|
copy(sa.raw.Name[:], sa.Name)
|
||||||
return nil, 0, err
|
|
||||||
}
|
|
||||||
name, err := ByteSliceFromString(sa.Name)
|
|
||||||
if err != nil {
|
|
||||||
return nil, 0, err
|
|
||||||
}
|
|
||||||
|
|
||||||
copy(sa.raw.Type[:], typ)
|
|
||||||
copy(sa.raw.Name[:], name)
|
|
||||||
|
|
||||||
return unsafe.Pointer(&sa.raw), SizeofSockaddrALG, nil
|
return unsafe.Pointer(&sa.raw), SizeofSockaddrALG, nil
|
||||||
}
|
}
|
||||||
|
@ -1885,7 +1876,7 @@ func Getpgrp() (pid int) {
|
||||||
//sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)
|
//sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)
|
||||||
//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
|
//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
|
||||||
//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
|
//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
|
||||||
//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) = SYS_PSELECT6
|
//sys pselect6(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_argpack) (n int, err error)
|
||||||
//sys read(fd int, p []byte) (n int, err error)
|
//sys read(fd int, p []byte) (n int, err error)
|
||||||
//sys Removexattr(path string, attr string) (err error)
|
//sys Removexattr(path string, attr string) (err error)
|
||||||
//sys Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
|
//sys Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
|
||||||
|
@ -1988,8 +1979,6 @@ func Signalfd(fd int, sigmask *Sigset_t, flags int) (newfd int, err error) {
|
||||||
//sys Unshare(flags int) (err error)
|
//sys Unshare(flags int) (err error)
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys exitThread(code int) (err error) = SYS_EXIT
|
//sys exitThread(code int) (err error) = SYS_EXIT
|
||||||
//sys readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
|
|
||||||
//sys writelen(fd int, p *byte, np int) (n int, err error) = SYS_WRITE
|
|
||||||
//sys readv(fd int, iovs []Iovec) (n int, err error) = SYS_READV
|
//sys readv(fd int, iovs []Iovec) (n int, err error) = SYS_READV
|
||||||
//sys writev(fd int, iovs []Iovec) (n int, err error) = SYS_WRITEV
|
//sys writev(fd int, iovs []Iovec) (n int, err error) = SYS_WRITEV
|
||||||
//sys preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PREADV
|
//sys preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PREADV
|
||||||
|
@ -2125,28 +2114,6 @@ func writevRacedetect(iovecs []Iovec, n int) {
|
||||||
// mmap varies by architecture; see syscall_linux_*.go.
|
// mmap varies by architecture; see syscall_linux_*.go.
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
//sys mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
||||||
|
|
||||||
var mapper = &mremapMmapper{
|
|
||||||
mmapper: mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
},
|
|
||||||
mremap: mremap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mremap(oldData, newLength, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Madvise(b []byte, advice int) (err error)
|
//sys Madvise(b []byte, advice int) (err error)
|
||||||
//sys Mprotect(b []byte, prot int) (err error)
|
//sys Mprotect(b []byte, prot int) (err error)
|
||||||
//sys Mlock(b []byte) (err error)
|
//sys Mlock(b []byte) (err error)
|
||||||
|
@ -2155,6 +2122,12 @@ func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
||||||
//sys Munlock(b []byte) (err error)
|
//sys Munlock(b []byte) (err error)
|
||||||
//sys Munlockall() (err error)
|
//sys Munlockall() (err error)
|
||||||
|
|
||||||
|
const (
|
||||||
|
mremapFixed = MREMAP_FIXED
|
||||||
|
mremapDontunmap = MREMAP_DONTUNMAP
|
||||||
|
mremapMaymove = MREMAP_MAYMOVE
|
||||||
|
)
|
||||||
|
|
||||||
// Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
|
// Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
|
||||||
// using the specified flags.
|
// using the specified flags.
|
||||||
func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
|
func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
|
||||||
|
@ -2454,98 +2427,58 @@ func Getresgid() (rgid, egid, sgid int) {
|
||||||
return int(r), int(e), int(s)
|
return int(r), int(e), int(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// Pselect is a wrapper around the Linux pselect6 system call.
|
||||||
* Unimplemented
|
// This version does not modify the timeout argument.
|
||||||
*/
|
func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
||||||
// AfsSyscall
|
// Per https://man7.org/linux/man-pages/man2/select.2.html#NOTES,
|
||||||
// ArchPrctl
|
// The Linux pselect6() system call modifies its timeout argument.
|
||||||
// Brk
|
// [Not modifying the argument] is the behavior required by POSIX.1-2001.
|
||||||
// ClockNanosleep
|
var mutableTimeout *Timespec
|
||||||
// ClockSettime
|
if timeout != nil {
|
||||||
// Clone
|
mutableTimeout = new(Timespec)
|
||||||
// EpollCtlOld
|
*mutableTimeout = *timeout
|
||||||
// EpollPwait
|
}
|
||||||
// EpollWaitOld
|
|
||||||
// Execve
|
// The final argument of the pselect6() system call is not a
|
||||||
// Fork
|
// sigset_t * pointer, but is instead a structure
|
||||||
// Futex
|
var kernelMask *sigset_argpack
|
||||||
// GetKernelSyms
|
if sigmask != nil {
|
||||||
// GetMempolicy
|
wordBits := 32 << (^uintptr(0) >> 63) // see math.intSize
|
||||||
// GetRobustList
|
|
||||||
// GetThreadArea
|
// A sigset stores one bit per signal,
|
||||||
// Getpmsg
|
// offset by 1 (because signal 0 does not exist).
|
||||||
// IoCancel
|
// So the number of words needed is ⌈__C_NSIG - 1 / wordBits⌉.
|
||||||
// IoDestroy
|
sigsetWords := (_C__NSIG - 1 + wordBits - 1) / (wordBits)
|
||||||
// IoGetevents
|
|
||||||
// IoSetup
|
sigsetBytes := uintptr(sigsetWords * (wordBits / 8))
|
||||||
// IoSubmit
|
kernelMask = &sigset_argpack{
|
||||||
// IoprioGet
|
ss: sigmask,
|
||||||
// IoprioSet
|
ssLen: sigsetBytes,
|
||||||
// KexecLoad
|
}
|
||||||
// LookupDcookie
|
}
|
||||||
// Mbind
|
|
||||||
// MigratePages
|
return pselect6(nfd, r, w, e, mutableTimeout, kernelMask)
|
||||||
// Mincore
|
}
|
||||||
// ModifyLdt
|
|
||||||
// Mount
|
//sys schedSetattr(pid int, attr *SchedAttr, flags uint) (err error)
|
||||||
// MovePages
|
//sys schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error)
|
||||||
// MqGetsetattr
|
|
||||||
// MqNotify
|
// SchedSetAttr is a wrapper for sched_setattr(2) syscall.
|
||||||
// MqOpen
|
// https://man7.org/linux/man-pages/man2/sched_setattr.2.html
|
||||||
// MqTimedreceive
|
func SchedSetAttr(pid int, attr *SchedAttr, flags uint) error {
|
||||||
// MqTimedsend
|
if attr == nil {
|
||||||
// MqUnlink
|
return EINVAL
|
||||||
// Msgctl
|
}
|
||||||
// Msgget
|
attr.Size = SizeofSchedAttr
|
||||||
// Msgrcv
|
return schedSetattr(pid, attr, flags)
|
||||||
// Msgsnd
|
}
|
||||||
// Nfsservctl
|
|
||||||
// Personality
|
// SchedGetAttr is a wrapper for sched_getattr(2) syscall.
|
||||||
// Pselect6
|
// https://man7.org/linux/man-pages/man2/sched_getattr.2.html
|
||||||
// Ptrace
|
func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) {
|
||||||
// Putpmsg
|
attr := &SchedAttr{}
|
||||||
// Quotactl
|
if err := schedGetattr(pid, attr, SizeofSchedAttr, flags); err != nil {
|
||||||
// Readahead
|
return nil, err
|
||||||
// Readv
|
}
|
||||||
// RemapFilePages
|
return attr, nil
|
||||||
// RestartSyscall
|
}
|
||||||
// RtSigaction
|
|
||||||
// RtSigpending
|
|
||||||
// RtSigqueueinfo
|
|
||||||
// RtSigreturn
|
|
||||||
// RtSigsuspend
|
|
||||||
// RtSigtimedwait
|
|
||||||
// SchedGetPriorityMax
|
|
||||||
// SchedGetPriorityMin
|
|
||||||
// SchedGetparam
|
|
||||||
// SchedGetscheduler
|
|
||||||
// SchedRrGetInterval
|
|
||||||
// SchedSetparam
|
|
||||||
// SchedYield
|
|
||||||
// Security
|
|
||||||
// Semctl
|
|
||||||
// Semget
|
|
||||||
// Semop
|
|
||||||
// Semtimedop
|
|
||||||
// SetMempolicy
|
|
||||||
// SetRobustList
|
|
||||||
// SetThreadArea
|
|
||||||
// SetTidAddress
|
|
||||||
// Sigaltstack
|
|
||||||
// Swapoff
|
|
||||||
// Swapon
|
|
||||||
// Sysfs
|
|
||||||
// TimerCreate
|
|
||||||
// TimerDelete
|
|
||||||
// TimerGetoverrun
|
|
||||||
// TimerGettime
|
|
||||||
// TimerSettime
|
|
||||||
// Tkill (obsolete)
|
|
||||||
// Tuxcall
|
|
||||||
// Umount2
|
|
||||||
// Uselib
|
|
||||||
// Utimensat
|
|
||||||
// Vfork
|
|
||||||
// Vhangup
|
|
||||||
// Vserver
|
|
||||||
// _Sysctl
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
|
|
@ -33,7 +33,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
|
|
@ -28,7 +28,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
|
|
@ -31,7 +31,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
|
|
@ -32,7 +32,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
@ -177,3 +177,14 @@ func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error
|
||||||
}
|
}
|
||||||
return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
|
return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//sys riscvHWProbe(pairs []RISCVHWProbePairs, cpuCount uintptr, cpus *CPUSet, flags uint) (err error)
|
||||||
|
|
||||||
|
func RISCVHWProbe(pairs []RISCVHWProbePairs, set *CPUSet, flags uint) (err error) {
|
||||||
|
var setSize uintptr
|
||||||
|
|
||||||
|
if set != nil {
|
||||||
|
setSize = uintptr(unsafe.Sizeof(*set))
|
||||||
|
}
|
||||||
|
return riscvHWProbe(pairs, setSize, set, flags)
|
||||||
|
}
|
||||||
|
|
|
@ -356,266 +356,16 @@ func Statvfs(path string, buf *Statvfs_t) (err error) {
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
|
|
||||||
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
|
||||||
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
||||||
|
|
||||||
/*
|
const (
|
||||||
* Unimplemented
|
mremapFixed = MAP_FIXED
|
||||||
*/
|
mremapDontunmap = 0
|
||||||
// ____semctl13
|
mremapMaymove = 0
|
||||||
// __clone
|
)
|
||||||
// __fhopen40
|
|
||||||
// __fhstat40
|
//sys mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) = SYS_MREMAP
|
||||||
// __fhstatvfs140
|
|
||||||
// __fstat30
|
func mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (uintptr, error) {
|
||||||
// __getcwd
|
return mremapNetBSD(oldaddr, oldlength, newaddr, newlength, flags)
|
||||||
// __getfh30
|
}
|
||||||
// __getlogin
|
|
||||||
// __lstat30
|
|
||||||
// __mount50
|
|
||||||
// __msgctl13
|
|
||||||
// __msync13
|
|
||||||
// __ntp_gettime30
|
|
||||||
// __posix_chown
|
|
||||||
// __posix_fchown
|
|
||||||
// __posix_lchown
|
|
||||||
// __posix_rename
|
|
||||||
// __setlogin
|
|
||||||
// __shmctl13
|
|
||||||
// __sigaction_sigtramp
|
|
||||||
// __sigaltstack14
|
|
||||||
// __sigpending14
|
|
||||||
// __sigprocmask14
|
|
||||||
// __sigsuspend14
|
|
||||||
// __sigtimedwait
|
|
||||||
// __stat30
|
|
||||||
// __syscall
|
|
||||||
// __vfork14
|
|
||||||
// _ksem_close
|
|
||||||
// _ksem_destroy
|
|
||||||
// _ksem_getvalue
|
|
||||||
// _ksem_init
|
|
||||||
// _ksem_open
|
|
||||||
// _ksem_post
|
|
||||||
// _ksem_trywait
|
|
||||||
// _ksem_unlink
|
|
||||||
// _ksem_wait
|
|
||||||
// _lwp_continue
|
|
||||||
// _lwp_create
|
|
||||||
// _lwp_ctl
|
|
||||||
// _lwp_detach
|
|
||||||
// _lwp_exit
|
|
||||||
// _lwp_getname
|
|
||||||
// _lwp_getprivate
|
|
||||||
// _lwp_kill
|
|
||||||
// _lwp_park
|
|
||||||
// _lwp_self
|
|
||||||
// _lwp_setname
|
|
||||||
// _lwp_setprivate
|
|
||||||
// _lwp_suspend
|
|
||||||
// _lwp_unpark
|
|
||||||
// _lwp_unpark_all
|
|
||||||
// _lwp_wait
|
|
||||||
// _lwp_wakeup
|
|
||||||
// _pset_bind
|
|
||||||
// _sched_getaffinity
|
|
||||||
// _sched_getparam
|
|
||||||
// _sched_setaffinity
|
|
||||||
// _sched_setparam
|
|
||||||
// acct
|
|
||||||
// aio_cancel
|
|
||||||
// aio_error
|
|
||||||
// aio_fsync
|
|
||||||
// aio_read
|
|
||||||
// aio_return
|
|
||||||
// aio_suspend
|
|
||||||
// aio_write
|
|
||||||
// break
|
|
||||||
// clock_getres
|
|
||||||
// clock_gettime
|
|
||||||
// clock_settime
|
|
||||||
// compat_09_ogetdomainname
|
|
||||||
// compat_09_osetdomainname
|
|
||||||
// compat_09_ouname
|
|
||||||
// compat_10_omsgsys
|
|
||||||
// compat_10_osemsys
|
|
||||||
// compat_10_oshmsys
|
|
||||||
// compat_12_fstat12
|
|
||||||
// compat_12_getdirentries
|
|
||||||
// compat_12_lstat12
|
|
||||||
// compat_12_msync
|
|
||||||
// compat_12_oreboot
|
|
||||||
// compat_12_oswapon
|
|
||||||
// compat_12_stat12
|
|
||||||
// compat_13_sigaction13
|
|
||||||
// compat_13_sigaltstack13
|
|
||||||
// compat_13_sigpending13
|
|
||||||
// compat_13_sigprocmask13
|
|
||||||
// compat_13_sigreturn13
|
|
||||||
// compat_13_sigsuspend13
|
|
||||||
// compat_14___semctl
|
|
||||||
// compat_14_msgctl
|
|
||||||
// compat_14_shmctl
|
|
||||||
// compat_16___sigaction14
|
|
||||||
// compat_16___sigreturn14
|
|
||||||
// compat_20_fhstatfs
|
|
||||||
// compat_20_fstatfs
|
|
||||||
// compat_20_getfsstat
|
|
||||||
// compat_20_statfs
|
|
||||||
// compat_30___fhstat30
|
|
||||||
// compat_30___fstat13
|
|
||||||
// compat_30___lstat13
|
|
||||||
// compat_30___stat13
|
|
||||||
// compat_30_fhopen
|
|
||||||
// compat_30_fhstat
|
|
||||||
// compat_30_fhstatvfs1
|
|
||||||
// compat_30_getdents
|
|
||||||
// compat_30_getfh
|
|
||||||
// compat_30_ntp_gettime
|
|
||||||
// compat_30_socket
|
|
||||||
// compat_40_mount
|
|
||||||
// compat_43_fstat43
|
|
||||||
// compat_43_lstat43
|
|
||||||
// compat_43_oaccept
|
|
||||||
// compat_43_ocreat
|
|
||||||
// compat_43_oftruncate
|
|
||||||
// compat_43_ogetdirentries
|
|
||||||
// compat_43_ogetdtablesize
|
|
||||||
// compat_43_ogethostid
|
|
||||||
// compat_43_ogethostname
|
|
||||||
// compat_43_ogetkerninfo
|
|
||||||
// compat_43_ogetpagesize
|
|
||||||
// compat_43_ogetpeername
|
|
||||||
// compat_43_ogetrlimit
|
|
||||||
// compat_43_ogetsockname
|
|
||||||
// compat_43_okillpg
|
|
||||||
// compat_43_olseek
|
|
||||||
// compat_43_ommap
|
|
||||||
// compat_43_oquota
|
|
||||||
// compat_43_orecv
|
|
||||||
// compat_43_orecvfrom
|
|
||||||
// compat_43_orecvmsg
|
|
||||||
// compat_43_osend
|
|
||||||
// compat_43_osendmsg
|
|
||||||
// compat_43_osethostid
|
|
||||||
// compat_43_osethostname
|
|
||||||
// compat_43_osigblock
|
|
||||||
// compat_43_osigsetmask
|
|
||||||
// compat_43_osigstack
|
|
||||||
// compat_43_osigvec
|
|
||||||
// compat_43_otruncate
|
|
||||||
// compat_43_owait
|
|
||||||
// compat_43_stat43
|
|
||||||
// execve
|
|
||||||
// extattr_delete_fd
|
|
||||||
// extattr_delete_file
|
|
||||||
// extattr_delete_link
|
|
||||||
// extattr_get_fd
|
|
||||||
// extattr_get_file
|
|
||||||
// extattr_get_link
|
|
||||||
// extattr_list_fd
|
|
||||||
// extattr_list_file
|
|
||||||
// extattr_list_link
|
|
||||||
// extattr_set_fd
|
|
||||||
// extattr_set_file
|
|
||||||
// extattr_set_link
|
|
||||||
// extattrctl
|
|
||||||
// fchroot
|
|
||||||
// fdatasync
|
|
||||||
// fgetxattr
|
|
||||||
// fktrace
|
|
||||||
// flistxattr
|
|
||||||
// fork
|
|
||||||
// fremovexattr
|
|
||||||
// fsetxattr
|
|
||||||
// fstatvfs1
|
|
||||||
// fsync_range
|
|
||||||
// getcontext
|
|
||||||
// getitimer
|
|
||||||
// getvfsstat
|
|
||||||
// getxattr
|
|
||||||
// ktrace
|
|
||||||
// lchflags
|
|
||||||
// lchmod
|
|
||||||
// lfs_bmapv
|
|
||||||
// lfs_markv
|
|
||||||
// lfs_segclean
|
|
||||||
// lfs_segwait
|
|
||||||
// lgetxattr
|
|
||||||
// lio_listio
|
|
||||||
// listxattr
|
|
||||||
// llistxattr
|
|
||||||
// lremovexattr
|
|
||||||
// lseek
|
|
||||||
// lsetxattr
|
|
||||||
// lutimes
|
|
||||||
// madvise
|
|
||||||
// mincore
|
|
||||||
// minherit
|
|
||||||
// modctl
|
|
||||||
// mq_close
|
|
||||||
// mq_getattr
|
|
||||||
// mq_notify
|
|
||||||
// mq_open
|
|
||||||
// mq_receive
|
|
||||||
// mq_send
|
|
||||||
// mq_setattr
|
|
||||||
// mq_timedreceive
|
|
||||||
// mq_timedsend
|
|
||||||
// mq_unlink
|
|
||||||
// mremap
|
|
||||||
// msgget
|
|
||||||
// msgrcv
|
|
||||||
// msgsnd
|
|
||||||
// nfssvc
|
|
||||||
// ntp_adjtime
|
|
||||||
// pmc_control
|
|
||||||
// pmc_get_info
|
|
||||||
// pollts
|
|
||||||
// preadv
|
|
||||||
// profil
|
|
||||||
// pselect
|
|
||||||
// pset_assign
|
|
||||||
// pset_create
|
|
||||||
// pset_destroy
|
|
||||||
// ptrace
|
|
||||||
// pwritev
|
|
||||||
// quotactl
|
|
||||||
// rasctl
|
|
||||||
// readv
|
|
||||||
// reboot
|
|
||||||
// removexattr
|
|
||||||
// sa_enable
|
|
||||||
// sa_preempt
|
|
||||||
// sa_register
|
|
||||||
// sa_setconcurrency
|
|
||||||
// sa_stacks
|
|
||||||
// sa_yield
|
|
||||||
// sbrk
|
|
||||||
// sched_yield
|
|
||||||
// semconfig
|
|
||||||
// semget
|
|
||||||
// semop
|
|
||||||
// setcontext
|
|
||||||
// setitimer
|
|
||||||
// setxattr
|
|
||||||
// shmat
|
|
||||||
// shmdt
|
|
||||||
// shmget
|
|
||||||
// sstk
|
|
||||||
// statvfs1
|
|
||||||
// swapctl
|
|
||||||
// sysarch
|
|
||||||
// syscall
|
|
||||||
// timer_create
|
|
||||||
// timer_delete
|
|
||||||
// timer_getoverrun
|
|
||||||
// timer_gettime
|
|
||||||
// timer_settime
|
|
||||||
// undelete
|
|
||||||
// utrace
|
|
||||||
// uuidgen
|
|
||||||
// vadvise
|
|
||||||
// vfork
|
|
||||||
// writev
|
|
||||||
|
|
|
@ -326,78 +326,4 @@ func Uname(uname *Utsname) error {
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
//sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
|
|
||||||
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
|
||||||
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
||||||
|
|
||||||
/*
|
|
||||||
* Unimplemented
|
|
||||||
*/
|
|
||||||
// __getcwd
|
|
||||||
// __semctl
|
|
||||||
// __syscall
|
|
||||||
// __sysctl
|
|
||||||
// adjfreq
|
|
||||||
// break
|
|
||||||
// clock_getres
|
|
||||||
// clock_gettime
|
|
||||||
// clock_settime
|
|
||||||
// closefrom
|
|
||||||
// execve
|
|
||||||
// fhopen
|
|
||||||
// fhstat
|
|
||||||
// fhstatfs
|
|
||||||
// fork
|
|
||||||
// futimens
|
|
||||||
// getfh
|
|
||||||
// getgid
|
|
||||||
// getitimer
|
|
||||||
// getlogin
|
|
||||||
// getthrid
|
|
||||||
// ktrace
|
|
||||||
// lfs_bmapv
|
|
||||||
// lfs_markv
|
|
||||||
// lfs_segclean
|
|
||||||
// lfs_segwait
|
|
||||||
// mincore
|
|
||||||
// minherit
|
|
||||||
// mount
|
|
||||||
// mquery
|
|
||||||
// msgctl
|
|
||||||
// msgget
|
|
||||||
// msgrcv
|
|
||||||
// msgsnd
|
|
||||||
// nfssvc
|
|
||||||
// nnpfspioctl
|
|
||||||
// preadv
|
|
||||||
// profil
|
|
||||||
// pwritev
|
|
||||||
// quotactl
|
|
||||||
// readv
|
|
||||||
// reboot
|
|
||||||
// renameat
|
|
||||||
// rfork
|
|
||||||
// sched_yield
|
|
||||||
// semget
|
|
||||||
// semop
|
|
||||||
// setgroups
|
|
||||||
// setitimer
|
|
||||||
// setsockopt
|
|
||||||
// shmat
|
|
||||||
// shmctl
|
|
||||||
// shmdt
|
|
||||||
// shmget
|
|
||||||
// sigaction
|
|
||||||
// sigaltstack
|
|
||||||
// sigpending
|
|
||||||
// sigprocmask
|
|
||||||
// sigreturn
|
|
||||||
// sigsuspend
|
|
||||||
// sysarch
|
|
||||||
// syscall
|
|
||||||
// threxit
|
|
||||||
// thrsigdivert
|
|
||||||
// thrsleep
|
|
||||||
// thrwakeup
|
|
||||||
// vfork
|
|
||||||
// writev
|
|
||||||
|
|
|
@ -698,38 +698,6 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
||||||
//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) = libsocket.setsockopt
|
//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) = libsocket.setsockopt
|
||||||
//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) = libsocket.recvfrom
|
//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) = libsocket.recvfrom
|
||||||
|
|
||||||
func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = e1
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0)
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = e1
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event Ports
|
// Event Ports
|
||||||
|
|
||||||
type fileObjCookie struct {
|
type fileObjCookie struct {
|
||||||
|
|
|
@ -147,6 +147,14 @@ func (m *mmapper) Munmap(data []byte) (err error) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
||||||
|
return mapper.Mmap(fd, offset, length, prot, flags)
|
||||||
|
}
|
||||||
|
|
||||||
|
func Munmap(b []byte) (err error) {
|
||||||
|
return mapper.Munmap(b)
|
||||||
|
}
|
||||||
|
|
||||||
func Read(fd int, p []byte) (n int, err error) {
|
func Read(fd int, p []byte) (n int, err error) {
|
||||||
n, err = read(fd, p)
|
n, err = read(fd, p)
|
||||||
if raceenabled {
|
if raceenabled {
|
||||||
|
@ -541,6 +549,9 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if (flag&O_NONBLOCK != 0) == nonblocking {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if nonblocking {
|
if nonblocking {
|
||||||
flag |= O_NONBLOCK
|
flag |= O_NONBLOCK
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -192,7 +192,6 @@ func (cmsg *Cmsghdr) SetLen(length int) {
|
||||||
|
|
||||||
//sys fcntl(fd int, cmd int, arg int) (val int, err error)
|
//sys fcntl(fd int, cmd int, arg int) (val int, err error)
|
||||||
//sys read(fd int, p []byte) (n int, err error)
|
//sys read(fd int, p []byte) (n int, err error)
|
||||||
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
|
|
||||||
//sys write(fd int, p []byte) (n int, err error)
|
//sys write(fd int, p []byte) (n int, err error)
|
||||||
|
|
||||||
//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) = SYS___ACCEPT_A
|
//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) = SYS___ACCEPT_A
|
||||||
|
@ -285,25 +284,11 @@ func Close(fd int) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dummy function: there are no semantics for Madvise on z/OS
|
// Dummy function: there are no semantics for Madvise on z/OS
|
||||||
func Madvise(b []byte, advice int) (err error) {
|
func Madvise(b []byte, advice int) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
|
//sys Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
|
||||||
//sysnb Getegid() (egid int)
|
//sysnb Getegid() (egid int)
|
||||||
//sysnb Geteuid() (uid int)
|
//sysnb Geteuid() (uid int)
|
||||||
|
|
|
@ -2421,6 +2421,15 @@ const (
|
||||||
PR_PAC_GET_ENABLED_KEYS = 0x3d
|
PR_PAC_GET_ENABLED_KEYS = 0x3d
|
||||||
PR_PAC_RESET_KEYS = 0x36
|
PR_PAC_RESET_KEYS = 0x36
|
||||||
PR_PAC_SET_ENABLED_KEYS = 0x3c
|
PR_PAC_SET_ENABLED_KEYS = 0x3c
|
||||||
|
PR_RISCV_V_GET_CONTROL = 0x46
|
||||||
|
PR_RISCV_V_SET_CONTROL = 0x45
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_CUR_MASK = 0x3
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_DEFAULT = 0x0
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_INHERIT = 0x10
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_MASK = 0x1f
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_NEXT_MASK = 0xc
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_OFF = 0x1
|
||||||
|
PR_RISCV_V_VSTATE_CTRL_ON = 0x2
|
||||||
PR_SCHED_CORE = 0x3e
|
PR_SCHED_CORE = 0x3e
|
||||||
PR_SCHED_CORE_CREATE = 0x1
|
PR_SCHED_CORE_CREATE = 0x1
|
||||||
PR_SCHED_CORE_GET = 0x0
|
PR_SCHED_CORE_GET = 0x0
|
||||||
|
@ -2821,6 +2830,23 @@ const (
|
||||||
RWF_SUPPORTED = 0x1f
|
RWF_SUPPORTED = 0x1f
|
||||||
RWF_SYNC = 0x4
|
RWF_SYNC = 0x4
|
||||||
RWF_WRITE_LIFE_NOT_SET = 0x0
|
RWF_WRITE_LIFE_NOT_SET = 0x0
|
||||||
|
SCHED_BATCH = 0x3
|
||||||
|
SCHED_DEADLINE = 0x6
|
||||||
|
SCHED_FIFO = 0x1
|
||||||
|
SCHED_FLAG_ALL = 0x7f
|
||||||
|
SCHED_FLAG_DL_OVERRUN = 0x4
|
||||||
|
SCHED_FLAG_KEEP_ALL = 0x18
|
||||||
|
SCHED_FLAG_KEEP_PARAMS = 0x10
|
||||||
|
SCHED_FLAG_KEEP_POLICY = 0x8
|
||||||
|
SCHED_FLAG_RECLAIM = 0x2
|
||||||
|
SCHED_FLAG_RESET_ON_FORK = 0x1
|
||||||
|
SCHED_FLAG_UTIL_CLAMP = 0x60
|
||||||
|
SCHED_FLAG_UTIL_CLAMP_MAX = 0x40
|
||||||
|
SCHED_FLAG_UTIL_CLAMP_MIN = 0x20
|
||||||
|
SCHED_IDLE = 0x5
|
||||||
|
SCHED_NORMAL = 0x0
|
||||||
|
SCHED_RESET_ON_FORK = 0x40000000
|
||||||
|
SCHED_RR = 0x2
|
||||||
SCM_CREDENTIALS = 0x2
|
SCM_CREDENTIALS = 0x2
|
||||||
SCM_RIGHTS = 0x1
|
SCM_RIGHTS = 0x1
|
||||||
SCM_TIMESTAMP = 0x1d
|
SCM_TIMESTAMP = 0x1d
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80041270
|
BLKBSZGET = 0x80041270
|
||||||
BLKBSZSET = 0x40041271
|
BLKBSZSET = 0x40041271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80041272
|
BLKGETSIZE64 = 0x80041272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -317,10 +326,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -318,10 +327,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80041270
|
BLKBSZGET = 0x80041270
|
||||||
BLKBSZSET = 0x40041271
|
BLKBSZSET = 0x40041271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80041272
|
BLKGETSIZE64 = 0x80041272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -324,10 +333,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -314,10 +323,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -109,6 +118,8 @@ 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
|
||||||
|
@ -308,10 +319,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40041270
|
BLKBSZGET = 0x40041270
|
||||||
BLKBSZSET = 0x80041271
|
BLKBSZSET = 0x80041271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40041272
|
BLKGETSIZE64 = 0x40041272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -317,10 +326,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0x100
|
SO_OOBINLINE = 0x100
|
||||||
SO_PASSCRED = 0x11
|
SO_PASSCRED = 0x11
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x12
|
SO_PEERCRED = 0x12
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1e
|
SO_PEERSEC = 0x1e
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x1028
|
SO_PROTOCOL = 0x1028
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -317,10 +326,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0x100
|
SO_OOBINLINE = 0x100
|
||||||
SO_PASSCRED = 0x11
|
SO_PASSCRED = 0x11
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x12
|
SO_PEERCRED = 0x12
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1e
|
SO_PEERSEC = 0x1e
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x1028
|
SO_PROTOCOL = 0x1028
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -317,10 +326,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0x100
|
SO_OOBINLINE = 0x100
|
||||||
SO_PASSCRED = 0x11
|
SO_PASSCRED = 0x11
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x12
|
SO_PEERCRED = 0x12
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1e
|
SO_PEERSEC = 0x1e
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x1028
|
SO_PROTOCOL = 0x1028
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40041270
|
BLKBSZGET = 0x40041270
|
||||||
BLKBSZSET = 0x80041271
|
BLKBSZSET = 0x80041271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40041272
|
BLKGETSIZE64 = 0x40041272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -317,10 +326,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0x100
|
SO_OOBINLINE = 0x100
|
||||||
SO_PASSCRED = 0x11
|
SO_PASSCRED = 0x11
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x12
|
SO_PEERCRED = 0x12
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1e
|
SO_PEERSEC = 0x1e
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x1028
|
SO_PROTOCOL = 0x1028
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x10
|
B57600 = 0x10
|
||||||
B576000 = 0x15
|
B576000 = 0x15
|
||||||
B921600 = 0x16
|
B921600 = 0x16
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40041270
|
BLKBSZGET = 0x40041270
|
||||||
BLKBSZSET = 0x80041271
|
BLKBSZSET = 0x80041271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40041272
|
BLKGETSIZE64 = 0x40041272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1f
|
BOTHER = 0x1f
|
||||||
BS1 = 0x8000
|
BS1 = 0x8000
|
||||||
BSDLY = 0x8000
|
BSDLY = 0x8000
|
||||||
|
@ -372,10 +381,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x14
|
SO_PASSCRED = 0x14
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x15
|
SO_PEERCRED = 0x15
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x10
|
B57600 = 0x10
|
||||||
B576000 = 0x15
|
B576000 = 0x15
|
||||||
B921600 = 0x16
|
B921600 = 0x16
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1f
|
BOTHER = 0x1f
|
||||||
BS1 = 0x8000
|
BS1 = 0x8000
|
||||||
BSDLY = 0x8000
|
BSDLY = 0x8000
|
||||||
|
@ -376,10 +385,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x14
|
SO_PASSCRED = 0x14
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x15
|
SO_PEERCRED = 0x15
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x10
|
B57600 = 0x10
|
||||||
B576000 = 0x15
|
B576000 = 0x15
|
||||||
B921600 = 0x16
|
B921600 = 0x16
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1f
|
BOTHER = 0x1f
|
||||||
BS1 = 0x8000
|
BS1 = 0x8000
|
||||||
BSDLY = 0x8000
|
BSDLY = 0x8000
|
||||||
|
@ -376,10 +385,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x14
|
SO_PASSCRED = 0x14
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x15
|
SO_PEERCRED = 0x15
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -305,10 +314,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -27,22 +27,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -380,10 +389,12 @@ const (
|
||||||
SO_NOFCS = 0x2b
|
SO_NOFCS = 0x2b
|
||||||
SO_OOBINLINE = 0xa
|
SO_OOBINLINE = 0xa
|
||||||
SO_PASSCRED = 0x10
|
SO_PASSCRED = 0x10
|
||||||
|
SO_PASSPIDFD = 0x4c
|
||||||
SO_PASSSEC = 0x22
|
SO_PASSSEC = 0x22
|
||||||
SO_PEEK_OFF = 0x2a
|
SO_PEEK_OFF = 0x2a
|
||||||
SO_PEERCRED = 0x11
|
SO_PEERCRED = 0x11
|
||||||
SO_PEERGROUPS = 0x3b
|
SO_PEERGROUPS = 0x3b
|
||||||
|
SO_PEERPIDFD = 0x4d
|
||||||
SO_PEERSEC = 0x1f
|
SO_PEERSEC = 0x1f
|
||||||
SO_PREFER_BUSY_POLL = 0x45
|
SO_PREFER_BUSY_POLL = 0x45
|
||||||
SO_PROTOCOL = 0x26
|
SO_PROTOCOL = 0x26
|
||||||
|
|
|
@ -30,22 +30,31 @@ const (
|
||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
@ -419,10 +428,12 @@ const (
|
||||||
SO_NOFCS = 0x27
|
SO_NOFCS = 0x27
|
||||||
SO_OOBINLINE = 0x100
|
SO_OOBINLINE = 0x100
|
||||||
SO_PASSCRED = 0x2
|
SO_PASSCRED = 0x2
|
||||||
|
SO_PASSPIDFD = 0x55
|
||||||
SO_PASSSEC = 0x1f
|
SO_PASSSEC = 0x1f
|
||||||
SO_PEEK_OFF = 0x26
|
SO_PEEK_OFF = 0x26
|
||||||
SO_PEERCRED = 0x40
|
SO_PEERCRED = 0x40
|
||||||
SO_PEERGROUPS = 0x3d
|
SO_PEERGROUPS = 0x3d
|
||||||
|
SO_PEERPIDFD = 0x56
|
||||||
SO_PEERSEC = 0x1e
|
SO_PEERSEC = 0x1e
|
||||||
SO_PREFER_BUSY_POLL = 0x48
|
SO_PREFER_BUSY_POLL = 0x48
|
||||||
SO_PROTOCOL = 0x1028
|
SO_PROTOCOL = 0x1028
|
||||||
|
|
|
@ -817,28 +817,6 @@ func write(fd int, p []byte) (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 readlen(fd int, p *byte, np int) (n int, err error) {
|
|
||||||
r0, er := C.read(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(p))), C.size_t(np))
|
|
||||||
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 writelen(fd int, p *byte, np int) (n int, err error) {
|
|
||||||
r0, er := C.write(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(p))), C.size_t(np))
|
|
||||||
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 Dup2(oldfd int, newfd int) (err error) {
|
func Dup2(oldfd int, newfd int) (err error) {
|
||||||
r0, er := C.dup2(C.int(oldfd), C.int(newfd))
|
r0, er := C.dup2(C.int(oldfd), C.int(newfd))
|
||||||
if r0 == -1 && er != nil {
|
if r0 == -1 && er != nil {
|
||||||
|
|
|
@ -762,28 +762,6 @@ func write(fd int, p []byte) (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 readlen(fd int, p *byte, np int) (n int, err error) {
|
|
||||||
r0, e1 := callread(fd, uintptr(unsafe.Pointer(p)), np)
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, p *byte, np int) (n int, err error) {
|
|
||||||
r0, e1 := callwrite(fd, uintptr(unsafe.Pointer(p)), np)
|
|
||||||
n = 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 := calldup2(oldfd, newfd)
|
_, e1 := calldup2(oldfd, newfd)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
|
@ -725,6 +725,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -733,10 +739,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2410,28 +2412,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func Fstat(fd int, stat *Stat_t) (err error) {
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_fstat64_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
_, _, e1 := syscall_syscall(libc_fstat64_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -2521,14 +2501,6 @@ func ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func ptrace1Ptr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
|
|
||||||
_, _, e1 := syscall_syscall6(libc_ptrace_trampoline_addr, uintptr(request), uintptr(pid), addr, uintptr(data), 0, 0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
var libc_ptrace_trampoline_addr uintptr
|
var libc_ptrace_trampoline_addr uintptr
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||||
|
|
|
@ -5,703 +5,586 @@
|
||||||
|
|
||||||
TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fdopendir(SB)
|
JMP libc_fdopendir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB)
|
DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getgroups(SB)
|
JMP libc_getgroups(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB)
|
DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setgroups(SB)
|
JMP libc_setgroups(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB)
|
DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_wait4(SB)
|
JMP libc_wait4(SB)
|
||||||
|
|
||||||
GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB)
|
DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_accept(SB)
|
JMP libc_accept(SB)
|
||||||
|
|
||||||
GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB)
|
DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_bind(SB)
|
JMP libc_bind(SB)
|
||||||
|
|
||||||
GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
|
DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_connect(SB)
|
JMP libc_connect(SB)
|
||||||
|
|
||||||
GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
|
DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_socket(SB)
|
JMP libc_socket(SB)
|
||||||
|
|
||||||
GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB)
|
DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getsockopt(SB)
|
JMP libc_getsockopt(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB)
|
DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setsockopt(SB)
|
JMP libc_setsockopt(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB)
|
DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpeername(SB)
|
JMP libc_getpeername(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB)
|
DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getsockname(SB)
|
JMP libc_getsockname(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB)
|
DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shutdown(SB)
|
JMP libc_shutdown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB)
|
DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_socketpair(SB)
|
JMP libc_socketpair(SB)
|
||||||
|
|
||||||
GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB)
|
DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_recvfrom(SB)
|
JMP libc_recvfrom(SB)
|
||||||
|
|
||||||
GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB)
|
DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sendto(SB)
|
JMP libc_sendto(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB)
|
DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_recvmsg(SB)
|
JMP libc_recvmsg(SB)
|
||||||
|
|
||||||
GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB)
|
DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sendmsg(SB)
|
JMP libc_sendmsg(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB)
|
DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_kevent(SB)
|
JMP libc_kevent(SB)
|
||||||
|
|
||||||
GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB)
|
DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_utimes(SB)
|
JMP libc_utimes(SB)
|
||||||
|
|
||||||
GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB)
|
DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_futimes(SB)
|
JMP libc_futimes(SB)
|
||||||
|
|
||||||
GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB)
|
DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_poll(SB)
|
JMP libc_poll(SB)
|
||||||
|
|
||||||
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
|
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_madvise(SB)
|
JMP libc_madvise(SB)
|
||||||
|
|
||||||
GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB)
|
DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mlock(SB)
|
JMP libc_mlock(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB)
|
DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mlockall(SB)
|
JMP libc_mlockall(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB)
|
DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mprotect(SB)
|
JMP libc_mprotect(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB)
|
DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_msync(SB)
|
JMP libc_msync(SB)
|
||||||
|
|
||||||
GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB)
|
DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_munlock(SB)
|
JMP libc_munlock(SB)
|
||||||
|
|
||||||
GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB)
|
DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_munlockall(SB)
|
JMP libc_munlockall(SB)
|
||||||
|
|
||||||
GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
|
DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_closedir(SB)
|
JMP libc_closedir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB)
|
DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_readdir_r(SB)
|
JMP libc_readdir_r(SB)
|
||||||
|
|
||||||
GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB)
|
DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pipe(SB)
|
JMP libc_pipe(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pipe_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pipe_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pipe_trampoline_addr(SB)/8, $libc_pipe_trampoline<>(SB)
|
DATA ·libc_pipe_trampoline_addr(SB)/8, $libc_pipe_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getxattr(SB)
|
JMP libc_getxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getxattr_trampoline_addr(SB)/8, $libc_getxattr_trampoline<>(SB)
|
DATA ·libc_getxattr_trampoline_addr(SB)/8, $libc_getxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fgetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fgetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fgetxattr(SB)
|
JMP libc_fgetxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fgetxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fgetxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fgetxattr_trampoline_addr(SB)/8, $libc_fgetxattr_trampoline<>(SB)
|
DATA ·libc_fgetxattr_trampoline_addr(SB)/8, $libc_fgetxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setxattr(SB)
|
JMP libc_setxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setxattr_trampoline_addr(SB)/8, $libc_setxattr_trampoline<>(SB)
|
DATA ·libc_setxattr_trampoline_addr(SB)/8, $libc_setxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fsetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fsetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fsetxattr(SB)
|
JMP libc_fsetxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fsetxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fsetxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fsetxattr_trampoline_addr(SB)/8, $libc_fsetxattr_trampoline<>(SB)
|
DATA ·libc_fsetxattr_trampoline_addr(SB)/8, $libc_fsetxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_removexattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_removexattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_removexattr(SB)
|
JMP libc_removexattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_removexattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_removexattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_removexattr_trampoline_addr(SB)/8, $libc_removexattr_trampoline<>(SB)
|
DATA ·libc_removexattr_trampoline_addr(SB)/8, $libc_removexattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fremovexattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fremovexattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fremovexattr(SB)
|
JMP libc_fremovexattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fremovexattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fremovexattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fremovexattr_trampoline_addr(SB)/8, $libc_fremovexattr_trampoline<>(SB)
|
DATA ·libc_fremovexattr_trampoline_addr(SB)/8, $libc_fremovexattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_listxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_listxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_listxattr(SB)
|
JMP libc_listxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_listxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_listxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_listxattr_trampoline_addr(SB)/8, $libc_listxattr_trampoline<>(SB)
|
DATA ·libc_listxattr_trampoline_addr(SB)/8, $libc_listxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_flistxattr(SB)
|
JMP libc_flistxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB)
|
DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_utimensat(SB)
|
JMP libc_utimensat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fcntl(SB)
|
JMP libc_fcntl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB)
|
DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_kill(SB)
|
JMP libc_kill(SB)
|
||||||
|
|
||||||
GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
|
DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
|
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sysctl(SB)
|
JMP libc_sysctl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
|
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sendfile(SB)
|
JMP libc_sendfile(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB)
|
DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmat(SB)
|
JMP libc_shmat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmat_trampoline_addr(SB)/8, $libc_shmat_trampoline<>(SB)
|
DATA ·libc_shmat_trampoline_addr(SB)/8, $libc_shmat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmctl(SB)
|
JMP libc_shmctl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmctl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmctl_trampoline_addr(SB)/8, $libc_shmctl_trampoline<>(SB)
|
DATA ·libc_shmctl_trampoline_addr(SB)/8, $libc_shmctl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmdt_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmdt_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmdt(SB)
|
JMP libc_shmdt(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmdt_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmdt_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmdt_trampoline_addr(SB)/8, $libc_shmdt_trampoline<>(SB)
|
DATA ·libc_shmdt_trampoline_addr(SB)/8, $libc_shmdt_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmget_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmget_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmget(SB)
|
JMP libc_shmget(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmget_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmget_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmget_trampoline_addr(SB)/8, $libc_shmget_trampoline<>(SB)
|
DATA ·libc_shmget_trampoline_addr(SB)/8, $libc_shmget_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_access(SB)
|
JMP libc_access(SB)
|
||||||
|
|
||||||
GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB)
|
DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_adjtime(SB)
|
JMP libc_adjtime(SB)
|
||||||
|
|
||||||
GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB)
|
DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chdir(SB)
|
JMP libc_chdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB)
|
DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chflags(SB)
|
JMP libc_chflags(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB)
|
DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chmod(SB)
|
JMP libc_chmod(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB)
|
DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chown(SB)
|
JMP libc_chown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB)
|
DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chroot(SB)
|
JMP libc_chroot(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
|
DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_clock_gettime_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_clock_gettime_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_clock_gettime(SB)
|
JMP libc_clock_gettime(SB)
|
||||||
|
|
||||||
GLOBL ·libc_clock_gettime_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_clock_gettime_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_clock_gettime_trampoline_addr(SB)/8, $libc_clock_gettime_trampoline<>(SB)
|
DATA ·libc_clock_gettime_trampoline_addr(SB)/8, $libc_clock_gettime_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_close(SB)
|
JMP libc_close(SB)
|
||||||
|
|
||||||
GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
|
DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_clonefile_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_clonefile_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_clonefile(SB)
|
JMP libc_clonefile(SB)
|
||||||
|
|
||||||
GLOBL ·libc_clonefile_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_clonefile_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_clonefile_trampoline_addr(SB)/8, $libc_clonefile_trampoline<>(SB)
|
DATA ·libc_clonefile_trampoline_addr(SB)/8, $libc_clonefile_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_clonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_clonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_clonefileat(SB)
|
JMP libc_clonefileat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_clonefileat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_clonefileat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_clonefileat_trampoline_addr(SB)/8, $libc_clonefileat_trampoline<>(SB)
|
DATA ·libc_clonefileat_trampoline_addr(SB)/8, $libc_clonefileat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_dup(SB)
|
JMP libc_dup(SB)
|
||||||
|
|
||||||
GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB)
|
DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_dup2(SB)
|
JMP libc_dup2(SB)
|
||||||
|
|
||||||
GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
|
DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_exchangedata_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_exchangedata_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_exchangedata(SB)
|
JMP libc_exchangedata(SB)
|
||||||
|
|
||||||
GLOBL ·libc_exchangedata_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_exchangedata_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_exchangedata_trampoline_addr(SB)/8, $libc_exchangedata_trampoline<>(SB)
|
DATA ·libc_exchangedata_trampoline_addr(SB)/8, $libc_exchangedata_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_exit(SB)
|
JMP libc_exit(SB)
|
||||||
|
|
||||||
GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB)
|
DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_faccessat(SB)
|
JMP libc_faccessat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB)
|
DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchdir(SB)
|
JMP libc_fchdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB)
|
DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchflags(SB)
|
JMP libc_fchflags(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB)
|
DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchmod(SB)
|
JMP libc_fchmod(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB)
|
DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchmodat(SB)
|
JMP libc_fchmodat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB)
|
DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchown(SB)
|
JMP libc_fchown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB)
|
DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchownat(SB)
|
JMP libc_fchownat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
|
DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fclonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fclonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fclonefileat(SB)
|
JMP libc_fclonefileat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fclonefileat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fclonefileat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fclonefileat_trampoline_addr(SB)/8, $libc_fclonefileat_trampoline<>(SB)
|
DATA ·libc_fclonefileat_trampoline_addr(SB)/8, $libc_fclonefileat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_flock(SB)
|
JMP libc_flock(SB)
|
||||||
|
|
||||||
GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB)
|
DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fpathconf(SB)
|
JMP libc_fpathconf(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
|
DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fsync(SB)
|
JMP libc_fsync(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB)
|
DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ftruncate(SB)
|
JMP libc_ftruncate(SB)
|
||||||
|
|
||||||
GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
|
DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getcwd(SB)
|
JMP libc_getcwd(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getdtablesize_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getdtablesize_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getdtablesize(SB)
|
JMP libc_getdtablesize(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getdtablesize_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getdtablesize_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getdtablesize_trampoline_addr(SB)/8, $libc_getdtablesize_trampoline<>(SB)
|
DATA ·libc_getdtablesize_trampoline_addr(SB)/8, $libc_getdtablesize_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getegid(SB)
|
JMP libc_getegid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB)
|
DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_geteuid(SB)
|
JMP libc_geteuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB)
|
DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getgid(SB)
|
JMP libc_getgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB)
|
DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpgid(SB)
|
JMP libc_getpgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB)
|
DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpgrp(SB)
|
JMP libc_getpgrp(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB)
|
DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpid(SB)
|
JMP libc_getpid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB)
|
DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getppid(SB)
|
JMP libc_getppid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB)
|
DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpriority(SB)
|
JMP libc_getpriority(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB)
|
DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getrlimit(SB)
|
JMP libc_getrlimit(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
|
DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getrusage(SB)
|
JMP libc_getrusage(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB)
|
DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getsid(SB)
|
JMP libc_getsid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB)
|
DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_gettimeofday(SB)
|
JMP libc_gettimeofday(SB)
|
||||||
|
|
||||||
GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB)
|
DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getuid(SB)
|
JMP libc_getuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB)
|
DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_issetugid(SB)
|
JMP libc_issetugid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
|
DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_kqueue(SB)
|
JMP libc_kqueue(SB)
|
||||||
|
|
||||||
GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB)
|
DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_lchown(SB)
|
JMP libc_lchown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB)
|
DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_link(SB)
|
JMP libc_link(SB)
|
||||||
|
|
||||||
GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB)
|
DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_linkat(SB)
|
JMP libc_linkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB)
|
DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_listen(SB)
|
JMP libc_listen(SB)
|
||||||
|
|
||||||
GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
|
DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mkdir(SB)
|
JMP libc_mkdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB)
|
DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mkdirat(SB)
|
JMP libc_mkdirat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB)
|
DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mkfifo(SB)
|
JMP libc_mkfifo(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
|
DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mknod(SB)
|
JMP libc_mknod(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
|
DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mount(SB)
|
JMP libc_mount(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
|
DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_open(SB)
|
JMP libc_open(SB)
|
||||||
|
|
||||||
GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB)
|
DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_openat(SB)
|
JMP libc_openat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB)
|
DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pathconf(SB)
|
JMP libc_pathconf(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB)
|
DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pread(SB)
|
JMP libc_pread(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB)
|
DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pwrite(SB)
|
JMP libc_pwrite(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB)
|
DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_read(SB)
|
JMP libc_read(SB)
|
||||||
|
|
||||||
GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB)
|
DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_readlink(SB)
|
JMP libc_readlink(SB)
|
||||||
|
|
||||||
GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB)
|
DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_readlinkat(SB)
|
JMP libc_readlinkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB)
|
DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_rename(SB)
|
JMP libc_rename(SB)
|
||||||
|
|
||||||
GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB)
|
DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_renameat(SB)
|
JMP libc_renameat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB)
|
DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_revoke(SB)
|
JMP libc_revoke(SB)
|
||||||
|
|
||||||
GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB)
|
DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_rmdir(SB)
|
JMP libc_rmdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB)
|
DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_lseek(SB)
|
JMP libc_lseek(SB)
|
||||||
|
|
||||||
GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB)
|
DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_select(SB)
|
JMP libc_select(SB)
|
||||||
|
|
||||||
GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB)
|
DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB)
|
||||||
|
|
||||||
|
@ -712,192 +595,160 @@ DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB
|
||||||
|
|
||||||
TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setegid(SB)
|
JMP libc_setegid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB)
|
DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_seteuid(SB)
|
JMP libc_seteuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB)
|
DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setgid(SB)
|
JMP libc_setgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB)
|
DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setlogin(SB)
|
JMP libc_setlogin(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB)
|
DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setpgid(SB)
|
JMP libc_setpgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)
|
DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setpriority(SB)
|
JMP libc_setpriority(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
|
DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setprivexec_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setprivexec_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setprivexec(SB)
|
JMP libc_setprivexec(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setprivexec_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setprivexec_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setprivexec_trampoline_addr(SB)/8, $libc_setprivexec_trampoline<>(SB)
|
DATA ·libc_setprivexec_trampoline_addr(SB)/8, $libc_setprivexec_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setregid(SB)
|
JMP libc_setregid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB)
|
DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setreuid(SB)
|
JMP libc_setreuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
|
DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setsid(SB)
|
JMP libc_setsid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB)
|
DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_settimeofday(SB)
|
JMP libc_settimeofday(SB)
|
||||||
|
|
||||||
GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB)
|
DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setuid(SB)
|
JMP libc_setuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
|
DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_symlink(SB)
|
JMP libc_symlink(SB)
|
||||||
|
|
||||||
GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB)
|
DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_symlinkat(SB)
|
JMP libc_symlinkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB)
|
DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sync(SB)
|
JMP libc_sync(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB)
|
DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_truncate(SB)
|
JMP libc_truncate(SB)
|
||||||
|
|
||||||
GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB)
|
DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_umask(SB)
|
JMP libc_umask(SB)
|
||||||
|
|
||||||
GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
|
DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_undelete_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_undelete_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_undelete(SB)
|
JMP libc_undelete(SB)
|
||||||
|
|
||||||
GLOBL ·libc_undelete_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_undelete_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_undelete_trampoline_addr(SB)/8, $libc_undelete_trampoline<>(SB)
|
DATA ·libc_undelete_trampoline_addr(SB)/8, $libc_undelete_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_unlink(SB)
|
JMP libc_unlink(SB)
|
||||||
|
|
||||||
GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB)
|
DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_unlinkat(SB)
|
JMP libc_unlinkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB)
|
DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_unmount(SB)
|
JMP libc_unmount(SB)
|
||||||
|
|
||||||
GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB)
|
DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_write(SB)
|
JMP libc_write(SB)
|
||||||
|
|
||||||
GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB)
|
DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mmap(SB)
|
JMP libc_mmap(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB)
|
DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_munmap(SB)
|
JMP libc_munmap(SB)
|
||||||
|
|
||||||
GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
|
DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fstat64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fstat64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fstat64(SB)
|
JMP libc_fstat64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fstat64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fstat64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fstat64_trampoline_addr(SB)/8, $libc_fstat64_trampoline<>(SB)
|
DATA ·libc_fstat64_trampoline_addr(SB)/8, $libc_fstat64_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fstatat64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fstatat64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fstatat64(SB)
|
JMP libc_fstatat64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fstatat64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fstatat64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fstatat64_trampoline_addr(SB)/8, $libc_fstatat64_trampoline<>(SB)
|
DATA ·libc_fstatat64_trampoline_addr(SB)/8, $libc_fstatat64_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fstatfs64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fstatfs64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fstatfs64(SB)
|
JMP libc_fstatfs64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fstatfs64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fstatfs64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fstatfs64_trampoline_addr(SB)/8, $libc_fstatfs64_trampoline<>(SB)
|
DATA ·libc_fstatfs64_trampoline_addr(SB)/8, $libc_fstatfs64_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getfsstat64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getfsstat64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getfsstat64(SB)
|
JMP libc_getfsstat64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getfsstat64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getfsstat64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getfsstat64_trampoline_addr(SB)/8, $libc_getfsstat64_trampoline<>(SB)
|
DATA ·libc_getfsstat64_trampoline_addr(SB)/8, $libc_getfsstat64_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_lstat64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_lstat64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_lstat64(SB)
|
JMP libc_lstat64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_lstat64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_lstat64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_lstat64_trampoline_addr(SB)/8, $libc_lstat64_trampoline<>(SB)
|
DATA ·libc_lstat64_trampoline_addr(SB)/8, $libc_lstat64_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ptrace_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ptrace_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ptrace(SB)
|
JMP libc_ptrace(SB)
|
||||||
|
|
||||||
GLOBL ·libc_ptrace_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ptrace_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_ptrace_trampoline_addr(SB)/8, $libc_ptrace_trampoline<>(SB)
|
DATA ·libc_ptrace_trampoline_addr(SB)/8, $libc_ptrace_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_stat64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_stat64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_stat64(SB)
|
JMP libc_stat64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_stat64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_stat64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_stat64_trampoline_addr(SB)/8, $libc_stat64_trampoline<>(SB)
|
DATA ·libc_stat64_trampoline_addr(SB)/8, $libc_stat64_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_statfs64_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_statfs64_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_statfs64(SB)
|
JMP libc_statfs64(SB)
|
||||||
|
|
||||||
GLOBL ·libc_statfs64_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_statfs64_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_statfs64_trampoline_addr(SB)/8, $libc_statfs64_trampoline<>(SB)
|
DATA ·libc_statfs64_trampoline_addr(SB)/8, $libc_statfs64_trampoline<>(SB)
|
||||||
|
|
|
@ -725,6 +725,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -733,10 +739,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2410,28 +2412,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func Fstat(fd int, stat *Stat_t) (err error) {
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
_, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -2521,14 +2501,6 @@ func ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func ptrace1Ptr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
|
|
||||||
_, _, e1 := syscall_syscall6(libc_ptrace_trampoline_addr, uintptr(request), uintptr(pid), addr, uintptr(data), 0, 0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
var libc_ptrace_trampoline_addr uintptr
|
var libc_ptrace_trampoline_addr uintptr
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||||
|
|
|
@ -5,703 +5,586 @@
|
||||||
|
|
||||||
TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fdopendir(SB)
|
JMP libc_fdopendir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB)
|
DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getgroups(SB)
|
JMP libc_getgroups(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB)
|
DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setgroups(SB)
|
JMP libc_setgroups(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB)
|
DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_wait4(SB)
|
JMP libc_wait4(SB)
|
||||||
|
|
||||||
GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB)
|
DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_accept(SB)
|
JMP libc_accept(SB)
|
||||||
|
|
||||||
GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB)
|
DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_bind(SB)
|
JMP libc_bind(SB)
|
||||||
|
|
||||||
GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
|
DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_connect(SB)
|
JMP libc_connect(SB)
|
||||||
|
|
||||||
GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
|
DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_socket(SB)
|
JMP libc_socket(SB)
|
||||||
|
|
||||||
GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB)
|
DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getsockopt(SB)
|
JMP libc_getsockopt(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB)
|
DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setsockopt(SB)
|
JMP libc_setsockopt(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB)
|
DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpeername(SB)
|
JMP libc_getpeername(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB)
|
DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getsockname(SB)
|
JMP libc_getsockname(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB)
|
DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shutdown(SB)
|
JMP libc_shutdown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB)
|
DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_socketpair(SB)
|
JMP libc_socketpair(SB)
|
||||||
|
|
||||||
GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB)
|
DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_recvfrom(SB)
|
JMP libc_recvfrom(SB)
|
||||||
|
|
||||||
GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB)
|
DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sendto(SB)
|
JMP libc_sendto(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB)
|
DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_recvmsg(SB)
|
JMP libc_recvmsg(SB)
|
||||||
|
|
||||||
GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB)
|
DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sendmsg(SB)
|
JMP libc_sendmsg(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB)
|
DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_kevent(SB)
|
JMP libc_kevent(SB)
|
||||||
|
|
||||||
GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB)
|
DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_utimes(SB)
|
JMP libc_utimes(SB)
|
||||||
|
|
||||||
GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB)
|
DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_futimes(SB)
|
JMP libc_futimes(SB)
|
||||||
|
|
||||||
GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB)
|
DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_poll(SB)
|
JMP libc_poll(SB)
|
||||||
|
|
||||||
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
|
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_madvise(SB)
|
JMP libc_madvise(SB)
|
||||||
|
|
||||||
GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB)
|
DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mlock(SB)
|
JMP libc_mlock(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB)
|
DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mlockall(SB)
|
JMP libc_mlockall(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB)
|
DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mprotect(SB)
|
JMP libc_mprotect(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB)
|
DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_msync(SB)
|
JMP libc_msync(SB)
|
||||||
|
|
||||||
GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB)
|
DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_munlock(SB)
|
JMP libc_munlock(SB)
|
||||||
|
|
||||||
GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB)
|
DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_munlockall(SB)
|
JMP libc_munlockall(SB)
|
||||||
|
|
||||||
GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
|
DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_closedir(SB)
|
JMP libc_closedir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB)
|
DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_readdir_r(SB)
|
JMP libc_readdir_r(SB)
|
||||||
|
|
||||||
GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB)
|
DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pipe(SB)
|
JMP libc_pipe(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pipe_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pipe_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pipe_trampoline_addr(SB)/8, $libc_pipe_trampoline<>(SB)
|
DATA ·libc_pipe_trampoline_addr(SB)/8, $libc_pipe_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getxattr(SB)
|
JMP libc_getxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getxattr_trampoline_addr(SB)/8, $libc_getxattr_trampoline<>(SB)
|
DATA ·libc_getxattr_trampoline_addr(SB)/8, $libc_getxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fgetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fgetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fgetxattr(SB)
|
JMP libc_fgetxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fgetxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fgetxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fgetxattr_trampoline_addr(SB)/8, $libc_fgetxattr_trampoline<>(SB)
|
DATA ·libc_fgetxattr_trampoline_addr(SB)/8, $libc_fgetxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setxattr(SB)
|
JMP libc_setxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setxattr_trampoline_addr(SB)/8, $libc_setxattr_trampoline<>(SB)
|
DATA ·libc_setxattr_trampoline_addr(SB)/8, $libc_setxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fsetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fsetxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fsetxattr(SB)
|
JMP libc_fsetxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fsetxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fsetxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fsetxattr_trampoline_addr(SB)/8, $libc_fsetxattr_trampoline<>(SB)
|
DATA ·libc_fsetxattr_trampoline_addr(SB)/8, $libc_fsetxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_removexattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_removexattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_removexattr(SB)
|
JMP libc_removexattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_removexattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_removexattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_removexattr_trampoline_addr(SB)/8, $libc_removexattr_trampoline<>(SB)
|
DATA ·libc_removexattr_trampoline_addr(SB)/8, $libc_removexattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fremovexattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fremovexattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fremovexattr(SB)
|
JMP libc_fremovexattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fremovexattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fremovexattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fremovexattr_trampoline_addr(SB)/8, $libc_fremovexattr_trampoline<>(SB)
|
DATA ·libc_fremovexattr_trampoline_addr(SB)/8, $libc_fremovexattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_listxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_listxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_listxattr(SB)
|
JMP libc_listxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_listxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_listxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_listxattr_trampoline_addr(SB)/8, $libc_listxattr_trampoline<>(SB)
|
DATA ·libc_listxattr_trampoline_addr(SB)/8, $libc_listxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_flistxattr(SB)
|
JMP libc_flistxattr(SB)
|
||||||
|
|
||||||
GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB)
|
DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_utimensat(SB)
|
JMP libc_utimensat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fcntl(SB)
|
JMP libc_fcntl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB)
|
DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_kill(SB)
|
JMP libc_kill(SB)
|
||||||
|
|
||||||
GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
|
DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
|
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sysctl(SB)
|
JMP libc_sysctl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
|
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sendfile(SB)
|
JMP libc_sendfile(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB)
|
DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmat(SB)
|
JMP libc_shmat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmat_trampoline_addr(SB)/8, $libc_shmat_trampoline<>(SB)
|
DATA ·libc_shmat_trampoline_addr(SB)/8, $libc_shmat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmctl(SB)
|
JMP libc_shmctl(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmctl_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmctl_trampoline_addr(SB)/8, $libc_shmctl_trampoline<>(SB)
|
DATA ·libc_shmctl_trampoline_addr(SB)/8, $libc_shmctl_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmdt_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmdt_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmdt(SB)
|
JMP libc_shmdt(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmdt_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmdt_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmdt_trampoline_addr(SB)/8, $libc_shmdt_trampoline<>(SB)
|
DATA ·libc_shmdt_trampoline_addr(SB)/8, $libc_shmdt_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_shmget_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_shmget_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_shmget(SB)
|
JMP libc_shmget(SB)
|
||||||
|
|
||||||
GLOBL ·libc_shmget_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_shmget_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_shmget_trampoline_addr(SB)/8, $libc_shmget_trampoline<>(SB)
|
DATA ·libc_shmget_trampoline_addr(SB)/8, $libc_shmget_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_access(SB)
|
JMP libc_access(SB)
|
||||||
|
|
||||||
GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB)
|
DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_adjtime(SB)
|
JMP libc_adjtime(SB)
|
||||||
|
|
||||||
GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB)
|
DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chdir(SB)
|
JMP libc_chdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB)
|
DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chflags(SB)
|
JMP libc_chflags(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB)
|
DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chmod(SB)
|
JMP libc_chmod(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB)
|
DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chown(SB)
|
JMP libc_chown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB)
|
DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_chroot(SB)
|
JMP libc_chroot(SB)
|
||||||
|
|
||||||
GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
|
DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_clock_gettime_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_clock_gettime_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_clock_gettime(SB)
|
JMP libc_clock_gettime(SB)
|
||||||
|
|
||||||
GLOBL ·libc_clock_gettime_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_clock_gettime_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_clock_gettime_trampoline_addr(SB)/8, $libc_clock_gettime_trampoline<>(SB)
|
DATA ·libc_clock_gettime_trampoline_addr(SB)/8, $libc_clock_gettime_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_close(SB)
|
JMP libc_close(SB)
|
||||||
|
|
||||||
GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
|
DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_clonefile_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_clonefile_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_clonefile(SB)
|
JMP libc_clonefile(SB)
|
||||||
|
|
||||||
GLOBL ·libc_clonefile_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_clonefile_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_clonefile_trampoline_addr(SB)/8, $libc_clonefile_trampoline<>(SB)
|
DATA ·libc_clonefile_trampoline_addr(SB)/8, $libc_clonefile_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_clonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_clonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_clonefileat(SB)
|
JMP libc_clonefileat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_clonefileat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_clonefileat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_clonefileat_trampoline_addr(SB)/8, $libc_clonefileat_trampoline<>(SB)
|
DATA ·libc_clonefileat_trampoline_addr(SB)/8, $libc_clonefileat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_dup(SB)
|
JMP libc_dup(SB)
|
||||||
|
|
||||||
GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB)
|
DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_dup2(SB)
|
JMP libc_dup2(SB)
|
||||||
|
|
||||||
GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
|
DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_exchangedata_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_exchangedata_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_exchangedata(SB)
|
JMP libc_exchangedata(SB)
|
||||||
|
|
||||||
GLOBL ·libc_exchangedata_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_exchangedata_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_exchangedata_trampoline_addr(SB)/8, $libc_exchangedata_trampoline<>(SB)
|
DATA ·libc_exchangedata_trampoline_addr(SB)/8, $libc_exchangedata_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_exit(SB)
|
JMP libc_exit(SB)
|
||||||
|
|
||||||
GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB)
|
DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_faccessat(SB)
|
JMP libc_faccessat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB)
|
DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchdir(SB)
|
JMP libc_fchdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB)
|
DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchflags(SB)
|
JMP libc_fchflags(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB)
|
DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchmod(SB)
|
JMP libc_fchmod(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB)
|
DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchmodat(SB)
|
JMP libc_fchmodat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB)
|
DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchown(SB)
|
JMP libc_fchown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB)
|
DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fchownat(SB)
|
JMP libc_fchownat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
|
DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fclonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fclonefileat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fclonefileat(SB)
|
JMP libc_fclonefileat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fclonefileat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fclonefileat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fclonefileat_trampoline_addr(SB)/8, $libc_fclonefileat_trampoline<>(SB)
|
DATA ·libc_fclonefileat_trampoline_addr(SB)/8, $libc_fclonefileat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_flock(SB)
|
JMP libc_flock(SB)
|
||||||
|
|
||||||
GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB)
|
DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fpathconf(SB)
|
JMP libc_fpathconf(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
|
DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fsync(SB)
|
JMP libc_fsync(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB)
|
DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ftruncate(SB)
|
JMP libc_ftruncate(SB)
|
||||||
|
|
||||||
GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
|
DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getcwd(SB)
|
JMP libc_getcwd(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getdtablesize_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getdtablesize_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getdtablesize(SB)
|
JMP libc_getdtablesize(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getdtablesize_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getdtablesize_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getdtablesize_trampoline_addr(SB)/8, $libc_getdtablesize_trampoline<>(SB)
|
DATA ·libc_getdtablesize_trampoline_addr(SB)/8, $libc_getdtablesize_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getegid(SB)
|
JMP libc_getegid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB)
|
DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_geteuid(SB)
|
JMP libc_geteuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB)
|
DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getgid(SB)
|
JMP libc_getgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB)
|
DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpgid(SB)
|
JMP libc_getpgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB)
|
DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpgrp(SB)
|
JMP libc_getpgrp(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB)
|
DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpid(SB)
|
JMP libc_getpid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB)
|
DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getppid(SB)
|
JMP libc_getppid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB)
|
DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getpriority(SB)
|
JMP libc_getpriority(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB)
|
DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getrlimit(SB)
|
JMP libc_getrlimit(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
|
DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getrusage(SB)
|
JMP libc_getrusage(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB)
|
DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getsid(SB)
|
JMP libc_getsid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB)
|
DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_gettimeofday(SB)
|
JMP libc_gettimeofday(SB)
|
||||||
|
|
||||||
GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB)
|
DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getuid(SB)
|
JMP libc_getuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB)
|
DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_issetugid(SB)
|
JMP libc_issetugid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
|
DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_kqueue(SB)
|
JMP libc_kqueue(SB)
|
||||||
|
|
||||||
GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB)
|
DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_lchown(SB)
|
JMP libc_lchown(SB)
|
||||||
|
|
||||||
GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB)
|
DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_link(SB)
|
JMP libc_link(SB)
|
||||||
|
|
||||||
GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB)
|
DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_linkat(SB)
|
JMP libc_linkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB)
|
DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_listen(SB)
|
JMP libc_listen(SB)
|
||||||
|
|
||||||
GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
|
DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mkdir(SB)
|
JMP libc_mkdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB)
|
DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mkdirat(SB)
|
JMP libc_mkdirat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB)
|
DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mkfifo(SB)
|
JMP libc_mkfifo(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
|
DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mknod(SB)
|
JMP libc_mknod(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
|
DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mount(SB)
|
JMP libc_mount(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
|
DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_open(SB)
|
JMP libc_open(SB)
|
||||||
|
|
||||||
GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB)
|
DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_openat(SB)
|
JMP libc_openat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB)
|
DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pathconf(SB)
|
JMP libc_pathconf(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB)
|
DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pread(SB)
|
JMP libc_pread(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB)
|
DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_pwrite(SB)
|
JMP libc_pwrite(SB)
|
||||||
|
|
||||||
GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB)
|
DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_read(SB)
|
JMP libc_read(SB)
|
||||||
|
|
||||||
GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB)
|
DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_readlink(SB)
|
JMP libc_readlink(SB)
|
||||||
|
|
||||||
GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB)
|
DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_readlinkat(SB)
|
JMP libc_readlinkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB)
|
DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_rename(SB)
|
JMP libc_rename(SB)
|
||||||
|
|
||||||
GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB)
|
DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_renameat(SB)
|
JMP libc_renameat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB)
|
DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_revoke(SB)
|
JMP libc_revoke(SB)
|
||||||
|
|
||||||
GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB)
|
DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_rmdir(SB)
|
JMP libc_rmdir(SB)
|
||||||
|
|
||||||
GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB)
|
DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_lseek(SB)
|
JMP libc_lseek(SB)
|
||||||
|
|
||||||
GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB)
|
DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_select(SB)
|
JMP libc_select(SB)
|
||||||
|
|
||||||
GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB)
|
DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB)
|
||||||
|
|
||||||
|
@ -712,192 +595,160 @@ DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB
|
||||||
|
|
||||||
TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setegid(SB)
|
JMP libc_setegid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB)
|
DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_seteuid(SB)
|
JMP libc_seteuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB)
|
DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setgid(SB)
|
JMP libc_setgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB)
|
DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setlogin(SB)
|
JMP libc_setlogin(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB)
|
DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setpgid(SB)
|
JMP libc_setpgid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)
|
DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setpriority(SB)
|
JMP libc_setpriority(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
|
DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setprivexec_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setprivexec_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setprivexec(SB)
|
JMP libc_setprivexec(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setprivexec_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setprivexec_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setprivexec_trampoline_addr(SB)/8, $libc_setprivexec_trampoline<>(SB)
|
DATA ·libc_setprivexec_trampoline_addr(SB)/8, $libc_setprivexec_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setregid(SB)
|
JMP libc_setregid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB)
|
DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setreuid(SB)
|
JMP libc_setreuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
|
DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setsid(SB)
|
JMP libc_setsid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB)
|
DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_settimeofday(SB)
|
JMP libc_settimeofday(SB)
|
||||||
|
|
||||||
GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB)
|
DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_setuid(SB)
|
JMP libc_setuid(SB)
|
||||||
|
|
||||||
GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
|
DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_symlink(SB)
|
JMP libc_symlink(SB)
|
||||||
|
|
||||||
GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB)
|
DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_symlinkat(SB)
|
JMP libc_symlinkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB)
|
DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_sync(SB)
|
JMP libc_sync(SB)
|
||||||
|
|
||||||
GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB)
|
DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_truncate(SB)
|
JMP libc_truncate(SB)
|
||||||
|
|
||||||
GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB)
|
DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_umask(SB)
|
JMP libc_umask(SB)
|
||||||
|
|
||||||
GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
|
DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_undelete_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_undelete_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_undelete(SB)
|
JMP libc_undelete(SB)
|
||||||
|
|
||||||
GLOBL ·libc_undelete_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_undelete_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_undelete_trampoline_addr(SB)/8, $libc_undelete_trampoline<>(SB)
|
DATA ·libc_undelete_trampoline_addr(SB)/8, $libc_undelete_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_unlink(SB)
|
JMP libc_unlink(SB)
|
||||||
|
|
||||||
GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB)
|
DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_unlinkat(SB)
|
JMP libc_unlinkat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB)
|
DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_unmount(SB)
|
JMP libc_unmount(SB)
|
||||||
|
|
||||||
GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB)
|
DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_write(SB)
|
JMP libc_write(SB)
|
||||||
|
|
||||||
GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB)
|
DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_mmap(SB)
|
JMP libc_mmap(SB)
|
||||||
|
|
||||||
GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB)
|
DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_munmap(SB)
|
JMP libc_munmap(SB)
|
||||||
|
|
||||||
GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
|
DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fstat(SB)
|
JMP libc_fstat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB)
|
DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fstatat(SB)
|
JMP libc_fstatat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB)
|
DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_fstatfs(SB)
|
JMP libc_fstatfs(SB)
|
||||||
|
|
||||||
GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB)
|
DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_getfsstat(SB)
|
JMP libc_getfsstat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB)
|
DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_lstat(SB)
|
JMP libc_lstat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB)
|
DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ptrace_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ptrace_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ptrace(SB)
|
JMP libc_ptrace(SB)
|
||||||
|
|
||||||
GLOBL ·libc_ptrace_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ptrace_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_ptrace_trampoline_addr(SB)/8, $libc_ptrace_trampoline<>(SB)
|
DATA ·libc_ptrace_trampoline_addr(SB)/8, $libc_ptrace_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_stat(SB)
|
JMP libc_stat(SB)
|
||||||
|
|
||||||
GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB)
|
DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_statfs(SB)
|
JMP libc_statfs(SB)
|
||||||
|
|
||||||
GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB)
|
DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB)
|
||||||
|
|
|
@ -1642,28 +1642,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
nfd = int(r0)
|
nfd = int(r0)
|
||||||
|
|
|
@ -1862,28 +1862,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
nfd = int(r0)
|
nfd = int(r0)
|
||||||
|
|
|
@ -1862,28 +1862,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
nfd = int(r0)
|
nfd = int(r0)
|
||||||
|
|
|
@ -1862,28 +1862,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
nfd = int(r0)
|
nfd = int(r0)
|
||||||
|
|
|
@ -1862,28 +1862,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
nfd = int(r0)
|
nfd = int(r0)
|
||||||
|
|
|
@ -1862,28 +1862,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
nfd = int(r0)
|
nfd = int(r0)
|
||||||
|
|
|
@ -40,7 +40,7 @@ func readv(fd int, iovs []Iovec) (n int, err error) {
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
|
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
|
||||||
n = int(r0)
|
n = int(r0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
err = e1
|
err = errnoErr(e1)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ func preadv(fd int, iovs []Iovec, off int64) (n int, err error) {
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpreadv)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
|
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpreadv)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
|
||||||
n = int(r0)
|
n = int(r0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
err = e1
|
err = errnoErr(e1)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ func writev(fd int, iovs []Iovec) (n int, err error) {
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwritev)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
|
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwritev)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
|
||||||
n = int(r0)
|
n = int(r0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
err = e1
|
err = errnoErr(e1)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ func pwritev(fd int, iovs []Iovec, off int64) (n int, err error) {
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwritev)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
|
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwritev)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
|
||||||
n = int(r0)
|
n = int(r0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
err = e1
|
err = errnoErr(e1)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int,
|
||||||
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept4)), 4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept4)), 4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
||||||
fd = int(r0)
|
fd = int(r0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
err = e1
|
err = errnoErr(e1)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -1356,7 +1356,7 @@ func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (
|
||||||
|
|
||||||
// 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 Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
func pselect6(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_argpack) (n int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
|
r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(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)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -1734,28 +1734,6 @@ func exitThread(code 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 readlen(fd int, p *byte, np int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, p *byte, np int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func readv(fd int, iovs []Iovec) (n int, err error) {
|
func readv(fd int, iovs []Iovec) (n int, err error) {
|
||||||
var _p0 unsafe.Pointer
|
var _p0 unsafe.Pointer
|
||||||
if len(iovs) > 0 {
|
if len(iovs) > 0 {
|
||||||
|
@ -2197,3 +2175,23 @@ func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
RawSyscallNoError(SYS_GETRESGID, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
RawSyscallNoError(SYS_GETRESGID, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func schedSetattr(pid int, attr *SchedAttr, flags uint) (err error) {
|
||||||
|
_, _, e1 := Syscall(SYS_SCHED_SETATTR, uintptr(pid), uintptr(unsafe.Pointer(attr)), uintptr(flags))
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error) {
|
||||||
|
_, _, e1 := Syscall6(SYS_SCHED_GETATTR, uintptr(pid), uintptr(unsafe.Pointer(attr)), uintptr(size), uintptr(flags), 0, 0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
|
@ -531,3 +531,19 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func riscvHWProbe(pairs []RISCVHWProbePairs, cpuCount uintptr, cpus *CPUSet, flags uint) (err error) {
|
||||||
|
var _p0 unsafe.Pointer
|
||||||
|
if len(pairs) > 0 {
|
||||||
|
_p0 = unsafe.Pointer(&pairs[0])
|
||||||
|
} else {
|
||||||
|
_p0 = unsafe.Pointer(&_zero)
|
||||||
|
}
|
||||||
|
_, _, e1 := Syscall6(SYS_RISCV_HWPROBE, uintptr(_p0), uintptr(len(pairs)), uintptr(cpuCount), uintptr(unsafe.Pointer(cpus)), uintptr(flags), 0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
|
@ -1824,28 +1824,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
@ -1858,3 +1836,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
|
@ -1824,28 +1824,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
@ -1858,3 +1836,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
|
@ -1824,28 +1824,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
@ -1858,3 +1836,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
|
@ -1824,28 +1824,6 @@ func munmap(addr uintptr, length uintptr) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
@ -1858,3 +1836,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
|
@ -549,6 +549,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -557,10 +563,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2211,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
|
@ -2213,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
|
@ -549,6 +549,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -557,10 +563,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2211,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
|
@ -549,6 +549,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -557,10 +563,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2211,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
|
@ -549,6 +549,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -557,10 +563,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2211,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
|
@ -549,6 +549,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -557,10 +563,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2211,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
|
@ -549,6 +549,12 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var libc_ioctl_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
@ -557,10 +563,6 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var libc_ioctl_trampoline_addr uintptr
|
|
||||||
|
|
||||||
//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
||||||
|
|
||||||
// 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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
@ -2211,28 +2213,6 @@ var libc_munmap_trampoline_addr uintptr
|
||||||
|
|
||||||
// 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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -40,17 +40,6 @@ func read(fd int, p []byte) (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 readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
||||||
r0, _, e1 := syscall_syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
||||||
n = int(r0)
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func write(fd int, p []byte) (n int, err error) {
|
func write(fd int, p []byte) (n int, err error) {
|
||||||
var _p0 unsafe.Pointer
|
var _p0 unsafe.Pointer
|
||||||
if len(p) > 0 {
|
if len(p) > 0 {
|
||||||
|
|
|
@ -447,4 +447,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -369,4 +369,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -411,4 +411,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -314,4 +314,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -308,4 +308,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -431,4 +431,5 @@ const (
|
||||||
SYS_PROCESS_MRELEASE = 4448
|
SYS_PROCESS_MRELEASE = 4448
|
||||||
SYS_FUTEX_WAITV = 4449
|
SYS_FUTEX_WAITV = 4449
|
||||||
SYS_SET_MEMPOLICY_HOME_NODE = 4450
|
SYS_SET_MEMPOLICY_HOME_NODE = 4450
|
||||||
|
SYS_CACHESTAT = 4451
|
||||||
)
|
)
|
||||||
|
|
|
@ -361,4 +361,5 @@ const (
|
||||||
SYS_PROCESS_MRELEASE = 5448
|
SYS_PROCESS_MRELEASE = 5448
|
||||||
SYS_FUTEX_WAITV = 5449
|
SYS_FUTEX_WAITV = 5449
|
||||||
SYS_SET_MEMPOLICY_HOME_NODE = 5450
|
SYS_SET_MEMPOLICY_HOME_NODE = 5450
|
||||||
|
SYS_CACHESTAT = 5451
|
||||||
)
|
)
|
||||||
|
|
|
@ -361,4 +361,5 @@ const (
|
||||||
SYS_PROCESS_MRELEASE = 5448
|
SYS_PROCESS_MRELEASE = 5448
|
||||||
SYS_FUTEX_WAITV = 5449
|
SYS_FUTEX_WAITV = 5449
|
||||||
SYS_SET_MEMPOLICY_HOME_NODE = 5450
|
SYS_SET_MEMPOLICY_HOME_NODE = 5450
|
||||||
|
SYS_CACHESTAT = 5451
|
||||||
)
|
)
|
||||||
|
|
|
@ -431,4 +431,5 @@ const (
|
||||||
SYS_PROCESS_MRELEASE = 4448
|
SYS_PROCESS_MRELEASE = 4448
|
||||||
SYS_FUTEX_WAITV = 4449
|
SYS_FUTEX_WAITV = 4449
|
||||||
SYS_SET_MEMPOLICY_HOME_NODE = 4450
|
SYS_SET_MEMPOLICY_HOME_NODE = 4450
|
||||||
|
SYS_CACHESTAT = 4451
|
||||||
)
|
)
|
||||||
|
|
|
@ -438,4 +438,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -410,4 +410,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -410,4 +410,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -251,6 +251,8 @@ const (
|
||||||
SYS_ACCEPT4 = 242
|
SYS_ACCEPT4 = 242
|
||||||
SYS_RECVMMSG = 243
|
SYS_RECVMMSG = 243
|
||||||
SYS_ARCH_SPECIFIC_SYSCALL = 244
|
SYS_ARCH_SPECIFIC_SYSCALL = 244
|
||||||
|
SYS_RISCV_HWPROBE = 258
|
||||||
|
SYS_RISCV_FLUSH_ICACHE = 259
|
||||||
SYS_WAIT4 = 260
|
SYS_WAIT4 = 260
|
||||||
SYS_PRLIMIT64 = 261
|
SYS_PRLIMIT64 = 261
|
||||||
SYS_FANOTIFY_INIT = 262
|
SYS_FANOTIFY_INIT = 262
|
||||||
|
@ -313,4 +315,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -376,4 +376,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -389,4 +389,5 @@ const (
|
||||||
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
|
||||||
|
SYS_CACHESTAT = 451
|
||||||
)
|
)
|
||||||
|
|
|
@ -866,6 +866,11 @@ const (
|
||||||
POLLNVAL = 0x20
|
POLLNVAL = 0x20
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type sigset_argpack struct {
|
||||||
|
ss *Sigset_t
|
||||||
|
ssLen uintptr
|
||||||
|
}
|
||||||
|
|
||||||
type SignalfdSiginfo struct {
|
type SignalfdSiginfo struct {
|
||||||
Signo uint32
|
Signo uint32
|
||||||
Errno int32
|
Errno int32
|
||||||
|
@ -1972,7 +1977,7 @@ const (
|
||||||
NFT_MSG_GETFLOWTABLE = 0x17
|
NFT_MSG_GETFLOWTABLE = 0x17
|
||||||
NFT_MSG_DELFLOWTABLE = 0x18
|
NFT_MSG_DELFLOWTABLE = 0x18
|
||||||
NFT_MSG_GETRULE_RESET = 0x19
|
NFT_MSG_GETRULE_RESET = 0x19
|
||||||
NFT_MSG_MAX = 0x21
|
NFT_MSG_MAX = 0x22
|
||||||
NFTA_LIST_UNSPEC = 0x0
|
NFTA_LIST_UNSPEC = 0x0
|
||||||
NFTA_LIST_ELEM = 0x1
|
NFTA_LIST_ELEM = 0x1
|
||||||
NFTA_HOOK_UNSPEC = 0x0
|
NFTA_HOOK_UNSPEC = 0x0
|
||||||
|
@ -4494,7 +4499,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 = 0x145
|
NL80211_ATTR_MAX = 0x146
|
||||||
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
|
||||||
|
@ -4864,7 +4869,7 @@ const (
|
||||||
NL80211_CMD_LEAVE_IBSS = 0x2c
|
NL80211_CMD_LEAVE_IBSS = 0x2c
|
||||||
NL80211_CMD_LEAVE_MESH = 0x45
|
NL80211_CMD_LEAVE_MESH = 0x45
|
||||||
NL80211_CMD_LEAVE_OCB = 0x6d
|
NL80211_CMD_LEAVE_OCB = 0x6d
|
||||||
NL80211_CMD_MAX = 0x99
|
NL80211_CMD_MAX = 0x9a
|
||||||
NL80211_CMD_MICHAEL_MIC_FAILURE = 0x29
|
NL80211_CMD_MICHAEL_MIC_FAILURE = 0x29
|
||||||
NL80211_CMD_MODIFY_LINK_STA = 0x97
|
NL80211_CMD_MODIFY_LINK_STA = 0x97
|
||||||
NL80211_CMD_NAN_MATCH = 0x78
|
NL80211_CMD_NAN_MATCH = 0x78
|
||||||
|
@ -5498,7 +5503,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 = 0x16
|
NL80211_RATE_INFO_MAX = 0x1d
|
||||||
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
|
||||||
|
@ -5863,3 +5868,18 @@ const (
|
||||||
VIRTIO_NET_HDR_GSO_UDP_L4 = 0x5
|
VIRTIO_NET_HDR_GSO_UDP_L4 = 0x5
|
||||||
VIRTIO_NET_HDR_GSO_ECN = 0x80
|
VIRTIO_NET_HDR_GSO_ECN = 0x80
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type SchedAttr struct {
|
||||||
|
Size uint32
|
||||||
|
Policy uint32
|
||||||
|
Flags uint64
|
||||||
|
Nice int32
|
||||||
|
Priority uint32
|
||||||
|
Runtime uint64
|
||||||
|
Deadline uint64
|
||||||
|
Period uint64
|
||||||
|
Util_min uint32
|
||||||
|
Util_max uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
const SizeofSchedAttr = 0x38
|
||||||
|
|
|
@ -718,3 +718,30 @@ type SysvShmDesc struct {
|
||||||
_ uint64
|
_ uint64
|
||||||
_ uint64
|
_ uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RISCVHWProbePairs struct {
|
||||||
|
Key int64
|
||||||
|
Value uint64
|
||||||
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
RISCV_HWPROBE_KEY_MVENDORID = 0x0
|
||||||
|
RISCV_HWPROBE_KEY_MARCHID = 0x1
|
||||||
|
RISCV_HWPROBE_KEY_MIMPID = 0x2
|
||||||
|
RISCV_HWPROBE_KEY_BASE_BEHAVIOR = 0x3
|
||||||
|
RISCV_HWPROBE_BASE_BEHAVIOR_IMA = 0x1
|
||||||
|
RISCV_HWPROBE_KEY_IMA_EXT_0 = 0x4
|
||||||
|
RISCV_HWPROBE_IMA_FD = 0x1
|
||||||
|
RISCV_HWPROBE_IMA_C = 0x2
|
||||||
|
RISCV_HWPROBE_IMA_V = 0x4
|
||||||
|
RISCV_HWPROBE_EXT_ZBA = 0x8
|
||||||
|
RISCV_HWPROBE_EXT_ZBB = 0x10
|
||||||
|
RISCV_HWPROBE_EXT_ZBS = 0x20
|
||||||
|
RISCV_HWPROBE_KEY_CPUPERF_0 = 0x5
|
||||||
|
RISCV_HWPROBE_MISALIGNED_UNKNOWN = 0x0
|
||||||
|
RISCV_HWPROBE_MISALIGNED_EMULATED = 0x1
|
||||||
|
RISCV_HWPROBE_MISALIGNED_SLOW = 0x2
|
||||||
|
RISCV_HWPROBE_MISALIGNED_FAST = 0x3
|
||||||
|
RISCV_HWPROBE_MISALIGNED_UNSUPPORTED = 0x4
|
||||||
|
RISCV_HWPROBE_MISALIGNED_MASK = 0x7
|
||||||
|
)
|
||||||
|
|
|
@ -22,7 +22,7 @@ import (
|
||||||
// but only if there is space or tab inside s.
|
// but only if there is space or tab inside s.
|
||||||
func EscapeArg(s string) string {
|
func EscapeArg(s string) string {
|
||||||
if len(s) == 0 {
|
if len(s) == 0 {
|
||||||
return "\"\""
|
return `""`
|
||||||
}
|
}
|
||||||
n := len(s)
|
n := len(s)
|
||||||
hasSpace := false
|
hasSpace := false
|
||||||
|
@ -35,7 +35,7 @@ func EscapeArg(s string) string {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if hasSpace {
|
if hasSpace {
|
||||||
n += 2
|
n += 2 // Reserve space for quotes.
|
||||||
}
|
}
|
||||||
if n == len(s) {
|
if n == len(s) {
|
||||||
return s
|
return s
|
||||||
|
@ -82,20 +82,68 @@ func EscapeArg(s string) string {
|
||||||
// in CreateProcess's CommandLine argument, CreateService/ChangeServiceConfig's BinaryPathName argument,
|
// in CreateProcess's CommandLine argument, CreateService/ChangeServiceConfig's BinaryPathName argument,
|
||||||
// or any program that uses CommandLineToArgv.
|
// or any program that uses CommandLineToArgv.
|
||||||
func ComposeCommandLine(args []string) string {
|
func ComposeCommandLine(args []string) string {
|
||||||
var commandLine string
|
if len(args) == 0 {
|
||||||
for i := range args {
|
return ""
|
||||||
if i > 0 {
|
|
||||||
commandLine += " "
|
|
||||||
}
|
|
||||||
commandLine += EscapeArg(args[i])
|
|
||||||
}
|
}
|
||||||
return commandLine
|
|
||||||
|
// Per https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-commandlinetoargvw:
|
||||||
|
// “This function accepts command lines that contain a program name; the
|
||||||
|
// program name can be enclosed in quotation marks or not.”
|
||||||
|
//
|
||||||
|
// Unfortunately, it provides no means of escaping interior quotation marks
|
||||||
|
// within that program name, and we have no way to report them here.
|
||||||
|
prog := args[0]
|
||||||
|
mustQuote := len(prog) == 0
|
||||||
|
for i := 0; i < len(prog); i++ {
|
||||||
|
c := prog[i]
|
||||||
|
if c <= ' ' || (c == '"' && i == 0) {
|
||||||
|
// Force quotes for not only the ASCII space and tab as described in the
|
||||||
|
// MSDN article, but also ASCII control characters.
|
||||||
|
// The documentation for CommandLineToArgvW doesn't say what happens when
|
||||||
|
// the first argument is not a valid program name, but it empirically
|
||||||
|
// seems to drop unquoted control characters.
|
||||||
|
mustQuote = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var commandLine []byte
|
||||||
|
if mustQuote {
|
||||||
|
commandLine = make([]byte, 0, len(prog)+2)
|
||||||
|
commandLine = append(commandLine, '"')
|
||||||
|
for i := 0; i < len(prog); i++ {
|
||||||
|
c := prog[i]
|
||||||
|
if c == '"' {
|
||||||
|
// This quote would interfere with our surrounding quotes.
|
||||||
|
// We have no way to report an error, so just strip out
|
||||||
|
// the offending character instead.
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
commandLine = append(commandLine, c)
|
||||||
|
}
|
||||||
|
commandLine = append(commandLine, '"')
|
||||||
|
} else {
|
||||||
|
if len(args) == 1 {
|
||||||
|
// args[0] is a valid command line representing itself.
|
||||||
|
// No need to allocate a new slice or string for it.
|
||||||
|
return prog
|
||||||
|
}
|
||||||
|
commandLine = []byte(prog)
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, arg := range args[1:] {
|
||||||
|
commandLine = append(commandLine, ' ')
|
||||||
|
// TODO(bcmills): since we're already appending to a slice, it would be nice
|
||||||
|
// to avoid the intermediate allocations of EscapeArg.
|
||||||
|
// Perhaps we can factor out an appendEscapedArg function.
|
||||||
|
commandLine = append(commandLine, EscapeArg(arg)...)
|
||||||
|
}
|
||||||
|
return string(commandLine)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DecomposeCommandLine breaks apart its argument command line into unescaped parts using CommandLineToArgv,
|
// DecomposeCommandLine breaks apart its argument command line into unescaped parts using CommandLineToArgv,
|
||||||
// as gathered from GetCommandLine, QUERY_SERVICE_CONFIG's BinaryPathName argument, or elsewhere that
|
// as gathered from GetCommandLine, QUERY_SERVICE_CONFIG's BinaryPathName argument, or elsewhere that
|
||||||
// command lines are passed around.
|
// command lines are passed around.
|
||||||
// DecomposeCommandLine returns error if commandLine contains NUL.
|
// DecomposeCommandLine returns an error if commandLine contains NUL.
|
||||||
func DecomposeCommandLine(commandLine string) ([]string, error) {
|
func DecomposeCommandLine(commandLine string) ([]string, error) {
|
||||||
if len(commandLine) == 0 {
|
if len(commandLine) == 0 {
|
||||||
return []string{}, nil
|
return []string{}, nil
|
||||||
|
@ -105,18 +153,35 @@ func DecomposeCommandLine(commandLine string) ([]string, error) {
|
||||||
return nil, errorspkg.New("string with NUL passed to DecomposeCommandLine")
|
return nil, errorspkg.New("string with NUL passed to DecomposeCommandLine")
|
||||||
}
|
}
|
||||||
var argc int32
|
var argc int32
|
||||||
argv, err := CommandLineToArgv(&utf16CommandLine[0], &argc)
|
argv, err := commandLineToArgv(&utf16CommandLine[0], &argc)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
defer LocalFree(Handle(unsafe.Pointer(argv)))
|
defer LocalFree(Handle(unsafe.Pointer(argv)))
|
||||||
|
|
||||||
var args []string
|
var args []string
|
||||||
for _, v := range (*argv)[:argc] {
|
for _, p := range unsafe.Slice(argv, argc) {
|
||||||
args = append(args, UTF16ToString((*v)[:]))
|
args = append(args, UTF16PtrToString(p))
|
||||||
}
|
}
|
||||||
return args, nil
|
return args, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CommandLineToArgv parses a Unicode command line string and sets
|
||||||
|
// argc to the number of parsed arguments.
|
||||||
|
//
|
||||||
|
// The returned memory should be freed using a single call to LocalFree.
|
||||||
|
//
|
||||||
|
// Note that although the return type of CommandLineToArgv indicates 8192
|
||||||
|
// entries of up to 8192 characters each, the actual count of parsed arguments
|
||||||
|
// may exceed 8192, and the documentation for CommandLineToArgvW does not mention
|
||||||
|
// any bound on the lengths of the individual argument strings.
|
||||||
|
// (See https://go.dev/issue/63236.)
|
||||||
|
func CommandLineToArgv(cmd *uint16, argc *int32) (argv *[8192]*[8192]uint16, err error) {
|
||||||
|
argp, err := commandLineToArgv(cmd, argc)
|
||||||
|
argv = (*[8192]*[8192]uint16)(unsafe.Pointer(argp))
|
||||||
|
return argv, err
|
||||||
|
}
|
||||||
|
|
||||||
func CloseOnExec(fd Handle) {
|
func CloseOnExec(fd Handle) {
|
||||||
SetHandleInformation(Handle(fd), HANDLE_FLAG_INHERIT, 0)
|
SetHandleInformation(Handle(fd), HANDLE_FLAG_INHERIT, 0)
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue