Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp621494imm; Fri, 10 Aug 2018 18:48:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwPkiqpoOvz7zIXGO6PkeY7wS+zlWqH8szecqNLhyLx/lz3Je3fui+ss3w1Uo4PrQf+DM6r X-Received: by 2002:a63:7a0a:: with SMTP id v10-v6mr8442717pgc.444.1533952124368; Fri, 10 Aug 2018 18:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533952124; cv=none; d=google.com; s=arc-20160816; b=TYnfcmDtWTnNmv0nwlNBFVo2kaEpozz5axvGVOP1kovm5HJjdykmNqR3um3kev0aL+ vG3CK300tYp9ZGCX5BfsWAJxcTorOBcQAn1475DhIlv1/A8YwNOvkBxI/B0crF+qGJHT SBdqWE1s5NX5m3A0IvFhv1hiLh0xs+8xYaFKrMFyBrWQAJ/nwv1xQoPTJyuhQPTXoYFm WoVUPipRZ0Ejd2T+r9BhnaccowB8lLEvee8iH+4EumDJ9tFDLkybcZxBNYWzlRnUgFOX WUO/T+nQmWPtEVGd0+KtzxcLQlyIF7c9W0CgcxD+8VAEVAtIkp4yQXrlZMOCWo6oUIgd MmMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from :arc-authentication-results; bh=0BvPDqt5gD/ObysK7ms0Y6OoCdpDyRHAqJOQcJ8SHJI=; b=xWd93MBK/H/Oxja3DKCGU4yxXCqqBTchLmzPsJbn2FD5hnahHOlwe8tcbG2iexEALG lgLdBcXtjLvk3SuaVPgISCNnrfiyB6n9wNmG3Eeu648d9i+Wl3w+Ifc+sNfxIrCA9Yll AHhl5gD1TPaAmcYvgt0S1/OzvuYXl7aY5onyBug8Ip6eoiHqWfdB3SkLxyyClMPn506I XlxrJXFi7cupdm5l+KMYU8jEv8zK+rXOZqimtCbx/h+UKVQ5Rt49pjxYB5qNiXb0GmAM EfuOjEhb8JhsDY1SJLUnWY1txyFGC1e7TgGwntxeyO5VayU9aJ8cPv2cCAAjASzNrNkf UgSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 g26-v6si11637854pgl.49.2018.08.10.18.48.16; Fri, 10 Aug 2018 18:48:44 -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; 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 S1726512AbeHKEEp (ORCPT + 99 others); Sat, 11 Aug 2018 00:04:45 -0400 Received: from out01.mta.xmission.com ([166.70.13.231]:59717 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725199AbeHKEEp (ORCPT ); Sat, 11 Aug 2018 00:04:45 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1foIlS-0004RL-5c; Fri, 10 Aug 2018 19:32:22 -0600 Received: from [97.119.167.31] (helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1foIlQ-00025T-Mm; Fri, 10 Aug 2018 19:32:21 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: "Darrick J. Wong" Cc: "Theodore Y. Ts'o" , Andy Lutomirski , David Howells , Al Viro , John Johansen , Tejun Heo , SELinux-NSA , Paul Moore , Li Zefan , Linux API , apparmor@lists.ubuntu.com, Casey Schaufler , Fenghua Yu , Greg Kroah-Hartman , Eric Biggers , LSM List , Tetsuo Handa , Johannes Weiner , Stephen Smalley , tomoyo-dev-en@lists.sourceforge.jp, "open list\:CONTROL GROUP \(CGROUP\)" , Linus Torvalds , Linux FS Devel , LKML , Miklos Szeredi References: <20180810153902.GH21087@thunk.org> <87d0uqpba5.fsf@xmission.com> <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> <22361.1533913891@warthog.procyon.org.uk> <28045.1533916438@warthog.procyon.org.uk> <20180810161400.GA627@thunk.org> <20180810204639.GI627@thunk.org> <20180810221234.GC4211@magnolia> <20180810235447.GK627@thunk.org> <20180811003852.GA10463@magnolia> Date: Fri, 10 Aug 2018 20:32:04 -0500 In-Reply-To: <20180811003852.GA10463@magnolia> (Darrick J. Wong's message of "Fri, 10 Aug 2018 17:38:52 -0700") Message-ID: <87zhxtg02z.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1foIlQ-00025T-Mm;;;mid=<87zhxtg02z.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.167.31;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19wpjpXAcK0hVjLBP3Ytr6c51gH4N7KUKo= X-SA-Exim-Connect-IP: 97.119.167.31 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa07.xmission.com X-Spam-Level: X-Spam-Status: No, score=-0.2 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4990] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;"Darrick J. Wong" X-Spam-Relay-Country: X-Spam-Timing: total 200 ms - load_scoreonly_sql: 0.05 (0.0%), signal_user_changed: 3.0 (1.5%), b_tie_ro: 2.1 (1.1%), parse: 1.06 (0.5%), extract_message_metadata: 12 (5.9%), get_uri_detail_list: 1.18 (0.6%), tests_pri_-1000: 7 (3.3%), tests_pri_-950: 1.12 (0.6%), tests_pri_-900: 1.02 (0.5%), tests_pri_-400: 24 (11.9%), check_bayes: 23 (11.3%), b_tokenize: 8 (3.8%), b_tok_get_all: 7 (3.5%), b_comp_prob: 2.4 (1.2%), b_tok_touch_all: 3.5 (1.8%), b_finish: 0.66 (0.3%), tests_pri_0: 140 (70.0%), check_dkim_signature: 0.44 (0.2%), check_dkim_adsp: 2.5 (1.3%), tests_pri_500: 9 (4.3%), rewrite_mail: 0.00 (0.0%) Subject: Re: BUG: Mount ignores mount options X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Darrick J. Wong" writes: > On Fri, Aug 10, 2018 at 07:54:47PM -0400, Theodore Y. Ts'o wrote: >> The reason why I bring this up here is that in container land, there >> are those who believe that "container root" should be able to mount >> file systems, and if the "container root" isn't trusted, the fact that >> the "container root" can crash the host kernel, or worse, corrupt the >> host kernel and break out of the container as a result, that would be >> sad. >> >> I was pretty sure most file system developers are on the same page >> that allowing untrusted "container roots" the ability to mount >> arbitrary block device file systems is insanity. > > Agreed. For me I am happy with fuse. That is sufficient to cover any container use cases people have. If anyone comes bugging you for more I will be happy to push back. The only thing that containers have to do with this is I wind up touching a lot of the kernel/user boundary so I get to see a lot of it and sometimes see weird things. Eric