Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / mm / memfd.c
index 97264c79d2cd3007d5d1e30def6a05e9bb95132d..650e65a46b9cc7d8cfdc4046a807f30c769ee849 100644 (file)
@@ -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)
 {