Bug 297499 - [exp-run] make lib9p.so a private library
Summary: [exp-run] make lib9p.so a private library
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 16.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Johnston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-13 16:47 UTC by Mark Johnston
Modified: 2026-09-01 15:35 UTC (History)
1 user (show)

See Also:
antoine: exp-run+


Attachments
proposed patch (1.79 KB, patch)
2026-08-13 16:47 UTC, Mark Johnston
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Johnston freebsd_committer freebsd_triage 2026-08-13 16:47:52 UTC
Created attachment 273725 [details]
proposed patch

I'd like to make lib9p.so private to the FreeBSD base system: https://reviews.freebsd.org/D58828
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2026-08-29 19:42:13 UTC
Exp-run looks fine
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-09-01 15:35:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=1b8ccb02ac72c72d47662e73bc8a45b4210a0f89

commit 1b8ccb02ac72c72d47662e73bc8a45b4210a0f89
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-09-01 14:03:41 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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(-)
Comment 3 Mark Johnston freebsd_committer freebsd_triage 2026-09-01 15:35:36 UTC
(In reply to Antoine Brodin from comment #1)
Thank you.