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.