public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: <linux-fsdevel@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
	Linux Containers <containers@lists.linux-foundation.org>,
	"Serge E. Hallyn" <serge@hallyn.com>
Subject: [REVIEW][PATCH 00/11] userns: Simple filesystems conversions
Date: Fri, 21 Sep 2012 18:31:50 -0700	[thread overview]
Message-ID: <877grmj115.fsf@xmission.com> (raw)


This continus my conversion of filesystems to support running
when kernel user namespace supprot is enabled.  This time I have
targed the filesystems that I had to look twice at to verify
the changes were correct.

The strategy is to convert the structures in the kernel where we store
uid_t and gid_t to to kuid_t and kgid_t.  To assume all file systems are
encoded in the initial user namespace for purposes of conversions.
Mount options containing uids and gids along with other user space
interfaces are of assumed to be encoded in the current user namespace.

These patches are against:
git.kernel.org:/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-next

Eric W. Biederman (11):
      userns: Convert affs to use kuid/kgid wherwe appropriate
      userns: Convert bfs to use kuid/kgid where appropriate
      userns: Convert btrfs to use kuid/kgid where appropriate
      userns: Convert hpfs to use kuid and kgid where appropriate
      userns: Convert jffs2 to use kuid and kgid where appropriate
      userns: Convert jfs to use kuid/kgid where appropriate
      userns: Convert reiserfs to use kuid and kgid where appropriate
      userns: Convert squashfs to use kuid/kgid where appropriate
      userns: Convert ubifs to use kuid/kgid
      userns: Convert the udf filesystem to use kuid/kgid where appropriate
      userns: Convert the ufs filesystem to use kuid/kgid where appropriate

 fs/affs/affs.h           |    4 ++--
 fs/affs/inode.c          |   20 ++++++++++----------
 fs/affs/super.c          |   18 +++++++++++-------
 fs/bfs/inode.c           |    8 ++++----
 fs/btrfs/delayed-inode.c |    8 ++++----
 fs/btrfs/inode.c         |    8 ++++----
 fs/btrfs/ioctl.c         |    6 +++---
 fs/hpfs/hpfs_fn.h        |    4 ++--
 fs/hpfs/inode.c          |   19 +++++++++++--------
 fs/hpfs/namei.c          |    8 ++++----
 fs/hpfs/super.c          |   18 +++++++++++-------
 fs/jffs2/acl.c           |   26 ++++++++++++++++++++------
 fs/jffs2/file.c          |    8 ++++----
 fs/jffs2/fs.c            |   24 +++++++++++++-----------
 fs/jffs2/os-linux.h      |    4 ++--
 fs/jfs/file.c            |    4 ++--
 fs/jfs/jfs_imap.c        |   22 ++++++++++++----------
 fs/jfs/jfs_incore.h      |    8 ++++----
 fs/jfs/super.c           |   22 +++++++++++++++-------
 fs/reiserfs/inode.c      |   26 +++++++++++++-------------
 fs/reiserfs/xattr_acl.c  |   20 +++++++++++++++++---
 fs/squashfs/inode.c      |    8 ++++++--
 fs/ubifs/budget.c        |    4 ++--
 fs/ubifs/debug.c         |    4 ++--
 fs/ubifs/journal.c       |    4 ++--
 fs/ubifs/sb.c            |    4 ++--
 fs/ubifs/super.c         |    4 ++--
 fs/ubifs/ubifs.h         |    4 ++--
 fs/udf/inode.c           |   12 ++++++------
 fs/udf/super.c           |   20 ++++++++++++--------
 fs/udf/udf_sb.h          |    4 ++--
 fs/ufs/inode.c           |   16 ++++++++--------
 init/Kconfig             |   11 -----------
 33 files changed, 214 insertions(+), 166 deletions(-)

             reply	other threads:[~2012-09-22  1:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22  1:31 Eric W. Biederman [this message]
2012-09-22  1:35 ` [PATCH 01/11] userns: Convert affs to use kuid/kgid wherwe appropriate Eric W. Biederman
2012-09-22  1:35   ` [PATCH 02/11] userns: Convert bfs to use kuid/kgid where appropriate Eric W. Biederman
2012-09-22  1:35   ` [PATCH 03/11] userns: Convert btrfs " Eric W. Biederman
2012-09-22  1:35   ` [PATCH 04/11] userns: Convert hpfs to use kuid and kgid " Eric W. Biederman
2012-09-22  1:35   ` [PATCH 05/11] userns: Convert jffs2 " Eric W. Biederman
2012-09-22  1:35   ` [PATCH 06/11] userns: Convert jfs to use kuid/kgid " Eric W. Biederman
2012-09-22  1:35   ` [PATCH 07/11] userns: Convert reiserfs to use kuid and kgid " Eric W. Biederman
2012-09-22  1:35   ` [PATCH 08/11] userns: Convert squashfs to use kuid/kgid " Eric W. Biederman
2012-09-22  1:35   ` [PATCH 09/11] userns: Convert ubifs to use kuid/kgid Eric W. Biederman
2012-09-22  1:35   ` [PATCH 10/11] userns: Convert the udf filesystem to use kuid/kgid where appropriate Eric W. Biederman
2012-09-24  5:24     ` Jan Kara
2012-09-22  1:35   ` [PATCH 11/11] userns: Convert the ufs " Eric W. Biederman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877grmj115.fsf@xmission.com \
    --to=ebiederm@xmission.com \
    --cc=containers@lists.linux-foundation.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=serge@hallyn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox