From: otto Date: Sun, 11 Feb 2018 18:45:51 +0000 (+0000) Subject: fix madvise(2) flags matching; ok deraadt@ tom@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=72adc1106e865942b6f598f4185329641216db39;p=openbsd fix madvise(2) flags matching; ok deraadt@ tom@ --- 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 # @@ -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"