From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16260 invoked from network); 27 Jun 2022 07:43:19 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 27 Jun 2022 07:43:19 -0000 Received: (qmail 11722 invoked by uid 550); 27 Jun 2022 07:43:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 11615 invoked from network); 27 Jun 2022 07:43:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656315784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sD4ZnqJMG0SSxFupKsQZiZO/ibSpVYDec68GxAG4Ui4=; b=g/i8/QPJSwJBKab0fID4qngD+sohWPZT7pgj/aG6xBUmNVa+l61ziI98+cpAqiUnEixmSf RRUiC9CCyn2LwU2x/ebHR+qSdMDF2OG+tT9BUXJx+ZC751BNP1nNLm1J9hY3Btb5RSaK7R 7Hj0OgzAiU7O7mfs+VmItqx1i1iSRm0= X-MC-Unique: hg697tlRPoWD-X0CjGXrJQ-1 From: Florian Weimer To: Nick Peng Cc: musl@lists.openwall.com References: <20220625125110.GV1320090@port70.net> Date: Mon, 27 Jun 2022 09:42:57 +0200 In-Reply-To: <20220625125110.GV1320090@port70.net> (Szabolcs Nagy's message of "Sat, 25 Jun 2022 14:51:10 +0200") Message-ID: <87k092eem6.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=fweimer@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Subject: Re: [musl] BUG: Calling readdir/dirfd after vfork will cause deadlock. * Szabolcs Nagy: > * Nick Peng [2022-06-25 11:40:17 +0800]: >> Description: After vfork, calling functions such as readdir/dirfd may >> cause deadlock. GNU C is OK. > > why do you think "GNU C is OK"? is this from some real software? glibc supports opendir/readdir/closedir after vfork as an extension. The JVM depends on it. Of course it's undefined, but I really see no way around keeping support for it for the time being. Thanks, Florian