Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1223148imm; Wed, 6 Jun 2018 12:24:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIQTfuv4Z+P5b3rIMxhVawU8QrWElRqTwj8Qne/Q9XUXyYYniCrh9iwt3F8gSNsuwHiI3Ge X-Received: by 2002:a63:3348:: with SMTP id z69-v6mr3545077pgz.171.1528313043101; Wed, 06 Jun 2018 12:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528313043; cv=none; d=google.com; s=arc-20160816; b=Hs75szVfU7pvNI6zYzKxJwSX8/TbshgwZ7Yi1lHxOBjj+iU7fUsBpd65yMbxOfLCrk 5MHh6oQcu8+f96/V7YIGoc0soBk+4DUnd3cYrNWH71ORKGwtbgLGUQiCuX9tG/7YrNI1 EIFUsn9gclj3PG+CC3wvWbWj1HU88l3AohazCj9+eW1ZHop0avuWnkE5jD4fbjQZKpNR wO4/TUlmTjYghLhfYlVv1ioYw/9Huw00fDFWPm3J4wtnLKGERs9VyCHiHX++ovOCZ2Dw HBeZJjwdb9289iBYmO1J2NAw6YkbemZscJYeLG+9dbit8tu7NrMaXNZYbpZgjcXemO/j kubg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=Wu3mtFLRMDPIS97v/Ycb2vHXCC2bdAB9VK9cjhkVess=; b=XBGgJL7ELv8TQqI4JZuhhpZLQGpCEbL0zAJtTHDnQlr2sZMBZZsd3ypIQsGerK4LFE iHCW+OB1LD39xqTI1Jk7F/hbEPy01eKguYwD2mYxT1Ckso4H8pFce2OAFLnUp0+bJvvv j1BppVd4r4EZCK151lqpcpG0iygMU6kR76ZcuT/vGwKQhvTkrNxIXuo8DaiDgWcoI2kq pwR1HS38bSdyjcKyxc7qJsRwvCJq7FZi1VgoV15UxGfgsL2V8DuiPioXdj6mjZcRSpm1 RGtF+Lvzb3/LuH5EOJU4L7e9putHj2rceR60p+3WwoO8Kqt+YzThJ4AB8XT8vR+V+YI5 q9HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=X5DrEHMV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4-v6si6227310pga.340.2018.06.06.12.23.48; Wed, 06 Jun 2018 12:24:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=X5DrEHMV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752682AbeFFSaG (ORCPT + 99 others); Wed, 6 Jun 2018 14:30:06 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:33768 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbeFFSaE (ORCPT ); Wed, 6 Jun 2018 14:30:04 -0400 Received: by mail-wr0-f196.google.com with SMTP id k16-v6so7341213wro.0 for ; Wed, 06 Jun 2018 11:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=Wu3mtFLRMDPIS97v/Ycb2vHXCC2bdAB9VK9cjhkVess=; b=X5DrEHMV+a5HloCyStzYu6dGWWJGCrdKHKV5e4v0gKTp75ff3on5HneVmnOpwE1CnC ryGavzHJDZ2w1qRRrf9ZtMlzpHrBG20PRo/Jl/dEfHp9l6/9xsI4POP079MVWL3i37Wy bFqymBFhEoidf5B+Xb8QPPBUGJq3DO012tLJs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=Wu3mtFLRMDPIS97v/Ycb2vHXCC2bdAB9VK9cjhkVess=; b=lav6xm8JsDWQj7vmG3z0eeIHq2y3Wq3M6lndSs4D7MqcV0IAuzyGZb/z3UdpP5CXEw iF0ZTB1+dfpm6MWSVVUuruE4FydnJT3BmrRwRDr+N9T6NqntqDoxlF+bOMbWxue69Ycq NnceSF9tcWt3qSuO9juc+U5Rg2C/LpvfJyrPGkttDFjbDcQA5tDIH+1ILpWpdC49i7dn Vk9XGEwqETU+N3r+qfDJjX/Dkn/Zyh3hApxdgVnK5PilIS1JkNT+EC+AufdjrkMxAeAj ovqo8Wi4G3mMCkyXE1k4syr3Hih35yeXfKAWjW6TpenKSSXnSUDf/4KnpRNNkgSBroqf vTSA== X-Gm-Message-State: APt69E1yoBWd8pwaL/NEJZcAV9mj1yR1prgQ62UQADkdyRFsmIcNi3FQ 0l3ZPsxxSsTXJv+JWpfnbJ7hVHRc X-Received: by 2002:adf:b3d4:: with SMTP id x20-v6mr3314953wrd.272.1528309803686; Wed, 06 Jun 2018 11:30:03 -0700 (PDT) Received: from veci.piliscsaba.redhat.com (catv-176-63-54-97.catv.broadband.hu. [176.63.54.97]) by smtp.gmail.com with ESMTPSA id h4-v6sm12983411wre.89.2018.06.06.11.30.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 11:30:02 -0700 (PDT) Date: Wed, 6 Jun 2018 20:29:59 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Eric W. Biederman" Subject: [GIT PULL] fuse update for 4.18 Message-ID: <20180606182959.GE23785@veci.piliscsaba.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-4.18 The most interesting part of this update is user namespace support, mostly done by Eric Biederman. This enables safe unprivileged fuse mounts within a user namespace. There are also a couple of fixes for bugs found by syzbot and miscellaneous fixes and cleanups. Thanks, Miklos --- Eric W. Biederman (5): fuse: Remove the buggy retranslation of pids in fuse_dev_do_read fuse: Fail all requests with invalid uids or gids fuse: Support fuse filesystems outside of init_user_ns fuse: Ensure posix acls are translated outside of init_user_ns fuse: Allow fully unprivileged mounts Miklos Szeredi (5): fuse: atomic_o_trunc should truncate pagecache fuse: honor AT_STATX_DONT_SYNC fuse: honor AT_STATX_FORCE_SYNC fuse: add writeback documentation fuse: fix control dir setup and teardown Seth Forshee (1): fuse: Restrict allow_other to the superblock's namespace or a descendant Szymon Lukasz (1): fuse: return -ECONNABORTED on /dev/fuse read after abort Tejun Heo (1): fuse: fix congested state leak on aborted connections Tetsuo Handa (1): fuse: don't keep dead fuse_conn at fuse_fill_super(). --- Documentation/filesystems/fuse-io.txt | 38 ++++++++++++++++++++++++++ fs/fuse/acl.c | 4 +-- fs/fuse/control.c | 15 ++++++++--- fs/fuse/cuse.c | 11 +++++--- fs/fuse/dev.c | 43 +++++++++++++++--------------- fs/fuse/dir.c | 45 ++++++++++++++++++++++--------- fs/fuse/fuse_i.h | 15 +++++++++-- fs/fuse/inode.c | 50 ++++++++++++++++++++++++----------- fs/fuse/xattr.c | 43 ++++++++++++++++++++++++++++++ include/uapi/linux/fuse.h | 7 ++++- kernel/user_namespace.c | 1 + 11 files changed, 209 insertions(+), 63 deletions(-) create mode 100644 Documentation/filesystems/fuse-io.txt