Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1645983ybg; Thu, 4 Jun 2020 15:28:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNaV8LXjJEgq451e3pckZWIzTNoDexSv/sIrtqT1vt2LkkkchAIxeu3JLSAD9zH88wf02V X-Received: by 2002:a17:906:b7c8:: with SMTP id fy8mr5733139ejb.85.1591309702852; Thu, 04 Jun 2020 15:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591309702; cv=none; d=google.com; s=arc-20160816; b=1AqrXQA4Gmnv3i/8MYxxndwhrrNGZbOXO1XPeHSlxpa6OdyCxHPP9C0Zl3pmBAvRwZ 1xxDQkbjnJyI+XcbuUcrtX33cdAkrpzt5PTGeRGSTmMUlFqThpPrs+Jg+kvSqF/vWojH vsnm5e+ihUl40s5NKmDBw//8XRap8Dpt4gjKBtN7zhyFDcMKTteA5J+ifdmudbRhb3mH Q1EMNAHxBKljY1ASQn05pHD6xdlEnM6+sk1jEkh9zGXdhyW9hAChdAR0cjfaSt8nBcBi v+slx4ziPlzFvG5xTEyYFqPHqZ9VhyvFTL6BYyUr/l7x2xudA2MESrKDeRe0eih9vuIb /xOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8+zGJiY/6zhpNITOlXY0I6XzuJb+8aTliokZNQVjFFA=; b=WWDeXwiKDTT9KYKhXWHHe8NOELChj2G/+UoN1dFtQCDOmJaLC9/Ru6Jm6SX4CL4kho oF0LoDoFfZEHFltQoIVH+cmR8LvW0d19WXkQOO5QMzTWYu1LAINCxcmkwBHclnniJ5W/ SbDxhzh1gtGb46ErKvJNfmLa8GCWhK/004TNZhztFfxHETXmLgmoTtIumjkPUxATdBgK Vw3I3NF/jY7CSXO6WPs2YsqpnEKYdWoaexuSa1LgzkqfAnyNSc3A9mj0pV5irdJoCQJs p70EU7xLTCAaLWEhDVtdVjaqKcjB6hEE7P/30P+b/LyRPTHRa+RuvQq/AD6jPcy4M7pc CJew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id l12si2015186ejn.435.2020.06.04.15.27.59; Thu, 04 Jun 2020 15:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729715AbgFDUEi (ORCPT + 99 others); Thu, 4 Jun 2020 16:04:38 -0400 Received: from raptor.unsafe.ru ([5.9.43.93]:54048 "EHLO raptor.unsafe.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729632AbgFDUEf (ORCPT ); Thu, 4 Jun 2020 16:04:35 -0400 Received: from comp-core-i7-2640m-0182e6.redhat.com (ip-89-102-33-211.net.upcbroadband.cz [89.102.33.211]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by raptor.unsafe.ru (Postfix) with ESMTPSA id CB15620A01; Thu, 4 Jun 2020 20:04:33 +0000 (UTC) From: Alexey Gladkov To: LKML Cc: Linux FS Devel , Alexander Viro , Alexey Dobriyan , Alexey Gladkov , Andy Lutomirski , "Eric W . Biederman" , Kees Cook Subject: [PATCH 2/2] docs: proc: update documentation about subset= parameter Date: Thu, 4 Jun 2020 22:04:13 +0200 Message-Id: <20200604200413.587896-3-gladkov.alexey@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200604200413.587896-1-gladkov.alexey@gmail.com> References: <20200604200413.587896-1-gladkov.alexey@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.1 (raptor.unsafe.ru [5.9.43.93]); Thu, 04 Jun 2020 20:04:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alexey Gladkov --- Documentation/filesystems/proc.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index e2ecf248feb5..68acd335cd8c 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -2177,6 +2177,12 @@ information about processes information, just add identd to this group. subset=pid hides all top level files and directories in the procfs that are not related to tasks. +subset=NAME[:NAME...] allows to give access to the listed file names or +directories located at the top level of procfs. These files and directories +do not have to be present at the time of mounting procfs. They may appear later +when the kernel module that creates them loads. The list of names can be +combined with subst=pid. + 5 Filesystem behavior ---------------------------- -- 2.25.4