summaryrefslogtreecommitdiffstats
path: root/lib/libsysdecode
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2017-03-23 10:43:29 +0000
committersmh <smh@FreeBSD.org>2017-03-23 10:43:29 +0000
commitac845c230b7df4f889bae9dd2b42725afa53581b (patch)
treebe63d9d3a299d6e9ffe87bb419fe2ef572933d41 /lib/libsysdecode
parente92bfb0db6f2e6a30da30d3a4aa505eb69868243 (diff)
downloadFreeBSD-src-ac845c230b7df4f889bae9dd2b42725afa53581b.zip
FreeBSD-src-ac845c230b7df4f889bae9dd2b42725afa53581b.tar.gz
MFC r315423:
Fix libsysdecode vmprot flag decoding Sponsored by: Multiplay
Diffstat (limited to 'lib/libsysdecode')
-rw-r--r--lib/libsysdecode/flags.c1
-rw-r--r--lib/libsysdecode/mktables2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsysdecode/flags.c b/lib/libsysdecode/flags.c
index bb8aa58..61e7248 100644
--- a/lib/libsysdecode/flags.c
+++ b/lib/libsysdecode/flags.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <netinet/udp.h>
#include <nfsserver/nfs.h>
#include <ufs/ufs/quota.h>
+#include <vm/vm.h>
#include <vm/vm_param.h>
#include <aio.h>
#include <fcntl.h>
diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index 6c44a05..101b4f8 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -135,7 +135,7 @@ gen_table "sockoptudp" "UDP_[[:alnum:]]+[[:space:]]+[0-9]+" "neti
gen_table "socktype" "SOCK_[A-Z]+[[:space:]]+[1-9]+[0-9]*" "sys/socket.h"
gen_table "thrcreateflags" "THR_[A-Z]+[[:space:]]+0x[0-9]+" "sys/thr.h"
gen_table "umtxop" "UMTX_OP_[[:alnum:]_]+[[:space:]]+[0-9]+" "sys/umtx.h"
-gen_table "vmprot" "VM_PROT_[A-Z]+[[:space:]]+\(\(vm_prot_t\)\)" "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"
OpenPOWER on IntegriCloud