Skip to contentSkip to conversation

namespace fixes for v4.20-rc2

GIT PULL Merged Eric W. Biederman 3 participants 4 messages Nov 10, 2018 – Nov 14, 2018 VFS

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the for-linus branch from the git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

HEAD: 9c8e0a1b683525464a2abe9fb4b54404a50ed2b4 mount: Prevent MNT_DETACH from disconnecting locked mounts

I believe all of these are simple obviously correct bug fixes. These fall into two groups. Fixing the implementation of MNT_LOCKED which prevents lesser privileged users from seeing unders mounts created by more privileged users. Fixing the extended uid and group mapping in user namespaces.

As well as ensuring the code looks correct I have spot tested these changes as well and in my testing the fixes are working.

I have let these changes sit on my branch for a few days as well and none of the automated testing has found any problems either.

Eric W. Biederman (3):
mount: Retest MNT_LOCKED in do_umount
mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mounts
mount: Prevent MNT_DETACH from disconnecting locked mounts

Jann Horn (1):
userns: also map extents in the reverse map to kernel IDs

 fs/namespace.c          | 22 +++++++++++++++++-----
 kernel/user_namespace.c | 12 ++++++++----
 2 files changed, 25 insertions(+), 9 deletions(-)

Eric

merge bot Merged
#1 lore raw
The pull request you sent on Sat, 10 Nov 2018 12:12:12 -0600:

The pull request you sent on Sat, 10 Nov 2018 12:12:12 -0600:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1de4f2ef216dade3b5bd5f5247c4c750a953f51c

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
merge bot Merged
#2 lore raw
In reply to Eric W. Biederman
The pull request you sent on Sat, 10 Nov 2018 12:12:12 -0600:

The pull request you sent on Sat, 10 Nov 2018 12:12:12 -0600:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1de4f2ef216dade3b5bd5f5247c4c750a953f51c

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
#3 lore raw
Quoted 6 lines · On Wed, Nov 14, 2018 at 12:55:45AM +0000, [email protected] wrote:

The pull request you sent on Sat, 10 Nov 2018 12:12:12 -0600:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1de4f2ef216dade3b5bd5f5247c4c750a953f51c

Sorry for the duplicates! It's entirely the fault of my fat fingers that is unable to set the --nomail flag with test data properly.

-K