Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1518906ybg; Thu, 11 Jun 2020 11:55:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC1K/eu5t9klY9bkR0wstkEz/iGSJxQf/bwKmKPDICUa8PrLfb2FbgcRzjpsQo+YODGtcH X-Received: by 2002:aa7:c254:: with SMTP id y20mr8278070edo.363.1591901746252; Thu, 11 Jun 2020 11:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591901746; cv=none; d=google.com; s=arc-20160816; b=PQotsEV+O0HkOFrpYCc1KQYbFw6EKh77ZaFQF0VM/BELP9ZRW2w5hpk++UHkBwMQZX 7v8/tJmdZDK8L+vh75PdXh7FKm/uPkQcu3EP3CP1+saUFYueikm/bq4Q0LhNHUCEVZ0P TNp1LwAMcz1T2USU82JzDWQHU4xLJXhfBTq+zsRzCsWdghSN42oSoOexo9zeVqUzgRTr rt3NMjf65wbQdBX07VCDrUTHYflbvcVcm9YEdyBm5K+y+k7DrDdz7X4JfRlH8mSYug7I PkhkxRY0+jXY8WjcaWwZ+I5Oo0XLVCeS81Qez4etDV6YjJK6ffjHuQQTTAf/rgI9DH5m mP4A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=XDs14OB/JNhBYdApCavGCHVKsnCM55SNO8niNyOpAvA=; b=YzB1nyu56O3832dpLBoQtMvKMjelymXNSVHSoae7XhU8chThxnbKNwYFJEGVBBRGXz n1NE0px6wSIReG00rEPb05sZETM65K3FvaPZhl5KVxMix3O5YwajpxLeHCC4LyOqfaIT 4UwBtkN0btC+1luzsNPn+yoWJD1Jr691/mKjrE+mTZVYEdiHVvIvxulaYxARlSg4V6xj qG4Ic3qll+WpO35O0rs3KFdrLMaV8DtWFHvdPw6FzBk4MnVhMXS8HIa/axBQy9fA3RFW urmPZxTWttlzLkVJSBMvzBy+/vnueOqG5qiuHipozegWjI7npqy9pbOBGykRFKalYd2M uRuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Zblpzcwe; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si2569180ejc.125.2020.06.11.11.54.58; Thu, 11 Jun 2020 11:55:46 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Zblpzcwe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728484AbgFKP03 (ORCPT + 99 others); Thu, 11 Jun 2020 11:26:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbgFKP03 (ORCPT ); Thu, 11 Jun 2020 11:26:29 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 619EFC08C5C1; Thu, 11 Jun 2020 08:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=XDs14OB/JNhBYdApCavGCHVKsnCM55SNO8niNyOpAvA=; b=ZblpzcweR/XrTv5cLLbJ1tDKo/ xr6xxQN9japafOB7kZZlD6cW9ORszJ8zw37Va5VMQH4eNJnNHmTKOlGs3RgYVghuwaKrotF134oAA aURS7wm48BW18diCGGCEh4arZ4CidehLy7gCcUCNFa3fE+ProMTGGOEBvedIP0/GQdbEPnS6LPIvv dIuKkka7LbAPxfCFkUWYZovp+W1vPiSU08D3Ra3AZEIqj82XSey5UT1mgRDrlu619ktdBIu94vvj9 WyOQL1o7WkXWLvFIqlMoPU2/Jb2XRXF/FYuYDxhy2/plPhBvENlm7kjv18YJqe1mmCzUklaeprEot mrwq0X5g==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjP63-0003Tr-VV; Thu, 11 Jun 2020 15:26:28 +0000 Subject: Re: [PATCH v2] debugfs: Add access restriction option To: Peter Enderborg , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, "Rafael J . Wysocki" , Andrew Morton , Jonathan Corbet , linux-doc@vger.kernel.org References: <20200611152155.2194-1-peter.enderborg@sony.com> From: Randy Dunlap Message-ID: <91856f40-c44f-6600-b933-f994143c6934@infradead.org> Date: Thu, 11 Jun 2020 08:26:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200611152155.2194-1-peter.enderborg@sony.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please fix typos: On 6/11/20 8:21 AM, Peter Enderborg wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 4379c6ac3265..b1c1446aa90d 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -827,6 +827,17 @@ > useful to also enable the page_owner functionality. > on: enable the feature > > + debugfs= [KNL] When CONFIG_DEBUG_FS_RESTRICTED is set, this parameter > + enable what is exposed to userspace. enables > + Format: { on, no_fs, off } > + on: All functions are enabled. > + no_fs: Filesystem is not registered but kernel clients can > + access apis and a crashkernel can be used to read APIs > + it's content. There is noting to mount. its nothing > + off: (default) Filesystem is not registered and clients > + get a -EPERM as result when trying to register files > + or directory’s within debugfs. or directories > + > debugpat [X86] Enable PAT debugging > > decnet.addr= [HW,NET] thanks. -- ~Randy