https://bugzilla.kernel.org/show_bug.cgi?id=95331 --- Comment #2 from Jason Vas Dias <jason.vas.dias@xxxxxxxxx> --- Incidentally, nowhere do the man-pages state that unless you use an SA_ONSTACK handler, having used sigaltstack() to set the stack used to invoke the handler, then you get garbage pointed to by the siginfo_t 'si' pointer 2nd parameter to the handler, which is definitely the case. Also, unless you actually call fcntl(fd, F_SETSIG, signum), then no si->_sifields._sigpoll information is set at all - the manual pages definitely suggest that SIGIO / SIGPOLL is the default, but do not mention that the default does not apply to SA_SIGACTION signal handlers . Oh well, I was hoping to avoid having to do so, but I guess there is no alternative to making the program use poll / pselect . But the documentation is definitely in need of clarification of the above points. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html