From nobody Mon May 29 08:20:11 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 4QV7kN09lYz4XNgl; Mon, 29 May 2023 08:20:12 +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 4QV7kM6DBCz47gP; Mon, 29 May 2023 08:20:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685348411; 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=o0hkHE0JIPC3sSLFtjewLqVsSv9eeRDd77wG88C3ryk=; b=h0ClsUb72au0mc14W7Okf4n4ASvzwz75TIPI3DGKKaeYrs8KyMOr/nb2YRGdkOqDF+oJ6f b+FwIfgLLSNTRS1GA6C/6crL/rApTvf0yC0BVjQAOA7JO+bkIh1aMVtO+iqpYXhcaXtvnW yhrDoVIgDGvjXTW7wbhyfNY7LNQy23lF5mRFS59vYFQ6cAt9FwYDLdhP2a9d7mgR66bYa/ V3NQsVyu/Yv1mMyNshJ2agXjT3eOPbO7vQolloC4sj2Y3/9kb8BD5S/TjdpNG4vfetJyol CsUJZ3vRUH09Wn5NEBVNJTxkIll5fEU7t72LC3p5K67ALDd0QXQKzvLpTYeb3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685348411; 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=o0hkHE0JIPC3sSLFtjewLqVsSv9eeRDd77wG88C3ryk=; b=ElZsE6f1nIB9cprnsXQk0r4UYMXO22AdH2lYCr55fHbAFhSKSvkGOGWZ8jJYvBqtsyQ+Qe c1fSIY6ncQeXXPTRktLX5K/TMKm6IohqSlppvPHrE8X+wyNgx7CM0BBh8/bR1Ec7M98bWW KR07KmMUUqbdtGwsHYspFldgZJiVZYCwNSCfUrR+/MstkFNXUIsjYCwcM2vpX02ooxv9TC kLLmCjDKGa9+coAkColHQQVFhm3QdYMXXj2cSU9u5m2bbqVIxrJ4vl2tt8dZaK93dUXiox eLlStRi5pTQY/KDWPNVgsF20HE0ydYUkyrNogV+1NB0QtA4C/j3kuQ+3wOEf8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685348411; a=rsa-sha256; cv=none; b=iADg2/sBv03i3bsZ6gWcZYbSyL2iZIOCZCNFk+64d1O2iEsHuRZNJuYbaZftX88CpLB3AX 1oxgy4ilhOrk8TYQXcajL8/cYSxFj4F+JTI9uKpToghlZ3JcnfFBgqvvHJUiWAkxBbn7eJ 6VEKXPRRAHy/4GFj36jEEJwfiN7MUcD+evnp/9JoOOKZEA6K8jgnyEXW7b/5HJf5HvZu1C P26ecliIsnuA/Fgpo8HcZflmwav2R4JERXyNNYGvxlauMwfxViZgIFfavXSBkmbHGZEN4c pbxC+fDodsvx2BHDxbsNKtr9d5u+WoeQzfhbMyJn1wnPaRDsY9sM+agUWX2itw== 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 4QV7kM4t5Wz13kt; Mon, 29 May 2023 08:20:11 +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 34T8KBjT069538; Mon, 29 May 2023 08:20:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34T8KBph069529; Mon, 29 May 2023 08:20:11 GMT (envelope-from git) Date: Mon, 29 May 2023 08:20:11 GMT Message-Id: <202305290820.34T8KBph069529@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: c4299cec48a5 - main - linux(4): Make linux_emul_path private 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: c4299cec48a51996ec0bc076e5818438243e4041 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=c4299cec48a51996ec0bc076e5818438243e4041 commit c4299cec48a51996ec0bc076e5818438243e4041 Author: Dmitry Chagin AuthorDate: 2023-05-29 08:19:08 +0000 Commit: Dmitry Chagin CommitDate: 2023-05-29 08:19:08 +0000 linux(4): Make linux_emul_path private There is no need to refer to linux_emul_path from outside anymore. MFC after: 2 month --- sys/compat/linux/linux_util.h | 2 -- sys/modules/linux/Makefile | 1 - sys/modules/linux_common/Makefile | 1 - 3 files changed, 4 deletions(-) diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index 6e2c3d1ed670..aceb6e1da793 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -43,8 +43,6 @@ extern int linux_debug; MALLOC_DECLARE(M_LINUX); MALLOC_DECLARE(M_EPOLL); -extern char linux_emul_path[]; - int linux_pwd_onexec(struct thread *); void linux_pwd_onexec_native(struct thread *); diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 2c6aa41a1a18..294a7d595cc6 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -76,7 +76,6 @@ SRCS+= imgact_linux.c \ .if ${MACHINE_CPUARCH} == "i386" EXPORT_SYMS= -EXPORT_SYMS+= linux_emul_path EXPORT_SYMS+= linux_get_osname EXPORT_SYMS+= linux_get_osrelease EXPORT_SYMS+= linux_ioctl_register_handler diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile index b7e59e0ac764..402d3ebc937e 100644 --- a/sys/modules/linux_common/Makefile +++ b/sys/modules/linux_common/Makefile @@ -16,7 +16,6 @@ SRCS+= linux_x86.c linux_vdso_selector_x86.c .endif EXPORT_SYMS= -EXPORT_SYMS+= linux_emul_path EXPORT_SYMS+= linux_get_osname EXPORT_SYMS+= linux_get_osrelease EXPORT_SYMS+= linux_use_real_ifname