diff options
author | David Hildenbrand <david@redhat.com> | 2021-04-22 13:08:20 +0300 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2021-09-03 19:42:01 +0300 |
commit | 8d0920bde5eb8ec7e567939b85e65a0596c8580d (patch) | |
tree | cdba733cd679ff5527daab0e8303a4da97adec4b /include/linux/mman.h | |
parent | 4589ff7ca81516381393649dec8dd4948884b2b2 (diff) | |
download | linux-8d0920bde5eb8ec7e567939b85e65a0596c8580d.tar.xz |
mm: remove VM_DENYWRITE
All in-tree users of MAP_DENYWRITE are gone. MAP_DENYWRITE cannot be
set from user space, so all users are gone; let's remove it.
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'include/linux/mman.h')
-rw-r--r-- | include/linux/mman.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mman.h b/include/linux/mman.h index ebb09a964272..bd9aadda047b 100644 --- a/include/linux/mman.h +++ b/include/linux/mman.h @@ -153,7 +153,6 @@ static inline unsigned long calc_vm_flag_bits(unsigned long flags) { return _calc_vm_trans(flags, MAP_GROWSDOWN, VM_GROWSDOWN ) | - _calc_vm_trans(flags, MAP_DENYWRITE, VM_DENYWRITE ) | _calc_vm_trans(flags, MAP_LOCKED, VM_LOCKED ) | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) | arch_calc_vm_flag_bits(flags); |