]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Freezer: do not allow freezing processes to clear TIF_SIGPENDING
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 29 Oct 2007 21:37:12 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 30 Oct 2007 15:06:55 +0000 (08:06 -0700)
commitcc5f916e90a811dd8f809b4d17409f98e74b237c
tree14a6c21e0f2de43553e94460aca897076d0f1952
parentc8593884f2768fa3ff6f7e199d75b6ca91f9e891
Freezer: do not allow freezing processes to clear TIF_SIGPENDING

Do not allow processes to clear their TIF_SIGPENDING if TIF_FREEZE is set,
so that they will not race with the freezer (like mysqld does, for example).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Nigel Cunningham <nigel@suspend2.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c