projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nfs: disintegrate UAPI for nfs
[firefly-linux-kernel-4.4.55.git]
/
fs
/
binfmt_elf.c
diff --git
a/fs/binfmt_elf.c
b/fs/binfmt_elf.c
index 28a64e76952788146d24b4fe0e0069918c0b9584..e800dec958c3273ea91aea2a865daa49d9874224 100644
(file)
--- a/
fs/binfmt_elf.c
+++ b/
fs/binfmt_elf.c
@@
-1123,7
+1123,7
@@
static unsigned long vma_dump_size(struct vm_area_struct *vma,
if (always_dump_vma(vma))
goto whole;
if (always_dump_vma(vma))
goto whole;
- if (vma->vm_flags & VM_
NO
DUMP)
+ if (vma->vm_flags & VM_
DONT
DUMP)
return 0;
/* Hugetlb memory check */
return 0;
/* Hugetlb memory check */
@@
-1135,7
+1135,7
@@
static unsigned long vma_dump_size(struct vm_area_struct *vma,
}
/* Do not dump I/O mapped devices or special mappings */
}
/* Do not dump I/O mapped devices or special mappings */
- if (vma->vm_flags &
(VM_IO | VM_RESERVED)
)
+ if (vma->vm_flags &
VM_IO
)
return 0;
/* By default, dump shared memory if mapped from an anonymous file. */
return 0;
/* By default, dump shared memory if mapped from an anonymous file. */