Messages in this thread | | | Date | Fri, 5 Feb 2016 14:35:35 -0800 | Subject | Re: [PATCH] prctl: Add PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread. | From | John Stultz <> |
| |
On Fri, Feb 5, 2016 at 12:50 PM, Andrew Morton <akpm@linux-foundation.org> wrote: > On Fri, 5 Feb 2016 12:44:04 -0800 Kees Cook <keescook@chromium.org> wrote: >> Could this be exposed as a writable /proc entry instead? Like the oom_* stuff? > > /proc/<pid>/timer_slack_ns, guarded by ptrace_may_access(), documented > under Documentation/? Yup, that would work. It's there for all > architectures from day one and there is precedent. It's not as nice, > but /proc nasties will always be with us.
Ok. I'll start working on that.
Thanks for the feedback and ideas! -john
| |