lkml.org 
[lkml]   [2011]   [Sep]   [22]   [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
    Quoting Oleg Nesterov (oleg@redhat.com):
    > On 09/20, Serge E. Hallyn wrote:
    > >
    > > Quoting Oleg Nesterov (oleg@redhat.com):
    > > > On 09/19, Serge E. Hallyn wrote:
    > > > >
    > > > > __send_signal: convert the uid being sent in SI_USER to the target task's
    > > > > user namespace.
    > > > >
    > > > > do_notify_parent and do_notify_parent_cldstop: map task's uid to parent's
    > > > > user namespace
    > > > >
    > > > > ptrace_signal: map parent's uid into current's user namespace before
    > > > > including in signal to current.
    > > >
    > > > Btw, what about the other users of ->si_uid? Say, kill() or tkill().
    > >
    > > Well, they end up calling __send_signal().
    >
    > Sure. But your patch changes only the __send_signal(SEND_SIG_NOINFO).
    > Note that SEND_SIG_NOINFO is rarely used, and only by kernel.

    Ah, I was misreading. I was mistakenly thinking tkill for instance was going
    to be handled by the SEND_SIG_NOINFO case. I'll fix my patch, thanks!

    -serge


    \
     
     \ /
      Last update: 2011-09-22 17:27    [W:4.071 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site