summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-23 15:24:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-23 15:24:37 +0300
commit0520d37bb3d49f8e62e30c80b001e0003b3f3ca9 (patch)
treedecc3a87d59b4eec5ec8c8c9c3f8378c35a29c7b /fs/exec.c
parent8dd8d2c95d0252bc64aa8e061a5fb4fbcd05f826 (diff)
parentbb176f67090ca54869fc1262c913aa69d2ede070 (diff)
downloadlinux-0520d37bb3d49f8e62e30c80b001e0003b3f3ca9.tar.xz
Merge 4.14-rc6 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 5470d3c1892a..3e14ba25f678 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1802,6 +1802,7 @@ static int do_execveat_common(int fd, struct filename *filename,
/* execve succeeded */
current->fs->in_exec = 0;
current->in_execve = 0;
+ membarrier_execve(current);
acct_update_integrals(current);
task_numa_free(current);
free_bprm(bprm);