diff options
author | Adin Scannell <ascannell@google.com> | 2020-05-06 14:12:08 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-06 14:13:48 -0700 |
commit | 279f1eb7abb28966ef633fa61418bffad4a716b0 (patch) | |
tree | 161fdd7cddde9b9c7303571cde2b9d345f5b0a6a /runsc/boot/loader_amd64.go | |
parent | b08222cf3a80a57e77ac4af7a410f188ba01e0f4 (diff) |
Fix runsc syscall documentation generation.
We can register any number of tables with any number of architectures, and
need not limit the definitions to the architecture in question. This allows
runsc to generate documentation for all architectures simultaneously.
Similarly, this simplifies the VFSv2 patching process.
PiperOrigin-RevId: 310224827
Diffstat (limited to 'runsc/boot/loader_amd64.go')
-rw-r--r-- | runsc/boot/loader_amd64.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/runsc/boot/loader_amd64.go b/runsc/boot/loader_amd64.go deleted file mode 100644 index 78df86611..000000000 --- a/runsc/boot/loader_amd64.go +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2019 The gVisor Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// +build amd64 - -package boot - -import ( - "gvisor.dev/gvisor/pkg/sentry/syscalls/linux" -) - -func init() { - // Set the global syscall table. - syscallTable = linux.AMD64 -} |