abrt / satyr

Automatic problem management with anonymous reports
GNU General Public License v2.0
19 stars 22 forks source link

elfutils: run hook unwinding under unprivileged user #251

Closed jfilak closed 8 years ago

jfilak commented 8 years ago

We need to divide the unwinding into too steps because we want to run elfutils under unprivileged users in abrt-hook-ccpp.

This commit splits the unwinding into prepare and generate parts. The prepare part includes attaching the process using PTRACE - this part must be run under privileged users. The generate part includes unwinding.

With some modifications to elfutils, we might be able to run all elfutils function under an unprivileged user.

Signed-off-by: Adam Sulc xmineral@seznam.cz Signed-off-by: Jakub Filak jfilak@redhat.com

mhabrnal commented 8 years ago

retest this please

mhabrnal commented 8 years ago

Looks good to me.