System calls shall be protected
In rare conditions, socket select system calls can be interrupted by the reception of a signal (see attached file for an example). In this case, the expected behaviour is to log this event and execute the same system call again until for several attempts (see https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html).
Other system call shall be examined to identify if they need the same kind of protection.
Edited by Vincent Lacroix