Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2940127imm; Thu, 24 May 2018 19:30:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp/uwaLWzSCHpw+yFar63ESD9s1wbdZZRlTGO4A3usxFkIuD9L65C4u+zfxMaPGpajDsflC X-Received: by 2002:a65:61a6:: with SMTP id i6-v6mr464482pgv.88.1527215438696; Thu, 24 May 2018 19:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215438; cv=none; d=google.com; s=arc-20160816; b=G+ZnxUOqqO6GTgtXqN93W4OcCW7g/yZTeNOteHbhTPIFe3xl6tsdFKjEQotjmQheg6 R7wYLjBZVsky2M7MBKLUmUBIw+JAFlhYP7W+o6rCTp/Y7hddu3ZmrCaFuL8YwJ+epOyi Z40EU2P30Mu1ct9WiBZFVfgFvP445jTcBaX9B9MPvICEIK+wft/eCPWLMVN3fhBMjd4M Y64F7157P1/X9CarU41+u9sqx8rT5TtV1Nv39usj7VrJjd5ZLBurHDm7N3WCQbAU0nto e42pp3AyVwS9vlgsz8d+mraptiN2Z7QQJrJe8O8wRVXrNTTQWAJ+Huthe94Pkc2A//EU DTvA== 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=tHhDIY6s4buUZAopS9sjm2em1xrapLLjqqj7cSi+jdw=; b=Juy5zcBYyow3LBnDw8IkQK2PBL9r4erCbyHViqM4Pi1lNwFSBlTpelvtT3FjrFwv6G w+mMzOQT2EXFwPYocYyha4W5UnRPS/Uiox4l8sD8+8NPpHeqqLRxV9DgIW2IvsazYIiV LPzR791Gu0DJzxbLg7F5omtQVV3A0nemoNz5t0KeAzWoosqktes/3tCPC1+vm3d5BHBl /v6MIfoycHpEuNJbP0NLOTQSH7hOwMk9IawkYDJGBsgqIoS6ksTQiU12VqNmSKy/ii+Q M30zkoXy773N3eKpw03uYZAIplm2D2Q8R9WWKYtj1TjNiYNUpQg7T9T25KS1NHwsPOEb VKMw== 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 c5-v6si22696697pfm.119.2018.05.24.19.30.24; Thu, 24 May 2018 19:30:38 -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 S1033904AbeEXQpf (ORCPT + 99 others); Thu, 24 May 2018 12:45:35 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:45856 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030888AbeEXQpa (ORCPT ); Thu, 24 May 2018 12:45:30 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fLtMn-00065l-NC; Thu, 24 May 2018 10:45:29 -0600 Received: from [97.119.174.25] (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 1fLtMY-0006v4-7S; Thu, 24 May 2018 10:45:29 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Christian Brauner Cc: Linux Containers , linux-kernel@vger.kernel.org, Seth Forshee , linux-fsdevel@vger.kernel.org References: <87o9h6554f.fsf@xmission.com> <20180523232538.4880-4-ebiederm@xmission.com> <20180524155803.GB19932@mailbox.org> Date: Thu, 24 May 2018 11:45:06 -0500 In-Reply-To: <20180524155803.GB19932@mailbox.org> (Christian Brauner's message of "Thu, 24 May 2018 17:58:03 +0200") Message-ID: <87603d3svh.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=1fLtMY-0006v4-7S;;;mid=<87603d3svh.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.174.25;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+rHbanN0n/ChZkGo1RnKZgYO3qoGMhUWQ= X-SA-Exim-Connect-IP: 97.119.174.25 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=3.5 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TR_Symld_Words,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01, T_TooManySym_02,T_TooManySym_03,XMNoVowels,XMSubLong autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 1.5 TR_Symld_Words too many words that have symbols inside * 0.7 XMSubLong Long Subject * 1.5 XMNoVowels Alpha-numberic number with no vowels * 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.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] * 0.0 T_TooManySym_02 5+ unique symbols in subject * 0.0 T_TooManySym_01 4+ unique symbols in subject * 0.0 T_TooManySym_03 6+ unique symbols in subject X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;Christian Brauner X-Spam-Relay-Country: X-Spam-Timing: total 15032 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 3.0 (0.0%), b_tie_ro: 2.00 (0.0%), parse: 0.72 (0.0%), extract_message_metadata: 17 (0.1%), get_uri_detail_list: 1.11 (0.0%), tests_pri_-1000: 2.8 (0.0%), tests_pri_-950: 1.18 (0.0%), tests_pri_-900: 0.98 (0.0%), tests_pri_-400: 17 (0.1%), check_bayes: 16 (0.1%), b_tokenize: 5 (0.0%), b_tok_get_all: 5 (0.0%), b_comp_prob: 1.67 (0.0%), b_tok_touch_all: 2.4 (0.0%), b_finish: 0.57 (0.0%), tests_pri_0: 124 (0.8%), check_dkim_signature: 0.45 (0.0%), check_dkim_adsp: 2.9 (0.0%), tests_pri_500: 14862 (98.9%), poll_dns_idle: 14847 (98.8%), rewrite_mail: 0.00 (0.0%) Subject: Re: [REVIEW][PATCH 4/6] fs: Allow superblock owner to access do_remount_sb() 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 Christian Brauner writes: > On Wed, May 23, 2018 at 06:25:36PM -0500, Eric W. Biederman wrote: >> Superblock level remounts are currently restricted to global >> CAP_SYS_ADMIN, as is the path for changing the root mount to >> read only on umount. Loosen both of these permission checks to >> also allow CAP_SYS_ADMIN in any namespace which is privileged >> towards the userns which originally mounted the filesystem. > > Acked-by: Christian Brauner > >> >> Signed-off-by: Seth Forshee >> Acked-by: "Eric W. Biederman" >> Acked-by: Serge Hallyn > > Note, I just talked to Serge. This should be Acked-by: Serge Hallyn Now you know how long these patches have been sitting waiting to get merged. Eric