From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by sourceware.org (Postfix) with ESMTPS id B53E6395B05F for ; Wed, 11 May 2022 09:21:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B53E6395B05F Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AA80E61C04; Wed, 11 May 2022 09:21:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4A42C340F0; Wed, 11 May 2022 09:21:22 +0000 (UTC) Date: Wed, 11 May 2022 11:21:19 +0200 From: Christian Brauner To: Florian Weimer Cc: Adhemerval Zanella , libc-alpha@sourceware.org, Alexey Izbyshev , Carlos O'Donell Subject: Re: [PATCH v4 0/3] Linux: Fix posix_spawn when user with time namespaces Message-ID: <20220511092119.ke4zlm2dkazasmva@wittgenstein> References: <20220510191155.1998575-1-adhemerval.zanella@linaro.org> <877d6tb3hl.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <877d6tb3hl.fsf@oldenburg.str.redhat.com> X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham 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: Wed, 11 May 2022 09:21:26 -0000 On Tue, May 10, 2022 at 09:18:46PM +0200, Florian Weimer wrote: > * Adhemerval Zanella: > > > The patchset adds some support to tests the fallback code to > > use only use CLONE_VFORK. It uses unshare directly because > > it simpler than add container support. > > > > Adhemerval Zanella (3): > > linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h > > support: Add support_enter_time_namespace > > linux: Add fallback for clone failure on posix_spawn (BZ #29115) > > Christan, how likely is it that we'd get another time namespace variant > that would only become effective after execve (when the DSO is remapped > anyway)? Not unlikely if it helps you avoid a lot of complexity. I will need some time to track down Andrei and others to discuss though. Thanks, Christian