Re: [PATCH v2] debugfs: Add access restriction option

From: Randy Dunlap
Date: Thu Jun 11 2020 - 11:26:31 EST


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