Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1525235lqp; Fri, 22 Mar 2024 19:55:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+EtdlU75o7WnnzRFdDx6DOIW496ajM2FCCkqB0RHJn6AMVKfOZhb+U3KuLtFQus6PcIkByk3kZ5T47c4sqWrg7HQhjF9cznwM3l/SoA== X-Google-Smtp-Source: AGHT+IHHN+w9WMbraWxCndR6kduSdVr6Khmi88Kkd3o/+g3ALjLpgiWE6sojwlBNNWa+wGPhGdlS X-Received: by 2002:ac2:5bd0:0:b0:513:d3a2:6350 with SMTP id u16-20020ac25bd0000000b00513d3a26350mr628469lfn.66.1711162542697; Fri, 22 Mar 2024 19:55:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711162542; cv=pass; d=google.com; s=arc-20160816; b=Qa6a2Z5dHhjIneld0rhKoUUVXZ0+qE/ZdJvVr9gUKc9J+sHpTeNFuX6y6HxlAlLZnq MvJuY28h0JInPETcSGNHDqhNTFAIA0uJJipuhSBG6v0PD8ASpwOQv13mo+K+Pn4VPUdW C7TAjogFBm1T1TebH/qjNnwXiyA+EFfpLw3fRov1jv8kHSU/0ui7ech/PF3JbkrlsGFM ZE8gaAKIO1dKrVNsdLt/xQv7ePQtK8harZJLNrtd+kXPz7N0fBtbjq8zQ8F6eb2YbOUC E7+gqTjp7MCVIcnPiahIr3v3XgRunzcopqkrtqp1X2TbLLjvqFBbeCmSi5zdMzlE/d2g tOhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:date:message-id:from :references:cc:to:subject; bh=sEdKjadttVd/MfiQeX/eSzcxsve/DcZBgwYjIhKvnNI=; fh=5YJB0T1m4fNiAU+2nlqzKYGhJbdk7UC1F2n9TH1AOTQ=; b=djHkqwCdZII6T/0Qzef0b39pR1wow9X18vni3boqk40/WYhEjWzlL2NVIZ087FGK0i 9Qt6S4B9H29IAmEv5qRIODx82rPMeE5EMbh0e/287queG5m3CW29x3MKyJLI+IFEUssl nEP9G30dxqKGw9c8hzDjS2jBQtjS+FWl3yzQSEiBN6VK59cf+k9CJNGug4O/VcJVbDdq DxsZKIncgFCYoNB50nJEsTq+IvXpaOUOk+O5dwTRXhNvq21ZhPnXG2P7v04YwXsJOVqe YuIDJSRfS02D26nzepq1nfIyYYhw4j7aoO5+y0e6v8oL9CsLQ1x2IKsTp+zInNTUwExO Hc0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-112192-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112192-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k19-20020a170906055300b00a4652723d21si405020eja.1053.2024.03.22.19.55.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 19:55:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112192-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-112192-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112192-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 694C71F22E6E for ; Sat, 23 Mar 2024 02:55:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 170D817F3; Sat, 23 Mar 2024 02:55:35 +0000 (UTC) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F8AA372; Sat, 23 Mar 2024 02:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711162534; cv=none; b=mdChYaJuV9ocdhRp60zGs3LF4mMfFEa7tn27UkCugklcdKw0pj7d4kQcPabF/V1TOjyaBPlcYGUexrFdydkbOYEp46LgdN5kwDMrjSZZTz0eK9UkYcEt7L/ez8fiLkc+uW1r5p5juMYr3qCetZCwuqCvEp9ZVB/NMl/Sst7ZfEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711162534; c=relaxed/simple; bh=FV29HYD57w+vLBsKMe0bPwW2xX/lvZ3FV0v/LpPLoC0=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=jnd+SDuMKknsE3/fWR2GwAPJt7Ri3Q7tFABCyb24/mhtULeRD70oHEu3wt1v65j3x724EmEAYjH8wAOJQ5ID5B5/JkTUgfEU+TowaFPhSC6UFpXosqpnAKBfImtTPqTVnzgpudm4NY7ic0EaVSjcAGVYgwkoNoMB/+NWfgJNNp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4V1kLn1J3hz1vx4F; Sat, 23 Mar 2024 10:54:41 +0800 (CST) Received: from kwepemm600013.china.huawei.com (unknown [7.193.23.68]) by mail.maildlp.com (Postfix) with ESMTPS id 93D79140258; Sat, 23 Mar 2024 10:55:28 +0800 (CST) Received: from [10.174.178.46] (10.174.178.46) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sat, 23 Mar 2024 10:55:27 +0800 Subject: Re: [RFC PATCH v2 5/5] ubifs: Introduce ACLs mount options To: Li Zetao , , , , CC: , , References: <20240322154812.215369-1-lizetao1@huawei.com> <20240322154812.215369-6-lizetao1@huawei.com> From: Zhihao Cheng Message-ID: Date: Sat, 23 Mar 2024 10:55:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240322154812.215369-6-lizetao1@huawei.com> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600013.china.huawei.com (7.193.23.68) ?? 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 > --- > 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?