svn commit: r315855 - stable/11/lib/libsysdecode

Steven Hartland smh at FreeBSD.org
Thu Mar 23 10:43:31 UTC 2017


Author: smh
Date: Thu Mar 23 10:43:29 2017
New Revision: 315855
URL: https://svnweb.freebsd.org/changeset/base/315855

Log:
  MFC r315423:
  
  Fix libsysdecode vmprot flag decoding
  
  Sponsored by:	Multiplay

Modified:
  stable/11/lib/libsysdecode/flags.c
  stable/11/lib/libsysdecode/mktables
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libsysdecode/flags.c
==============================================================================
--- stable/11/lib/libsysdecode/flags.c	Thu Mar 23 10:22:06 2017	(r315854)
+++ stable/11/lib/libsysdecode/flags.c	Thu Mar 23 10:43:29 2017	(r315855)
@@ -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>

Modified: stable/11/lib/libsysdecode/mktables
==============================================================================
--- stable/11/lib/libsysdecode/mktables	Thu Mar 23 10:22:06 2017	(r315854)
+++ stable/11/lib/libsysdecode/mktables	Thu Mar 23 10:43:29 2017	(r315855)
@@ -135,7 +135,7 @@ gen_table "sockoptudp"      "UDP_[[:alnu
 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"


More information about the svn-src-all mailing list