aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-02-07 18:40:59 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-02-08 09:29:15 +0100
commit8c1621bedea53aa77ac39bbda26e86592d6dde5b (patch)
tree53167c3ddd2c7ae3fcabb75dcc6316c236ec9718 /executor/syscalls.h
parentaa4feb03290ee285b276e5a9c9abddd5296e79e0 (diff)
sys/linux: prohibit EXT4_IOC_RESIZE_FS
When we run with sandbox=none, test program can do EXT4_IOC_RESIZE_FS which shrinks rootfs basically to 0. This breaks the machine as all tests then fail with: failed to create temp dir: mkdir syzkaller-testdir077269498: no space left on device This is the most common source of "lost connection" crashes overall and they are not actually kernel bugs. Prohibit EXT4_IOC_RESIZE_FS for now. Alternatively we can mount tmpfs with sandbox=none. Update #971
Diffstat (limited to 'executor/syscalls.h')
-rw-r--r--executor/syscalls.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index a270584e0..4164be810 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -2138,7 +2138,6 @@ const call_t syscalls[] = {
{"ioctl$EXT4_IOC_MIGRATE", 54},
{"ioctl$EXT4_IOC_MOVE_EXT", 54},
{"ioctl$EXT4_IOC_PRECACHE_EXTENTS", 54},
- {"ioctl$EXT4_IOC_RESIZE_FS", 54},
{"ioctl$EXT4_IOC_SETFLAGS", 54},
{"ioctl$EXT4_IOC_SWAP_BOOT", 54},
{"ioctl$FIBMAP", 54},
@@ -4713,7 +4712,6 @@ const call_t syscalls[] = {
{"ioctl$EXT4_IOC_MIGRATE", 16},
{"ioctl$EXT4_IOC_MOVE_EXT", 16},
{"ioctl$EXT4_IOC_PRECACHE_EXTENTS", 16},
- {"ioctl$EXT4_IOC_RESIZE_FS", 16},
{"ioctl$EXT4_IOC_SETFLAGS", 16},
{"ioctl$EXT4_IOC_SWAP_BOOT", 16},
{"ioctl$FIBMAP", 16},
@@ -7281,7 +7279,6 @@ const call_t syscalls[] = {
{"ioctl$EXT4_IOC_MIGRATE", 54},
{"ioctl$EXT4_IOC_MOVE_EXT", 54},
{"ioctl$EXT4_IOC_PRECACHE_EXTENTS", 54},
- {"ioctl$EXT4_IOC_RESIZE_FS", 54},
{"ioctl$EXT4_IOC_SETFLAGS", 54},
{"ioctl$EXT4_IOC_SWAP_BOOT", 54},
{"ioctl$FIBMAP", 54},
@@ -9802,7 +9799,6 @@ const call_t syscalls[] = {
{"ioctl$EXT4_IOC_MIGRATE", 29},
{"ioctl$EXT4_IOC_MOVE_EXT", 29},
{"ioctl$EXT4_IOC_PRECACHE_EXTENTS", 29},
- {"ioctl$EXT4_IOC_RESIZE_FS", 29},
{"ioctl$EXT4_IOC_SETFLAGS", 29},
{"ioctl$EXT4_IOC_SWAP_BOOT", 29},
{"ioctl$FIBMAP", 29},
@@ -12316,7 +12312,6 @@ const call_t syscalls[] = {
{"ioctl$EXT4_IOC_MIGRATE", 54},
{"ioctl$EXT4_IOC_MOVE_EXT", 54},
{"ioctl$EXT4_IOC_PRECACHE_EXTENTS", 54},
- {"ioctl$EXT4_IOC_RESIZE_FS", 54},
{"ioctl$EXT4_IOC_SETFLAGS", 54},
{"ioctl$EXT4_IOC_SWAP_BOOT", 54},
{"ioctl$FIBMAP", 54},