System calls are not cancellation points. None of the system calls should be called with asynchronous cancellation enabled. For more information, see Section 2.6.