From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1355B1F4B4 for ; Sun, 27 Dec 2020 11:15:52 +0000 (UTC) Received: from localhost ([::1]:38360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktU1e-0002IR-RF for normalperson@yhbt.net; Sun, 27 Dec 2020 06:15:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktU1U-0002H5-Jw for bug-gnulib@gnu.org; Sun, 27 Dec 2020 06:15:42 -0500 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:40179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktU1N-00060t-32 for bug-gnulib@gnu.org; Sun, 27 Dec 2020 06:15:38 -0500 Received: by mail-io1-xd31.google.com with SMTP id r9so7116161ioo.7 for ; Sun, 27 Dec 2020 03:15:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=TBebl07nsqyB6DLQOmkCJzK5vO5DYlvtuSdFnjEbkjE=; b=kTv0dnZmLbl8s9Rq1gRdQxmtAw9wDDWb35CWtJncgNnFOQJS15iGtTwSYZH57AtWeM QKMv/0yrdZiBDRleMlvSQp6c+9T5Pzw7pmcKiKieKcBZTUvNaw4NwM4yoYUkOV9pd/5L b2VCqgsWY8DZdQk9xxlOTsJLsQmBg20csbdOK3VuO9D5Q/f5dIYhL/Et9kMRncqRJYdY Zpp11/vRbp8Q39WokgU+bRKB57zI8f/L1x0eIwpXaMwQS3X1qabpjAX8R/MMerS8lL9j ncmCXXSvSpkHt9g4GsJvqJxLECddU8sYum5TWIREkk8E88avmIJVqXWZ0UsRAfonH5RC tQBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=TBebl07nsqyB6DLQOmkCJzK5vO5DYlvtuSdFnjEbkjE=; b=trNZnDiIEFg19EUSkBPPz3W58CfNB6KliSwuEzF372+BK0iIVHtYuZsg/YFzT0sm/b DD0rUR7XBf5tT+EdWBVtN9FuIm3ot6N3wQD50vx9jliRRvOqbgjqL690ueaxJdoYUFKo gqI5/B2k+A2B/nt/XpamaqS9Hw8XqR9xMwlAzlUGwBo02b1sFqb50Oh3QhAJiEdVENT3 SWRpV8MYFrzbHHjm94bpFypLhFzkS1Y3IxLNcpXZwMOJwxzrzhF0K1zkv6mBMVi7rweN 2u0HnzjFWkBLhS5Iqbet70/QXa7nXnp6exf56pPjMEGtiiUOZMmIwl2Qzs418uXuEj4q X/uw== X-Gm-Message-State: AOAM532BOeAkF+x4V7J48pfX1yLnMTQ+gYEsWY9B9X3Aw0L0x0bylAwx p4iP+gpth9x7DFE2TdjC+Bwx8vwY34C2DmjD+D3y4vc0kQs= X-Google-Smtp-Source: ABdhPJwCcn/HcKFDB97tzs6DYGT5KV/yr4VqNAlNKJyIq5Stn9IwqxWVY/KRyG1tf/wvyDjBtC/5XFEeyAmROukBnwk= X-Received: by 2002:a05:6638:25d4:: with SMTP id u20mr35847267jat.54.1609067732051; Sun, 27 Dec 2020 03:15:32 -0800 (PST) MIME-Version: 1.0 References: <19625603.TXvseGJZxX@omega> In-Reply-To: <19625603.TXvseGJZxX@omega> From: Jeffrey Walton Date: Sun, 27 Dec 2020 06:15:01 -0500 Message-ID: Subject: Re: new modules execve, execvpe, execvp, execv, execl, execle, execlp To: Bruno Haible Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d31; envelope-from=noloader@gmail.com; helo=mail-io1-xd31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: noloader@gmail.com Cc: "bug-gnulib@gnu.org List" Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On Sat, Dec 26, 2020 at 8:53 AM Bruno Haible wrote: > > ... > All of these problems are fixed with these new Gnulib modules. > Just an FYI in case you have not hit this wall (yet?)... The exec family, posix_spawn and friends are _not_ available on all Apple platforms. Be sure to check availability before using them. For example, the iPhone/iPad SDKs has them, but the WatchOS and TvOS SDKs lack them. To further complicate matters, you have to include before you can check for the SDK. Here's what unbound does in libunbound/libworker.c (https://github.com/NLnetLabs/unbound/blob/master/libunbound/libworker.c) #ifdef HAVE_TARGETCONDITIONALS_H #include #endif #if (defined(TARGET_OS_TV) && TARGET_OS_TV) || (defined(TARGET_OS_WATCH) && TARGET_OS_WATCH) # undef HAVE_FORK #endif Jeff