]> git.baikalelectronics.ru Git - kernel.git/commit
[elf-fdpic] use elf_dump_thread_status() for the dumper thread as well
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Jun 2020 15:03:28 +0000 (11:03 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Jul 2020 18:29:23 +0000 (14:29 -0400)
commit3d5c636afea0d4b3df3715f135d92003d89c14b6
treedd2265269c0a7c1a3f79a1a1a27ada51e3c1a4c7
parent41a0f31f11746366b235b4d8f6017a4614868bb6
[elf-fdpic] use elf_dump_thread_status() for the dumper thread as well

the only reason to have it open-coded for the first (dumper) thread is
that coredump has a couple of process-wide notes stuck right after the
first (NT_PRSTATUS) note of the first thread.  But we don't need to
make the data collection side irregular for the first thread to handle
that - it's only the logics ordering the calls of writenote() that
needs to take care of that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/binfmt_elf_fdpic.c