lkml.org 
[lkml]   [2023]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] Remove hardcoded static string length
    On Thu, May 25, 2023 at 11:04 AM David Laight <David.Laight@aculab.com> wrote:
    > 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.

    Usually yes, but I believe LOCALVERSION can be appended to
    KERNELRELEASE / UTS_RELEASE which can makes it much longer.

    > > "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__.

    That's correct, it was not matching even when it was introduced. I am
    simply taking that as people caring about the content and not simply
    making rxrpc_version_string == UTS_RELEASE. The current format is:

    "linux-" UTS_RELEASE " AF_RXRPC"

    Kenny

    \
     
     \ /
      Last update: 2023-05-25 17:38    [W:2.916 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site