Re: [PATCH] POSIX timers for linux 2.3.99-pre7

From: Robert de Vries (rhdv@rhdv.cistron.nl)
Date: Sun May 14 2000 - 07:29:19 EST


On Sun, 14 May 2000, Marcelo Tosatti wrote:

>
>
> On Sat, 13 May 2000, Robert de Vries wrote:
>
> > Hi Linus,
> >
> > Please accept this patch for inclusion. The impact on the kernel is
> > negligible and it makes the kernel a bit more POSIX feature complete. I
> > have received good feedback from people who have used the patch and I have
> > used it a lot myself without any problems.
> >
> Hi,
>
> posix_timer_fn() in kernel/itimer.c is a timer handler, which runs in bottom half
> context. It calls timer_notify_task() which uses the send_sig_info() function.
> send_sig_info uses the "current" pointer to check for permissions.

True, but for signals generated by the kernel these checks are all
suppressed because the check for SI_FROMUSER fails.
The check for permissions is baroque as stated in the comment preceding
it.

        Robert

-- 
Robert de Vries
rhdv@rhdv.cistron.nl

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:25 EST