aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2012-07-18 22:00:58 +0000
committerRafael J. Wysocki <[email protected]>2012-07-18 22:00:58 +0000
commit11388c87d2abca1f01975ced28ce9eacea239104 (patch)
tree60e338e5ab817de96a461b08892e0663a316d67c /tools/perf/util/trace-event-scripting.c
parentMerge branch 'fixes' into pm-sleep (diff)
downloadkernel-11388c87d2abca1f01975ced28ce9eacea239104.tar.gz
kernel-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 <[email protected]> Cc: [email protected] Acked-by: Michael Kerrisk <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions