attach with gdb after dropping privileges
Under Ubuntu 16.04 LTS, I cannot seem to debug a once-privileged process for love or money as an unprivileged user.
The file is setgid (mode 2755). It forks, and the child:
releases its capabilities
calls setgid(getgid())
Yet, gd… Continue reading attach with gdb after dropping privileges