From nobody Mon Aug 19 14:14:53 2024 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 4WnZNt1P7Kz5T6CS; Mon, 19 Aug 2024 14:14:54 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WnZNt0fz1z4qmZ; Mon, 19 Aug 2024 14:14:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724076894; 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=AWplqVji8ibK3xjBGRhPQTisjoGNyfw9kMvv9dzjDcU=; b=jnGErInfr5Ku3pIB+W5BQ7hKwMYL+7yNxnC3aTuT/1L5nwZ1zhThs+Nb2LZV1zfJt7tY1T qzA3LBdkmvJnITP+7tyS1NsEfSUjc5ozoKYAMjjWOvNt75VkT022NsnMcnYXuvo2KdDzH/ rUsMQOPMO+X5WQXkVAIrMpQHbZQhCvCG5Vt0OjI4DqwfC94S6C99/nUdZkyQAqbIDmJlMc XjUE3aUWvOHwEZ3oszi+Yo3rWc244msCBBowHZEC+LNRUuPVx55deRBW1a/9JXN3f0YWo1 O3Ndga9LmSZL9My10+KUSuMgiQaEJe+4JElFcEQi33wqCiGL52Ri++TfidMtqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724076894; a=rsa-sha256; cv=none; b=XE3yl4ig4wJ538h4oC31v+6ygcakRVNOX+qMSvdrFny5Zlk/Z6JM9A+4fuQrEVGeZlFuH6 +waT4Nb2jSnZedHvo8PfjURdmR+vMlp/5R7rN2H1ZFm7Ty+pvsoyWZtbRn/JczltYjZxUp s0x7LbCHkxBHiPIBN1savmGJr1nhCIid9LGNRxzi2a98yrgzJ4GLXXnTNg/0WK+/7gLNyV xg+5GqqURxM8GOa7mwc4a1VyFFkLX5N3BobIOCFwP3OvNabFgXGfu83E1WeZsEVvWUf5Jw 9CmbNk+gyVcgCEi/FXWPu5Bgml6jz4SD1DzOljpG1hyqVsqD0JGcuYUrueMuAw== 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=1724076894; 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=AWplqVji8ibK3xjBGRhPQTisjoGNyfw9kMvv9dzjDcU=; b=sRd8/4Dhm/vuD7WdxldvzB+c1dXcdTs0c5gts+UtIG24VbexO7mLKuo0Op3He1OFwB/gdt aBxCY8XvgkaNCYsIjw06xW+Imi/wRtEFFr68TY0Ffp8Vqey4ibU8wwjvs/9Cv5KhlNeZfU jRE89YrMY3DIKmCX317cjiPJ4H8KmXA57j8Yos+N7oWo7ycBjjh31XgZ/XENgfbyP6nn5y wVB8phmobGXqcPwa5u1yNljUz7RnM773j9KNG//PcPSCL6fgtnQYYeGNe4K02yzLZa3Wf9 BWFTXuzlk6EL7D/QwtdMMRdYeBw7jr4VppXPVlAqRcvhAnKS88aazrNW9mXIDw== 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 4WnZNt0FrpzKn4; Mon, 19 Aug 2024 14:14:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47JEEriG059337; Mon, 19 Aug 2024 14:14:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47JEErkK059334; Mon, 19 Aug 2024 14:14:53 GMT (envelope-from git) Date: Mon, 19 Aug 2024 14:14:53 GMT Message-Id: <202408191414.47JEErkK059334@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: f66e71fa78e1 - main - linux.4: clarify path translation 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f66e71fa78e16164339f7fd4791306fb30165581 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=f66e71fa78e16164339f7fd4791306fb30165581 commit f66e71fa78e16164339f7fd4791306fb30165581 Author: Ed Maste AuthorDate: 2024-08-19 13:43:37 +0000 Commit: Ed Maste CommitDate: 2024-08-19 14:14:28 +0000 linux.4: clarify path translation Try to be a little more explicit about the path translation mechanism accessing /compat/linux/ then falling back to /. PR: 277804 Reviewed by: fernape Sponsored by: The FreeBSD Foundation --- share/man/man4/linux.4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/share/man/man4/linux.4 b/share/man/man4/linux.4 index 212dd2526f3f..b404c9e1c04d 100644 --- a/share/man/man4/linux.4 +++ b/share/man/man4/linux.4 @@ -63,9 +63,11 @@ before .Pa / . For example, when Linux process attempts to open .Pa /etc/passwd , -it will really access +it will first access .Pa /compat/linux/etc/passwd , -unless the latter does not exist. +falling back to +.Pa /etc/passwd +if the former does not exist. This is used to make sure Linux processes load Linux shared libraries instead of their similarly-named FreeBSD counterparts, and also to provide alternative versions of certain other files and virtual