[GIT PULL] overlayfs fixes for 4.20-rc7

From: Miklos Szeredi
Date: Wed Dec 12 2018 - 04:45:24 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-fixes-4.20-rc7

Needed to revert a patch, because it possibly introduces a security hole.
Since the patch is basically a conceptual cleanup, not a bug fix, it's safe
to revert. I'm not giving up on this, and discussions seemed to have
reached an agreement over how to move forward, but that can wait 'till the
next release.

The other two patches are fixes for bugs introduced in recent releases.

Thanks,
Miklos

----------------------------------------------------------------
Amir Goldstein (2):
ovl: fix missing override creds in link of a metacopy upper
ovl: fix decode of dir file handle with multi lower layers

Miklos Szeredi (1):
Revert "ovl: relax permission checking on underlying layers"

---
fs/overlayfs/dir.c | 14 +++++++++++++-
fs/overlayfs/export.c | 6 +++---
fs/overlayfs/inode.c | 17 ++++-------------
3 files changed, 20 insertions(+), 17 deletions(-)