From nobody Thu Oct 16 02:22:32 2025 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 4cnBYh52nMz6CG5p; Thu, 16 Oct 2025 02:22:32 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cnBYh2VPNz3t6W; Thu, 16 Oct 2025 02:22:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760581352; 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=yp6Li9wx/QsH3FfJ6D5Vft+keFBeyrCf4obzluM8Lr4=; b=l1/ek0BZF0YF9oYDRRDxqehT0oZ/bT0aiXt15oHczcHnFWWuZdedeljpJxiluJnqlqKyZ+ ZSt+Kc4s2rg/YVYnG7THYysOkgKZT4vAHMTqLgvDfhB1uuqbUFEdiHcwW8pSYvbQW42oXh Yv+OWdeQjgsCq6dzz5NPvtlQDAf0pdQgFjWou27/td5rvJVybSKCjBUQEdnfxNjOLHCb9j QvOPr0ARC839ymEY220ZoqpOAWRI9sIg/56ruzAbzsmayQGJjiRpWoPrYGo/pSAYdpuS5r pH9J8HVEcTv3ZVlw+zBiIrt2TzTNOvgxylr44Z3ubDG6dr3fA6+ZBex6PRoO2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760581352; 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=yp6Li9wx/QsH3FfJ6D5Vft+keFBeyrCf4obzluM8Lr4=; b=QihIy/EeQqkrLGA/lAsKAcHxnGQUCP/YiSIwNtei/npleIMlB/9oGA582vq2JAgTjkBggr 9W61z3mqTGWUI10V6i0LCUzpYjgOR04a6maD+bo4XGlZKsSurJ7tilqJEylyDuzjWvcFlM 5kXYNNBCUIlmuZ94CxUTIQtS2lnRQ6LeE1DBDQpsQ+TQfujZaeZLPSBpLh9BD54+XJzkdW Okofcyq5/Cj8bsNRZ5FS66Mxbj9UoDoXO7dADB9yI1PdYefkou5T1hhmZ+P5SiaCfr12gs 6Tp4sh2M8NCIL1qqSF8on3XgQUYMpBOVK6u0PtTrq1NSD+bvbO9snG6su9QxTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760581352; a=rsa-sha256; cv=none; b=dtla25w6usds/kw7MSPyfaEwjtt4yn5TaOD7L1IDolYlfymqkVofWUIzFehrFjeyih2lSh 5WU2kdxAQY/ANZeDGVp1YdbwWgppCOIWQY4AAeg4RvVnstwy7Iu2EU8A5I+2FpcRe5lXaj 4QMbVAasIp32Qtu29N/msPA8rJJayZ4NrAWM3amB7jlYz/aJ5Y/2AocHqUQhVjQWl+nbsG 14pWhAgAncDcD1o1Lrqw3SOl+Fvhxy0FrSyzkYuhUnIAyuNFTKGLClVgHYCi6oGTiSX6L9 Uv6bs6mK7v/paagbxFEMFRZtz3JUtgD9DJJvE8jsjidsoGL5ltq1A0+cVQjpPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cnBYh269lz14BV; Thu, 16 Oct 2025 02:22:32 +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 59G2MWGe017988; Thu, 16 Oct 2025 02:22:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59G2MWOs017984; Thu, 16 Oct 2025 02:22:32 GMT (envelope-from git) Date: Thu, 16 Oct 2025 02:22:32 GMT Message-Id: <202510160222.59G2MWOs017984@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 24f4ec797e9b - stable/15 - mount_nullfs.8: document unixbypass and nounixbypass 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 24f4ec797e9b19abd4488554c78e7ecc27313428 Auto-Submitted: auto-generated The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=24f4ec797e9b19abd4488554c78e7ecc27313428 commit 24f4ec797e9b19abd4488554c78e7ecc27313428 Author: Konstantin Belousov AuthorDate: 2025-10-09 20:55:01 +0000 Commit: Konstantin Belousov CommitDate: 2025-10-16 02:22:20 +0000 mount_nullfs.8: document unixbypass and nounixbypass (cherry picked from commit 033587a985a46e9d45fc3fb48a78754d81f0d50d) --- sbin/mount_nullfs/mount_nullfs.8 | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/sbin/mount_nullfs/mount_nullfs.8 b/sbin/mount_nullfs/mount_nullfs.8 index 17b1f45f5e42..b3cf57fd9dea 100644 --- a/sbin/mount_nullfs/mount_nullfs.8 +++ b/sbin/mount_nullfs/mount_nullfs.8 @@ -90,7 +90,7 @@ See the .Xr mount 8 man page for possible options and their meanings. Additionally the following option is supported: -.Bl -tag -width nocache +.Bl -tag -width nounixbypass .It Cm nocache Disable metadata caching in the null layer. Some lower-layer file systems may force this option. @@ -98,6 +98,32 @@ Depending on the access pattern, this may result in increased lock contention. .It Cm cache Force enable metadata caching. +.It Cm nounixbypass +Disable bypassing +.Xr unix 4 +socket files used for +.Xr bind 2 +and +.Xr connect 2 , +to the lower (mounted-from) filesystem layer. +.Pp +The effect is that lower and upper (bypassed) unix sockets +are separate. +.It Cm unixbypass +Enable the bypass of unix socket file to lower filesystem layer. +This is default. +.Pp +The effect is that +.Xr bind 2 +and +.Xr connect 2 +operations on a unix socket done from either the upper (nullfs) or lower +layer path are performed on same unix socket. +For instance, if a server +.Xr bind 2 +is done on a socket in the lower layer, then +.Xr connect 2 +on the socket file accessed via the nullfs mount, connects to the server. .El .El .Pp