You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lib/pty-session.c code uses signalfd to deal with signals. It's an excellent and very reliable solution, but it's not portable to enough for Debian (due to kFreeBSD and Hurd). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807071 for more details.
It would be nice to #ifdef signal FD and as fallback use sigaction() with SA_SIGINFO and in handle_signal() use data from siginfo_t (for signalfd it uses struct signalfd_siginfo).
Note that signalfd should be the preferred solution for Linux.
The text was updated successfully, but these errors were encountered:
The lib/pty-session.c code uses signalfd to deal with signals. It's an excellent and very reliable solution, but it's not portable to enough for Debian (due to kFreeBSD and Hurd). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807071 for more details.
It would be nice to #ifdef signal FD and as fallback use sigaction() with SA_SIGINFO and in handle_signal() use data from siginfo_t (for signalfd it uses struct signalfd_siginfo).
Note that signalfd should be the preferred solution for Linux.
The text was updated successfully, but these errors were encountered: