Message ID | 20230223-nolibc-stackprotector-v2-3-4c938e098d67@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1309305wrt; Mon, 20 Mar 2023 09:25:43 -0700 (PDT) X-Google-Smtp-Source: AK7set8E0CjWMX4BAV3kIn820GCyCEzhULHfvaO3q91MK4MmwUH8TbdSDYsm09JBHv6ey3sjQUcx X-Received: by 2002:a17:902:c792:b0:1a0:437c:4e82 with SMTP id w18-20020a170902c79200b001a0437c4e82mr14522028pla.13.1679329543141; Mon, 20 Mar 2023 09:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679329543; cv=none; d=google.com; s=arc-20160816; b=BYmDj8g+oJfgYg0evbAZhxALl0IoBsY9UyA3ofLHxmHvKze6+IAm/mwM64WWPzp4YZ HKKNYkE3aJQ/UcabiUoI/fsx6o/XyoG0DFtrQ+VU+qEuB+K+HcHhhlEQDHhHkDNwebqv u3vV+kKlONwgZ50MRBeqFpNzBwQgbSG2S5lIa6VyStGX4c1ZHQ8Px3cpXhrllZIkiuny Vr/U2p2hKsCktcK/zlubLqPxR26T2n9KBpuI9b1Jew2/Xepj6O1pMcnmxHr1QmU6HMlS 7A8uSZTih4MQww0gQLwRZz5Aq5KtmzotZNxw2PR3hvgZMAUvxCmZ/2M1AuLugaiAPRWL rctw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:dkim-signature :from; bh=gY5rk8/oTzIy5M7318aabjTygTRT/mBlsxh7+DqGfoY=; b=o64MPjIFrJEZhfhgxuovTJ7hL8eOhACaI/HHhP+iq6YgfhOBQtpDhjoJ3uo0qhnmuL A4CqFVn7bUeXm2zkI2NqC4NWo5EzVEZQYnaPUCehHxJKx9U1e3ZQiPIjofVBH042ylcQ KXekr/YJDk0hWcGCTDlNZBvWjlCzpfTsvjHMOS4EVrinVYL5YUUXYCuKG8pYC0zCRFuQ q3SOgtDlEvDqL/z81s5IaLqej/YCEw1kgYzNjZs9zq8gL5D/tu0gicBeG6wDny0BWYpS Aw+Y0P2hlwFGRVT0slnJVjjt1O4cUKH51uhs9rLu+eujQhbQQakipgnEJMxPDYQ3bFor uSVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="eFkBuK/S"; 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 c9-20020a170903234900b001a1d5b745e3si2606613plh.557.2023.03.20.09.25.27; Mon, 20 Mar 2023 09:25:43 -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; dkim=pass header.i=@weissschuh.net header.s=mail header.b="eFkBuK/S"; 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 S232199AbjCTPvK (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Mon, 20 Mar 2023 11:51:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233317AbjCTPtq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 11:49:46 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FDC21715A; Mon, 20 Mar 2023 08:41:22 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1679326880; bh=yB2bNNpPwty3egJ8yVVXOGLcmpOFHoeuVC5kDwG8ohI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=eFkBuK/S4F2SEkh7vacz64gEtABXZiqYJQTWItjyffou0X6moh2Edq/OQSwtgh4Ri d7v6N98AKifzaxjV9Fr10n8y8O3SkKDbLazTDZXNVdCwrj3KIqQPJOIXBxaECQYdTd IlfnIdqnMdNAXCk/czAfGHc9X2Up6qhFDIac8HSk= Date: Mon, 20 Mar 2023 15:41:03 +0000 Subject: [PATCH v2 3/8] tools/nolibc: tests: constify test_names MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230223-nolibc-stackprotector-v2-3-4c938e098d67@weissschuh.net> References: <20230223-nolibc-stackprotector-v2-0-4c938e098d67@weissschuh.net> In-Reply-To: <20230223-nolibc-stackprotector-v2-0-4c938e098d67@weissschuh.net> To: Willy Tarreau <w@1wt.eu>, Shuah Khan <shuah@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1679326878; l=802; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=yB2bNNpPwty3egJ8yVVXOGLcmpOFHoeuVC5kDwG8ohI=; b=1xaQrroQTlcIJhL2JEaH2lGu9cjtjGYX88x03R//qu/u9/ZsqxCO6nP6wkI1lnlELbadj7STf ePm1XzGV+r9BZjLWRL9p+8/ttwuNEIy/bRrWfg6VxlV1GxLFo4mHd6B X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760904654805769540?= X-GMAIL-MSGID: =?utf-8?q?1760904654805769540?= |
Series |
tools/nolibc: add support for stack protector
|
|
Commit Message
Thomas Weißschuh
March 20, 2023, 3:41 p.m. UTC
Nothing ever modifies this structure.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
tools/testing/selftests/nolibc/nolibc-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 6a7c13f0cd61..fb2d4872fac9 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -717,7 +717,7 @@ int prepare(void) } /* This is the definition of known test names, with their functions */ -static struct test test_names[] = { +static const struct test test_names[] = { /* add new tests here */ { .name = "syscall", .func = run_syscall }, { .name = "stdlib", .func = run_stdlib },