On 29.11.2016 09:55, Adam Sulc wrote:
Thank you for fast reply.
The problem is in
int
dwfl_linux_proc_find_elf function:
https://github.com/xsulca00/elfutils-for-satyr/blob/satyr_dwfl_linux_proc...
where :
https://github.com/xsulca00/elfutils-for-satyr/blob/satyr_dwfl_linux_proc...
is hard-coded opening "/proc/%d/mem" file. Is there any way, how to bypass
opening this file under root and then pass the opened file to this function in order to
avoid running "dwfl_linux_proc_find_elf" function under root?
I'm not aware of any but maybe someone else on the list is.
The best would be to fix this upstream in elfutils.
--
Petr Spacek @ Red Hat