Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754072AbcJNJlE (ORCPT ); Fri, 14 Oct 2016 05:41:04 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34724 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360AbcJNJkQ (ORCPT ); Fri, 14 Oct 2016 05:40:16 -0400 Date: Fri, 14 Oct 2016 11:39:21 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: Al Viro , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: [GIT PULL (updated)] overlayfs update for 4.9 Message-ID: <20161014093921.GG31239@veci.piliscsaba.szeredi.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1583 Lines: 44 Hi Linus, Please pull updated branch from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus Left out the mnt_want_write_file() and clone_file_range() patches altogether, so this is now really overlayfs only. There's vfs_get_link() and that's technically in the VFS but it's a new helper (and ecryptfs can use it too so no point in making it private to overlayfs). The merge contains a conflict against the xattr update from Andreas. The resolution is to take my version as we now can and should do permission checks on the underlying layers (with mounter's permission). This update contains fixes to the "use mounter's permission to access underlying layers" area, miscellaneous fixes and cleanups. No new features this time. Thanks, Miklos --- Miklos Szeredi (6): ovl: copy_up_xattr(): use strnlen ovl: lookup: do getxattr with mounter's permission ovl: explain error values when removing acl from workdir ovl: use generic_readlink vfs: add vfs_get_link() helper ovl: use vfs_get_link() Richard Weinberger (1): ovl: Fix info leak in ovl_lookup_temp() Vivek Goyal (1): ovl: during copy up, switch to mounter's creds early --- fs/namei.c | 25 +++++++++++++++++++ fs/overlayfs/copy_up.c | 67 +++++++++++++++----------------------------------- fs/overlayfs/dir.c | 5 +++- fs/overlayfs/inode.c | 44 ++++++++------------------------- fs/overlayfs/super.c | 33 ++++++++++++++++--------- include/linux/fs.h | 1 + 6 files changed, 82 insertions(+), 93 deletions(-)