Patch "coredump: accept any write method" has been added to the 4.0-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
coredump: accept any write method
to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
coredump-accept-any-write-method.patch
and it can be found in the queue-4.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
86cc05840a0da1afcb6b8151b53f3b606457c91bMon Sep 17 00:00:00 2001
From: Al Viro <[email protected]>
Date: Fri, 3 Apr 2015 15:23:17 -0400
Subject: coredump: accept any write method
From: Al Viro <[email protected]>
commit 86cc05840a0da1afcb6b8151b53f3b606457c91b upstream.
--- fs/coredump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/coredump.c +1 -1
@@ -657,7 +657,7 @@ void do_coredump(const siginfo_t *siginf*/ if (!uid_eq (inode->i_uid,current_fsuid ())) goto close_fail; -if (!cprm.file->f_op->write) +if (!(cprm.file->f_mode &FMODE_CAN_WRITE )) goto close_fail;if (do_truncate (cprm.file->f_path.dentry,0 ,0 , cprm.file)) goto close_fail;
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/path_openat-fix-double-fput.patchqueue-4.0/coredump-accept-any-write-method.patch