[PATCH] xfstests: 313,314: user namespace uid/gids in inode, ACL
Dwight Engen
dwight.engen at oracle.com
Wed Jun 26 11:30:44 CDT 2013
On Wed, 26 Jun 2013 11:09:31 +1000
Dave Chinner <david at fromorbit.com> wrote:
> On Tue, Jun 25, 2013 at 03:34:43PM -0400, Dwight Engen wrote:
> > These tests verify that the uid/gids in an inode and in ACLs get
> > translated from/to a user namespace to/from disk correctly.
> >
> > I had to use getfacl instead of the chacl -l because I need numeric
> > uids to make the output consistent.
> >
> > A new program nsexec was added to facilitate creating/entering a
> > user namespace for testing. The orignal source for the program is
> > https://lwn.net/Articles/539940. I added the -s option to become
> > "root" in the user namespace.
> >
> > Tested against btrfs, ext4, and xfs with my proposed user namespace
> > changes.
>
> Can you split it out into a patch per test? It's easier to review
> that way...
Sure, I'll split out adding the nsexec program separately as well.
> Cheers,
>
> Dave.
More information about the xfs
mailing list