Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1693533ybb; Thu, 9 Apr 2020 07:18:54 -0700 (PDT) X-Google-Smtp-Source: APiQypLIyfFRvLBT2Tu2WESSYZsLw8j1v5ATYJ6yd2pTE5uF34pD+v1IGVLD2kdN3ALWVBiRhvFO X-Received: by 2002:a37:2788:: with SMTP id n130mr10755qkn.57.1586441934640; Thu, 09 Apr 2020 07:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586441934; cv=none; d=google.com; s=arc-20160816; b=Q7B9Iod2ghqIY0kVmM5oUtMVxwGYuXj5fUTMFK7WcMBuXdvx39M5pbj5voGt96yVPd eAZEeJNOa8Z7zlyK7NcjKgdNuCNG3Le/wq4vZ1lmHUiK5YaOfF3M7hsNFiYUFkvcY2jg +RAN+U7eynXE/euzU00SJc22LdEO6tunvvE7VZH2kQD+UPJKogtadXrw51htvAJmWCJT dslZg1PECL4N8NWKddxn5EkYMCgIUdxI4enQcw0jaopNO2BI4hEdbquEimFLNmhQtjYf Ml0Ke+ZK0jwqv9Pnk8Sgev4hO0Y1DMMGpc5jIaGSwea7CfI84r9CQkplHsPllV1cXfS6 KmKQ== 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; bh=7BCapq+5Td9kMY0UWE9YiGNbEWuVHI3lB8yQgG67YsM=; b=MYCE+MiXAlF86RnanvTlDm3EMFlOTefU19OjWRmkxmOQGi+67zRZSVvHbUHxMMXuYb RvULBXukK8ncp0T+cDlb1jMauGTbcsbfrP9Q0BBhVkmVBwFGFAAum3xbvLPMot1TekSy JBK+kL874lOLciEzOhHt2WAjTDXsx66S4ghPXVVF7uYR3f2JYKjnQIm5JeoY2+SMTJSq 3c1VbLzhrGbgCXtSss9jYcW+LK1A4J0gxi5SHHDIboz/U8O/FAwIjOO2yVzMZlcSMhue Nw4xhbITXNyHd85z6bR5nlqeL8QtdRbsrozkJT3qlH6UyRZE3QGWpbdsuuaChdyvGn0u ZQdw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k194si2588034qke.63.2020.04.09.07.18.36; Thu, 09 Apr 2020 07:18:54 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbgDIOQv (ORCPT + 99 others); Thu, 9 Apr 2020 10:16:51 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:45682 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726977AbgDIOQu (ORCPT ); Thu, 9 Apr 2020 10:16:50 -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.90_1) (envelope-from ) id 1jMXz8-0002BY-0C; Thu, 09 Apr 2020 08:16:50 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jMXz6-0008S7-HG; Thu, 09 Apr 2020 08:16:49 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Alexey Gladkov Cc: LKML , Kernel Hardening , Linux API , Linux FS Devel , Linux Security Module , Akinobu Mita , Alexander Viro , Alexey Dobriyan , Andrew Morton , Andy Lutomirski , Daniel Micay , Djalal Harouni , "Dmitry V . Levin" , Greg Kroah-Hartman , Ingo Molnar , "J . Bruce Fields" , Jeff Layton , Jonathan Corbet , Kees Cook , Linus Torvalds , Oleg Nesterov , David Howells References: <20200409123752.1070597-1-gladkov.alexey@gmail.com> <87y2r4vmpo.fsf@x220.int.ebiederm.org> <20200409134236.mksvudaucp3jawf6@comp-core-i7-2640m-0182e6> Date: Thu, 09 Apr 2020 09:13:55 -0500 In-Reply-To: <20200409134236.mksvudaucp3jawf6@comp-core-i7-2640m-0182e6> (Alexey Gladkov's message of "Thu, 9 Apr 2020 15:42:36 +0200") Message-ID: <87r1wwvja4.fsf@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1jMXz6-0008S7-HG;;;mid=<87r1wwvja4.fsf@x220.int.ebiederm.org>;;;hst=in01.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX194Q5MsMFzZbdx4uJwnCGkLXvKZWMd2p1E= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa07.xmission.com X-Spam-Level: X-Spam-Status: No, score=-0.3 required=8.0 tests=ALL_TRUSTED,BAYES_40, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG,XMSubLong autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% * [score: 0.3993] * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -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: ;Alexey Gladkov X-Spam-Relay-Country: X-Spam-Timing: total 575 ms - load_scoreonly_sql: 0.05 (0.0%), signal_user_changed: 10 (1.8%), b_tie_ro: 9 (1.5%), parse: 1.05 (0.2%), extract_message_metadata: 4.3 (0.7%), get_uri_detail_list: 1.94 (0.3%), tests_pri_-1000: 5 (0.9%), tests_pri_-950: 1.55 (0.3%), tests_pri_-900: 1.61 (0.3%), tests_pri_-90: 264 (45.9%), check_bayes: 262 (45.6%), b_tokenize: 9 (1.6%), b_tok_get_all: 9 (1.5%), b_comp_prob: 2.9 (0.5%), b_tok_touch_all: 234 (40.7%), b_finish: 3.9 (0.7%), tests_pri_0: 269 (46.8%), check_dkim_signature: 0.51 (0.1%), check_dkim_adsp: 2.2 (0.4%), poll_dns_idle: 0.55 (0.1%), tests_pri_10: 2.2 (0.4%), tests_pri_500: 7 (1.2%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH RESEND v11 0/8] proc: modernize proc to support multiple private instances 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 Alexey Gladkov writes: > On Thu, Apr 09, 2020 at 07:59:47AM -0500, Eric W. Biederman wrote: >> Alexey Gladkov writes: >> >> > Preface: >> > -------- >> > This is patchset v11 to modernize procfs and make it able to support multiple >> > private instances per the same pid namespace. >> > >> > This patchset can be applied on top of: >> > >> > git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git >> > 4b871ce26ab2 >> >> >> >> Why the resend? >> >> Nothing happens until the merge window closes with the release of -rc1 >> (almost certainly on this coming Sunday). I goofed and did not act on >> this faster, and so it is my fault this did not make it into linux-next >> before the merge window. But I am not going to rush this forward. >> >> >> >> You also ignored my review and have not even descibed why it is safe >> to change the type of a filesystem parameter. >> >> - fsparam_u32("hidepid", Opt_hidepid), >> + fsparam_string("hidepid", Opt_hidepid), >> >> >> Especially in light of people using fsconfig(fd, FSCONFIG_SET_...); >> >> All I need is someone to point out that fsparam_u32 does not use >> FSCONFIG_SET_BINARY, but FSCONFIG_SET_STRING. > > I decided to resend again because I was not sure that the previous > patchset was not lost. I also wanted to ask David to review and explain > about the new API. I in any case did not ignore your question about > changing the type of the parameter. > > I guess I was wrong when I sent the whole patchset again. Sorry. > >> My apologies for being grumpy but this feels like you are asking me to >> go faster when it is totally inappropriate to do so, while busily >> ignoring my feedback. >> >> I think this should happen. But I can't do anything until after -rc1. > > I think you misunderstood me. I didn't mean to rush you. It looks like. My apologies for the misunderstanding then. Eric