Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1110929rwd; Thu, 18 May 2023 08:06:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5pODc7eBrt0yPkjzIQX7eaLr6cZaTlVu04awIBLtfnrRPLBGlA+DolQL0rg55F7mHlfvJp X-Received: by 2002:a17:903:1c6:b0:1ac:946e:468e with SMTP id e6-20020a17090301c600b001ac946e468emr2944230plh.57.1684422380195; Thu, 18 May 2023 08:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684422380; cv=none; d=google.com; s=arc-20160816; b=BAmhu3WSuuYVc0fS7RlHYA4NAObwGRTRVpzI3rTSS9W+SHprilTmScKuCs+L7QeA8d pOcUxsYbaWIEQdgHljfNDCci4DYxXIWeRPXX0SnYsrLzZupBbLo/ELqJnBBrlCkyZQtN v6Ejd/cmR3/BajYciBMwSY5XRNqjig0oAK7KRHgDyQQ0xE+rHR5IuN4RaAt+OY5AFIX+ 6QGVNlZFmp92++1RH2iq22lZhU9Ivl1LNQPY0waCIOextErUW4FGm9nM79n3zOHHlHMF rQNRlddK4OldbzfyMOJGbEVZLKw0rlFFOxbTH6qwvxmwCyMHJHbh2o2bjZQAnOt0RTxW tNdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=bZjZLOd/sgm7+s9RTHDB6KpzFEY0eWSz7CTmvvoYRJI=; b=kaP3tiPQl5ElZ+7L6Ul3C+92uquL9IE6bSJ1NMl9OCC80A+XILrhy5PYgN8FD0vwI2 +mhE/0iMhSLcX3pmfTZ3bE0ZVJgF0k15faEcnCYP/5NqLjTJ0JWGs5PAe36mI4TKjYYp UsOv0yTrccrsXmkjQ4WVs6VPJzyMXQXVjUt3X/AitxqMBysb34At4dFXngzXq6c8GzqO 48re8BWBdQaSD82rZDtInRAL+zvgI0tOgIHKOEbBr//44yDuK9tO1mpQTFrUgRztX8R6 ILGlbVz2++WwlE2WXfVis0sXnNTLdRMpm8g1natahIpQwJeEZvnMfwLnX6aiwn56N7uw FKUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r3lm9tb7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a170902dac600b001ae0691dff4si1495992plx.630.2023.05.18.08.06.02; Thu, 18 May 2023 08:06:20 -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=@kernel.org header.s=k20201202 header.b=r3lm9tb7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231154AbjEROzQ (ORCPT + 99 others); Thu, 18 May 2023 10:55:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbjEROzP (ORCPT ); Thu, 18 May 2023 10:55:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25D97ED for ; Thu, 18 May 2023 07:55:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B69C864FCD for ; Thu, 18 May 2023 14:55:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1900CC433EF; Thu, 18 May 2023 14:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684421713; bh=uBmpW/dyzTfR1UsJFoB7UTpv7OXYuXYFBrE8Jnnzcio=; h=Date:From:To:Cc:Subject:Reply-To:From; b=r3lm9tb7cfoELHSfgM0q2ftAjCdofOTjY5AtF+ij9NYFBULndpEJAqgGrfyakwPa3 jKZQvDtpxw1kug43RKtJ1c4WGooHYTpVKV3bITP6T5fJRyxowAMyHU7B/jSzLZpHni T+4499+RtJpG1eQI6O63QT+YztSwTy5YN9ZzDD6jjpaASYIxwggvfplTFvX6pcvIF5 l+75WyvsKE2c4fAdcJDeXGivg0sBk2G75oI8OixqAFLW83irwpU+qPRFhsBYE4c68Q S+eCrUfM30kLBP85hwufgKY6xi9OZKq5HCUMnpqhn208895WjkXbF0KOTL7nxuRrSE 71iGl8jDY0gxQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id A2C97CE0CC3; Thu, 18 May 2023 07:55:12 -0700 (PDT) Date: Thu, 18 May 2023 07:55:12 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu Subject: [PATCH nolibc 0/15] nolibc updates for v6.5] Message-ID: <4817a4dc-69e6-4937-84d5-f2f630ff646c@paulmck-laptop> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello! This series contains nolibc updates for v6.5: 1. tools/nolibc: tests: use volatile to force stack smashing, courtesy of Thomas Wei?schuh. 2. tools/nolibc: tests: fix build on non-c99 compliant compilers, courtesy of Willy Tarreau. 3. tools/nolibc: fix build of the test case using glibc, courtesy of Willy Tarreau. 4. tools/nolibc: add libc-test binary, courtesy of Thomas Wei?schuh. 5. tools/nolibc: add wrapper for memfd_create, courtesy of Thomas Wei?schuh. 6. tools/nolibc: implement fd-based FILE streams, courtesy of Thomas Wei?schuh. 7. tools/nolibc: add testcases for vfprintf, courtesy of Thomas Wei?schuh. 8. tools/nolibc: Fix build of stdio.h due to header ordering, courtesy of Mark Brown. 9. tools/nolibc: use standard __asm__ statements, courtesy of Thomas Wei?schuh. 10. tools/nolibc: use __inline__ syntax, courtesy of Thomas Wei?schuh. 11. tools/nolibc: use C89 comment syntax, courtesy of Thomas Wei?schuh. 12. tools/nolibc: validate C89 compatibility, courtesy of Thomas Wei?schuh. 13. tools/nolibc: s390: provide custom implementation for sys_fork, courtesy of Thomas Wei?schuh. 14. tools/nolibc: add testcase for fork()/waitpid(), courtesy of Thomas Wei?schuh. 15. tools/nolibc: remove LINUX_REBOOT_ constants, courtesy of Thomas Wei?schuh. Thanx, Paul ------------------------------------------------------------------------ b/tools/include/nolibc/arch-aarch64.h | 32 +++--- b/tools/include/nolibc/arch-arm.h | 44 ++++---- b/tools/include/nolibc/arch-i386.h | 40 ++++---- b/tools/include/nolibc/arch-loongarch.h | 38 +++---- b/tools/include/nolibc/arch-mips.h | 56 +++++------ b/tools/include/nolibc/arch-riscv.h | 40 ++++---- b/tools/include/nolibc/arch-s390.h | 2 b/tools/include/nolibc/arch-x86_64.h | 34 +++--- b/tools/include/nolibc/nolibc.h | 2 b/tools/include/nolibc/stackprotector.h | 4 b/tools/include/nolibc/stdio.h | 95 +++++++++++++------ b/tools/include/nolibc/stdlib.h | 18 +-- b/tools/include/nolibc/string.h | 4 b/tools/include/nolibc/sys.h | 23 ++++ b/tools/include/nolibc/types.h | 8 - b/tools/testing/selftests/nolibc/.gitignore | 1 b/tools/testing/selftests/nolibc/Makefile | 6 + b/tools/testing/selftests/nolibc/nolibc-test.c | 8 - tools/include/nolibc/arch-s390.h | 9 + tools/include/nolibc/sys.h | 11 +- tools/testing/selftests/nolibc/Makefile | 2 tools/testing/selftests/nolibc/nolibc-test.c | 125 +++++++++++++++++++++++-- 22 files changed, 391 insertions(+), 211 deletions(-)