set_restore_sigmask(9) - phpMan
SET_RESTORE_SIGMASK(9) Driver Basics SET_RESTORE_SIGMASK(9)
NAME
set_restore_sigmask - make sure saved_sigmask processing gets done
SYNOPSIS
void set_restore_sigmask(void);
ARGUMENTS
void
no arguments
DESCRIPTION
This sets TIF_RESTORE_SIGMASK and ensures that the arch signal code will run before
returning to user mode, to process the flag. For all callers, TIF_SIGPENDING is already
set or it's no harm to set it. TIF_RESTORE_SIGMASK need not be in the set of bits that the
arch code will notice on return to user mode, in case those bits are scarce. We set
TIF_SIGPENDING here to ensure that the arch signal code always gets run when
TIF_RESTORE_SIGMASK is set.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 SET_RESTORE_SIGMASK(9)
|