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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 3 Dec 2020 09:15:56 +0100
From:   Christoph Hellwig <>
Cc:, Christoph Hellwig <>,
        Eric Sandeen <>,,
        "Darrick J. Wong" <>,
        Dan Williams <>,
        Dave Chinner <>,
        "Theodore Y. Ts'o" <>, Jan Kara <>,
        Jeff Moyer <>,,,,
        David Howells <>
Subject: Re: [PATCH] common/rc: Fix _check_s_dax()

On Wed, Dec 02, 2020 at 01:41:45PM -0800, wrote:
> From: Ira Weiny <>
> There is a conflict with the user visible statx bits 'mount root' and
> 'dax'.  The kernel is changing the dax bit to correct this conflict.[1]
> Adjust _check_s_dax() to use the new bit.  Because DAX tests do not run
> on root mounts, STATX_ATTR_MOUNT_ROOT should always be 0, therefore we
> can allow either bit to indicate DAX and cover any kernel which may be
> running.
> [1]
> Signed-off-by: Ira Weiny <>
> ---
> I went ahead and used Christoph's suggestion regarding using both bits.

That wasn't my suggestion.  I think we should always error out when
the bit value shared with STATX_ATTR_MOUNT_ROOT is seen.  Because that
means the kernel is not using or fixed ABI we agreed to use going

Powered by blists - more mailing lists