diff options
-rw-r--r-- | kernel/kmod.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c index 6cea9db25c3d..4d32eb077179 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c | |||
@@ -185,14 +185,9 @@ static int wait_for_helper(void *data) | |||
185 | { | 185 | { |
186 | struct subprocess_info *sub_info = data; | 186 | struct subprocess_info *sub_info = data; |
187 | pid_t pid; | 187 | pid_t pid; |
188 | struct k_sigaction sa; | ||
189 | 188 | ||
190 | /* Install a handler: if SIGCLD isn't handled sys_wait4 won't | 189 | /* Install a handler: if SIGCLD isn't handled sys_wait4 won't |
191 | * populate the status, but will return -ECHILD. */ | 190 | * populate the status, but will return -ECHILD. */ |
192 | sa.sa.sa_handler = SIG_IGN; | ||
193 | sa.sa.sa_flags = 0; | ||
194 | siginitset(&sa.sa.sa_mask, sigmask(SIGCHLD)); | ||
195 | do_sigaction(SIGCHLD, &sa, NULL); | ||
196 | allow_signal(SIGCHLD); | 191 | allow_signal(SIGCHLD); |
197 | 192 | ||
198 | pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD); | 193 | pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD); |