summaryrefslogtreecommitdiff
path: root/sysutils/lsof/patches/patch-ah
blob: 1dc988172c80030d2ffbc5b9b447769a2912d3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$NetBSD: patch-ah,v 1.1 2004/11/28 22:39:07 atatat Exp $

Incorporate a patch from the author that widens the NETBSDV definition
to account for new current versioning system, properly handles the
sys/bufq.h mess, adds a bit more to procfs support, and adds ptyfs
support.

--- lsof.h.orig	2004-07-15 10:56:50.000000000 -0400
+++ lsof.h
@@ -297,20 +297,21 @@ static struct utmp dummy_utmp;		/* to ge
 #define	N_MPC		19		/* multiplexed device node */
 #define	N_MVFS		20		/* multi-volume file system node (?) */
 #define	N_NFS		21		/* NFS node */
-#define	N_NM		22		/* named file system node */
-#define	N_OBJF		23		/* objfs file system node */
-#define	N_PCFS		24		/* PC file system node */
-#define	N_PIPE		25		/* pipe device node */
-#define	N_PROC		26		/* /proc node */
-#define	N_PSEU		27		/* pseudofs node */
-#define	N_SAMFS		28		/* Solaris SAM-FS */
-#define	N_SOCK		29		/* sock_vnodeops node */
-#define	N_SPEC		30		/* spec_vnodeops node */
-#define	N_STREAM	31		/* stream node */
-#define	N_TMP		32		/* tmpfs node */
-#define	N_UFS		33		/* UNIX file system node */
-#define	N_VXFS		34		/* Veritas file system node */
-#define	N_XFS		35		/* XFS node */
+#define	N_NFS4		22		/* NFS version 4 node */
+#define	N_NM		23		/* named file system node */
+#define	N_OBJF		24		/* objfs file system node */
+#define	N_PCFS		25		/* PC file system node */
+#define	N_PIPE		26		/* pipe device node */
+#define	N_PROC		27		/* /proc node */
+#define	N_PSEU		28		/* pseudofs node */
+#define	N_SAMFS		29		/* Solaris SAM-FS */
+#define	N_SOCK		30		/* sock_vnodeops node */
+#define	N_SPEC		31		/* spec_vnodeops node */
+#define	N_STREAM	32		/* stream node */
+#define	N_TMP		33		/* tmpfs node */
+#define	N_UFS		34		/* UNIX file system node */
+#define	N_VXFS		35		/* Veritas file system node */
+#define	N_XFS		36		/* XFS node */
 
 # if	!defined(OFFDECDIG)
 #define	OFFDECDIG	8		/* maximum number of digits in the