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, 15 Mar 2023 09:05:07 +0100
From:   Christian Brauner <brauner@...nel.org>
To:     linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     Christian Brauner <brauner@...nel.org>,
        Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH v1 1/1] fs/namespace: fnic: Switch to use %ptTd

From: Christian Brauner (Microsoft) <brauner@...nel.org>


On Tue, 14 Mar 2023 17:09:06 +0200, Andy Shevchenko wrote:
> Use %ptTd instead of open-coded variant to print contents
> of time64_t type in human readable form.
> 
> 

Ok, looking at lib/vsprintf.c

pointer(t)
-> time_and_date(T)
   -> time64_str()
      -> time64_to_tm()
      -> rtc_str(d)
	 -> date_str()

ends up with the same helper and four digits for the year so this seems
like a good cleanup. Thanks!

tree: git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git
branch: fs.misc
[1/1] fs/namespace: fnic: Switch to use %ptTd
      commit: 74e60b8b2f0fe3702710e648a31725ee8224dbdf

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ