diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-02-07 18:40:59 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-02-08 09:29:15 +0100 |
| commit | 8c1621bedea53aa77ac39bbda26e86592d6dde5b (patch) | |
| tree | 53167c3ddd2c7ae3fcabb75dcc6316c236ec9718 /sys/linux/gen/arm.go | |
| parent | aa4feb03290ee285b276e5a9c9abddd5296e79e0 (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 'sys/linux/gen/arm.go')
| -rw-r--r-- | sys/linux/gen/arm.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index e8b2e92a9..f8b995fdf 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -29691,11 +29691,6 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26130}, }}, - {NR: 54, Name: "ioctl$EXT4_IOC_RESIZE_FS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074292240}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, - }}, {NR: 54, Name: "ioctl$EXT4_IOC_SETFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074030082}, @@ -47087,4 +47082,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "af32e4c48e665c44f07929273c6f263d9ae7fc71" +const revision_arm = "5551f204a00e09d3f78b5386baecb906605e24b7" |
