Message ID | 20230526-nolibc-test-no-dump-v2-0-a66500bf73fc@weissschuh.net |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp302143vqr; Fri, 26 May 2023 01:08:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LuDoX3S4vtGzN1YH8DKeeUSw8jIoUI+8m4mgCFeay5z/v+0imSCIPK97oMczB1uDxKpBu X-Received: by 2002:a05:6a00:194c:b0:63b:64f7:45a0 with SMTP id s12-20020a056a00194c00b0063b64f745a0mr2096211pfk.12.1685088515615; Fri, 26 May 2023 01:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685088515; cv=none; d=google.com; s=arc-20160816; b=WqD9Kfv6NNcvOMUu1yvee6DbBD3WPahJz+NbiDOjFIwKppm1EpPwRnbzTts4ATDiyA btXt64bnmtf/Znt09CFmZLNzR7m+mCJ1tundL3tIXA6zte24xfKwWUW1K1kV/DO7F+AM Kt67vOA9LQSHghIgjbvF2nNi1Qw7cpN4ZnJvfcYykQ6OUhGI027ITmtP4wqICGEheOfK uNrMIFKmA064cZnHRXvDmJtY5ILhYOH/WI1+U85uuvK2qEIyLbcE4F7L4zBq6BjWxsLX KExarfk1p7U8FL5Sw4hvjjOb4bJSp2JQ9z2n5KTznusst1rQmy7C3/hU3IRP0p0Y7ow6 kU3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:dkim-signature:from; bh=ebxYLv5/uH/4Jrk+ec4ish2q7ynYBKFB7iOsbautKpc=; b=nUKJc5E0XFVSKE4tbSw74o1EL5PRLX/BTb8cPP9gB+wjOKtZ8BCb7ODaUD4WlHw/f2 5hc9o1DD///CB7J8QT+ZlBqbZTvdMxq0nG4ZiMqXvOF/2WdG8b57c7kP7uOmw/kCkEKS pDczSIbY8KG5jz1TnjIHh3c+2ZgSDGJwoX5a5WCgE/YTJnNJbvwQVnfB36M38AR/goNo HXpNyiDAdwJOauiu/nlFniQP3/Vdjft5zu+2P0RtnjVvpbZhCwEscCzfBglTdwDLSbo6 SRxXP1yjMl2FlMWxWYt8sQW3ylM8iqgCjJK0AJFvg8u4Zrlc5P2JhTT31IIOCLKxDWs8 JKlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=kJXGtny1; 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 o27-20020a63921b000000b0051b65f4d94asi3303948pgd.484.2023.05.26.01.08.21; Fri, 26 May 2023 01:08:35 -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=kJXGtny1; 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 S242536AbjEZHv0 (ORCPT <rfc822;zhanglyra.2023@gmail.com> + 99 others); Fri, 26 May 2023 03:51:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242496AbjEZHvX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 26 May 2023 03:51:23 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E4B5134; Fri, 26 May 2023 00:51: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=1685087480; bh=Zyhdh9ZuPo+ME50q2El6he6ySdHrvo67VyZNo1LLr7c=; h=From:Subject:Date:To:Cc:From; b=kJXGtny1GsJg3RMvIQSM8MtCYqHctFeCKIxZWqMdRE/+MvsFn5bCsnfEb3lFHMp9x OfFgF+Tano/572BXd4w5AnL+Ui1mV4zkhAGSFWWfsfvnavw8SzgYXS+UfAFaL0iwLv 5zjFiYLvj9p9aTLGFi/XYGpD0U97Njm8SkuTZhXo= Subject: [PATCH v2 0/2] tools/nolibc: avoid coredumps and speed up tests Date: Fri, 26 May 2023 09:51:18 +0200 Message-Id: <20230526-nolibc-test-no-dump-v2-0-a66500bf73fc@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAPZkcGQC/32NTQ6CMBBGr0K6dgytAuLKexgW/RnsJFhIp6CGc HcrB3D3vS95eatgjIQsrsUqIi7ENIYM6lAI63V4IJDLLFSpTmWlagjjQMZCQk55g5ufE2hppGu rqnH9RWTTaEYwUQfrsxvmYcjnFLGn9566d5k9cRrjZy8v8vf+jywSSqgVNuqs29oZdXshMbP1s z8GTKLbtu0LCAyznNAAAAA= 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.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685087479; l=896; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=Zyhdh9ZuPo+ME50q2El6he6ySdHrvo67VyZNo1LLr7c=; b=lhFCnONVLCvjgo3bPQSrTE2QYVYVMBqDGxEknyxufSq0kos06yFsUc9d+ZGq58A7dQOPfV6LA 6EbRK97jzyABM13PBu/HwBHFJcYhFzgNoOxC4M+BMa54nh1iB0GuViq 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, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766937661855716061?= X-GMAIL-MSGID: =?utf-8?q?1766943375584661092?= |
Series |
tools/nolibc: avoid coredumps and speed up tests
|
|
Message
Thomas Weißschuh
May 26, 2023, 7:51 a.m. UTC
Small optimization to avoid coredump writing during the stack protector
tests.
Adds prctl() as prerequisite.
This series is based on nolibc/20230524-nolibc-rv32+stkp4
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Fix compilation warning in prctl() testcase
- Link to v1: https://lore.kernel.org/r/20230526-nolibc-test-no-dump-v1-0-62e724a96db2@weissschuh.net
---
Thomas Weißschuh (2):
tools/nolibc: add support for prctl()
selftests/nolibc: prevent coredumps during test execution
tools/include/nolibc/sys.h | 27 +++++++++++++++++++++++++++
tools/testing/selftests/nolibc/nolibc-test.c | 3 +++
2 files changed, 30 insertions(+)
---
base-commit: 1974a2b5fd434812b32952b09df7b79fdee8104d
change-id: 20230526-nolibc-test-no-dump-a1b1d9557df8
Best regards,
Comments
On Fri, May 26, 2023 at 09:51:18AM +0200, Thomas Weißschuh wrote: > Small optimization to avoid coredump writing during the stack protector > tests. > Adds prctl() as prerequisite. > > This series is based on nolibc/20230524-nolibc-rv32+stkp4 > > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> > --- > Changes in v2: > - Fix compilation warning in prctl() testcase > - Link to v1: https://lore.kernel.org/r/20230526-nolibc-test-no-dump-v1-0-62e724a96db2@weissschuh.net I just noticed the warning as well when testing the whole branch, applied this one instead. thanks, Willy