diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2018-02-11 18:45:52 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2018-02-11 18:45:52 +0000 |
commit | 07fb58fbe29810f4bd75f7d0a7ff693b60fcd0c9 (patch) | |
tree | 67e3f12b6a639d27a956a0937eadccf4f74d8761 /usr.bin | |
parent | 61c0434cd5efcf1b325c51aa48cfa5aad07e0bad (diff) |
fix madvise(2) flags matching; ok deraadt@ tom@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/mksubr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr index 8771356341a..426221c86cb 100644 --- a/usr.bin/kdump/mksubr +++ b/usr.bin/kdump/mksubr @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: mksubr,v 1.33 2017/11/29 15:53:44 guenther Exp $ +# $OpenBSD: mksubr,v 1.34 2018/02/11 18:45:51 otto Exp $ # # Copyright (c) 2006 David Kirchner <dpk@dpk.net> # @@ -329,7 +329,7 @@ auto_switch_type "pathconfname" "_PC_[_A-Z]+[[:space:]]+[0-9]+" "sys/unistd.h" auto_switch_type "rlimitname" "RLIMIT_[A-Z]+[[:space:]]+[0-9]+" "sys/resource.h" auto_switch_type "shutdownhowname" "SHUT_[A-Z]+[[:space:]]+[0-9]+" "sys/socket.h" auto_switch_type "prioname" "PRIO_[A-Z]+[[:space:]]+[0-9]" "sys/resource.h" -auto_switch_type "madvisebehavname" "_?MADV_[A-Z]+[[:space:]]+[0-9]+" "sys/mman.h" +auto_switch_type "madvisebehavname" "MADV_[A-Z]+[[:space:]]+[0-9A-Z_]+" "sys/mman.h" auto_switch_type "msyncflagsname" "MS_[A-Z]+[[:space:]]+0x[0-9]+" "sys/mman.h" auto_switch_type "clocktypename" "CLOCK_[_A-Z]+[[:space:]]+[0-9]+" "sys/_time.h" #auto_switch_type "schedpolicyname" "SCHED_[A-Z]+[[:space:]]+[0-9]+" "sched.h" |