From nobody Fri Oct 22 22:07:06 2021 X-Original-To: freebsd-current@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 B522618059B5 for ; Fri, 22 Oct 2021 22:07:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (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 (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hbdk43VbPz3r2r for ; Fri, 22 Oct 2021 22:07:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 19MM766O062923 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 22 Oct 2021 15:07:06 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 19MM76QC062922; Fri, 22 Oct 2021 15:07:06 -0700 (PDT) (envelope-from sgk) Date: Fri, 22 Oct 2021 15:07:06 -0700 From: Steve Kargl To: Warner Losh Cc: FreeBSD Current Subject: Re: Future of ident(1) Message-ID: <20211022220706.GA61843@troutmask.apl.washington.edu> References: <20211022212947.GA59184@troutmask.apl.washington.edu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Hbdk43VbPz3r2r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Oct 22, 2021 at 03:51:15PM -0600, Warner Losh wrote: > On Fri, Oct 22, 2021 at 3:30 PM Steve Kargl < > sgk@troutmask.apl.washington.edu> wrote: > > > All, > > > > With the new world order, what is the future of ident(1)? > > Should it be removed from base? Given a compiled binary > > in base, how does one find the equivalent git info that > > ident(1) used to perform? > > > > It is useful for some rare cases, but in general those cases likely > can likely be handled by readelf / elfdump and adding build info > to the files. I tendto think it's time to retire ident(1), but I'm in no > hurry. > I played a bit with objdump. It seems currently a compiled object and/or binary does not include a git hash. I suppose this makes it only a bit more inconvenient to explore history. > > > > Having a few minutes to dust off old patchs for libm, should > > I remove $FreeBSD$ tags in files I touch? > > No. The current rule is that we're not removing $FreeBSD$ as we touch files. > The plan is to remove it wholesale in the future. This gives maximum > flexibility because stable/12 is still built out of svn and you never > know what might get MFC'd there. > OK. > > For new files, is > > it expected that useless $FreeBSD$ tags should be added? > > > > If you plan to or expet to merge the new file to stable/12, then yes. > Otherwise omit $FreeBSD$. Most new files won't likely be merged to 12 > and even if you make an error in judgement and a new file without > $FreeBSD$ is merged to 12, the impact is going to be minimal. I have no intentions of merging anything. I'll submit re-open a PR and attach the updated to it. -- Steve