From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 78B073858297 for ; Fri, 29 Jul 2022 15:49:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 78B073858297 Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-175-oSzlLpFIP6-1aQsknfUQrg-1; Fri, 29 Jul 2022 11:49:23 -0400 X-MC-Unique: oSzlLpFIP6-1aQsknfUQrg-1 Received: by mail-qt1-f198.google.com with SMTP id u12-20020a05622a010c00b0031ef5b46dc0so3101865qtw.16 for ; Fri, 29 Jul 2022 08:49:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=xIMtx2tlT80uh5txBZJuQXUKWcK29kV/d7t7u6pvJ2s=; b=px4obV045MUwunoQh8tJp2mCts4/mP+okeVqC4AGyeGjTurS7OywwlRzfo9/6xR22q WNdNsNTCUTDzka5YDlcrqNGoYald7rhRFy2Ez61U2NpNQuevbPYhLDh8rcu3d4WdI0I0 DEY+opumtHaWF+G9vy9SkxTKmVk0PKK60kzEyxEYS6XKZYiRzvvv4lVsUUS5K/dI6tBR LhgG/8SDD3q1V1JbaMSUnSOcxtsJ8uU/7STIZJkh5ZDv9WUhfq5+ZPC1QjdHquNnmedJ koWZlQnpWw/kc5tLvQ8npoY9OBHJue+JWE38/Q02wT1Q36vFjC7pmsNKmSvWhQ1QNZ9u V5iw== X-Gm-Message-State: AJIora93i1UYSqUDUhqCh0v0mwfqPVphjeJZb5vN/V7hKU9JDSuOkaT1 u/wfhvIqYhDIiKWKgh6IHei9CTSu7HblwsOo5Sq4vTTzgwoXv64/bYfJmcwgi36YQ9Xt9xih2KC Kc3/ZqDrc9jGgu64QjrUH X-Received: by 2002:ac8:5755:0:b0:31e:d70c:acc6 with SMTP id 21-20020ac85755000000b0031ed70cacc6mr3840029qtx.587.1659109762846; Fri, 29 Jul 2022 08:49:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1teJk/d+gucbKHfOjFpq52CQfa5dCM/8Bl2a7uzCNk2zeoG7KAAILx53L+YyHPt5mU38GQfDA== X-Received: by 2002:ac8:5755:0:b0:31e:d70c:acc6 with SMTP id 21-20020ac85755000000b0031ed70cacc6mr3840019qtx.587.1659109762602; Fri, 29 Jul 2022 08:49:22 -0700 (PDT) Received: from [192.168.0.241] (192-0-145-146.cpe.teksavvy.com. [192.0.145.146]) by smtp.gmail.com with ESMTPSA id bs11-20020a05620a470b00b006b5ef0aff29sm2814212qkb.87.2022.07.29.08.49.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Jul 2022 08:49:22 -0700 (PDT) Message-ID: <521807b2-e4a9-a3d2-43a5-1d70bcc716c8@redhat.com> Date: Fri, 29 Jul 2022 11:49:21 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v5 0/2] Linux: Fix posix_spawn when user with time namespaces To: Adhemerval Zanella Netto Cc: libc-alpha@sourceware.org References: <20220530174918.3056804-1-adhemerval.zanella@linaro.org> <55438381-3aee-01d4-bde0-7b61e2857057@redhat.com> <5F91F11D-5357-41B8-9943-7013FEE1D899@linaro.org> <0ca14781-62ab-208c-b190-5854b7b7925e@redhat.com> From: Carlos O'Donell Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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, 29 Jul 2022 15:49:33 -0000 On 7/19/22 08:56, Adhemerval Zanella Netto wrote: > > > On 18/07/22 23:33, Carlos O'Donell wrote: >> On 7/11/22 12:56, Adhemerval Zanella wrote: >>> >>> >>>> On 11 Jul 2022, at 12:32, Carlos O'Donell wrote: >>>> >>>> On 5/30/22 13:49, Adhemerval Zanella via Libc-alpha wrote: >>>>> The patchset also 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. >>>>> >>>>> v5: Use a MAP_SHARED page to communicate error on prepare phase from >>>>> helper process. >>>> >>>> The current progress is that it seems we may get the upstream Linux kernel >>>> to change the semantics of the time namespace to take effect only after >>>> exec for vfork. If that goes forward we won't need these changes? >>>> >>>> I'm trying to determine if these changes constitute a blocker for 2.36. >>> >>> My understanding is even kernel does change or add a new flag to handle >>> it, we still have released kernels that might hit this issue. >> >> Thanks. In which case I don't consider this a blocker for 2.36. It's a bug that we can fix >> in 2.37 and backport to 2.36 when we've completed the review. I've started looking at these >> changes but I think we need more testing in downstream. If we fix this when 2.37 opens we >> can start testing it in Fedora Rawhide early, and backport after we know we don't have >> further issues. >> > > I agree, I have not added it as a 2.36 as blocker although it would be > a good thing to have. We'll review this again when 2.37 opens. Since the details are hidden behind the interfaces in spawni.c it could be backported safely. -- Cheers, Carlos.