Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3325104rwl; Sun, 2 Apr 2023 05:27:00 -0700 (PDT) X-Google-Smtp-Source: AKy350Y7axFejZiizHQsVRR4cZbh7nEp3IQ+gWWbTCOuoLpIg/ryfGiIKP+tN85PC4ov8zimaKyt X-Received: by 2002:a17:906:2f96:b0:932:8cd:1021 with SMTP id w22-20020a1709062f9600b0093208cd1021mr32050517eji.33.1680438420012; Sun, 02 Apr 2023 05:27:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680438419; cv=none; d=google.com; s=arc-20160816; b=m+poGuJWNBDTgmGUchZvvspL1rFtlOOJFF20WkeMHNWnkmWBhdyeT9fHQy81VT4/4T bv38DAtrCVi64V4jx9b7tSpiiPoNjZJOtMppNFWihJnEjx1CNuItowPc+tmU2brv5aWh jpmnZ/HwrfyXsmfxWcnBn9QR0BQVFKz2js7uheJOlTJ80iQ9ccuPt/wqcVF0vgPQpzZz DJ7ncxSCdI8rAXhpZarymXHl7AN0w8Yi0Xw4AyFaINS+nQdwP0Vd5AD/t9i4STz1D21J Kvnxnnq2ou41Tx4LsPDq4BB7PC+sfjiZU4REjMnUlhdFfEnpYGG6EM4yzDJNd4b1k+Zr Y0/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=7hp3I4HDVnPZWXbGWdqCISMDbQpCdysbqxD6VF4rPjc=; b=adHQOWT8+hSH27mohjX6fKx8KaW6/Nxys0SqKdUQsSgVRMr9Rwvg4jLqMj5uuiRGjM /2TLn6Zkc8bQxWlwn3nWI0X782rZxdT7d0QICBFoJqUAsKRxaUZJRqoObNCheJiBu6vv pcN81af+rtzl2Y/yadyvoJWpwJiMlr5tL5H0+c7f4Mm+3x4zDEELteqREyVihchQXps5 c71ymHxB5QuvzGyN+L15Gyu5vMqIEivFRVDQK3HblGPcRC1UgKlIreZDfZEkC6rgCZXW snjJGjWXzrt/HBWfwlY82yZ8kFWLL16mGvkiOd5iDsifIeXmMNQ7EJuOLkw49kgdXxl5 P3ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=a4xMX0zB; 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 gr26-20020a170906e2da00b0092f97d1a8efsi4025926ejb.504.2023.04.02.05.26.35; Sun, 02 Apr 2023 05:26:59 -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=a4xMX0zB; 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 S230368AbjDBMSy (ORCPT + 99 others); Sun, 2 Apr 2023 08:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230382AbjDBMSx (ORCPT ); Sun, 2 Apr 2023 08:18:53 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EABF25552; Sun, 2 Apr 2023 05:18:48 -0700 (PDT) Date: Sun, 2 Apr 2023 12:18:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1680437927; bh=HgnUzY5jdht+A1fhfOMu126ZJ0nVRu6zSD1G0+lJ3WY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a4xMX0zBfj8xx7wVWCesb/43rn3h+Kz6EqrXHSSImaB8+vvkKHwVIQvFcoUTx0na+ YvQ1lLRX42nSpaTVZglqlwmQno4///9na+Bqj/qdcQJY4ALjMAjVA/QD8iLwJi6Uex 9/BFzssNdwEc8dR2ki9KiE+fGN5wisM1rx786SNE= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Willy Tarreau Cc: Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 3/3] tools/nolibc: add testcases for vfprintf Message-ID: <15dc87d0-99eb-451b-a0ad-ccf7d268b488@t-8ch.de> References: <20230328-nolibc-printf-test-v1-0-d7290ec893dd@weissschuh.net> <20230328-nolibc-printf-test-v1-3-d7290ec893dd@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 2023-04-02 10:00:05+0200, Willy Tarreau wrote: > On Tue, Mar 28, 2023 at 09:01:31PM +0000, Thomas Weißschuh wrote: > > + fd = memfd_create("vfprintf", 0); > > + if (fd == -1) { > > + pad_spc(llen, 64, "[FAIL]\n"); > > + return 1; > > + } > > Also for this you'll need to include in the part where nolibc > is not detected so that it continues to work with regular libcs (at least > glibc so that we have one reference to compare against). Ack.