Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2021 00:32:33 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 701a99939fbf - main - libsysdecode: Permit _ in VM_PROT_(.*) names.
Message-ID:  <202109240032.18O0WXS2048081@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=701a99939fbf2007f1df03cb9f67be88455d31cc

commit 701a99939fbf2007f1df03cb9f67be88455d31cc
Author:     Nathaniel Wesley Filardo <nfilardo@microsoft.com>
AuthorDate: 2021-09-24 00:31:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-09-24 00:31:39 +0000

    libsysdecode: Permit _ in VM_PROT_(.*) names.
    
    CheriBSD defines additional protection flags which use underscores
    such as VM_PROT_READ_CAP and VM_PROT_WRITE_CAP.
    
    Obtained from:  CheriBSD
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D30017
---
 lib/libsysdecode/mktables | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index 3d152a3a2646..cb5a763ddece 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -147,7 +147,7 @@ gen_table "socktype"        "SOCK_[A-Z]+[[:space:]]+[1-9]+[0-9]*"          "sys/
 gen_table "thrcreateflags"  "THR_[A-Z]+[[:space:]]+0x[0-9]+"               "sys/thr.h"
 gen_table "umtxop"          "UMTX_OP_[[:alnum:]][[:alnum:]_]*[[:space:]]+[0-9]+"      "sys/umtx.h"
 gen_table "umtxopflags"     "UMTX_OP__[[:alnum:]_]+[[:space:]]+[0-9]+"                "sys/umtx.h"
-gen_table "vmprot"          "VM_PROT_[A-Z]+[[:space:]]+\(\(vm_prot_t\)[[:space:]]+0x[0-9]+\)"  "vm/vm.h"
+gen_table "vmprot"          "VM_PROT_[A-Z_]+[[:space:]]+\(\(vm_prot_t\)[[:space:]]+0x[0-9]+\)"  "vm/vm.h"
 gen_table "vmresult"        "KERN_[A-Z_]+[[:space:]]+[0-9]+"               "vm/vm_param.h"
 gen_table "wait6opt"        "W[A-Z]+[[:space:]]+[0-9]+"                    "sys/wait.h"
 gen_table "seekwhence"      "SEEK_[A-Z]+[[:space:]]+[0-9]+"                "sys/unistd.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109240032.18O0WXS2048081>