Can gdb debug suid root programs? August 8, 2022 by Magenaut I wrote a program that calls setuid(0) and execve("/bin/bash",NULL,NULL).