[PATCH] uml: Fix SIGWINCH relaying
This makes SIGWINCH work again, and fixes a couple of SIGWINCH-associated crashes. First, the sigio thread disables SIGWINCH because all hell breaks loose if it ever gets one and tries to call the signal handling code. Second, there was a problem with deferencing tty structs after they were freed. The SIGWINCH support for a tty wasn't being turned off or freed after the tty went away. Signed-off-by:Jeff Dike <jdike@addtoit.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/um/drivers/line.c 39 additions, 2 deletionsarch/um/drivers/line.c
- arch/um/include/os.h 1 addition, 0 deletionsarch/um/include/os.h
- arch/um/kernel/irq.c 0 additions, 1 deletionarch/um/kernel/irq.c
- arch/um/kernel/process.c 0 additions, 2 deletionsarch/um/kernel/process.c
- arch/um/kernel/sigio_user.c 1 addition, 0 deletionsarch/um/kernel/sigio_user.c
- arch/um/kernel/skas/process.c 6 additions, 1 deletionarch/um/kernel/skas/process.c
- arch/um/kernel/tt/tracer.c 3 additions, 1 deletionarch/um/kernel/tt/tracer.c
- arch/um/os-Linux/process.c 5 additions, 0 deletionsarch/um/os-Linux/process.c
Loading
Please register or sign in to comment