Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d5ede6f authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

uml: stub needs to tolerate SIGWINCH



We lost the marking of SIGWINCH as being OK to receive during stub
execution, causing a panic should that happen.

Cc: Benedict Verheyen <benedict.verheyen@gmail.com>
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8bfd04b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -55,7 +55,7 @@ static int ptrace_dump_regs(int pid)
 * Signals that are OK to receive in the stub - we'll just continue it.
 * Signals that are OK to receive in the stub - we'll just continue it.
 * SIGWINCH will happen when UML is inside a detached screen.
 * SIGWINCH will happen when UML is inside a detached screen.
 */
 */
#define STUB_SIG_MASK (1 << SIGVTALRM)
#define STUB_SIG_MASK ((1 << SIGVTALRM) | (1 << SIGWINCH))


/* Signals that the stub will finish with - anything else is an error */
/* Signals that the stub will finish with - anything else is an error */
#define STUB_DONE_MASK (1 << SIGTRAP)
#define STUB_DONE_MASK (1 << SIGTRAP)