From nobody Sun Jan 25 15:56:46 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dzbrb1dvDz6PjBX for ; Sun, 25 Jan 2026 15:56:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dzbrb0728z482k for ; Sun, 25 Jan 2026 15:56:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769356607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gtdwjszacGXuLE+AJWhtfnp6sLNO8iqqtNnUVv3r+hc=; b=T3i1CHD+QGR1c/7kte1uwS1z4Bk3qKGx5oFjh/47Ss6hUG/HLpwU84guHi8dlYxAbNk93N joEIs1tDneIzgh0ur51bcYuMOm/IGRBE1r9S0qCPNf7fiQDAZtA/Io6AVKD23KAmqwj402 7UhLo+hoMTO9jpv981yp7u9AcrgYR2IF4oSHMXpc8ctFS+WDSiKz05whLjOYGJRAxrycOH gjvnONjfJhUpOxEiU2W4c30QVfjITrWJytsJwWFtpG2KA/qcKYVKUi4UP06WoVRKryiGvF res12OgODkTqfe7/jJ66XxtEplQreUIl25dy1PkO/z+ESOQWBjth5g1qR6IJNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769356607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gtdwjszacGXuLE+AJWhtfnp6sLNO8iqqtNnUVv3r+hc=; b=P021jcT2DwMUW5XAD8pqF2vVBCQ+hV+szz0+nCLUyFWVBcUINpGVZDiX4lHript3nrd/4u e+CLEoGhV8GQnzo+xms0shm9EEv3LFJSf8HeErEHRMUOlPIZZDQ87NYgevIYBK2KGDqpp2 lXIMwxNot2PyKCumKsnIQH15X0pHAM1Uow1+H2nqN/dksu7KKtii2oEbzgy36kAVh/b3gq Hk8hgg5xMvD7b6tkNJ/obn4q7W1o6dEC/rir8vFY9XOuQ0hRS9Yg7f+xuMaGVHHaJrwZHW EeQi5ltpqyqWR8o7JrtpHlFTkHG6KU7a5qe63VJrTfCn1yb5mAXMwTR2i5PSLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769356607; a=rsa-sha256; cv=none; b=Pzitbq+2zRt7enjXlENbLNt6s7qd78bGZXFXNzqQVlT5QQKNWl+tEEPC3TgnX76jH56Zds VEp6m0LTggjOvRS8cdfLNT4nEKb7lXMc6yBHIa3yGoP+ZOcwAGZ+n7+/BEhzjel756fKp+ eNrEd5DZ4I71QfOQhTGck4YlZGuRBS1PK1L+bm8umHIPJAIyoCBNbVEGI/8Zt5gJjdEMHe /0DYX+qzC4oRcnm2+/jIh+NNwMFevWUrhQ9vGE7NzJD7X7MuFyNd5pm8fsoMLplyVYJY2U 2egV5lT7CMLVNMcmcvTBmI7HB7FRol31J5//zpNAvCeI87O9mDPHEGtSxCIDKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dzbrZ3PkbzhWx for ; Sun, 25 Jan 2026 15:56:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3417f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 25 Jan 2026 15:56:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 472c32a83b27 - main - kern/kern_fork/exit.c: organize includes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 472c32a83b273b3f15f18bca36ee8a90bb8dad8d Auto-Submitted: auto-generated Date: Sun, 25 Jan 2026 15:56:46 +0000 Message-Id: <69763d3e.3417f.46196fa8@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=472c32a83b273b3f15f18bca36ee8a90bb8dad8d commit 472c32a83b273b3f15f18bca36ee8a90bb8dad8d Author: Konstantin Belousov AuthorDate: 2026-01-08 00:26:54 +0000 Commit: Konstantin Belousov CommitDate: 2026-01-25 15:52:46 +0000 kern/kern_fork/exit.c: organize includes Remove sys/cdefs.h. Remove sys/param.h. Order the sys/*.h includes alphabetically. Reviewed by: asomers, markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54592 --- sys/kern/kern_exit.c | 32 +++++++++++++++----------------- sys/kern/kern_fork.c | 18 ++++++++---------- 2 files changed, 23 insertions(+), 27 deletions(-) diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index d7fa280e3711..44d2bddf53fb 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -34,45 +34,43 @@ * SUCH DAMAGE. */ -#include #include "opt_ddb.h" #include "opt_ktrace.h" -#include #include -#include +#include /* for acct_process() function prototype */ #include #include +#include +#include #include #include -#include #include +#include #include #include #include -#include -#include -#include -#include -#include +#include #include #include #include -#include #include +#include +#include +#include +#include #include #include #include -#include -#include -#include /* for acct_process() function prototype */ -#include -#include -#include -#include #include +#include +#include #include +#include #include +#include +#include +#include #ifdef KTRACE #include #endif diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 961d72c46d2c..c559de34c60c 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -34,20 +34,20 @@ * SUCH DAMAGE. */ -#include #include "opt_ktrace.h" #include "opt_kstack_pages.h" -#include #include +#include #include -#include #include #include #include #include #include #include +#include +#include #include #include #include @@ -60,17 +60,15 @@ #include #include #include +#include +#include +#include #include +#include +#include #include #include -#include -#include -#include #include -#include -#include -#include -#include #include #include