[tip:timers/core] timerfd: Reject ALARM timerfds without CAP_WAKE_ALARM

2016-06-09 Thread tip-bot for Eric Caruso
Commit-ID: 2895a5e5b3ae78d9923a91fce405d4a2f32c4309 Gitweb: http://git.kernel.org/tip/2895a5e5b3ae78d9923a91fce405d4a2f32c4309 Author: Eric Caruso <ejcar...@google.com> AuthorDate: Wed, 8 Jun 2016 16:08:59 -0700 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Thu

[tip:timers/core] timerfd: Reject ALARM timerfds without CAP_WAKE_ALARM

2016-06-09 Thread tip-bot for Eric Caruso
Commit-ID: 2895a5e5b3ae78d9923a91fce405d4a2f32c4309 Gitweb: http://git.kernel.org/tip/2895a5e5b3ae78d9923a91fce405d4a2f32c4309 Author: Eric Caruso AuthorDate: Wed, 8 Jun 2016 16:08:59 -0700 Committer: Thomas Gleixner CommitDate: Thu, 9 Jun 2016 23:42:38 +0200 timerfd: Reject ALARM

[PATCH] fs/timerfd: reject ALARM timerfds without CAP_WAKE_ALARM

2016-06-08 Thread Eric Caruso
From: Eric Caruso <ejcar...@google.com> 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

[PATCH] fs/timerfd: reject ALARM timerfds without CAP_WAKE_ALARM

2016-06-08 Thread Eric Caruso
From: Eric Caruso 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

Re: irq mask swapping during suspend/resume

2014-09-26 Thread Eric Caruso
:06 PM Thomas Gleixner wrote: >> On Wed, 17 Sep 2014, Dmitry Torokhov wrote: >> > Hi Thomas, >> > >> > On Wednesday, September 17, 2014 12:05:42 PM Thomas Gleixner wrote: >> > > On Tue, 16 Sep 2014, Eric Caruso wrote: >> > > > We would

Re: irq mask swapping during suspend/resume

2014-09-26 Thread Eric Caruso
18, 2014 01:32:06 PM Thomas Gleixner wrote: On Wed, 17 Sep 2014, Dmitry Torokhov wrote: Hi Thomas, On Wednesday, September 17, 2014 12:05:42 PM Thomas Gleixner wrote: On Tue, 16 Sep 2014, Eric Caruso wrote: We would like to be able to set different irq masks for triggers during

Fwd: irq mask swapping during suspend/resume

2014-09-17 Thread Eric Caruso
(Resending in plain text. Sorry about the HTML.) Hi, We would like to be able to set different irq masks for triggers during normal operation and for waking up the system. For example, while a laptop is awake, closing the lid and opening the lid should both fire an interrupt, but when the system

Fwd: irq mask swapping during suspend/resume

2014-09-17 Thread Eric Caruso
(Resending in plain text. Sorry about the HTML.) Hi, We would like to be able to set different irq masks for triggers during normal operation and for waking up the system. For example, while a laptop is awake, closing the lid and opening the lid should both fire an interrupt, but when the system