Re: + make-good_sigevent-non-static.patch added to -mm tree

2007-01-26 Thread Sébastien Dugué
On Fri, 26 Jan 2007 13:08:01 +0300 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > On 01/26, S?bastien Dugu? wrote: > > > > On Thu, 25 Jan 2007 18:43:24 +0300 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > > > SИbastien DuguИ wrote: > > > > > > > > +struct task_struct *good_sigevent(sigevent_t *event)

Re: + make-good_sigevent-non-static.patch added to -mm tree

2007-01-26 Thread Oleg Nesterov
On 01/26, S?bastien Dugu? wrote: > > On Thu, 25 Jan 2007 18:43:24 +0300 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > SИbastien DuguИ wrote: > > > > > > +struct task_struct *good_sigevent(sigevent_t *event) > > > +{ > > > + struct task_struct *task = current->group_leader; > > > + > > > + if ((ev

Re: + make-good_sigevent-non-static.patch added to -mm tree

2007-01-26 Thread Sébastien Dugué
On Thu, 25 Jan 2007 18:43:24 +0300 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > SИbastien DuguИ wrote: > > > > +struct task_struct *good_sigevent(sigevent_t *event) > > +{ > > + struct task_struct *task = current->group_leader; > > + > > + if ((event->sigev_notify & SIGEV_THREAD_ID) == SIGEV_THR

Re: + make-good_sigevent-non-static.patch added to -mm tree

2007-01-25 Thread Oleg Nesterov
SИbastien DuguИ wrote: > > +struct task_struct *good_sigevent(sigevent_t *event) > +{ > + struct task_struct *task = current->group_leader; > + > + if ((event->sigev_notify & SIGEV_THREAD_ID) == SIGEV_THREAD_ID) { > + task = find_task_by_pid(event->sigev_notify_thread_id); > + >