aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 92ce83a11e90..22cc38d9e79f 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -2078,8 +2078,8 @@ static int umh_pipe_setup(struct subprocess_info *info, struct cred *new)
2078 fd_install(0, rp); 2078 fd_install(0, rp);
2079 spin_lock(&cf->file_lock); 2079 spin_lock(&cf->file_lock);
2080 fdt = files_fdtable(cf); 2080 fdt = files_fdtable(cf);
2081 FD_SET(0, fdt->open_fds); 2081 __set_open_fd(0, fdt);
2082 FD_CLR(0, fdt->close_on_exec); 2082 __clear_close_on_exec(0, fdt);
2083 spin_unlock(&cf->file_lock); 2083 spin_unlock(&cf->file_lock);
2084 2084
2085 /* and disallow core files too */ 2085 /* and disallow core files too */