mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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
This commit is contained in:
committed by
gVisor bot
parent
360006d894
commit
313e1988c4
@@ -25,7 +25,6 @@ import (
|
||||
|
||||
func init() {
|
||||
allowedSyscalls[syscall.SYS_ARCH_PRCTL] = append(allowedSyscalls[syscall.SYS_ARCH_PRCTL],
|
||||
seccomp.Rule{seccomp.EqualTo(linux.ARCH_GET_FS)},
|
||||
seccomp.Rule{seccomp.EqualTo(linux.ARCH_SET_FS)},
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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)},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user