The patch titled Subject: proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter has been removed from the -mm tree. Its filename was proc-fix-esrch-error-when-writing-to-proc-pid-coredump_filter.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Colin Ian King <colin.king@xxxxxxxxxxxxx> Subject: proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter echo 0 > /proc/self/coredump_filter bash: echo: write error: No such process Writing to /proc/$pid/coredump_filter always returns -ESRCH because commit 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") removed the setting of ret after the get_proc_task call and incorrectly left it as -ESRCH. Instead, return 0 when successful. Fixes: 774636e19ed51 ("proc: convert to kstrto*()/kstrto*_from_user()") Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> [4.3+] Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/base.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/proc/base.c~proc-fix-esrch-error-when-writing-to-proc-pid-coredump_filter fs/proc/base.c --- a/fs/proc/base.c~proc-fix-esrch-error-when-writing-to-proc-pid-coredump_filter +++ a/fs/proc/base.c @@ -2494,6 +2494,7 @@ static ssize_t proc_coredump_filter_writ mm = get_task_mm(task); if (!mm) goto out_no_mm; + ret = 0; for (i = 0, mask = 1; i < MMF_DUMP_FILTER_BITS; i++, mask <<= 1) { if (val & mask) _ Patches currently in -mm which might be from colin.king@xxxxxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html