🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.current
Article #257

Re: following -current and freebsd sec advisories

#257
From: David Wolfskill
Date: Thu, 03 Dec 2026 13:29
115 lines
7538 bytes
--22aVWs9SO670pO08
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 03, 2026 at 11:50:13AM +0000, void wrote:
> ...
> We see emails go out to those following other branches.
>=20
> Is there a straightforward method to see when these
> fixes have made it into -current?
>=20
> I'm following stability week. But if a thing like
> whats in the advisories gets fixed, I'd like to know
> where in git it pertains to, or is it sufficient to
> just patch? Because in the advisories there's
> instructions to patch but what if they pertain
> only to other branches and not -current?
> ....

I had cobbled up a script that I use for "poking around" in a repo &
(e.g.) determining a "$branch-$count-$hash" string associated with a
commit, and I have placed a copy up at
https://www.catwhisker.org/~david/FreeBSD/gen_fbsd_git_tag in case
anyone is interested enough.

Some caveats:
* I am very bad at naming things, so if you have better ideas, please
  share.
* My relationship with UIs tends toward "mutually antagonistic"
  (sometimes mellowing out to mere "mutual antipathy").
* I don't actually use the script to do what you are wanting to do:
  I track stable/15 & head daily, anyway.  So it's possible that
  I've misunderstood.

Anyway: I updated the comments to show a worked recent example; I will
reproduce that part here to illustrate:

# For example, in this case, /usr/src has stable/15 checked out.,
# while /S4/usr/src has head checked out.  Following a recent security
# notification (https://lists.freebsd.org/archives/freebsd-security-notific=
ations/2026-December/000168.html),
# we want to see which commit in head addresses it.  The notification
# cites:
# Branch/path                             Hash                     Revision
# - -----------------------------------------------------------------------=
--
# stable/15/                              c6d700e1b71f    stable/15-n287080
# releng/15.2/                            a1cdef373b51  releng/15.2-n286787
# releng/15.1/                            3e0441faf662  releng/15.1-n283710
# stable/14/                              04faf79ca495    stable/14-n275707
# releng/14.5/                            f5faac5b496c  releng/14.5-n274942
# releng/14.4/                            7dfdb5554535  releng/14.4-n273843
# - -----------------------------------------------------------------------=
--

# So we first find the commit message for stable/15-n287080-c6d700e1b71f:
# g1-97(15.2-S)[1] gen_fbsd_git_tag -r /usr/src -Ch c6d700e1b71f| head
# stable/15-n287080-c6d700e1b71f
# commit c6d700e1b71f1883ddc1414c48c348b3707939cb
# Author:     Maxim Konovalov <maxim@FreeBSD.org>
# AuthorDate: Tue Dec 1 00:32:43 2026 +0000
# Commit:     Mark Johnston <markj@FreeBSD.org>
# CommitDate: Wed Dec 2 19:25:33 2026 +0000
#
#     proc: assert td belongs to p in PROC_COW_CHANGECOUNT
#
#     PROC_COW_CHANGECOUNT(td, p) evaluates p->p_cowgen - td->td_cowgen, wh=
ich

# That done, we now look for a similar commit message in head:
# g1-97(15.2-S)[2] gen_fbsd_git_tag -r /S4/usr/src -C proc: assert td belon=
gs to p in PROC_COW_CHANGECOUNT | head
# main-n292081-fc892785ff58
# commit fc892785ff58f1eb4897670c8961220bc956327b
# Author:     Maxim Konovalov <maxim@FreeBSD.org>
# AuthorDate: Tue Dec 1 00:32:43 2026 +0000
# Commit:     Mark Johnston <markj@FreeBSD.org>
# CommitDate: Wed Dec 2 19:25:00 2026 +0000
#
#     proc: assert td belongs to p in PROC_COW_CHANGECOUNT
#
#     PROC_COW_CHANGECOUNT(td, p) evaluates p->p_cowgen - td->td_cowgen, wh=
ich

# So: main-n292081-fc892785ff58 is what appears to correspond to stable/15-=
n287080-c6d700e1b71f.

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--22aVWs9SO670pO08
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iPEEARYKAJkWIQRCec5RsK7Enudh3yGB9MJ9AwUELQUCaxFuwRsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMu
b3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQyNzlDRTUxQjBBRUM0OUVFNzYxREYy
MTgxRjRDMjdEMDMwNTA0MkQACgkQgfTCfQMFBC3urwD/djn+Gcpwad80oZ0lRuQD
EcV4AT3ogMg1lH500cBmy9kBALdZjBoI/Ud0OWANAdFMVMNXKcEzPWx1M5xie2D4
qoID
=QJ4S
-----END PGP SIGNATURE-----

--22aVWs9SO670pO08--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <axFuuEfezVZSwYkh@albert.catwhisker.org>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <axFXaBRmDm-yonH9@int21h>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: David Wolfskill <david@catwhisker.org>
Newsgroups: muc.lists.freebsd.current
Subject: Re: following -current and freebsd sec advisories
Date: Thu, 3 Dec 2026 05:29:37 -0800
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <axFuuEfezVZSwYkh@albert.catwhisker.org>
References: <axFXaBRmDm-yonH9@int21h>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="22aVWs9SO670pO08"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="43764"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1796304611;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=VYTApl1k4JNST2UsgIQWB1UOJczFnHvciCfy1WObywQ=;
	b=nIhr7f3b3uk4A8DkwTYeklzGvDFbQqG2rlLJhI5teJdtHdYQINbQG3k3WTDWtVXBtfDhqQ
	PJCFua57oWuqRITzmUOWAWcGLoi6xoA5XPqdaH+JvjKg7RH2eMkSPjeh//fBnGyDOqSANk
	SMBJPV/vPoZRo514IMQXGRTX/OM2uKDqcz1U+0CY9RNm6AP/boKuNNGzYlOEPajif0jvmY
	yUuV41zotbdX1BAr2oQ6368+Ue1Yr1qnKgNPXtEA/G8+TDVbSJ9L6PNuycfA0+cAqMBJJ5
	7PTEW7Gq5t4mT+arlqPvTpQlneZtXWnOt1n5x+w0Ir7yC7SFuARO+zyT/SIsDw==
X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=none;
	dmarc=none;
	spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org
Precedence: list
Content-Disposition: inline
In-Reply-To: <axFXaBRmDm-yonH9@int21h>
X-Rspamd-Queue-Id: 4jgFpr708Kz4j9W
X-Spamd-Bar: --
X-Spamd-Result: default: False [-2.40 / 15.00];
	SIGNED_PGP(-2.00)[];
	R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170];
	MIME_GOOD(-0.20)[multipart/signed,text/plain];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	FROM_HAS_DN(0.00)[];
	ARC_NA(0.00)[];
	FREEFALL_USER(0.00)[david];
	ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US];
	MISSING_XM_UA(0.00)[];
	MIME_TRACE(0.00)[0:+,1:+,2:~];
	R_DKIM_NA(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-current@freebsd.org];
	DMARC_NA(0.00)[catwhisker.org];
	RCVD_COUNT_TWO(0.00)[2];
	FROM_EQ_ENVFROM(0.00)[];
	RCPT_COUNT_ONE(0.00)[1];
	TO_DN_NONE(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org];
	DNSWL_BLOCKED(0.00)[107.204.234.170:from];
	RCVD_TLS_LAST(0.00)[];
	MID_RHS_MATCH_FROMTLD(0.00)[]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes