lkml.org 
[lkml]   [2012]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 05/14] userns: Convert hostfs to use kuid and kgid where appropriate
    Quoting Richard Weinberger (richard@nod.at):
    > Am 21.09.2012 02:28, schrieb Eric W. Biederman:
    > > From: "Eric W. Biederman" <ebiederm@xmission.com>
    > >
    > > Cc: Jeff Dike <jdike@addtoit.com>
    > > Cc: Richard Weinberger <richard@nod.at>
    > > Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
    > > Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
    > > ---
    >
    > Looks sane to me.
    >
    > Acked-by: Richard Weinberger <richard@nod.at>
    >
    > BTW: How you do test your user namespace patches?

    I've got a few specific tests of the new functionality in the usernstest.c
    in the nsexec package at
    https://launchpad.net/~serge-hallyn/+archive/userns-natty/+sourcepub/2530252/+listing-archive-extra .
    Of course LTP already has a good set of test cases for the regular
    functionality.

    > Is there a generic way to compare/verify uids within a namespace vs. the initial namespace?

    It's good to look at output of 'id' in the task versus 'ps' from the initial ns,
    as well as create a file and look at the stat output from both namespaces.

    -serge


    \
     
     \ /
      Last update: 2012-09-24 17:41    [W:2.158 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site