Hacker News new | past | comments | ask | show | jobs | submit login

signalfd is awesome, except for the fact that it breaks debuggers. There's a long-standing kernel bug that forgets to notify the program doing a ptrace before delivering a signal to signalfd. Don't believe me? Write a program that loops forever and exits when it gets SIGINT from signalfd. Run it in gdb. Hit <C>+c. Watch in amazement as the program exits instead of stopping.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: