Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4061204rdb; Thu, 14 Sep 2023 10:30:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIHHT1ZRuHpNZWzFRnWJ1IIG59NcF9JLDACwtunKOv1evNyQ1upyZxNDNbwQuwcyTDdw7K X-Received: by 2002:a05:6a00:1489:b0:68e:3eab:9e1b with SMTP id v9-20020a056a00148900b0068e3eab9e1bmr7066231pfu.22.1694712652122; Thu, 14 Sep 2023 10:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694712652; cv=none; d=google.com; s=arc-20160816; b=omxhp/rIh1q3oJiUU7+CtTtWwX5iDk/7nAaNAOOWFmJ+oFOjQtV6a2Wsin5fKQ+Hr/ MN82MNC4SoRPuYLSuO1uFdHmlz+tkViA5VsuvOIw7a/UasoLEwie2BbFQJGAFh/PdeQY cgb2eb8Te7CcniARIIp6XpSccLDqqQzxZautg+7m38VnXCID0R6vJj5YjYNFQDHzAWQG Y5fMDHiagk1yJByj+SBtfMUH54g4UC2ArMzL1Y6IpfrqVLZO93NnVefqJrZl4V2ilbAu 4I8oPv4jpSJEy5WnGGKEMkfW9RQmRXNXDCcsHouDl8FVg6JH3yK3O/uz8QpXIcPp4KAg 1kQw== 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:from:dkim-signature; bh=HybDOB+gWuho+o3VBGNis/WoLmsxQJ9LmsCNSgwkidM=; fh=azYK+WW57en7GGRdjKWjQOHkHDsNRqF/+6hheqDI200=; b=Li9apIck2E5+LbGndp7dQ2Km78qaQJHiEzId76YB9Gh2jP0v3ujI997cNog/ESpr5e ZYbZY/F982WCP/oRzk583GSksECN/a3GuLAnzQTosseAQnRs9pJKi52oRkelmbiNXKS5 yGdX6IKTh3hkstYjuDqQJZobM9Zo7u9O2IkrNQJ6pYKvO0nPXqS7d7BBpsXRmlR6Y8FR +HakS6tC3xsFiYFJaeLfUphIFGz90tH6SInOYVp0haDMwfXgUzqY31NGiYfaZxsrUBQP zHqF9brgMnQHx6G3ZTGr0UDjh/avu+WF6kUn16Px2WjFwdppwv618ChGeqP2H7q+F/MU t/fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=JB0OPAsJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id ca20-20020a056a02069400b00573f7e9d75asi2067677pgb.646.2023.09.14.10.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 10:30:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=JB0OPAsJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EC60F831E2A4; Thu, 14 Sep 2023 09:02:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241777AbjINQCP (ORCPT + 99 others); Thu, 14 Sep 2023 12:02:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241674AbjINQCA (ORCPT ); Thu, 14 Sep 2023 12:02:00 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3598A2721; Thu, 14 Sep 2023 09:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1694707293; bh=BLwVkYfDRtmtpBN6kGDW31k/g2b9DTTOXBHjuDCkrU8=; h=From:Subject:Date:To:Cc:From; b=JB0OPAsJN2q+I4VRX9/xT/yh1hwn9H5m00pqJUkonCBtDdVYO+NfpplF2Mm8ecUdw ffVwGVJh/FB5/WzSHLXGewXgFRLR04ii7vjqTXRKQGf8HudjEao5emfFSAorWYMUHr 3x/9yUdUD5Xl20aVFL+x1Eo66tn3z09kAJiTGKZk= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Subject: [PATCH 0/4] tools/nolibc: cleanups for syscall fallbacks Date: Thu, 14 Sep 2023 18:01:16 +0200 Message-Id: <20230914-nolibc-syscall-nr-v1-0-e50df410da11@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAEwuA2UC/x3MSwqAMAwA0atI1gb8RLBeRVzUGjVQqjQgSvHuF pdvMZNAOQorDEWCyJeoHCGjLgtwuw0boyzZ0FRNW5maMBxeZof6qLPeY4hobLd2RK4nQ5C7M/I q9/8cp/f9AAWx/81jAAAA To: Willy Tarreau , Paul Walmsley , Palmer Dabbelt , Albert Ou , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694707292; l=865; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=BLwVkYfDRtmtpBN6kGDW31k/g2b9DTTOXBHjuDCkrU8=; b=Leqnx5jr5VxyW77VJxQgkc5h9t7xLORcnxxjwYepzcHghifMXS3GSYDqqQICNz/zyWESoIjgY A4Tb5syvPYBCwV4WVu3QTVPegNjBp0b71OoPUDRes1CudcEr8oTCoh5 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 09:02:16 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 fry.vger.email Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (4): selftests/nolibc: allow building i386 with multiarch compiler tools/nolibc: avoid unused parameter warnings for ENOSYS fallbacks tools/nolibc: don't define new syscall number tools/nolibc: automatically detect necessity to use pselect6 tools/include/nolibc/arch-aarch64.h | 3 --- tools/include/nolibc/arch-loongarch.h | 4 +--- tools/include/nolibc/arch-riscv.h | 3 --- tools/include/nolibc/sys.h | 42 ++++++++++++++++++++++++++++----- tools/testing/selftests/nolibc/Makefile | 1 + 5 files changed, 38 insertions(+), 15 deletions(-) --- base-commit: 3f79a57865b33f49fdae6655510bd27c8e6610e0 change-id: 20230914-nolibc-syscall-nr-9a5f544c8494 Best regards, -- Thomas Weißschuh