This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Trying not call elfutils functions in ABRT under root
- From: Adam Sulc <xmineral at seznam dot cz>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 01 Dec 2016 20:44:29 +0000
- Subject: Re: Trying not call elfutils functions in ABRT under root
Thanks for reply.
Ptrace process before dropping privileges does not allow me to traverse mem files. Still problem persists>
https://github.com/xsulca00/elfutils-for-satyr/blob/satyr_dwfl_linux_proc_report/libdwfl/linux-proc-maps.c#L430
How to pass the "/proc/[tid]/mem" file opened under root to dwfl_linux_proc_find_elf in order to traverse this file after dropping the privileges.