lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 20 Jun 2018 13:18:08 +0100
From:   David Howells <dhowells@...hat.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     dhowells@...hat.com, y2038 Mailman List <y2038@...ts.linaro.org>,
        linux-cachefs@...hat.com,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cachefiles: avoid deprecated get_seconds()

Arnd Bergmann <arnd@...db.de> wrote:

> > But I've no objection to using ktime_get_real_seconds() and truncating the
> > value.
> 
> Ok, fair enough. I was mainly worried about what might happen when the
> file names stop being strictly sorted in numerical order by their creation
> time. If that is not a problem, I'll send the simpler patch to use
> lower_32_bits(ktime_get_real_seconds()) for clarity.

That's not a problem.  Everything copied into that directory is to be deleted
asap.

David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ