From owner-freebsd-stable@freebsd.org Thu Feb 25 07:42:28 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 1275D5599CC for ; Thu, 25 Feb 2021 07:42:28 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmPrg1Zjxz3pB9; Thu, 25 Feb 2021 07:42:27 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x331.google.com with SMTP id r19so4856179otk.2; Wed, 24 Feb 2021 23:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tfZWIq3pjPBLw3q4dPKcOdWyqyt2DxArw1yMIwtufMU=; b=XpjBjrC3rmttGy8WSZltgGYCYWNos4ykzLsU/94AEuYuXJdzMyxiv8gm9VtDTke7iW RCKvPoL4skJPBxjsi7kpyembl6PXBwQWWzQhMXSaARPftcSK6QYgDJKdycNC116Dc9r4 GfCTk+6wpjUl/HLJw8II7YnxD9avyjt3kNDaI2IhE5ldUyZdG9SVmK33k9As7lVRa2NP GlW5mngnimOYlbWIpggEXHjdXYFub7/fuNDrECSh1y/KRDxMLUW3wjROlmPc/qagxsPh nAw1nXMh0zUoynF3YqScQCHCXOjPweHCRt8KqFsgx+EYK7Sx74LJYxfjoDIZ6Q6egNMq ffhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tfZWIq3pjPBLw3q4dPKcOdWyqyt2DxArw1yMIwtufMU=; b=r+Jp3g/qhUfHTsZt/xgCPhV0DUWUddt6vVyY2wFAT3KErVNdMoT1ngaQ/hec27YUBp vQLgIIcJ2VHIOdC2Ce8U1c2MILHk6Wycq7ZJKi5oEnTBn8zHy5O1mKT2Ce1ISG0z0B1c lLM7UbS4uUQeX8c8QSXbDWe+SGCSJBYWvKZEpXJNgdOY9kie3UYt/s9ULAUpyVvljdxS XpDQb9i+EUqOc3aY60XnV+nqUODDo77en6k97TmLMBU06o5afk9WzbU8tothwvNzuy6d NVt2wGhCY8ENdXcxa3N+KUVseE54Ehd4h4NTm3vSPfhH6DXNwbJaNpZ3ev+H+cZcODoz GcPA== X-Gm-Message-State: AOAM53352AQGAHzC9ihF4sYkTANZcXyCjTg8qpbRY/3OG4dJTO8Vk2tD FCEn5sF1phGY/8W9Iw9EeLxNZk7ojcKIaOp7FREvbzupci6zfw== X-Google-Smtp-Source: ABdhPJySCgxyFYXE/iZcVmeGCLs2BQv2+AHrh0z031SSyUIbtj7xIgeqkHC2NIEwOfpHG6ZNG/ayWWqMUw0RS/gb4Z0= X-Received: by 2002:a05:6830:1f3c:: with SMTP id e28mr1285218oth.93.1614238946111; Wed, 24 Feb 2021 23:42:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Wed, 24 Feb 2021 23:42:10 -0800 Message-ID: Subject: Re: How do I know if my 13-stable has security patches? To: Ed Maste Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 4DmPrg1Zjxz3pB9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=XpjBjrC3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::331 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::331:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::331:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::331:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Thu, 25 Feb 2021 07:42:28 -0000 Thanks, Ed, but where do I find this? uname -a" gives me stable/13-007101f87. For a while I was seeing a hyphenated number prefixed with a 'c' and I had assumed that that number was the sequence. The full hash from the logs just is a long hex number. As usual with git stuff, I'm still very confused. After decades with a common paradigm with RCS CVS and SVN, git is fundamentally very different and old terminology does not really align as git is designed from a very different perspective. I have read the little mini-guide Warner wrote as well as a couple of web tutorial, but the web tutorials are really about running your own repo on github or gitlab, not using a repo as a source for distributions. I'm still a long way from having a real clue. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Wed, Feb 24, 2021 at 12:06 PM Ed Maste wrote: > On Wed, 24 Feb 2021 at 12:35, Kevin Oberman wrote: > > > > In the svn days, I could just look at my svn revision to check on > whether a > > security patch was required. Now I have a git hash. I have no idea how to > > tell if my system running 13-STABLE of a few days ago has the patch. > > Thanks for posting this question. I see some useful information in > other replies to this thread and we'll want to make sure that makes > its way to appropriate documentation. > > For future advisories we should also report the commit count > associated with the fix; this is a monotonically-increasing number and > is reported in the uname. > > If you build stable/13 right now you would get > "stable/13-n244668-4664afc05402", and the fix in > 894360bacd42f021551f76518edd445f6d299f2e corresponds to n244572. > 244668 being larger than 244572 indicates that the fix is included. > > These counts are not unique across different branches; you can only > compare counts for the same branch. >