diff options
| author | Oleg Nesterov <[email protected]> | 2007-08-22 14:01:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-08-22 19:52:46 -0700 |
| commit | f9ee228bdc82cff8ea1ec00fd952890e00679dd8 (patch) | |
| tree | 4c087502431a70bf7479555dcf4c1c4265835ebe /scripts/patch-kernel | |
| parent | 834d216e1f804560bd1421c511ad168d7c24b01d (diff) | |
signalfd: make it group-wide, fix posix-timers scheduling
With this patch any thread can dequeue its own private signals via signalfd,
even if it was created by another sub-thread.
To do so, we pass "current" to dequeue_signal() if the caller is from the same
thread group. This also fixes the scheduling of posix timers broken by the
previous patch.
If the caller doesn't belong to this thread group, we can't handle __SI_TIMER
case properly anyway. Perhaps we should forbid the cross-process signalfd usage
and convert ctx->tsk to ctx->sighand.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Davide Libenzi <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Michael Kerrisk <[email protected]>
Cc: Roland McGrath <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions