From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hosted.mailcow.de (hosted.mailcow.de [IPv6:2a00:f820:417::202]) by sourceware.org (Postfix) with ESMTPS id D068E3858D3C for ; Wed, 22 Feb 2023 02:28:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D068E3858D3C Authentication-Results: sourceware.org; dmarc=fail (p=reject dis=none) header.from=pearson.onl Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=pearson.onl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pearson.onl; s=default; t=1677032900; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=esM/vTJ13ta7T901wMQcZCibEkdYqXP/LLP4OHat5Uw=; b=P9e9qsAHPl7ADA6WgrEc1d4NUpJuMpVCE2FNdahHK1YneWi9r8Ov0KIC0Q0dSMEUWPJ/kB ei4oGw5I/NadHMx/X7ZdLkDo+8K40dot2puAFRjKAW5ANGFdeckNsBV0ziYlTrGLoSG9yj GYRlX0mTIIqZ4OaMvevrixpTJuEo72PhYRTQQRbeOC+VXslcrzV7dqx+V1oV2n+mIYnQnn y0Ir20px0nb7cQbmwfiI+9ZGTom34NLtmaWYwkNzcEbS7tOdZoUAsk3bTXlJEn2WVjAtl3 wK5aNa6oN44Areip3SE94y5+jbDAkrG9IO5xJKz8mDkTPIHwmEp34RDy5mrkwQ== Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7E7325C025E; Wed, 22 Feb 2023 03:28:19 +0100 (CET) Message-ID: <9e2b4a99-7e68-844f-bffb-3c8efcc277fe@pearson.onl> Date: Tue, 21 Feb 2023 18:28:16 -0800 MIME-Version: 1.0 Subject: Re: [PATCH v2] clone.2: note EINVAL when exit_signal + bad flags Content-Language: en-US To: Alejandro Colomar Cc: linux-man@vger.kernel.org, GNU C Library , Carlos O'Donell References: <20221214212849.17388-1-jack@pearson.onl> From: Jack Pearson In-Reply-To: <20221214212849.17388-1-jack@pearson.onl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,TXREP,T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello, In this patch, I included my test program for the absence of this behavior with normal `clone` per Alex's request: https://lore.kernel.org/linux-man/fba3de52-91cc-6cbe-b4ae-7140564e9ad2@pearson.onl/T/#mde63a642e9c8d0b4e367b0a2817248e8e0b29a50 Let me know if there's anything else I should do. Thanks, Jack On 12/14/22 13:28, Jack Pearson wrote: > Document that Linux will report EINVAL when exit_signal is specified and > either CLONE_THREAD or CLONE_PARENT is specified. > ...