From nobody Tue Oct 3 07:38:57 2023 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 4S08pB0cWxz4vvSx; Tue, 3 Oct 2023 07:38:58 +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 4S08p96Z1rz3PHH; Tue, 3 Oct 2023 07:38:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696318737; 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=lblZeyktA0LG2NQE3SNZsea1OeNI4IBBkzVQH+ImEdY=; b=mk/l1S9ogy1jeKEdZF1+A/vFVde+c8fU3lZ3UMxBTh77pmxelhJZn7P3QKYJF87a99U6iN G4gEmJX7+Dtif8dzfFwXZMfaAgTwiKBW2rE9n4POX6OSixOgomK9UghZ0lTU9rEdzpQylf 6YDuGpLwTek8WpycNi4hNjvYiV+HYeEafiwAJHWBdHqIHjkSHVv6J2wGi3tSUf5aAEr8zC XR0B/xmqs+eqt6uyX4XILBzlsyNlhc4jXauv82aUsNif2xbIq3czh8q0i7xji7vkfuRrVb CHL6RNoCXTQpO40SkaWIS25dneL+wV+F/GZnfriQxfA3mjOEWJ4KUIGwNhAXkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696318737; a=rsa-sha256; cv=none; b=Mx9Upv/H+MJCMEiOqE0yK0lcdWTtNcYO2h6AFrTfemosg1GVBn0yy9SAlCgENVxlx9P1sU 3miueXxf0zfxs9VxgrS15puHqlC2L2n3Tmue+z1N+NzK6Nymu5FFaiAf0kynzkVs0zvzU7 DkjufPYU9zqzyc3Z2PfjJrySlG2OrPMVLWVxpLCLv2BK9NCvARb4HXMw4f9R52u1MNj+gK ec8/ZzGNeoz+8Kq2fUBdIaD+xoxB7WOBzMFftllhORgfYhvlEDyYd3a1DXbOV3iDMkDRPG OVcJQsoW06PnI3aQ2qk3qu/PeCGOyd7qTUDrqKCGIgrlfRSxTSqc1LIL6YFsEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696318737; 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=lblZeyktA0LG2NQE3SNZsea1OeNI4IBBkzVQH+ImEdY=; b=TwFVG2ID7AETA2l7Ta0xA3YiK8gURQyRbXcfHQ+goK7TBoK5YG/vRG0qLml6jGkCTUOt73 ym7jQ2QEcLlkk9IS0vyDjZTIThEkNYsP+Fj5TngrsRqZ4JHwOUBHDSpPT60Xbts7fd8Oz0 yUXytU602oQ+Vge4n8r85riOfg/N0ox+/IzsukcyXcXoY3RJK4sGqW3+icN6ewPxZlC41D UV6t4ARqu4JgEapmvoCD+2BJ8GSV00y0Kzzgh3xt1BuR5dkccjkev0133l3gIGGrtT32bX QaA0C9R/VQubLoihrS8wL0Uwx5IfOfoMmjC2V3Pk8bMxY1G3wESO6UzcnqBl0Q== 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 4S08p95fYRzmMB; Tue, 3 Oct 2023 07:38:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3937cvAQ002343; Tue, 3 Oct 2023 07:38:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3937cv76002340; Tue, 3 Oct 2023 07:38:57 GMT (envelope-from git) Date: Tue, 3 Oct 2023 07:38:57 GMT Message-Id: <202310030738.3937cv76002340@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: 199e397e9bf1 - main - linux(4): Deorbit linux_nosys 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 199e397e9bf1076ae905e2742ef8e294870f5b27 Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=199e397e9bf1076ae905e2742ef8e294870f5b27 commit 199e397e9bf1076ae905e2742ef8e294870f5b27 Author: Dmitry Chagin AuthorDate: 2023-10-03 07:38:03 +0000 Commit: Dmitry Chagin CommitDate: 2023-10-03 07:38:03 +0000 linux(4): Deorbit linux_nosys Differential Revision: https://reviews.freebsd.org/D41901 MFC after: 1 week --- sys/amd64/linux/linux_sysvec.c | 1 - sys/compat/linux/linux_misc.c | 8 -------- sys/compat/linux/linux_sysproto.h | 36 ------------------------------------ 3 files changed, 45 deletions(-) diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c index 98e2a01b98db..757986f94ae1 100644 --- a/sys/amd64/linux/linux_sysvec.c +++ b/sys/amd64/linux/linux_sysvec.c @@ -65,7 +65,6 @@ #include #include #include -#include #include #include diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index cb781f3bad75..b87c05322e16 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -79,7 +79,6 @@ #include #include #include -#include #include #include @@ -1506,13 +1505,6 @@ linux_getsid(struct thread *td, struct linux_getsid_args *args) return (kern_getsid(td, args->pid)); } -int -linux_nosys(struct thread *td, struct nosys_args *ignore) -{ - - return (ENOSYS); -} - int linux_getpriority(struct thread *td, struct linux_getpriority_args *args) { diff --git a/sys/compat/linux/linux_sysproto.h b/sys/compat/linux/linux_sysproto.h index 7ad9e2068d7f..e69de29bb2d1 100644 --- a/sys/compat/linux/linux_sysproto.h +++ b/sys/compat/linux/linux_sysproto.h @@ -1,36 +0,0 @@ -/*- - * SPDX-License-Identifier: BSD-3-Clause - * - * Copyright (c) 2005 Travis Poppe - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer - * in this position and unchanged. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef LINUX_SYSPROTO -#define LINUX_SYSPROTO - -int linux_nosys(struct thread *, struct nosys_args *); - -#endif