The patch titled Subject: log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix has been added to the -mm tree. Its filename is log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix s/|%s/%s/ in printk text Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: David Oberhollenzer <david.oberhollenzer@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/coredump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/fs/coredump.c~log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix +++ a/fs/coredump.c @@ -784,12 +784,12 @@ void do_coredump(const kernel_siginfo_t mnt_userns = file_mnt_user_ns(cprm.file); if (!uid_eq(i_uid_into_mnt(mnt_userns, inode), current_fsuid())) { - pr_info_ratelimited("Core dump to |%s aborted: cannot preserve file owner\n", + pr_info_ratelimited("Core dump to %s aborted: cannot preserve file owner\n", cn.corename); goto close_fail; } if ((inode->i_mode & 0677) != 0600) { - pr_info_ratelimited("Core dump to |%s aborted: cannot preserve file permissions\n", + pr_info_ratelimited("Core dump to %s aborted: cannot preserve file permissions\n", cn.corename); goto close_fail; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch lazy-tlb-allow-lazy-tlb-mm-refcounting-to-be-configurable-fix.patch mm-compaction-optimize-proactive-compaction-deferrals-fix.patch mm-compaction-support-triggering-of-proactive-compaction-by-user-fix.patch mm-hugetlb-add-support-for-mempolicy-mpol_preferred_many-fix.patch mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix.patch linux-next-rejects.patch linux-next-git-rejects.patch kernel-forkc-export-kernel_thread-to-modules.patch