projects
/
linux
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'jfs-4.15' of git://github.com/kleikamp/linux-shaggy
[linux]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index
3e14ba2
..
1d6243d
100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-1911,7
+1911,7
@@
void set_dumpable(struct mm_struct *mm, int value)
return;
do {
- old =
ACCESS
_ONCE(mm->flags);
+ old =
READ
_ONCE(mm->flags);
new = (old & ~MMF_DUMPABLE_MASK) | value;
} while (cmpxchg(&mm->flags, old, new) != old);
}