From owner-freebsd-stable@freebsd.org Fri Feb 26 07:21:41 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67D03558702 for ; Fri, 26 Feb 2021 07:21:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-54.consmr.mail.gq1.yahoo.com (sonic307-54.consmr.mail.gq1.yahoo.com [98.137.64.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dn1LD2H0jz4tLb for ; Fri, 26 Feb 2021 07:21:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1614324098; bh=6rXwReLV0aiQ4gOtms/G1QpQmtSdome4AotfkzGbZDB=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=SrLDmwyTuvC/mjf3wUPgSazc8PRJEwqnmGbfbe4UIY9D5KI4Y/kawK1Oq01Mnp8ZnpoRRrLWyJSh3c4Qu8NtdaGHrjMsJYA9wcLMCDjvKWIjx2qWT84IF57JUWuorh+5TXaTMh+Qjym8dfDugjcMFYeM5tbOPvdsHKEova+n4EpmiLXOjPPqvPjMJItr/Fr9t8g82xRGioCoFsplrjJM3hIdRAVK6ZOlVnQOuvmzEerE77xJP7nsMrEPcw4B8J+qmlhym04brPkDFct4ir4hRnIUu9kVytUHvg9pMDauS5kAFcM0J6mSMcUva0JT6Km9IWaNtfA77tFLCTMEvT3qmg== X-YMail-OSG: tDnOsqoVM1lqfEIOjgd0rJTiu4G_8Zr8v6hC5_z2C25HxLJfrYNwOzy6Y7bgFOP Fm15bsaCniS7K1NlLerDcHChkrZl2tkhaMunSor53yBOvUWm7Btuvx2ewjZPPemES2l5lsvEGNi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HEd7pdMabMdHRykjv2wKYaEsO7oChgJu9qc0ipXsdD60VoiFS5ZrWU pykKwS8XQjZ3aL_.uspsl6le3RFYNPH.Cq0clzr2MTlPsbbM4_E2mfBfuJFf5RSNzwl3.PljqxR8 6a9vRfaAZ4_JPjQSUBZwTn1iMu3UGfnM2By4UISfXsoOL.66KUJn6wgNEv92V3wndJkOyWJ.Z1kX VakAQgojiP0bmfdDGjBXrafpALZ7nsBpBRI6a.xFDnbcSxi9SJAzayfOpNm8rC7P1baQmKeqkTI8 xMP.unylWiJCs7_LHkAnsX2UYlktp1MhsEZHjXLyvUWjqvJFPTnAQywnXQ3j1q8Cncj_c1es7ZzD Z_YV4PLIrVFwmgmJmpz.36Zo65cbeogLblNR5fQzcprnVm28QKGHXeYQ- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Fri, 26 Feb 2021 07:21:38 +0000 Received: by smtp418.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID a05ac80e3b51f4ce145d8ad960138b0f; Fri, 26 Feb 2021 07:21:35 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: How do I know if my 13-stable has security patches? Message-Id: Date: Thu, 25 Feb 2021 23:21:34 -0800 Cc: Kevin Oberman , karl@denninger.net, Ed Maste To: Warner Losh , freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.3654.60.0.2.21) References: X-Rspamd-Queue-Id: 4Dn1LD2H0jz4tLb X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.30:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; SPAMHAUS_ZRD(0.00)[98.137.64.30:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.30:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.30:from]; FREEMAIL_CC(0.00)[gmail.com,denninger.net,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 07:21:41 -0000 Warner Losh imp at bsdimp.com wrote on Fri Feb 26 00:23:15 UTC 2021 : > Before I get into the blow by blow (which can sound nit-picky, despite = my > best efforts), I would like to apologize. It wasn't completely = appreciated > how clearly the dependencies that the nXXXXX number being generated = needed > to be communicated. And for that I apologize. When they are met, we = have > all the pieces we need to at build time to generate the nXXXXX number = and > none of the fallback methods are needed. I'll work to update the docs = to > clearly communicate this since it is completely absent from my current = docs. . . . (lots more later and in earlier notices) . . . There is a fairly simple technique to figure out the relationships based on using https://cgit.freebsd.org instead of a local .git copy. I'll give examples based on the notice's: releng/13.0/ = ce9af53d0897a1cb926bd244f499fc09b1626b27 and examples of before (earlier date/time) and after (later date/time), presumably from some command like uname -apKU . The date/time-increasing order for the below is (for reference): 8305d6906fe983a . . . ce9af53d0897a1c . . . ba27dd8be821792 I'll follow the same steps with the before value vs. the after value substituted and report what results. I go to: https://cgit.freebsd.org/src/log/?h=3Dreleng/13.0 to match that part of the notice. (I'm not trying to specify which technique that one uses for this, just the result.) I select range and enter: 8305d6906fe983a~1..ce9af53d0897a1c (8305d6906fe983a happens to be a before ce9af53d0897a1c value): (Spacing in the ranges seems to be important to avoid.) The result is I see: Commit message (Expand) Author Age Files Lines (In other words an empty output/range meets the criteria for when uname -apKU reported an earlier date/time's commit.) By contrast . . . I again go to: https://cgit.freebsd.org/src/log/?h=3Dreleng/13.0 . I select range and enter: ba27dd8be821792~1..ce9af53d0897a1c (ba27dd8be821792 happens to be an after ce9af53d0897a1c value): Commit message (Expand) Author Age Files Lines * zfs: merge OpenZFS master-9312e0fd1 Martin Matuska 4 days = 40 -248/+724 |\ =09 | * Update vendor/openzfs to master-9312e0fd1vendor/openzfs Martin = Matuska 4 days 36 -247/+716 * | Fix build after 2c7dc6bae9fd. Alexander Motin 4 days 1 = -0/+4 * | Refactor CTL datamove KPI. Alexander Motin 4 days 12 = -162/+94 * | jail: Add pr_state to struct prison Jamie Gritton 4 days = 2 -51/+65 * | vfs: shrink struct vnode to 448 bytes on LP64 Mateusz Guzik = 4 days 1 -1/+12 * | jail: fix build after the previous commit Mateusz Guzik = 4 days 1 -1/+1 * | jail: Change the locking around pr_ref and pr_uref Jamie = Gritton 4 days 6 -235/+232 * | sctp: improve computation of an alternate net Michael Tuexen = 5 days 1 -36/+49 * | sctp: clear a pointer to a net which will be removed Michael = Tuexen 5 days 1 -0/+4 * | ext2fs: clear write cluster tracking on truncation = Konstantin Belousov 5 days 1 -0/+1 . . . (goes on indefinately) . . . In other words it starts to list everything at ba27dd8be821792 or before (in time) for the branch. (Listing ba27dd8be821792 itself is why I use the ~1 part of the notation on the left hand hash-id.) (In other words a non-empty output/range meets the criteria for when uname -apKU reported a no-earlier date/time's commit, normally a later date/time's commit.) So the empty vs. non-empty result indicates the time relationship of the hash-ids on the branch. No need for a local .git of any kind but access to https://cgit.freebsd.org is needed for the technique. Notes: The order of the range specifications is deliberate in order to make the output harder to misinterpret. This is because . . . Using: ce9af53d0897a1c~1..8305d6906fe983a gives: Commit message (Expand) Author Age Files Lines * loader: unload command should reset tg_kernel_supported in = gfx_state Toomas Soome 3 days 1 -0/+2 * Fix loader detection of vbefb support on !amd64 Dimitry Andric = 3 days 1 -2/+2 * loader: start kernel in text mode when there is no vbefb vt = driver Toomas Soome 3 days 4 -9/+74 * loader_lua: consider userboot console as serial Toomas Soome = 3 days 1 -1/+4 * Add UPDATING entries and bump version Mark Johnston 2 days = 2 -1/+8 * pam_login_access: Fix negative entry matching logic Mark = Johnston 2 days 1 -3/+3 * xen-blkback: fix leak of grant maps on ring setup failure = Roger Pau Monn=C3=A9 2 days 1 -0/+21 and using: ce9af53d0897a1c~1..ba27dd8be821792 gives: Commit message (Expand) Author Age Files Lines * zfs: merge OpenZFS master-9312e0fd1 Martin Matuska 4 days = 40 -248/+724 |\ =09 | * Update vendor/openzfs to master-9312e0fd1vendor/openzfs Martin = Matuska 4 days 36 -247/+716 * | Fix build after 2c7dc6bae9fd. Alexander Motin 4 days 1 = -0/+4 * | Refactor CTL datamove KPI. Alexander Motin 4 days 12 = -162/+94 * | jail: Add pr_state to struct prison Jamie Gritton 4 days = 2 -51/+65 * | vfs: shrink struct vnode to 448 bytes on LP64 Mateusz Guzik = 4 days 1 -1/+12 * | jail: fix build after the previous commit Mateusz Guzik = 4 days 1 -1/+1 * | jail: Change the locking around pr_ref and pr_uref Jamie = Gritton 4 days 6 -235/+232 * | sctp: improve computation of an alternate net Michael Tuexen = 5 days 1 -36/+49 * | sctp: clear a pointer to a net which will be removed . . . (all the prior history) . . . and an empty vs. non-empty status is easier to tell apart. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)