projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/memfd: add an F_SEAL_FUTURE_WRITE seal to memfd
[linux-2.6-microblaze.git]
/
mm
/
memfd.c
diff --git
a/mm/memfd.c
b/mm/memfd.c
index
97264c7
..
650e65a
100644
(file)
--- a/
mm/memfd.c
+++ b/
mm/memfd.c
@@
-131,7
+131,8
@@
static unsigned int *memfd_file_seals_ptr(struct file *file)
#define F_ALL_SEALS (F_SEAL_SEAL | \
F_SEAL_SHRINK | \
F_SEAL_GROW | \
- F_SEAL_WRITE)
+ F_SEAL_WRITE | \
+ F_SEAL_FUTURE_WRITE)
static int memfd_add_seals(struct file *file, unsigned int seals)
{