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] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 18 Aug 2019 20:34:46 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Deepa Dinamani <deepa.kernel@...il.com>
Cc:     viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, y2038@...ts.linaro.org,
        arnd@...db.de, adrian.hunter@...el.com, dedekind1@...il.com,
        hch@....de, jaegeuk@...nel.org, jlbec@...lplan.org, richard@....at,
        tj@...nel.org, yuchao0@...wei.com,
        linux-f2fs-devel@...ts.sourceforge.net,
        linux-ntfs-dev@...ts.sourceforge.net, linux-mtd@...ts.infradead.org
Subject: Re: [PATCH v8 03/20] timestamp_truncate: Replace users of
 timespec64_trunc

On Sun, Aug 18, 2019 at 09:58:00AM -0700, Deepa Dinamani wrote:
> Update the inode timestamp updates to use timestamp_truncate()
> instead of timespec64_trunc().
> 
> The change was mostly generated by the following coccinelle
> script.
> 
> virtual context
> virtual patch
> 
> @r1 depends on patch forall@
> struct inode *inode;
> identifier i_xtime =~ "^i_[acm]time$";
> expression e;
> @@
> 
> inode->i_xtime =
> - timespec64_trunc(
> + timestamp_truncate(
> ...,
> - e);
> + inode);
> 
> Signed-off-by: Deepa Dinamani <deepa.kernel@...il.com>
> Cc: adrian.hunter@...el.com
> Cc: dedekind1@...il.com
> Cc: gregkh@...uxfoundation.org
> Cc: hch@....de
> Cc: jaegeuk@...nel.org
> Cc: jlbec@...lplan.org
> Cc: richard@....at
> Cc: tj@...nel.org
> Cc: yuchao0@...wei.com
> Cc: linux-f2fs-devel@...ts.sourceforge.net
> Cc: linux-ntfs-dev@...ts.sourceforge.net
> Cc: linux-mtd@...ts.infradead.org
> ---
>  fs/attr.c           | 21 ++++++++++++---------
>  fs/configfs/inode.c | 12 ++++++------
>  fs/f2fs/file.c      | 21 ++++++++++++---------
>  fs/kernfs/inode.c   |  7 +++----
>  fs/ntfs/inode.c     | 21 ++++++++++++---------
>  fs/ubifs/file.c     | 21 ++++++++++++---------
>  6 files changed, 57 insertions(+), 46 deletions(-)

For kernfs:
	Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ