lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 27 Apr 2018 22:16:53 +0200
From:   Arnd Bergmann <>
To:     Thomas Gleixner <>
Cc:     Linux Kernel Mailing List <>,
        Stephen Boyd <>,
        John Stultz <>,
        y2038 Mailman List <>,
        Arnd Bergmann <>
Subject: Re: [PATCH 1/5] timekeeping: Remove timespec64 hack

On Fri, Apr 27, 2018 at 3:40 PM, Arnd Bergmann <> wrote:

> The main upside of removing the hack is that printing the tv_sec
> field of a timespec64 structure can now use the %lld format
> string on all architectures without a cast to time64_t. Without
> this patch, the field is a 'long' type and would have to be printed
> using %ld on 64-bit architectures.

As mentioned in another thread, this patch is now also a
prerequisite for the cleaned up patch "[v3] x86: Convert
x86_platform_ops to timespec64", which used to rely
on an ugly hack to avoid a forward-declaration of
'struct timespec64', which is now allowed on 64-bit
architectures after timespec64 is a structure rather than
a macro now.


Powered by blists - more mailing lists