From ff7c0a076c7baabdc6797179f649803250f21bd9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 25 Apr 2024 14:24:18 +0200 Subject: pkg/host: remove special case for EXT4_IOC_SHUTDOWN We already disable it in descriptions and during sanitization. --- pkg/host/syscalls_linux.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/host/syscalls_linux.go') 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) } -- cgit mrf-deployment