-/* $OpenBSD: kvm.c,v 1.71 2022/02/20 00:09:29 deraadt Exp $ */
+/* $OpenBSD: kvm.c,v 1.72 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */
/*-
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN MID_MACHINE */
+#include <sys/param.h> /* MID_MACHINE */
+#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/ioctl.h>
-/* $OpenBSD: kvm_file2.c,v 1.56 2021/09/10 00:02:43 deraadt Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.57 2022/02/22 17:35:01 deraadt Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <millert@openbsd.org>
#define __need_process
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/uio.h>
-/* $OpenBSD: kvm_proc.c,v 1.62 2021/09/10 00:02:43 deraadt Exp $ */
+/* $OpenBSD: kvm_proc.c,v 1.63 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
*/
#define __need_process
-#include <sys/param.h> /* MAXCOMLEN PAGE_SIZE */
+#include <sys/param.h> /* VM_MIN_ADDRESS PAGE_SIZE */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
-/* $OpenBSD: kvm_proc2.c,v 1.37 2022/02/14 18:09:08 rob Exp $ */
+/* $OpenBSD: kvm_proc2.c,v 1.38 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
*/
#define __need_process
-#include <sys/param.h> /* MAXCOMLEN NODEV */
+#include <sys/param.h> /* NODEV */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
#!/bin/sh
-# $OpenBSD: mksubr,v 1.37 2021/09/17 15:13:50 deraadt Exp $
+# $OpenBSD: mksubr,v 1.38 2022/02/22 17:35:01 deraadt Exp $
#
# Copyright (c) 2006 David Kirchner <dpk@dpk.net>
#
# C start
cat <<_EOF_
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/event.h>
-/* $OpenBSD: ktrace.c,v 1.38 2021/09/01 15:54:40 deraadt Exp $ */
+/* $OpenBSD: ktrace.c,v 1.39 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */
/*-
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/stat.h>
-/* $OpenBSD: subr.c,v 1.15 2021/09/01 15:54:40 deraadt Exp $ */
+/* $OpenBSD: subr.c,v 1.16 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: subr.c,v 1.6 1995/08/31 23:01:45 jtc Exp $ */
/*-
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
+#include <sys/types.h>
#include <sys/time.h>
#include <sys/signal.h>
#include <sys/ktrace.h>
-/* $OpenBSD: pigs.c,v 1.32 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: pigs.c,v 1.33 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: pigs.c,v 1.3 1995/04/29 05:54:50 cgd Exp $ */
/*-
* Pigs display from Bill Reeves at Lucasfilm
*/
-#include <sys/param.h> /* MAXCOMLEN */
+#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/resource.h>
-/* $OpenBSD: vmstat.c,v 1.93 2022/02/22 03:33:12 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.94 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
* Cursed vmstat -- from Robert Elz.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/namei.h>
#include <sys/signal.h>
-/* $OpenBSD: procname.c,v 1.19 2021/12/07 00:40:03 deraadt Exp $ */
+/* $OpenBSD: procname.c,v 1.20 2022/02/22 17:35:01 deraadt Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
-/* $OpenBSD: machine.c,v 1.110 2020/08/26 16:21:28 kn Exp $ */
+/* $OpenBSD: machine.c,v 1.111 2022/02/22 17:35:01 deraadt Exp $ */
/*-
* Copyright (c) 1994 Thorsten Lockert <tholo@sigmasoft.com>
* Patch for new swapctl(2) by Tobias Weingartner <weingart@openbsd.org>
*/
-#include <sys/param.h> /* DEV_BSIZE MAXCOMLEN PZERO */
+#include <sys/param.h> /* DEV_BSIZE PZERO */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/mount.h>
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.152 2022/02/20 00:09:29 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.153 2022/02/22 17:35:01 deraadt Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/time.h>
#include <sys/signal.h>
#include <sys/proc.h>
-/* $OpenBSD: proc_compare.c,v 1.16 2022/02/20 00:09:29 deraadt Exp $ */
+/* $OpenBSD: proc_compare.c,v 1.17 2022/02/22 17:35:01 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
+#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
-/* $OpenBSD: w.c,v 1.66 2019/06/28 13:35:05 deraadt Exp $ */
+/* $OpenBSD: w.c,v 1.67 2022/02/22 17:35:01 deraadt Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
* This program is similar to the systat command on Tenex/Tops 10/20
*
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/sysctl.h>
-/* $OpenBSD: procmap.c,v 1.68 2022/02/20 00:09:29 deraadt Exp $ */
+/* $OpenBSD: procmap.c,v 1.69 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
#include <sys/tree.h>
#undef _KERNEL
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/exec.h>
-/* $OpenBSD: pstat.c,v 1.128 2022/02/20 00:09:30 deraadt Exp $ */
+/* $OpenBSD: pstat.c,v 1.129 2022/02/22 17:35:01 deraadt Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MAXCOMLEN DEV_BSIZE */
+#include <sys/param.h> /* DEV_BSIZE */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
-/* $OpenBSD: print-pflog.c,v 1.34 2021/12/01 18:28:46 deraadt Exp $ */
+/* $OpenBSD: print-pflog.c,v 1.35 2022/02/22 17:35:01 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
+#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/file.h>