From 50c9bc2948115c2e2840906f6a8c324946b557ca Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 18 Nov 2016 19:05:33 +0100 Subject: sys: disable /dev/console /dev/console known to cause problems on at least two different kernels. It can turn off all output or produce massive amounts of garbage on console. Disable it for now. --- sys/sys.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/sys.txt b/sys/sys.txt index fa3a404fc..613290d10 100644 --- a/sys/sys.txt +++ b/sys/sys.txt @@ -465,6 +465,11 @@ membarrier(cmd const[1], flags const[0]) #syz_open_dev$char(dev const[0xc], major intptr, minor intptr) fd #syz_open_dev$block(dev const[0xb], major intptr, minor intptr) fd +# /dev/console known to cause problems on at least two different kernels. +# It can turn off all output or produce massive amounts of garbage on console. +# Disable it for now. +#syz_open_dev$console(dev ptr[in, string["/dev/console"]], id const[0], flags flags[open_flags]) fd + # These devices are relatively safe (don't reboot and don't corrupt kernel memory). # They need a more comprehensive support. But let at least open them for now, # maybe fuzzer will be able to skrew them in a useful way. @@ -488,7 +493,6 @@ syz_open_dev$hpet(dev ptr[in, string["/dev/hpet"]], id const[0], flags flags[ope syz_open_dev$hidraw0(dev ptr[in, string["/dev/hidraw0"]], id const[0], flags flags[open_flags]) fd syz_open_dev$fb0(dev ptr[in, string["/dev/fb0"]], id const[0], flags flags[open_flags]) fd syz_open_dev$cuse(dev ptr[in, string["/dev/cuse"]], id const[0], flags flags[open_flags]) fd -syz_open_dev$console(dev ptr[in, string["/dev/console"]], id const[0], flags flags[open_flags]) fd syz_open_dev$capi20(dev ptr[in, string["/dev/capi20"]], id const[0], flags flags[open_flags]) fd syz_open_dev$autofs(dev ptr[in, string["/dev/autofs"]], id const[0], flags flags[open_flags]) fd syz_open_dev$binder(dev ptr[in, string["/dev/binder"]], id const[0], flags flags[open_flags]) fd -- cgit mrf-deployment