git: 701a99939fbf - main - libsysdecode: Permit _ in VM_PROT_(.*) names.

John Baldwin jhb at FreeBSD.org
Fri Sep 24 00:32:33 UTC 2021


The branch main has been updated by jhb:

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

commit 701a99939fbf2007f1df03cb9f67be88455d31cc
Author:     Nathaniel Wesley Filardo <nfilardo at microsoft.com>
AuthorDate: 2021-09-24 00:31:39 +0000
Commit:     John Baldwin <jhb at 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"


More information about the dev-commits-src-all mailing list