Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6153287ybv; Wed, 12 Feb 2020 07:01:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzHhWl4salvjv1G9PnOYp2rwKOqPUtbT+eOOgi53y/f/hLgZsVp+lUMf8jg4Lb0TquYe4oN X-Received: by 2002:aca:ebcb:: with SMTP id j194mr6581404oih.154.1581519665607; Wed, 12 Feb 2020 07:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581519665; cv=none; d=google.com; s=arc-20160816; b=BPCfkbP+x8BGNEjvkwpzlVcfhQM1RKrmtttKHjGeyjRD11WTeFye1Xt2uO+Pn7kK7Q NWxv5BuIJ+ggGNz/nOi4OjB4+rNFX4JQHcFam+/uc9osPp1hv17Zt488PqgnwaBq4eU7 jF+Ju426B6wmKQBm2rqd1wYVcpsst3VI01uGkl6Qth+2w8MEiMcYX+wmhT4rtAiwme6S dnScBmjq3RHVV89hkHfE4a1ID7wzHqfJZHHQhQbhXVY3tT7JxwH3fuq5azfvglzQjBjw rCQZwqJk0JNnE1Jlm+S6Yz9vu/+X8uJQhLfDCVrj5C9RD3gaQm55zxZCfHzulZOJupuO bejg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=tScIdLWDHOeFLXFYj8BmBwgtCv120Q+pbcryY55NTH0=; b=MYuD+Jc8MCCfNcCnPFuVgsRUkIeI6fLqDIrq7+9Uh52exIka/it1wmrHThilvSckJg /DX4GNReM1/+VUAeIHaZaL+g7GctWX7yiGde5FVVSpcjwio1ucgEahTN3Alv93CiSCgc irraObKpz28L9lreHHrlllsTVIzGv2Avlx83H0R+Fg1zNQU7NvWEdTfHHNQJ4Dt1Nx+o XiOU4SLIoXjMMGXqPLH/O6tsoNKKmMuUkW8Z0wBLAE1p/o+f6OHeA1R3n2l83zCdpef7 qQgjZ/mAkqZgwdQKsBaujife3rkIX6a0Qo08jht4nO78OFT/8aw+oN3Bg7bY2tK0WHaV Ngkw== 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k125si3480211oib.212.2020.02.12.07.00.52; Wed, 12 Feb 2020 07:01:05 -0800 (PST) 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728508AbgBLPAn (ORCPT + 99 others); Wed, 12 Feb 2020 10:00:43 -0500 Received: from monster.unsafe.ru ([5.9.28.80]:59254 "EHLO mail.unsafe.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbgBLPAn (ORCPT ); Wed, 12 Feb 2020 10:00:43 -0500 Received: from comp-core-i7-2640m-0182e6 (nat-pool-brq-t.redhat.com [213.175.37.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.unsafe.ru (Postfix) with ESMTPSA id 9F5EFC61AB0; Wed, 12 Feb 2020 15:00:39 +0000 (UTC) Date: Wed, 12 Feb 2020 16:00:38 +0100 From: Alexey Gladkov To: Andy Lutomirski Cc: LKML , Kernel Hardening , Linux API , Linux FS Devel , Linux Security Module , Akinobu Mita , Alexander Viro , Alexey Dobriyan , Andrew Morton , Daniel Micay , Djalal Harouni , "Dmitry V . Levin" , "Eric W . Biederman" , Greg Kroah-Hartman , Ingo Molnar , "J . Bruce Fields" , Jeff Layton , Jonathan Corbet , Kees Cook , Linus Torvalds , Oleg Nesterov , Solar Designer Subject: Re: [PATCH v8 03/11] proc: move /proc/{self|thread-self} dentries to proc_fs_info Message-ID: <20200212150038.rr364l5kjcgbmr3g@comp-core-i7-2640m-0182e6> Mail-Followup-To: Andy Lutomirski , LKML , Kernel Hardening , Linux API , Linux FS Devel , Linux Security Module , Akinobu Mita , Alexander Viro , Alexey Dobriyan , Andrew Morton , Daniel Micay , Djalal Harouni , "Dmitry V . Levin" , "Eric W . Biederman" , Greg Kroah-Hartman , Ingo Molnar , "J . Bruce Fields" , Jeff Layton , Jonathan Corbet , Kees Cook , Linus Torvalds , Oleg Nesterov , Solar Designer References: <20200210150519.538333-1-gladkov.alexey@gmail.com> <20200210150519.538333-4-gladkov.alexey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 10, 2020 at 10:23:23AM -0800, Andy Lutomirski wrote: > On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov wrote: > > > > This is a preparation patch that moves /proc/{self|thread-self} dentries > > to be stored inside procfs fs_info struct instead of making them per pid > > namespace. Since we want to support multiple procfs instances we need to > > make sure that these dentries are also per-superblock instead of > > per-pidns, > > The changelog makes perfect sense so far... > > > unmounting a private procfs won't clash with other procfs > > mounts. > > This doesn't parse as part of the previous sentence. I'm also not > convinced that this really involves unmounting per se. Maybe just > delete these words. Sure. I will remove this part. -- Rgrds, legion