OpenCloudOS-Kernel/Documentation/admin-guide/sysctl
Lepton Wu f38c85f1ba coredump: add %f for executable filename
The document reads "%e" should be "executable filename" while actually it
could be changed by things like pr_ctl PR_SET_NAME.  People who uses "%e"
in core_pattern get surprised when they find out they get thread name
instead of executable filename.

This is either a bug of document or a bug of code.  Since the behavior of
"%e" is there for long time, it could bring another surprise for users if
we "fix" the code.

So we just "fix" the document.  And more, for users who really need the
"executable filename" in core_pattern, we introduce a new "%f" for the
real executable filename.  We already have "%E" for executable path in
kernel, so just reuse most of its code for the new added "%f" format.

Signed-off-by: Lepton Wu <ytht.net@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200701031432.2978761-1-ytht.net@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-12 10:58:01 -07:00
..
abi.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
fs.rst Replace HTTP links with HTTPS ones: Documentation/admin-guide 2020-07-05 14:13:00 -06:00
index.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
kernel.rst coredump: add %f for executable filename 2020-08-12 10:58:01 -07:00
net.rst netns: enable to inherit devconf from current netns 2020-05-16 13:46:37 -07:00
sunrpc.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
user.rst time/namespace: Add max_time_namespaces ucount 2020-04-07 12:37:21 +02:00
vm.rst mm: proactive compaction 2020-08-12 10:57:56 -07:00