diff options
author | 2016-11-16 09:00:38 -0800 | |
---|---|---|
committer | 2016-11-16 09:00:38 -0800 | |
commit | 4cb19355ea19995941ccaad115dbfac6b75215ca (patch) | |
tree | ec4bbe77017ce2002940f2e9c9b502a7abf648d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | device-dax: check devm_nsio_enable() return value (diff) | |
download | wireguard-linux-4cb19355ea19995941ccaad115dbfac6b75215ca.tar.xz wireguard-linux-4cb19355ea19995941ccaad115dbfac6b75215ca.zip |
device-dax: fail all private mapping attempts
The device-dax implementation originally tried to be tricky and allow
private read-only mappings, but in the process allowed writable
MAP_PRIVATE + MAP_NORESERVE mappings. For simplicity and predictability
just fail all private mapping attempts since device-dax memory is
statically allocated and will never support overcommit.
Cc: <stable@vger.kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Fixes: dee410792419 ("/dev/dax, core: file operations and dax-mmap")
Reported-by: Pawel Lebioda <pawel.lebioda@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions