lkml.org 
[lkml]   [2011]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] user namespace: make signal.c respect user namespaces
On 09/23, Serge E. Hallyn wrote:
>
> Quoting Oleg Nesterov (oleg@redhat.com):
> > On 09/23, Serge E. Hallyn wrote:
> > >
> > > It looks like I can fix all the
> > > cases
> >
> > except ptrace_signal(). Although we can simply ignore this case, imho.
>
> ptrace_signal() calls send_signal() though.

Confused... I meant the "if (signr != info->si_signo)" case. This is
simple, and I only meant that this case is not that important.

> > > by checking whether si_fromuser(info)
> >
> > I am not sure... sys_rt_queueinfo() is nasty. Plus we have to handle
> > the "fromkernel" case too. May be we can ignore this too.
>
> sys_rt_tgsigqueueinfo() still seems to go through send_signal().

Yes. But how can you fix si_uid? We do not even know if it exists.
Please look at siginfo/_uid, there is a union. We can't know what
the caller of sys_rt_sigqueueinfo() puts in this location.

Oleg.



\
 
 \ /
  Last update: 2011-09-24 18:43    [W:0.160 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site