]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Revert "(namespace) fs: Refuse uid/gid changes which don't map into s_user_ns"
authorLuis Henriques <luis.henriques@canonical.com>
Wed, 23 Nov 2016 10:01:08 +0000 (10:01 +0000)
committerLuis Henriques <luis.henriques@canonical.com>
Wed, 23 Nov 2016 10:14:48 +0000 (10:14 +0000)
commit75a5ec4a9322ac9b47d8242bd0e3efc491e29324
treea8dfa873ce8bf9eaad31f26d42ede33cf1a697d1
parent0f0b3e2026dc236ead6bf2e6aeab1801281c3f8d
Revert "(namespace) fs: Refuse uid/gid changes which don't map into s_user_ns"

BugLink: https://bugs.launchpad.net/bugs/1644165
This reverts commit dc0d66cb531fc0a98c01e292816fb08f16916af8.

The kernel fix for bug #1634964 breaks LXD userspace, in particular the
following commits:

ac7f3f73cb39 (namespace) vfs: Don't modify inodes with a uid or gid unknown to the vfs
ca52383ad6a6 (namespace) vfs: Don't create inodes with a uid or gid unknown to the vfs

LXD 2.0.6 will include changes to support these kernel changes, but it isn't
available yet on xenial, so for now we just revert these commits.

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
fs/attr.c