Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-10 Thread Eric W. Biederman
Jan Kara writes: > On Tue 09-10-12 14:46:28, Eric W. Biederman wrote: >> Jan Kara writes: >> >> diff --git a/fs/xattr.c b/fs/xattr.c >> >> index 4d45b71..c111745 100644 >> >> --- a/fs/xattr.c >> >> +++ b/fs/xattr.c >> >> @@ -20,6 +20,7 @@ >> >> #include >> >> #include >> >> #include >> >>

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-10 Thread Jan Kara
On Tue 09-10-12 14:46:28, Eric W. Biederman wrote: > Jan Kara writes: > >> diff --git a/fs/xattr.c b/fs/xattr.c > >> index 4d45b71..c111745 100644 > >> --- a/fs/xattr.c > >> +++ b/fs/xattr.c > >> @@ -20,6 +20,7 @@ > >> #include > >> #include > >> #include > >> +#include > >> > >>

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-10 Thread Jan Kara
On Tue 09-10-12 14:46:28, Eric W. Biederman wrote: Jan Kara j...@suse.cz writes: diff --git a/fs/xattr.c b/fs/xattr.c index 4d45b71..c111745 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -20,6 +20,7 @@ #include linux/fsnotify.h #include linux/audit.h #include linux/vmalloc.h

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-10 Thread Eric W. Biederman
Jan Kara j...@suse.cz writes: On Tue 09-10-12 14:46:28, Eric W. Biederman wrote: Jan Kara j...@suse.cz writes: diff --git a/fs/xattr.c b/fs/xattr.c index 4d45b71..c111745 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -20,6 +20,7 @@ #include linux/fsnotify.h #include linux/audit.h

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-09 Thread Eric W. Biederman
Jan Kara writes: > On Wed 19-09-12 18:52:18, Eric W. Biederman wrote: >> From: "Eric W. Biederman" >> >> - In setxattr if we are setting a posix acl convert uids and gids from >> the current user namespace into the initial user namespace, before >> the xattrs are passed to the underlying

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-09 Thread Jan Kara
On Wed 19-09-12 18:52:18, Eric W. Biederman wrote: > From: "Eric W. Biederman" > > - In setxattr if we are setting a posix acl convert uids and gids from > the current user namespace into the initial user namespace, before > the xattrs are passed to the underlying filesystem. > >

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-09 Thread Jan Kara
On Wed 19-09-12 18:52:18, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com - In setxattr if we are setting a posix acl convert uids and gids from the current user namespace into the initial user namespace, before the xattrs are passed to the underlying filesystem.

Re: [PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-10-09 Thread Eric W. Biederman
Jan Kara j...@suse.cz writes: On Wed 19-09-12 18:52:18, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com - In setxattr if we are setting a posix acl convert uids and gids from the current user namespace into the initial user namespace, before the xattrs are passed

[PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-09-19 Thread Eric W. Biederman
From: "Eric W. Biederman" - In setxattr if we are setting a posix acl convert uids and gids from the current user namespace into the initial user namespace, before the xattrs are passed to the underlying filesystem. Untranslatable uids and gids are represented as -1 which

[PATCH 16/27] userns: Convert vfs posix_acl support to use kuids and kgids

2012-09-19 Thread Eric W. Biederman
From: Eric W. Biederman ebied...@xmission.com - In setxattr if we are setting a posix acl convert uids and gids from the current user namespace into the initial user namespace, before the xattrs are passed to the underlying filesystem. Untranslatable uids and gids are represented as -1