From nobody Tue Oct 10 05:14:19 2023 X-Original-To: dev-commits-src-branches@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 4S4PG325dYz4x7Ws; Tue, 10 Oct 2023 05:14:19 +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 4S4PG31gCvz4dqx; Tue, 10 Oct 2023 05:14:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696914859; 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=/x0xDLyylfoU+4psoK/FspMMiaa8nO1uSe84xnSX7TQ=; b=eo8+DZMNWaSim5LonRvv59ps6tQZV6gfhryiak+ZNIDf5z660/enVhT0gxBrq3U7/Vrj4S OGAJP0gcFvLWAgiDi4JsTBcNIAFZtS6GoS2rusYj842priK/xf3ZuWtFdQVMn2xadjTOyU RYaDB3VTj3IfzD2PqKumhw6wAeDP25jYrC8g4RCcYWvElmFJH7l/m0aUSMJOkX0yk0MY86 3l4cvtQBBfhBj6RhMKXgB/1dRNrmMxYqzO0yNmblBP+1DXrjLwCF9yiaA+Qn3tPUlzUj7c 0pjrRXoUFdxkyPma4PTo01SLpCPAVZm2lsSJ3MtoIzZQ0LF1d1MxUdwuljOWpw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696914859; a=rsa-sha256; cv=none; b=HKR95QKhlZ/AnBLi/w+HSGJtRMr2wSZB+ubelH0+y3rfLEnxDchjBW1Wgz/Ncw3uBzW2+W RFlR9fQsSELCyrifdOV55rj3MgUBr6zU63CwQB9hQZJuRe8Yp7Bqtar+AzCIXmPhD1r9vT WO4Uyfbn0HnvBPvAXBVXz18w+W74ehYt9pxu/SRIlJBCqyHsDwYwoFMO/2Omd7I/Rp0cKo B1tnSdN/l19US1KwMMx0ISptTH1zmKdYeO7XflDVbWq26zTLf1J9i7CkqFQIpgVOPFLK2y PgLik++pmGkIhw+8oKHJU/StCg17a2cdukY4/TeFFnYWR7DANbNHl94np4WuGw== 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=1696914859; 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=/x0xDLyylfoU+4psoK/FspMMiaa8nO1uSe84xnSX7TQ=; b=gZBbEYkroCC8AKkarOa8hM++1x7JWNddJNuDhfyHOC/OtLfTEhsIXV+hJQS02kKVIBOQqm hwY+VGDdMsaPkaXsk/SqCTvjxvJXoD63+SZ/4w2FhNvygzbIwNMq4cf87JnukkMIv4p4oW ztNklK5H6zWQyhi7NW2rw7b+hkTmBnZkn8bpKrLgcmSIKPU+Y7k7knRFS3j0doJpuYeX7a oePkGyUck9H3Y+HCeGeF/sTK2886QxEoFX9E5cFWPnXWGXlu5AXiEJpBupiVmmytqN3CaH dR2UUmjZQAmByifrD3zV96Yg/N/efHppfnLwxWXgVNtqFxhmGFKHP4xA70DO9A== 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 4S4PG30nD2z9jq; Tue, 10 Oct 2023 05:14:19 +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 39A5EJva071848; Tue, 10 Oct 2023 05:14:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39A5EJNq071845; Tue, 10 Oct 2023 05:14:19 GMT (envelope-from git) Date: Tue, 10 Oct 2023 05:14:19 GMT Message-Id: <202310100514.39A5EJNq071845@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: ce693de706fc - stable/14 - linux(4): Deorbit linux_nosys List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: ce693de706fca8218e59705f609efed52d8e3623 Auto-Submitted: auto-generated The branch stable/14 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=ce693de706fca8218e59705f609efed52d8e3623 commit ce693de706fca8218e59705f609efed52d8e3623 Author: Dmitry Chagin AuthorDate: 2023-10-03 07:38:03 +0000 Commit: Dmitry Chagin CommitDate: 2023-10-10 05:12:12 +0000 linux(4): Deorbit linux_nosys Differential Revision: https://reviews.freebsd.org/D41901 MFC after: 1 week (cherry picked from commit 199e397e9bf1076ae905e2742ef8e294870f5b27) --- 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