diff --git a/[refs] b/[refs] index bc33b9437191..2f014ec73d4d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5c99cbf49a6e1a1efd25b11f4604c65c455e1612 +refs/heads/master: 76595f79d76fbe6267a51b3a866a028d150f06d4 diff --git a/trunk/fs/exec.c b/trunk/fs/exec.c index 829a6c6d1803..49cdaa19e5b9 100644 --- a/trunk/fs/exec.c +++ b/trunk/fs/exec.c @@ -1936,8 +1936,9 @@ void do_coredump(long signr, int exit_code, struct pt_regs *regs) /* * Dont allow local users get cute and trick others to coredump * into their pre-created files: + * Note, this is not relevant for pipes */ - if (inode->i_uid != current_fsuid()) + if (!ispipe && (inode->i_uid != current_fsuid())) goto close_fail; if (!cprm.file->f_op) goto close_fail;