Trying not call elfutils functions in ABRT under root

2016-11-30 Thread Adam Sulc
Hello, im using elfutils in ABRT program specifically when generating core_backtrace. According to this https://github.com/abrt/abrt/issues/890 post, it is not a good idea using elfutils under root. So I have tried moving as much elfutils function calls to non-root process as possible. That mea

Re: Analyzing process and core dump files in changed root environments

2016-11-30 Thread Mark Wielaard
Hi Jakub, On Tue, 2016-11-29 at 13:37 +0100, h wrote: > I have a question regarding analyzing processes running in a change root > environment or in an own mount namespace with re-mounted /. > I want to debug a process running in a non-system root using elfutils or gdb > from system root, and vic

Re: Trying not call elfutils functions in ABRT under root

2016-11-30 Thread Mark Wielaard
Hi Adam, On Wed, 2016-11-30 at 08:00 +, Adam Sulc wrote: > im using elfutils in ABRT program specifically when generating > core_backtrace. According to this > https://github.com/abrt/abrt/issues/890 post, it is not a good idea > using elfutils under root. So I have tried moving as much elfuti

Some DWARFv5 draft feedback

2016-11-30 Thread Mark Wielaard
I have been working on elfutils DWARFv5 support based on what GCC7 implements and the current public draft. I haven't had time to implement everything. But since the public comment period was kept short I thought it would be nice to at least document some of the things that I stumbled over. Hopefu