git: f87f97d4c9b3 - main - kern/sys_process.c: clean up includes

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 07 Jul 2026 23:28:27 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=f87f97d4c9b30dde1cdb3d72dfd699aed9c307e1

commit f87f97d4c9b30dde1cdb3d72dfd699aed9c307e1
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-26 01:24:54 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-07 22:03:53 +0000

    kern/sys_process.c: clean up includes
    
    Order them alphabetically.
    Remove redundand sys/param.h.
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/kern/sys_process.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 81cff03250a9..9fdcf79d0873 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -31,29 +31,28 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/caprights.h>
+#include <sys/filedesc.h>
 #include <sys/imgact.h>
 #include <sys/ktr.h>
 #include <sys/limits.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mman.h>
 #include <sys/mutex.h>
+#include <sys/priv.h>
+#include <sys/proc.h>
+#include <sys/ptrace.h>
 #include <sys/reg.h>
+#include <sys/rwlock.h>
+#include <sys/signalvar.h>
 #include <sys/sleepqueue.h>
+#include <sys/sx.h>
 #include <sys/syscallsubr.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
-#include <sys/priv.h>
-#include <sys/proc.h>
 #include <sys/vnode.h>
-#include <sys/ptrace.h>
-#include <sys/rwlock.h>
-#include <sys/sx.h>
-#include <sys/malloc.h>
-#include <sys/signalvar.h>
-#include <sys/caprights.h>
-#include <sys/filedesc.h>
 
 #include <security/audit/audit.h>