From nobody Tue Sep 01 15:35:01 2026 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 4hZ90P3VbDz6r3Gs for ; Tue, 01 Sep 2026 15:35:01 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hZ90P2QhRz46Vx for ; Tue, 01 Sep 2026 15:35:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788276901; 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=1cFpRGcUt/2bMNhlOUH9vB/UXwoQCo4sf/oO/Ln4w2Y=; b=PZle+5AcRTXafOBkWlQF5lS/1mrPdE8ZuwhClRsSL+sWPDp6h2P49mYqvnN89lvcxMtHr5 egX2EuQLgnIJP1Ocn3GujYTo551uFqVDde8KViQuYCjF5oHYbbl0ReynHggyAdtqEyZ+Kq rMZ8qf1Y9+1/rXD0gWY9H0WZKHlfAa6w7cDQ92CkKXp4ruF7IbPYhKKy48oVFHHRNgSAHd WhHehdSyULBPNUWUfDYdChYRork2OxvIJXohJTe5enrEqrH7LGtY9lLYS1e8HIVfkC62fv diH4N35vqA7UTCeuLSsTdbuzgKbiy7gLPCdQP44O2Q2x0Hx5Sx0hfkXYeC4wmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788276901; a=rsa-sha256; cv=none; b=s6Lhm3nPWlJXpbkKWASUfbU5R4xAXIXTzH3k4k9ENwH6oqYoQb0cHWCtFCXaCR2mRl7cW+ PaedVwxKUwmf5JV52HGsVH60c+pbo+1MOJ41rObpUI11NGK8LNJnbk6NpQVm5Yyg2CbTDw TPprfI0F65/wdk7HZYrOoBG+Qz2eqAx6nkLXDeyWs6u+TDv7450kTxvzNR4QUVppA3vhXT UXTxPCv5ZJJn1qMK4B3jY/qRgRsD4T4xjEO86HS9xpZk3TT2cpWzVVeCemRrkVK5lDUg8B Vi0pJ5dKir0q4hbYb/N9JLBAylRzWoh/TyjBIX7BdYxMHxoeSY9cVeuphwlFDg== 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=1788276901; 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=1cFpRGcUt/2bMNhlOUH9vB/UXwoQCo4sf/oO/Ln4w2Y=; b=BkQVMZfKu1cJErSYRAqHq/x+QxawYLSLmgTWvjbTwINs6HaZR7hjDJzPfOofkldMx0jjLl GfM50j6Ls1Dg79cXtWFCFn/jPiy3HtaVIsj9oqz0+R/Zjzt2Br79GS9j20BLRTJu1aAyOz mjTZlnrQcoZsfKagYOi34cer7gZ55daWXHQgHccw+RQYB2LepMAwP33Cn5xjPABgAZaKYK TWZzG4ME40+C7wakR2GpplisSZvFNYSZetfDMFvLsaxP9cxonzoClajl2SurGu7JvjB/Qu DsV8kMr4WC1Ps7CQEEtsXguuiXYArOGzgLFi5GonhgvC2t9hA5YTueMbgTodnQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hZ90P0Hx1z13wm for ; Tue, 01 Sep 2026 15:35:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 25eae by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 01 Sep 2026 15:35:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 1b8ccb02ac72 - main - lib9p: Make it a private library 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1b8ccb02ac72c72d47662e73bc8a45b4210a0f89 Auto-Submitted: auto-generated Date: Tue, 01 Sep 2026 15:35:01 +0000 Message-Id: <6a96f0a5.25eae.1a3c652d@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=1b8ccb02ac72c72d47662e73bc8a45b4210a0f89 commit 1b8ccb02ac72c72d47662e73bc8a45b4210a0f89 Author: Mark Johnston AuthorDate: 2026-09-01 14:03:41 +0000 Commit: Mark Johnston CommitDate: 2026-09-01 15:28:28 +0000 lib9p: Make it a private library lib9p was imported to add a 9p server to bhyve (and I believe this was the original motivation for writing it in the first place). Its external interfaces are kind of strange (from first-hand experience using it to implement an inetd-based 9p server) and undocumented. Moreover, upstream has been inactive for over five years. I suspect there are no third-party consumers. Let's make it a private library for now, so as to make it easier to rework external interfaces. If we get more code written against it, symbol versioning, and some documentation, we can revisit this decision. PR: 297499 Reviewed by: jhb, emaste Differential Revision: https://reviews.freebsd.org/D58828 --- ObsoleteFiles.inc | 3 +++ lib/lib9p/Makefile | 1 + share/mk/src.libnames.mk | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 5506519b790d..5327c530e7fe 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,6 +51,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20260813: lib9p.so becomes a private library +OLD_LIBS+=usr/lib/lib9p.so.1 + # 20260811: libusb symbol versioning, shared library bumped to version 4 OLD_LIBS+=usr/lib/libusb.so.3 diff --git a/lib/lib9p/Makefile b/lib/lib9p/Makefile index a8e0c74301e0..2310fca34632 100644 --- a/lib/lib9p/Makefile +++ b/lib/lib9p/Makefile @@ -12,6 +12,7 @@ LIBADD+= casper cap_pwd cap_grp .endif LIB= 9p +PRIVATELIB= PACKAGE= lib${LIB} SHLIB_MAJOR= 1 SRCS= connection.c \ diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index b3c4e1861e24..d4428bd91d45 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -12,6 +12,7 @@ ____: .NOTMAIN .include _PRIVATELIBS= \ + 9p \ atf_c \ atf_cxx \ auditd \ @@ -109,7 +110,6 @@ _LIBRARIES= \ ${_INTERNALLIBS} \ ${LOCAL_LIBRARIES} \ 80211 \ - 9p \ alias \ archive \ asn1 \