DivestOS/Patches/Linux_CVEs/CVE-2016-10044/ANY/0.patch
2017-10-29 22:14:37 -04:00

13 lines
346 B
Diff

diff --git a/fs/aio.c b/fs/aio.c
index d991255..3eec984 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -229,6 +229,7 @@
aio_mnt = kern_mount(&aio_fs);
if (IS_ERR(aio_mnt))
panic("Failed to create aio fs mount.");
+ aio_mnt->mnt_flags |= MNT_NOEXEC;
if (bdi_init(&aio_fs_backing_dev_info))
panic("Failed to init aio fs backing dev info.");