Skip to content

Commit

Permalink
Merge "BACKPORT: aio: mark AIO pseudo-fs noexec"
Browse files Browse the repository at this point in the history
  • Loading branch information
Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Feb 16, 2017
2 parents 9862275 + a115f47 commit 9d67311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ static int __init aio_setup(void)
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.");
Expand Down

0 comments on commit 9d67311

Please sign in to comment.