From nobody Sat May 28 17:53:37 2022 X-Original-To: dev-commits-src-main@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 CE7061B45B82; Sat, 28 May 2022 17:53:37 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L9Tmx5MV2z3vxP; Sat, 28 May 2022 17:53:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653760417; 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=05FXLYhxsdSj59Ly/4ImGjE+DJGOavv/dp0Ob5mcVE4=; b=rvnmDB10/i+vdI+i3p7j/iNj7apB3Hm8v687aBVq1FwQ0TJPGey3viuzuc4/KNysT2IXCM hd27BlSvvZykRRiF2G6D+3BygtFask63M99GTUgwUYt9120U36g3peONAYwkX5uVO1CnB2 A3gd4/chd4ivRagWpTU7X7Ovp8RERjEBW2j0PUJNn4854iATBqH/y3CSWuitohwlYfSwrL RNAmzZ8wB6T+gMr3YeqHfXNvTmPWBY6u9AaGnXdZ9uYgNkc85vQJsGzWr67vT2K4vcJz/7 On9WTnUNojDFvVdyd9zP278Ly495npOBwcEZwPZRo+D9M/Fa6rRpyxq+GZYvRA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9895E13A9F; Sat, 28 May 2022 17:53:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24SHrbQk057228; Sat, 28 May 2022 17:53:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24SHrbig057227; Sat, 28 May 2022 17:53:37 GMT (envelope-from git) Date: Sat, 28 May 2022 17:53:37 GMT Message-Id: <202205281753.24SHrbig057227@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 31d1b816fe13 - main - sysent: Get rid of bogus sys/sysent.h include. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 31d1b816fe139f46083f8609c34b7d129a6e2ee0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653760417; 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=05FXLYhxsdSj59Ly/4ImGjE+DJGOavv/dp0Ob5mcVE4=; b=eivrDWexxFjF1C7WLRcyo5T1K7/dvyZ8Y2r2rriNqy+gVMBJuvrKLb84aeYftB4kGc5Ey9 lnWZTD30UKhCDwKVPBD8l2hpg5Fyl9pISQMmDx6bzYp7vP3GDxR8nq1rImsrLTxnPcV4nQ 5VmHv26xlSkRaw4lcQd7QrZQEo+n3xCJKrsbsYIyGI4X7EDW+SFz0Ry0OkjDR37mnt5cVY +9o5iuiGEpNMiX6kdx1Od4d1XmJhhvqNEJSdBXTEPFMDnMUkYJi+/M+MgfK1bQuht/M8f+ 2/nMqknMQ6gm9+8dT4od5fVTLLeEBKWKrcHs+m4naX08lykYzpWZCWClSi7q7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653760417; a=rsa-sha256; cv=none; b=yI0w6z7BRu6hhAlz+DpwP1dPeeiF7+OEcGpQ1hSwotQIqK3fWoDYOvp+Xp46wa9eaASv6m 5qh6VEamxrak1Zg6y7SJy1mUd624Xcjw24R3liBFmhg6KnCwLXpBqNKEeAtUHv/P6jUj24 fxlknU8qf5TvqdRGjhr3oAeCGsCm+CEORQFazUZnECGEaOrtllUJokPHD19u7LsYmMSW47 xnki0OS4jvDyTx8878IOvbsoDvGlIitNzPyBI8dh3OeTIS3iR8OJRwFiPeSof0H/6t1FUQ R1HzXcQWz3nNKBWbBxO+DpbL8MXN9uLgwQZUokoFffte7hDLmFWCDz6uQUOizw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=31d1b816fe139f46083f8609c34b7d129a6e2ee0 commit 31d1b816fe139f46083f8609c34b7d129a6e2ee0 Author: Dmitry Chagin AuthorDate: 2022-05-28 17:52:17 +0000 Commit: Dmitry Chagin CommitDate: 2022-05-28 17:52:17 +0000 sysent: Get rid of bogus sys/sysent.h include. Where appropriate hide sysent.h under proper condition. MFC after: 2 weeks --- sys/cam/scsi/scsi_cd.c | 1 - sys/compat/freebsd32/freebsd32_ioctl.c | 1 - sys/fs/nfsclient/nfs_clsubs.c | 1 - sys/fs/procfs/procfs_dbregs.c | 2 +- sys/fs/procfs/procfs_fpregs.c | 2 +- sys/fs/procfs/procfs_regs.c | 2 +- sys/fs/procfs/procfs_status.c | 1 - sys/kern/kern_acct.c | 1 - sys/kern/kern_context.c | 1 - sys/kern/kern_environment.c | 1 - sys/kern/kern_ffclock.c | 1 - sys/kern/kern_linker.c | 1 - sys/kern/kern_prot.c | 2 ++ sys/kern/kern_racct.c | 1 - sys/kern/kern_rctl.c | 1 - sys/kern/kern_time.c | 1 - sys/kern/kern_umtx.c | 1 - sys/kern/p1003_1b.c | 1 - sys/kern/tty_pts.c | 1 - sys/kern/uipc_syscalls.c | 2 ++ sys/kern/vfs_acl.c | 1 - sys/kern/vfs_aio.c | 2 +- sys/kern/vfs_mount.c | 1 - sys/kern/vfs_mountroot.c | 1 - sys/kern/vfs_syscalls.c | 1 - sys/netinet/in_jail.c | 1 - sys/netinet6/in6_jail.c | 1 - sys/security/mac/mac_syscalls.c | 1 - 28 files changed, 8 insertions(+), 26 deletions(-) diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c index d1b56d551732..1618aa3fb500 100644 --- a/sys/cam/scsi/scsi_cd.c +++ b/sys/cam/scsi/scsi_cd.c @@ -66,7 +66,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include diff --git a/sys/compat/freebsd32/freebsd32_ioctl.c b/sys/compat/freebsd32/freebsd32_ioctl.c index 957c546d4daf..7f424b63f414 100644 --- a/sys/compat/freebsd32/freebsd32_ioctl.c +++ b/sys/compat/freebsd32/freebsd32_ioctl.c @@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/fs/nfsclient/nfs_clsubs.c b/sys/fs/nfsclient/nfs_clsubs.c index d361c175aa8e..7d45c213f6d3 100644 --- a/sys/fs/nfsclient/nfs_clsubs.c +++ b/sys/fs/nfsclient/nfs_clsubs.c @@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/fs/procfs/procfs_dbregs.c b/sys/fs/procfs/procfs_dbregs.c index acc0f7f8c5ac..f7bf2b792625 100644 --- a/sys/fs/procfs/procfs_dbregs.c +++ b/sys/fs/procfs/procfs_dbregs.c @@ -51,13 +51,13 @@ #include #include #include -#include #include #include #include #ifdef COMPAT_FREEBSD32 +#include #include #include diff --git a/sys/fs/procfs/procfs_fpregs.c b/sys/fs/procfs/procfs_fpregs.c index 1118eb68dcbc..2d680fe2621d 100644 --- a/sys/fs/procfs/procfs_fpregs.c +++ b/sys/fs/procfs/procfs_fpregs.c @@ -45,13 +45,13 @@ #include #include #include -#include #include #include #include #ifdef COMPAT_FREEBSD32 +#include #include #include diff --git a/sys/fs/procfs/procfs_regs.c b/sys/fs/procfs/procfs_regs.c index 703dad64a182..fd5d0cb2a209 100644 --- a/sys/fs/procfs/procfs_regs.c +++ b/sys/fs/procfs/procfs_regs.c @@ -45,7 +45,6 @@ #include #include #include -#include #include #include @@ -53,6 +52,7 @@ #ifdef COMPAT_FREEBSD32 #include +#include #include /* diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index e4e7e51ac02a..4592f458058d 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -52,7 +52,6 @@ #include #include #include -#include #include #include diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c index aaf5ba646295..96567836c7b9 100644 --- a/sys/kern/kern_acct.c +++ b/sys/kern/kern_acct.c @@ -90,7 +90,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_context.c b/sys/kern/kern_context.c index 516c54b75852..8612c95ae641 100644 --- a/sys/kern/kern_context.c +++ b/sys/kern/kern_context.c @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_environment.c b/sys/kern/kern_environment.c index 2a4c62d64a0f..77fdf833c530 100644 --- a/sys/kern/kern_environment.c +++ b/sys/kern/kern_environment.c @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_ffclock.c b/sys/kern/kern_ffclock.c index e76e2b6652f4..0ab8e35fbe02 100644 --- a/sys/kern/kern_ffclock.c +++ b/sys/kern/kern_ffclock.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index f1274ff87064..2d3a1be54566 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index fbe7117cde88..942062756631 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -63,7 +63,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#ifdef COMPAT_43 #include +#endif #include #include #include diff --git a/sys/kern/kern_racct.c b/sys/kern/kern_racct.c index aeff35513d80..6087123c31ce 100644 --- a/sys/kern/kern_racct.c +++ b/sys/kern/kern_racct.c @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_rctl.c b/sys/kern/kern_rctl.c index 90e2f7832691..f4356f802f0c 100644 --- a/sys/kern/kern_rctl.c +++ b/sys/kern/kern_rctl.c @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index de1b4ea7bc02..8e7c4c12fc97 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index d63381d76eb8..20e6b433efb2 100644 --- a/sys/kern/kern_umtx.c +++ b/sys/kern/kern_umtx.c @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/p1003_1b.c b/sys/kern/p1003_1b.c index c1f51dd60a7a..0949414bbf00 100644 --- a/sys/kern/p1003_1b.c +++ b/sys/kern/p1003_1b.c @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include diff --git a/sys/kern/tty_pts.c b/sys/kern/tty_pts.c index a912634393f6..009baec5c9a5 100644 --- a/sys/kern/tty_pts.c +++ b/sys/kern/tty_pts.c @@ -60,7 +60,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index fef5dce796d2..d108795efcaf 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -57,7 +57,9 @@ __FBSDID("$FreeBSD$"); #include #include #include +#ifdef COMPAT_43 #include +#endif #include #include #include diff --git a/sys/kern/vfs_acl.c b/sys/kern/vfs_acl.c index ba4c217ae6b9..2e3abe007c2a 100644 --- a/sys/kern/vfs_acl.c +++ b/sys/kern/vfs_acl.c @@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 5f469f56f677..ffb18f636cb1 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include @@ -2723,6 +2722,7 @@ filt_lio(struct knote *kn, long hint) #ifdef COMPAT_FREEBSD32 #include #include +#include #include #include #include diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index a495ad86ac46..71a40fd97a9c 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c index bafddb7684f4..ddc9784109b7 100644 --- a/sys/kern/vfs_mountroot.c +++ b/sys/kern/vfs_mountroot.c @@ -64,7 +64,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index b27c18dd1d96..ba62fdb7e81e 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/netinet/in_jail.c b/sys/netinet/in_jail.c index d9f864f369cf..999bcf5112fe 100644 --- a/sys/netinet/in_jail.c +++ b/sys/netinet/in_jail.c @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/netinet6/in6_jail.c b/sys/netinet6/in6_jail.c index 05b046fd2aa7..830addb267fb 100644 --- a/sys/netinet6/in6_jail.c +++ b/sys/netinet6/in6_jail.c @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c index eca9b18fb1dc..d8979a70b72d 100644 --- a/sys/security/mac/mac_syscalls.c +++ b/sys/security/mac/mac_syscalls.c @@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include