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.");