Re: Trying not call elfutils functions in ABRT under root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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_report/libdwfl/linux-proc-maps.c#L372
> 
> where :
> https://github.com/xsulca00/elfutils-for-satyr/blob/satyr_dwfl_linux_proc_report/libdwfl/linux-proc-maps.c#L429#L439
> 
> 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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux