[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 9 Sep 2019 17:13:43 +0200
From: Frederic Weisbecker <frederic@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Oleg Nesterov <oleg@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Kees Cook <keescook@...omium.org>
Subject: Re: [patch V2 2/6] posix-cpu-timers: Fix permission check regression
On Thu, Sep 05, 2019 at 11:15:08PM +0200, Thomas Gleixner wrote:
> + if (gettime) {
> + /*
> + * For clock_gettime(PROCESS) the task does not need to be
> + * the actual group leader. tsk->sighand gives
> + * access to the group's clock.
> + *
> + * Timers need the group leader because they take a
> + * reference on it and store the task pointer until the
> + * timer is destroyed.
Well, that would work with a non group leader as well but anyway that wouldn't
be pretty.
Reviewed-by: Frederic Weisbecker <frederic@...nel.org>
Powered by blists - more mailing lists