From: Rafael J. Wysocki Date: Wed, 18 Jul 2012 22:00:58 +0000 (+0200) Subject: PM / Sleep: Require CAP_BLOCK_SUSPEND to use wake_lock/wake_unlock X-Git-Tag: v3.6-rc1~155^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11388c87d2abca1f01975ced28ce9eacea239104;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org Acked-by: Michael Kerrisk --- Reading git-diff-tree failed