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  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, 13 Aug 2017 02:25:56 -0700
From:   Christoph Hellwig <>
To:     Dan Williams <>
Cc:     Christoph Hellwig <>, Jan Kara <>,
        linux-nvdimm <>,
        Dave Chinner <>,,
        Andy Lutomirski <>,
        Linux FS Devel <>,
        "" <>
Subject: Re: [RFC PATCH 0/7] dax, ext4: Synchronous page faults

On Sat, Aug 12, 2017 at 07:44:14PM -0700, Dan Williams wrote:
> How about MAP_SYNC == (MAP_SHARED|MAP_PRIVATE)? On older kernels that
> should get -EINVAL, and on new kernels it means SYNC+SHARED.

Cute trick, but I'd hate to waster it just for our little flag.

How about:

#define MAP_SYNC		0x??? | __MAP_VALIDATE

so that we can reuse that trick for any new flag?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux - Powered by OpenVZ