Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2085665rwd; Fri, 26 May 2023 01:13:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ59EYCIlz8Cdhb6gbwp+zwAvWE+9Vq9M4WgkJ2ax9j6xd5cOCHLqHknQrlUpW2AUxE7Qtqo X-Received: by 2002:a17:903:11c3:b0:1ac:8717:d436 with SMTP id q3-20020a17090311c300b001ac8717d436mr1813406plh.60.1685088826821; Fri, 26 May 2023 01:13:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685088826; cv=none; d=google.com; s=arc-20160816; b=JNOdsjB0hz3+a2LjCuZpWqASL+T/CZMoNu9vvFJOSAKR2jbT0NOac8cEJbOJQxWGFd MZ2Y2cm6lt6cePTtI3v5F9+i1ZeUyOqJ5cWyLr/bhiV92o+oy4uoMgCKrkgfEuHRJT0C p+rPrhNU0y2OyAW2VhveGSrJH19pCVdcdBftS3eH1wG8Bam8Qth859hRrd51UTKCMSwj FD//3doklitenKRKkCZeIWlp3LqlCbBPW2a65Cz71Xh0+KXmjVP4RVhKO3vDf5izhziL LGUmrxTYeFTjmRbMokZpLcRUxwAKU6+Wr1tbKw7trvY5AS4Z3wgB6B57gZz3ECwHj/mH GXkA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w18-20020a170902e89200b001ae4a291a2esi662086plg.267.2023.05.26.01.13.29; Fri, 26 May 2023 01:13:46 -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 S242530AbjEZHvZ (ORCPT + 99 others); Fri, 26 May 2023 03:51:25 -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 ); 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?= 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 , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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, -- Thomas Weißschuh