summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2020-09-18 09:54:00 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-18 09:57:27 -0700
commit313e1988c4609c74ada99c1a5e9ecde56c313125 (patch)
tree3312bf198589a60e1dbd4d137fd40aed4d58fa8f /runsc/fsgofer
parent360006d894247ba78771d1244d5b849dabe3ce5a (diff)
Drop ARCH_GET_FS
Go does not call arch_prctl(ARCH_GET_FS), nor am I sure it ever did. Drop the filter. PiperOrigin-RevId: 332470532
Diffstat (limited to 'runsc/fsgofer')
-rw-r--r--runsc/fsgofer/filter/config_amd64.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/runsc/fsgofer/filter/config_amd64.go b/runsc/fsgofer/filter/config_amd64.go
index 53506b5e1..39f9851a8 100644
--- a/runsc/fsgofer/filter/config_amd64.go
+++ b/runsc/fsgofer/filter/config_amd64.go
@@ -25,7 +25,6 @@ import (
func init() {
allowedSyscalls[syscall.SYS_ARCH_PRCTL] = []seccomp.Rule{
- {seccomp.EqualTo(linux.ARCH_GET_FS)},
{seccomp.EqualTo(linux.ARCH_SET_FS)},
}