Re: [RFC][PATCHES] converting FDPIC coredumps to regsets

2020-07-14 Thread Eric W. Biederman
Al Viro writes: > Conversion of ELF coredumps to regsets has not touched > ELF_FDPIC. Right now all architectures that support FDPIC have > regsets sufficient for switching it to regset-based coredumps. A bit > of backstory: original ELF (and ELF_FDPIC) coredumps reused the old > helpers

Re: [RFC][PATCHES] converting FDPIC coredumps to regsets

2020-06-30 Thread Nicolas Pitre
On Tue, 30 Jun 2020, Al Viro wrote: > The obvious solution is to introduce struct elf_prstatus_fdpic > and use that in binfmt_elf_fdpic.c, taking these fields out of the > normal struct elf_prstatus. Unfortunately, the damn thing is defined in > include/uapi/linux/elfcore.h, so nominally it

[RFC][PATCHES] converting FDPIC coredumps to regsets

2020-06-29 Thread Al Viro
Conversion of ELF coredumps to regsets has not touched ELF_FDPIC. Right now all architectures that support FDPIC have regsets sufficient for switching it to regset-based coredumps. A bit of backstory: original ELF (and ELF_FDPIC) coredumps reused the old helpers used by a.out coredumps.