Messages in this thread | | | Subject | Re: [PATCH 2/2] proc: Add /proc/<pid>/timerslack_ns interface | From | Arjan van de Ven <> | Date | Thu, 14 Jul 2016 06:42:04 -0700 |
| |
On 7/14/2016 5:48 AM, Serge E. Hallyn wrote:
> Can someone give a detailed explanation of what you could do with > the new timerslack feature and compare it to what you can do with > sys_nice? >
what you can do with the timerslack feature is add upto 4 seconds of extra time/delay on top of each select()/poll()/nanosleep()/... (basically anything that uses hrtimers on behalf of the user), and then also control within that 4 second window exactly when that extra delay ends (which may help a timing attack kind of scenario)
| |