Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2004740rwd; Thu, 25 May 2023 23:37:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5I3xxltYE000wssyChK1BQ+UjrmBLy1OjMX6eMmjNQFZlOlp4VmJBzdDvWcAiaAmQNkX06 X-Received: by 2002:a05:6a00:1702:b0:648:8c0d:6e4e with SMTP id h2-20020a056a00170200b006488c0d6e4emr1752024pfc.19.1685083047893; Thu, 25 May 2023 23:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685083047; cv=none; d=google.com; s=arc-20160816; b=epB/+Qri/ypvqP+suZtWquu0J77EMoNfiyozAAFpRwWZes2R+M6iRBj3q5xsafeOWv 2a677iZlcGjgIRNGlnjZbTPtFKy9jcqNrFFkE8/h9SHEBMPo9BHnrUD+sjbi4KSQ6KG6 dHOJJa6LLV5emQcl5/6Ngi3dTDXssX70eG9Kz1GnX7v/div4OqU8ZoBPV1Yin1On5Vin fgYiLZLTotDLF1hw5wmA1G84/IRqL5nsJ1Ahjg96An4VkU3y2znFZLo32wAF0UED5gXo W/Ofnq9EToM1y7BE2HGK6nGYgadZW7FdI4J7UOMABcyItB5+FGHBXhV0zfMgeyQ6UJU0 9kpg== 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=5G4ty04DXoaE6MXriXkgDOP6vNTnsIeJdN5QRiA5asM=; b=XTBiE0sdncKJUMBQhNLxgZaLE1e+ZaNQx246U6hG8KatO8qTfsIMPSGqiEXJLjA7Rz Y9jHFrrINnEN/mrqrhel3GsH7YqTeDwvcv9aFrEACHfz7igC6EmOiYWd/XwYIUkenQKH VO99FRj7JvPkW7sirwA912kcS6eX1zFT+zecZRNlN3rhqEPTEafcCT4MSQiS9ohzpiLt Fc19yz0QhQGk6tAV1JtQOBKJK+cvSS2kyB9ZVxgK6I1HBNducyxipk0O1uBpikEarwRk EISjkc6XKs1PjGFvsc/XDSwLqNIqPxsG3YJtyjJ45Z8UI15pDxchWX8SFIfg2wPxXrgy 3Lhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=gnoTh5vK; 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 a24-20020aa795b8000000b0063b5e9c3c28si3304424pfk.35.2023.05.25.23.37.16; Thu, 25 May 2023 23:37:27 -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=gnoTh5vK; 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 S242135AbjEZGap (ORCPT + 99 others); Fri, 26 May 2023 02:30:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240106AbjEZGan (ORCPT ); Fri, 26 May 2023 02:30:43 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06A4E194; Thu, 25 May 2023 23:30:40 -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=1685082638; bh=RAbYTOkR9A0ym0EzB+gSWyfmDRdU2r2QaEMUXv5iurc=; h=From:Subject:Date:To:Cc:From; b=gnoTh5vKyLlLdUS2qiq810LTafYxyXFX+dlF8w5OqW6zN+2SQX0p8flOkXMNPr3mj UUz3XEIenJN9ySfc30DggfI8yIUPvX0AApdsm3bdoifhHU1yh9dmx2edUkj+YZtj5z NLWIcoiDPYfMr/T1JYK7PR/9La0JQ26Ily7auedI= Subject: [PATCH 0/2] tools/nolibc: avoid coredumps and speed up tests Date: Fri, 26 May 2023 08:30:34 +0200 Message-Id: <20230526-nolibc-test-no-dump-v1-0-62e724a96db2@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAApScGQC/x2NSwrDMAwFrxK0riB2cX9XKVn4ozQCVwlWUgohd 6/o7s2DYXZQakwKj26HRh9WnsXAnTrIU5QXIRdj8L0/98FfUObKKeNKutrGsr0XjC65cg/hWsY bmJmiEqYWJU/mylarnUujkb//1HM4jh9x4McoegAAAA== 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=1685082637; l=723; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=RAbYTOkR9A0ym0EzB+gSWyfmDRdU2r2QaEMUXv5iurc=; b=SwsXggUgP3GuJ1UWbF1pa7tdK1xOMZxItaSamgtL3P+K8KMC+BERXafjDp8f0l3zzK9ecf98u FcrXpui+iR8CLQ9QnPCPahk9Z2Zogq4uRyNpmXVfo1FXe6BG8lFnuDZ 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 --- 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