Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71457
b: refs/heads/master
c: 0fbc26a
h: refs/heads/master
i:
  71455: 33084fd
v: v3
  • Loading branch information
Sukadev Bhattiprolu authored and Linus Torvalds committed Oct 19, 2007
1 parent 30a06d0 commit d1c13ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9c5d92211883e9ae22394d1f157ab0d3a7ec895
refs/heads/master: 0fbc26a6cfab9f377e82e28225f2c0c6b4661e5c
6 changes: 2 additions & 4 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1835,11 +1835,9 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka,
continue;

/*
* Init of a pid space gets no signals it doesn't want from
* within that pid space. It can of course get signals from
* its parent pid space.
* Global init gets no signals it doesn't want.
*/
if (current == task_child_reaper(current))
if (is_global_init(current))
continue;

if (sig_kernel_stop(signr)) {
Expand Down

0 comments on commit d1c13ca

Please sign in to comment.