diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-25 14:24:18 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-29 14:53:56 +0000 |
| commit | ff7c0a076c7baabdc6797179f649803250f21bd9 (patch) | |
| tree | 3802e2f01bac8fea1712d7dc4f093fdfd2dc6a16 /pkg/host/syscalls_linux.go | |
| parent | 88ec97282e185df0bdc0d760bcd5f0a2e4891362 (diff) | |
pkg/host: remove special case for EXT4_IOC_SHUTDOWN
We already disable it in descriptions and during sanitization.
Diffstat (limited to 'pkg/host/syscalls_linux.go')
| -rw-r--r-- | pkg/host/syscalls_linux.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/host/syscalls_linux.go b/pkg/host/syscalls_linux.go index d59fe491b..b690f1de7 100644 --- a/pkg/host/syscalls_linux.go +++ b/pkg/host/syscalls_linux.go @@ -41,10 +41,6 @@ func isSupported(c *prog.Syscall, target *prog.Target, sandbox string) (bool, st if c.CallName == "pkey_alloc" { return isSyzPkeySetSupported(c, target, sandbox) } - if c.Name == "ioctl$EXT4_IOC_SHUTDOWN" && sandbox == "none" { - // Don't shutdown root filesystem. - return false, "unsafe with sandbox=none" - } return isSupportedSyscall(c, target) } |
