From: deraadt Date: Tue, 19 Dec 2023 14:40:04 +0000 (+0000) Subject: add a malloc type for pinsyscall arrays X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=419215b41b49f7e32d2362f1f78b7cbf3a049277;p=openbsd add a malloc type for pinsyscall arrays --- diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index 8d9f8a71c13..047e8bb209f 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: malloc.9,v 1.70 2023/07/03 06:45:44 guenther Exp $ +.\" $OpenBSD: malloc.9,v 1.71 2023/12/19 14:40:04 deraadt Exp $ .\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 3 2023 $ +.Dd $Mdocdate: December 19 2023 $ .Dt MALLOC 9 .Os .Sh NAME @@ -238,6 +238,9 @@ Argument lists & other mem used by exec. Miscellaneous FS mount structures. .It Dv M_FUSEFS FUSE FS mount structures. +.It Dv M_PINSYSCALL +.Xr pinsyscall 2 +related data. .It Dv M_PFKEY Pfkey data. .It Dv M_TDB diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index 81fcbcfc310..6b8b6fc52d2 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.h,v 1.125 2023/07/03 06:45:44 guenther Exp $ */ +/* $OpenBSD: malloc.h,v 1.126 2023/12/19 14:40:04 deraadt Exp $ */ /* $NetBSD: malloc.h,v 1.39 1998/07/12 19:52:01 augustss Exp $ */ /* @@ -134,7 +134,7 @@ /* 93-97 - free */ #define M_UVMAMAP 98 /* UVM amap and related */ #define M_UVMAOBJ 99 /* UVM aobj and related */ -/* 100 - free */ +#define M_PINSYSCALL 100 /* pinsyscall */ #define M_USB 101 /* USB general */ #define M_USBDEV 102 /* USB device driver */ #define M_USBHC 103 /* USB host controller */ @@ -270,7 +270,7 @@ NULL, NULL, NULL, NULL, NULL, \ "UVM amap", /* 98 M_UVMAMAP */ \ "UVM aobj", /* 99 M_UVMAOBJ */ \ - NULL, \ + "pinsyscall", /* 100 M_PINSYSCALL */ \ "USB", /* 101 M_USB */ \ "USB device", /* 102 M_USBDEV */ \ "USB HC", /* 103 M_USBHC */ \