Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp523804rwd; Sat, 20 May 2023 01:55:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ71yT7mT+8Ux0wnKDfIAXLHATBDgawo1rWYPiahH1FKoQFU2WrO0gUgKT1qT7SKFSIPVixb X-Received: by 2002:a17:902:7d8d:b0:1ae:4553:edfa with SMTP id a13-20020a1709027d8d00b001ae4553edfamr5028068plm.29.1684572937910; Sat, 20 May 2023 01:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684572937; cv=none; d=google.com; s=arc-20160816; b=RhHVz7YfE8rFYZPFYjCAIMQ0rvW+3yURsXOA+1JcgPJdMYO3d7Pj6/jZaWME95ikBE ZZhZUsjWCaLCjUJvNp6T5ABJbYy6WjXoi1pZutGT6q+L4pP2O5VRloYCIXE99RTjD37j 98/ztKlvouRviD/Hj6JiZHW6O1ik3buajRFDGStSBquV7gCWny9TeRuZMXYYbRi0+jSs u5r3pHDzkTqaDTH8KB8oTKOg2DNZQipPjoGPs0NtOa7oVJhKtTSDw2yPoUg2A6RUTBGd siVt8yXrM1N9BY+otmye4tMJTBVGCQZ+xg7OG3vWCgikVw9dqPzLvWNcS/QZLcfPEICH wWFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=SZwLJMd4vUR2+Ul7t7GYuc7vbQxjhTC9JYb+sSXaWyA=; b=lifVi7/cbS5OKSJqpl+SFRD7rNc18bUFEsDZCp7F14xPukKJzYepe9vwo4apnvpBr+ X6cfefV9P9mybMOcUSGeMV8YNT4VAJs3jfl9urQSiwBUt69eEPOMSXStyCLxML/BXeae ufIcxbl7AabyCdc2MyL01Ot8pFWdegr6LUw28sdzMTn06Fshl8WPjZ+1gzbGF7ZqqO/e /hbwow57knSwKpjio7ztudCjvpp7rH9avHrnOQEiw/6SOLmWUMwuO6kn1GlhGr2extUC B03w5TZGhxFqBGVeHwgLUx54cVqdnJV9rbQEBj/EU+f1l4ykG4Hhi5fXCbvYWC8iomap pfoA== 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 d1-20020a170902cec100b001adbf6684f8si1152498plg.408.2023.05.20.01.55.23; Sat, 20 May 2023 01:55:37 -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 S230416AbjETIq6 (ORCPT + 99 others); Sat, 20 May 2023 04:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231395AbjETIq4 (ORCPT ); Sat, 20 May 2023 04:46:56 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8C659E62; Sat, 20 May 2023 01:46:51 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 34K8kjSg027220; Sat, 20 May 2023 10:46:45 +0200 Date: Sat, 20 May 2023 10:46:45 +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] tools/nolibc/unistd: add syscall() Message-ID: <20230520084645.GB27206@1wt.eu> References: <20230517-nolibc-syscall-v1-1-af232d84577a@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230517-nolibc-syscall-v1-1-af232d84577a@weissschuh.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 On Sat, May 20, 2023 at 09:58:57AM +0200, Thomas Wei?schuh wrote: > syscall() is used by "normal" libcs to allow users to directly call > syscalls. > By having the same syntax inside nolibc users can more easily write code > that works with different libcs. > > The macro logic is adapted from systemtaps STAP_PROBEV() macro that is > released in the public domain / CC0. Well done! And now queued, thanks Thomas! Willy