summaryrefslogtreecommitdiffstats
path: root/kernel/hung_task.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-07-19 00:00:58 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-19 00:00:58 +0200
commit11388c87d2abca1f01975ced28ce9eacea239104 (patch)
tree60e338e5ab817de96a461b08892e0663a316d67c /kernel/hung_task.c
parentMerge branch 'fixes' into pm-sleep (diff)
downloadlinux-11388c87d2abca1f01975ced28ce9eacea239104.tar.xz
linux-11388c87d2abca1f01975ced28ce9eacea239104.zip
PM / Sleep: Require CAP_BLOCK_SUSPEND to use wake_lock/wake_unlock
Require processes wanting to use the wake_lock/wake_unlock sysfs files to have the CAP_BLOCK_SUSPEND capability, which also is required for the eventpoll EPOLLWAKEUP flag to be effective, so that all interfaces related to blocking autosleep depend on the same capability. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: stable@vger.kernel.org Acked-by: Michael Kerrisk <mtk.man-pages@gmail.com>
Diffstat (limited to 'kernel/hung_task.c')
0 files changed, 0 insertions, 0 deletions