[lkml]   [2008]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/4] set_restore_sigmask TIF_SIGPENDING

On Tue, 8 Apr 2008, Oleg Nesterov wrote:
> We only need this flag as an implicit parameter to the arch dependent do_signal()
> which we can't call directly, and thus it must imply TIF_SIGPENDING, and it
> is not valid after do_signal() (should be cleared). This all looks like
> ERESTART_ magic, why should we add something else ?

I think you're right. I didn't look at the actual code-paths, but my gut
feel says "yes, TIF_RESTORE_SIGMASK should actually have been
-ERESTARTSIGRESTORE". That sounds like the right thing to do.


 \ /
  Last update: 2008-04-08 16:57    [W:0.157 / U:2.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site