summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-03-18 20:10:35 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-03-18 20:10:35 +0000
commitfc3af98a859e0e23b1c47dbacffd8c3ac50214e8 (patch)
tree9ad8efedf8d5243f30e7601c6bf37564effb498d /usr.sbin
parent39b8931806137574d3a5536addffe14d3bc4bec7 (diff)
Whitelist 'map' type in order to use them in real (non BEGIN/END) rules.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/btrace/btrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/btrace/btrace.c b/usr.sbin/btrace/btrace.c
index 2008985fde3..b975baeab69 100644
--- a/usr.sbin/btrace/btrace.c
+++ b/usr.sbin/btrace/btrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: btrace.c,v 1.5 2020/03/16 08:54:08 mpi Exp $ */
+/* $OpenBSD: btrace.c,v 1.6 2020/03/18 20:10:34 mpi Exp $ */
/*
* Copyright (c) 2019 - 2020 Martin Pieuchot <mpi@openbsd.org>
@@ -437,6 +437,7 @@ rules_setup(int fd)
case B_AT_STR:
case B_AT_LONG:
case B_AT_VAR:
+ case B_AT_MAP:
break;
case B_AT_BI_KSTACK:
dtrq->dtrq_evtflags |= DTEVT_KSTACK;