aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Caruso <[email protected]>2016-06-08 16:08:59 -0700
committerThomas Gleixner <[email protected]>2016-06-09 23:42:38 +0200
commit2895a5e5b3ae78d9923a91fce405d4a2f32c4309 (patch)
tree8168121926c218cc7896c0eacc4382ecdaca3d0c /tools/perf/scripts/python/export-to-postgresql.py
parentaf8c34ce6ae32addda3788d54a7e340cad22516b (diff)
timerfd: Reject ALARM timerfds without CAP_WAKE_ALARM
timerfd gives processes a way to set wake alarms, but unlike timers made using timer_create, timerfds don't check whether the process has CAP_WAKE_ALARM before setting alarm-time timers. CAP_WAKE_ALARM is supposed to gate this behavior and so it makes sense that we should deny permission to create such timerfds if the process doesn't have this capability. Signed-off-by: Eric Caruso <[email protected]> Cc: Todd Poynor <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions