Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp799693rdb; Fri, 6 Oct 2023 22:50:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqTWm6ijoxvwmTJ0/lEKfXA3h3A7kqLQ96m+ZsezEr0oqB76E8YJX8yY5l+D+SPMgkhJSV X-Received: by 2002:a17:902:8544:b0:1b9:e972:134d with SMTP id d4-20020a170902854400b001b9e972134dmr8442152plo.3.1696657840581; Fri, 06 Oct 2023 22:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696657840; cv=none; d=google.com; s=arc-20160816; b=u+41/6UKQbC8MVFs3FOS+FtOIPyRi/7hlmjl74rPfEcEjHXJOianS9wlFYDlg36XVE 4Jx1OVzF+2HDr4HGdELFFJ8Wq260/OeZz1HZFqReSp3HBLp0H87RSVrsP/c35jXuJDLc vJVjgjaCSyRdSHLmiYkRtSyERy1NplEOx5m/RUdWVfnZeiz9IXETgP3JUUGrtU1c+6Vh h97FsapEpClXW+8E50SERj9Gu0JRLDXRM0VkwAiyjXXgeQKnyWqrHnwcm4soshS1sEMC bW2BkFVEgPhdpdV40s7xZdb6C4PVlGP+wNqRgg9ozownneWEWS18EJCSuS08PE4mRzjM tC8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=sdYAg2J+RsC+DIR06hMvfL4cy29zDt0Rwf0vIXXJT5g=; fh=IBJG59Jv9HKBJN3rnDtZisGBieFlim3EDq5WJD2EHRw=; b=YhIw3KyqN6hLhR0byRdZcsnvMC9hxGpG3dXm6yXQ4jH40tSE2ryVte7ZP0/O13GifV I1xIiTagH+cMaKIf+hsSdFKeECUkTYF/MtdyBqpIYLO1T/XHrUYViWiQMH03b39Jv1g+ 7ew8XyCZNwKmP8PMdeJsm1IYabi9t2ky9OH1Q2kB+iOGg42VB7wnzfhtwaw5c+UTE68N 1Fnx44npDcuyh+JhnBWCMDKZPM1nMvUYAn77wT5pFLh31CVYCvX+vPH15b4Lej+e1n4a W1jqNUQf9cA2U2tmJAEvNhWnr1C6zTboI6/VPzuk2nkcVT2ln7QxpeOO8+Hlj+nqXI8K bZUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e7-20020a170902cf4700b001c78345f376si5035855plg.241.2023.10.06.22.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 22:50:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 64D4C82D1C19; Fri, 6 Oct 2023 22:50:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343541AbjJGFuW (ORCPT + 99 others); Sat, 7 Oct 2023 01:50:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343492AbjJGFuW (ORCPT ); Sat, 7 Oct 2023 01:50:22 -0400 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 444DEBB; Fri, 6 Oct 2023 22:50:20 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R281e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VtWs9YV_1696657815; Received: from 30.97.48.174(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VtWs9YV_1696657815) by smtp.aliyun-inc.com; Sat, 07 Oct 2023 13:50:17 +0800 Message-ID: Date: Sat, 7 Oct 2023 13:50:14 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH 08/29] erofs: move erofs_xattr_handlers and xattr_handler_map to .rodata To: Wedson Almeida Filho , Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Wedson Almeida Filho , Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , linux-erofs@lists.ozlabs.org References: <20230930050033.41174-1-wedsonaf@gmail.com> <20230930050033.41174-9-wedsonaf@gmail.com> From: Gao Xiang In-Reply-To: <20230930050033.41174-9-wedsonaf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 06 Oct 2023 22:50:38 -0700 (PDT) On 2023/9/30 13:00, Wedson Almeida Filho wrote: > From: Wedson Almeida Filho > > This makes it harder for accidental or malicious changes to > erofs_xattr_handlers or xattr_handler_map at runtime. > > Cc: Gao Xiang > Cc: Chao Yu > Cc: Yue Hu > Cc: Jeffle Xu > Cc: linux-erofs@lists.ozlabs.org > Signed-off-by: Wedson Almeida Filho Acked-by: Gao Xiang Thanks, Gao Xiang