]> git.baikalelectronics.ru Git - kernel.git/commit
um: Fix possible deadlock in sig_handler_common()
authorRichard Weinberger <richard@nod.at>
Sun, 12 Jun 2016 20:03:16 +0000 (22:03 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 3 Aug 2016 22:17:58 +0000 (00:17 +0200)
commitda48a015949686b4faaaddea1f81bb80b08b4f3d
treeb8535f4cb6462564b41c8e8deedde84868991874
parent823782f25a7da6db1c4a3df6f1cbc20b43563ac3
um: Fix possible deadlock in sig_handler_common()

We are in atomic context and must not sleep.
Sleeping here is possible since malloc() maps
to kmalloc() with GFP_KERNEL.

Cc: stable@vger.kernel.org
Fixes: 8bd92b06 ("um: extend fpstate to _xstate to support YMM registers")
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/signal.c