Message ID | 1689060720-4628-2-git-send-email-yangtiezhu@loongson.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp312251vqm; Tue, 11 Jul 2023 01:00:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlFnA79OgavGYb5srWgNgzh+OXJHxl8EezvZ+lPJQAuFRlc3Mva94XDw42nOPVt7cEo9MT4o X-Received: by 2002:a17:906:1d0:b0:98e:4c96:6e18 with SMTP id 16-20020a17090601d000b0098e4c966e18mr15695142ejj.5.1689062406683; Tue, 11 Jul 2023 01:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689062406; cv=none; d=google.com; s=arc-20160816; b=RgeyfADvrQ9Ohvg7psGCOhRw+FX2qGCby/qoaAupfSi6vJdFsVKaz0O+ZWfXNQ2VFj zIOxHW5OKU8MFAyM2ilsCu4gC0+eCObYcpb8KEbUxHPTdsKInXhu5uJLC52JuuuPw1EL Jgv6zYwdsYpkrVL0Y1BQqrsPN7aLSf2TBX6uW38XrDTanchyhubnsHu5I00vwrVfXVqa 6PZreISRiVNz/oBuQKgKPqW/teBa2LLLfJnx/zuq1yD5kGtgNlL5AnPtc5OdrGi00U8g xVS40xZnEiJc11QWwOORmsuj92/Yy0ctNI6ELPCEV+OKfQp5622kkGyaKtVtTSTlShXG cGxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=b/ILjhlu5dbUwYHNJFnFE6Tyv1mFZyiqJO0BWhybm50=; fh=cgw+5LgtlIuNHT4pNBTbQnjeDjoEaAo/bkmT52OiQx8=; b=WF3sIg+/zLq8bINxp3/VySMXNJouS+po91K896C+pFM0p4hlLZu9FAUp+dSFKciVvF UTJDxpJBmkmP4DexFuLflSwPioPwhl+jj9hJKGTMjti0oZgi5RRjFPGvj/OqQ72sfiq5 YTkAA7lZjdOp2Z8ZK/zSn9U0mWV3y8coM56IyD5tQU8F01tT76WRTgNpJZs2PsVdChPX YUuUfaBEl/a3NJOGAWvmVOrcl6m6gxdPBftb0lNIgYje/A1K3ytkCWI57qDGUHGENAnv C6SJcs54lgbZKO9rD2aqu9xSM9YJy8IPxE+piM2HJRWI4+je/eE59jXTcIVdbBWV0NUy 2xAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020a170906694800b009929d998ab4si1515896ejs.738.2023.07.11.00.59.43; Tue, 11 Jul 2023 01:00:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231309AbjGKHcQ (ORCPT <rfc822;gnulinuxfreebsd@gmail.com> + 99 others); Tue, 11 Jul 2023 03:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbjGKHcJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 11 Jul 2023 03:32:09 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 479CF1A2; Tue, 11 Jul 2023 00:32:05 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8AxFvFzBa1kvGsDAA--.9879S3; Tue, 11 Jul 2023 15:32:03 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cx_c5wBa1k_1QoAA--.48833S3; Tue, 11 Jul 2023 15:32:02 +0800 (CST) From: Tiezhu Yang <yangtiezhu@loongson.cn> To: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org, loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH 1/2] Documentation/features: Check ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT Date: Tue, 11 Jul 2023 15:31:59 +0800 Message-Id: <1689060720-4628-2-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1689060720-4628-1-git-send-email-yangtiezhu@loongson.cn> References: <1689060720-4628-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf8Cx_c5wBa1k_1QoAA--.48833S3 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrKw4kWr1kCFyrKr43Jw4fJFc_yoWDKFXEqa y3GFnxWw1kArs29wnrta15CryUJ3y8ur1kW34UZr45ZanFvanxGF9Fy39ru3W5Z3yDur1r ZwsIqryxCr9rXosvyTuYvTs0mTUanT9S1TB71UUUUUJqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb3kYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6F4UJVW0owAaw2AFwI0_Jrv_JF1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0c Ia020Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_ WrylYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwI xGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWU XVWUAwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67 kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUCVW8JwCI42IY 6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0x vEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVj vjDU0xZFpf9x07jz2NtUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771110302405855418 X-GMAIL-MSGID: 1771110302405855418 |
Series |
Update Documentation/features
|
|
Commit Message
Tiezhu Yang
July 11, 2023, 7:31 a.m. UTC
ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT selects ARCH_HAS_ELF_RANDOMIZE, so add ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT as another Kconfig check for ELF-ASLR feature, then the refresh script can be used to handle this case for all archs. Co-developed-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> --- Documentation/features/vm/ELF-ASLR/arch-support.txt | 1 + 1 file changed, 1 insertion(+)
diff --git a/Documentation/features/vm/ELF-ASLR/arch-support.txt b/Documentation/features/vm/ELF-ASLR/arch-support.txt index 15164f3..8d6ded2 100644 --- a/Documentation/features/vm/ELF-ASLR/arch-support.txt +++ b/Documentation/features/vm/ELF-ASLR/arch-support.txt @@ -1,6 +1,7 @@ # # Feature name: ELF-ASLR # Kconfig: ARCH_HAS_ELF_RANDOMIZE +# Kconfig: ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT # description: arch randomizes the stack, heap and binary images of ELF binaries # -----------------------