diff options
Diffstat (limited to 'arch/um/drivers/chan_user.c')
-rw-r--r-- | arch/um/drivers/chan_user.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/drivers/chan_user.c b/arch/um/drivers/chan_user.c index d29e56d8ced4..74f22d27327d 100644 --- a/arch/um/drivers/chan_user.c +++ b/arch/um/drivers/chan_user.c | |||
@@ -264,8 +264,7 @@ void register_winch(int fd, struct tty_struct *tty) | |||
264 | return; | 264 | return; |
265 | 265 | ||
266 | pid = tcgetpgrp(fd); | 266 | pid = tcgetpgrp(fd); |
267 | if (!CHOOSE_MODE_PROC(is_tracer_winch, is_skas_winch, pid, fd, tty) && | 267 | if (!is_skas_winch(pid, fd, tty) && (pid == -1)) { |
268 | (pid == -1)) { | ||
269 | thread = winch_tramp(fd, tty, &thread_fd, &stack); | 268 | thread = winch_tramp(fd, tty, &thread_fd, &stack); |
270 | if (thread < 0) | 269 | if (thread < 0) |
271 | return; | 270 | return; |