[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <81d01562a59a4fb49cd4681ebcf2e74a@AcuMS.aculab.com>
Date: Thu, 25 May 2023 15:04:33 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Kenny Ho' <y2kenny@...il.com>
CC: Andrew Lunn <andrew@...n.ch>,
Marc Dionne <marc.dionne@...istor.com>,
Kenny Ho <Kenny.Ho@....com>,
David Howells <dhowells@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
"Jakub Kicinski" <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
"linux-afs@...ts.infradead.org" <linux-afs@...ts.infradead.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] Remove hardcoded static string length
From: Kenny Ho
> Sent: 25 May 2023 15:28
> To: David Laight <David.Laight@...LAB.COM>
> Cc: Andrew Lunn <andrew@...n.ch>; Marc Dionne <marc.dionne@...istor.com>; Kenny Ho <Kenny.Ho@....com>;
> David Howells <dhowells@...hat.com>; David S. Miller <davem@...emloft.net>; Eric Dumazet
> <edumazet@...gle.com>; Jakub Kicinski <kuba@...nel.org>; Paolo Abeni <pabeni@...hat.com>; linux-
> afs@...ts.infradead.org; netdev@...r.kernel.org; linux-kernel@...r.kernel.org
> Subject: Re: [PATCH] Remove hardcoded static string length
>
> On Thu, May 25, 2023 at 5:14 AM David Laight <David.Laight@...lab.com> wrote:
> >
> > I does rather beg the question as what is in UTS_RELEASE when
> > it exceeds (IIRC) about 48 characters?
>
> Thanks for the question as it made me dig deeper. UTS_RELEASE is
> actually capped at 64:
...
But isn't UTS_RELEASE usually much shorter?
I think it is what 'uname -r' prints, the longest I've seen recently
is "3.10.0-1127.19.1.el7.x86_64" - well under the limit.
...
>
> "The standard formulation seems to be: <project> <version> built
> <yyyy>-<mm>-<dd>"
Which I don't recall the string actually matching?
Also the people who like reproducible builds don't like __DATE__.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists