summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2012-07-21 07:16:04 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2012-07-21 07:16:04 +0000
commit2adb7081a50f15c1529c230d19a757498488cc1c (patch)
treecc0dbb205cac213f09485f05028d66238e987a8a /usr.bin
parent3b601b6ca59a3be32c026b629686e87a8e614ea9 (diff)
Make kdump recognize the __MAP_NOREPLACE flag.
ok deraadt
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/mksubr4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr
index 73166171222..bbd36329df6 100644
--- a/usr.bin/kdump/mksubr
+++ b/usr.bin/kdump/mksubr
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: mksubr,v 1.12 2012/07/08 10:23:36 guenther Exp $
+# $OpenBSD: mksubr,v 1.13 2012/07/21 07:16:03 matthew Exp $
#
# Copyright (c) 2006 David Kirchner <dpk@dpk.net>
#
@@ -455,7 +455,7 @@ auto_fflags_type "flagsname" "O_[A-Z]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/fcntl.h"
auto_orz_type "atflagsname" "AT_[A-Z_]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/fcntl.h"
auto_or_type "accessmodename" "[A-Z]_OK[[:space:]]+0?x?[0-9A-Fa-f]+" "sys/unistd.h"
auto_or_type "mmapprotname" "PROT_[A-Z]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/mman.h"
-auto_or_type "mmapflagsname" "MAP_[A-Z]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/mman.h"
+auto_or_type "mmapflagsname" "(__)?MAP_[A-Z]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/mman.h"
auto_orz_type "wait4optname" "W[A-Z]+[[:space:]]+[0-9]+" "sys/wait.h"
#auto_or_type "timerflagsname" "TIMER_[A-Z]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/time.h"
#auto_or_type "getfsstatflagsname" "MNT_[A-Z]+[[:space:]]+[1-9][0-9]*" "sys/mount.h"