summaryrefslogtreecommitdiff
path: root/etc/MAKEDEV.common
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2018-08-19 11:42:34 +0000
committeranton <anton@cvs.openbsd.org>2018-08-19 11:42:34 +0000
commitccc7f034a58f63768110e9b4b82324eee3597706 (patch)
treec9496c52dfbf2469806099cdfbb26e5d108f4c88 /etc/MAKEDEV.common
parent63e6caa26564e0dc0de5c358a1401413ea2b7e8c (diff)
Add kcov(4), a kernel code coverage tracing driver. It's used in conjunction
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and fixed. This effort will continue. kcov is limited to architectures using Clang as their default compiler and is not enabled by default. With help from mpi@, thanks! ok kettenis@ mpi@ visa@
Diffstat (limited to 'etc/MAKEDEV.common')
-rw-r--r--etc/MAKEDEV.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common
index db19b2d4ac0..1631f1b9985 100644
--- a/etc/MAKEDEV.common
+++ b/etc/MAKEDEV.common
@@ -1,4 +1,4 @@
-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.99 2018/07/28 08:09:50 ratchov Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.100 2018/08/19 11:42:33 anton Exp $-})dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl
@@ -167,6 +167,7 @@ target(all, fuse)dnl
target(all, vmm)dnl
target(all, pvbus, 0, 1)dnl
target(all, bpf)dnl
+target(all, kcov)dnl
dnl
_mkdev(all, {-all-}, {-dnl
show_target(all)dnl
@@ -521,3 +522,5 @@ _mkdev(vmm, vmm, {-M vmm c major_vmm_c 0 600-})dnl
__devitem(pvbus, pvbus*, paravirtual device tree root)dnl
_mkdev(pvbus, {-pvbus*-}, {-M pvbus$U c major_pvbus_c $U 640-}, 640)dnl
_mkdev(local, local, {-test -s $T.local && sh $T.local-})dnl
+__devitem(kcov, kcov, Kernel code coverage tracing)dnl
+_mkdev(kcov, kcov, {-M kcov c major_kcov_c 0 600-})dnl