From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by sourceware.org (Postfix) with ESMTPS id 816253858D28 for ; Fri, 28 Jan 2022 23:35:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 816253858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=opensuse.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cristianrodriguez.net Received: by mail-wm1-f48.google.com with SMTP id v123so5630652wme.2 for ; Fri, 28 Jan 2022 15:35:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v/LHY3Cz/VGT5PX6p4OxWeU5nKxrtwHGioag6zuEV2s=; b=AvtuVMwg2rY0Y5RZjy0aU1WjrSw0DYxn62/aaMcgI6vOjG0WT8682OwB/4KqFe57oi Mj8vpcdqV6mJutmS3eULRGqWIhgsCgmau0PmBLPpJ+sRknrQTWJCNa06ZsZ4jx4Gm5AH E+hSkEfm7RpVI3k5f5jZeAnHqD1ISl23JsZELDCJ4MkwWfofME1S4XvpFKExfjTgsUt0 p6a3tE9hzRehQDbi92MFOe7aTICwBYeeUK5Ayav4HWL0m/BOaLAXN1GCiKPe5taAhBMT L/isZZL46vhMGpbzHJ1AE0b24N4qzxKbRTmiw7pv3o2uBFAubC0akiONb3Nud++PR1E1 BQpw== X-Gm-Message-State: AOAM530H6XX4F6UN2gv5iW7CjUFp65LBNRHBCJc7PnoI9YMrmyLTsaMC zSlE8fB9GsIcx4BDwqgPStAlktQ8T5mfld7t/+tTusqKhMlTRw== X-Google-Smtp-Source: ABdhPJyLeoEy1P87/W6Lq2KwgVS8GXlVw5Qmd3/wFlRBInczpwa2u/GNw4rTpoasNw/LTPpJyNC7ac8nL+Y6njkzPAs= X-Received: by 2002:a05:600c:4308:: with SMTP id p8mr9224886wme.72.1643412917209; Fri, 28 Jan 2022 15:35:17 -0800 (PST) MIME-Version: 1.0 References: <20220128133937.9555-1-crrodriguez@opensuse.org> In-Reply-To: From: =?UTF-8?Q?Cristian_Rodr=C3=ADguez?= Date: Fri, 28 Jan 2022 20:35:06 -0300 Message-ID: Subject: Re: [PATCH 2/2] linux: posix_spawn: return EINVAL on argc < 1 To: Joseph Myers Cc: Adhemerval Zanella , libc-alpha@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2022 23:35:20 -0000 On Fri, Jan 28, 2022 at 8:26 PM Joseph Myers wrote: > > On Fri, 28 Jan 2022, Adhemerval Zanella via Libc-alpha wrote: > > > We can add a note on deprecated and removed features, but I am not sure > > if would make any difference now that kernels will changes the semantic > > anyway and it will cause compatibility issues anyway. > > I haven't seen any discussions of this on linux-api, so the kernel > discussion elsewhere might not be taking any compatibility issues properly > into account. but making things in libc calling execve potentially with argc == 0 error out or behave like having argv = {"", NULL} shouldn't break anything right ?