Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3143042rwl; Sun, 2 Apr 2023 01:03:47 -0700 (PDT) X-Google-Smtp-Source: AK7set9KFn3aviyoZB83FE734TF9f6J4hvx1YB6PvnKOdbJb/LOTxnISPTJftvyW0Ezm9ZkF+gPZ X-Received: by 2002:a05:6a20:4691:b0:d8:e59f:408c with SMTP id el17-20020a056a20469100b000d8e59f408cmr26319278pzb.33.1680422627533; Sun, 02 Apr 2023 01:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680422627; cv=none; d=google.com; s=arc-20160816; b=puCDq6CMtw0Lg7Wh7aZl4Q/IoYFCipt9vtAMzXApL5wxxrtkXw9i92/W5F4kpRha96 OrNzRj/zZ594ceLQi2nopxGzAKHLKNcMwGbNACNgbFMfDWhG1B6J7MeR9Vfg9mHPIXmA Aww2KO/EOXGetFxQN+FIcKcI/PHSlrHWn+XPppaq0/Qo2VyluFUL/KS36d2TMwJ+Kghz nYatHPaQJpGO5TVhgwphQ4KpJSicCrtyrPvG7Frua21IQWO35GtDJbfP/4/7jqTFDwdA wNCtt1yXy7dwr957Y7Cu6UKywtheci6ReCozZAuNamAW9gj6VON/ViSXu8dKf0R+xu3G Y4eQ== 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:date; bh=MAN+IlVdQC8U8tifURQr2b+OK5LoFFq8fhR9ZQabAKg=; b=GLGuW2LxO06b8ixmb3n/hp/5T7j14hH2BpyCIYTutE30jwNGO3dHUHU6cerxtD/qrb WlGlfJHKVobDWr0NlTbFCSX7pC5DhHkdn0CmKuY9WGRUbvslVXROlfef4TPGZVoSPkPl qbZTK4qOpBnAkK+2bXKmURcGuxbnpmxdE/vtizMsiYJlbe1fq4/quXCI6iOXO2axhTPX Z696wljIdilbYKXjfzPlRCz5lQKHSL+XrZW6cQ3ZrOyNbte/5t13TckYNXPM6CKeSXvW BfZqaYxaINaChWMX6kMxoZhCsPBXBlRu9eclSohKQGAnrgXEbr3jxUOYLrhI+gHbQiM3 AyJw== ARC-Authentication-Results: i=1; mx.google.com; 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 y1-20020a633201000000b0050bf5879be4si6728278pgy.209.2023.04.02.01.03.35; Sun, 02 Apr 2023 01:03:47 -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; 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 S230175AbjDBIAM (ORCPT + 99 others); Sun, 2 Apr 2023 04:00:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjDBIAL (ORCPT ); Sun, 2 Apr 2023 04:00:11 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 06F3FFF0D; Sun, 2 Apr 2023 01:00:09 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 332805sn018362; Sun, 2 Apr 2023 10:00:05 +0200 Date: Sun, 2 Apr 2023 10:00:05 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= 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: 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230328-nolibc-printf-test-v1-3-d7290ec893dd@weissschuh.net> X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,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 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). Thanks, Willy