[RFC PATCH v2 5/5] ubifs: Introduce ACLs mount options

Zhihao Cheng chengzhihao1 at huawei.com
Fri Mar 22 19:55:26 PDT 2024


在 2024/3/22 23:48, Li Zetao 写道:
> Implement the ability to enable or disable the ACLs feature through
> mount options. "-o acl" option means enable and "-o noacl" means disable
> and it is enable by default.
> 
> Signed-off-by: Li Zetao <lizetao1 at huawei.com>
> ---
> v1 -> v2:
>    * Remove redundant assignments to mount.acl.
>    * Added the description of acl mount options in ubifs.rst.
> 
> v1: https://lore.kernel.org/all/20240319161646.2153867-5-lizetao1@huawei.com/
> 
>   Documentation/filesystems/ubifs.rst |  4 +++
>   fs/ubifs/super.c                    | 41 +++++++++++++++++++++++++++++
>   fs/ubifs/ubifs.h                    |  2 ++
>   3 files changed, 47 insertions(+)
> 
> diff --git a/Documentation/filesystems/ubifs.rst b/Documentation/filesystems/ubifs.rst
> index ced2f7679ddb..f9615104d7a3 100644
> --- a/Documentation/filesystems/ubifs.rst
> +++ b/Documentation/filesystems/ubifs.rst
> @@ -105,6 +105,10 @@ auth_key=		specify the key used for authenticating the filesystem.
>   auth_hash_name=		The hash algorithm used for authentication. Used for
>   			both hashing and for creating HMACs. Typical values
>   			include "sha256" or "sha512"
> +noacl			This option disables POSIX Access Control List support. If ACL support
> +			is enabled in the kernel configuration (CONFIG_EXT4_FS_POSIX_ACL), ACL
> +			is enabled by default on mount. See the acl(5) manual page for more
> +			information about acl.
Also add acl description?
Split documentation into a new patch?



More information about the linux-mtd mailing list