From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80694C6FA83 for ; Sun, 11 Sep 2022 22:51:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbiIKWv5 (ORCPT ); Sun, 11 Sep 2022 18:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiIKWvz (ORCPT ); Sun, 11 Sep 2022 18:51:55 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EEA1F616 for ; Sun, 11 Sep 2022 15:51:54 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id s10so7967413ljp.5 for ; Sun, 11 Sep 2022 15:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=yM7pyJPLpZr6W6HgiirCcLKrLf3hCJUXHi6htit82Vw=; b=F4gwHKGWrQRu6pQJx8cBbxgt54jl4czoZk8Z4XVyTLguTxfbTzp6sMpZu8nIopJM2r k3lLw7PnronxpJ83KSkAOswSbH5NguzrQ0aJ52dMv2/tgC7w6PtqBbJmP7e+eIzYJNjT OK4AlelOQbbd0CRd1YsxqERBq/nE1HX0r5lYzhvNDmjof/ooxKnjMBkKo9XYv6k1NQbZ h0ScnWs/6eZVeInjjf2LfRO0PClybPgCLZtW630AqifEb2u7Em2Z9xZvkKQ9qXSaSRNt YBxlTwZezBGCrDaV5nV4tOauakGCrfS+TiblC5MYYeHeJ6SwKmVGXfiqz/2BI6Tu3EJ0 rVrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=yM7pyJPLpZr6W6HgiirCcLKrLf3hCJUXHi6htit82Vw=; b=1ktE0f8/afeJ6NTrKYM2g9tW21d/K/lOJLDDD8ByYNxdE48aOtcoOsn2HnYY95hEy1 Oln/0ZicKhpOZQM+WUPFTWhc/ROLM4WAJrA6gACsdh6D07IWfjfv2A3H9+7JtWPa46sL OvAXm1xsH+dV33Fn8VErvd9ZlQAKOxRQEKGde7aZO/Ndb6A0Ldo1x0c3BUbSQ2PCby9f r9bOjidmVtANZioyrW2p51kWute9owpsExheI0fnVzuEqTxEUKatZ2A8IMlRoddnmAsG UUW75taLTb1MOLTfmK9yCC4SiCLSUXYlJo4BQIZezRbaMomvNi4kZk5VojcJ3dpk+/Wf aaTA== X-Gm-Message-State: ACgBeo1ep4O1JVvF+8t2qZxeF1ygqCSsPvRqvQr8/sKdi6nDtc2+VJUu Ydx8FpLpNYh7VPWue0knwhEHJM/l5ymlcfC5/gc= X-Google-Smtp-Source: AA6agR5FE2L8IC9yEVhYpJMTOZNPsrCj5VjsOUZA2VTB44ysrpFgzMSgWY/3NJH2N0zA6jcgT0doiinOz5DhHasfwHY= X-Received: by 2002:a2e:98ce:0:b0:26b:e763:27d1 with SMTP id s14-20020a2e98ce000000b0026be76327d1mr3464714ljj.306.1662936712597; Sun, 11 Sep 2022 15:51:52 -0700 (PDT) MIME-Version: 1.0 References: <87czcfhsme.fsf@email.froward.int.ebiederm.org> <874jxkcfoa.fsf@email.froward.int.ebiederm.org> <20220908081003.sjuerd5wiyge4jos@wittgenstein> <87v8pxa51n.fsf@email.froward.int.ebiederm.org> <20220909075158.ed4linrpwwabxabl@wittgenstein> <202209110810.F7352A26@keescook> In-Reply-To: <202209110810.F7352A26@keescook> From: Andrei Vagin Date: Sun, 11 Sep 2022 15:51:41 -0700 Message-ID: Subject: Re: Potentially undesirable interactions between vfork() and time namespaces To: Kees Cook Cc: Christian Brauner , "Eric W. Biederman" , Alexey Izbyshev , Florian Weimer , Dmitry Safonov <0x7f454c46@gmail.com>, linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 11, 2022 at 8:12 AM Kees Cook wrote: > > On Fri, Sep 09, 2022 at 09:51:58AM +0200, Christian Brauner wrote: > > As stated above the proposed exec behavior we currently clearly emulate > > in userspace. So that part is fine. > > It's not clear to me yet what the right solution is from this thread so > far... what's needed for v6.0 release (since we're quickly running out > of release candidates)? Kees, I think we reached a consensus to go with Eric's idea. We will send the patch shortly. Thanks, Andrei