diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-03-18 20:10:35 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-03-18 20:10:35 +0000 |
commit | fc3af98a859e0e23b1c47dbacffd8c3ac50214e8 (patch) | |
tree | 9ad8efedf8d5243f30e7601c6bf37564effb498d /usr.sbin | |
parent | 39b8931806137574d3a5536addffe14d3bc4bec7 (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.c | 3 |
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; |