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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C6C3C43331 for ; Wed, 1 Apr 2020 20:55:47 +0000 (UTC) Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.kernel.org (Postfix) with SMTP id 6CE61206CC for ; Wed, 1 Apr 2020 20:55:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="WWbKUEBx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CE61206CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernel-hardening-return-18360-kernel-hardening=archiver.kernel.org@lists.openwall.com Received: (qmail 11887 invoked by uid 550); 1 Apr 2020 20:55:41 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Received: (qmail 11864 invoked from network); 1 Apr 2020 20:55:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yuHnHVGl5Hl/LCLky/lKRjfVSplQ/H5ogoCU1HMx1e8=; b=WWbKUEBx25usiEQ2sOtMr/aJGGNl/SWad/qB+6BBXRmLdbbOPDw+0Em7vvCLC8KHwE L0cmqvLGhMWA3DKwcIP/ALfr/FFFkSk9t8gs4fHWuRB/MEmppOKWwLyW0SIfro25/I7O JCyragl/0Fvlx0Ib8Kr7EkEmR2XWHQ4+fVTn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yuHnHVGl5Hl/LCLky/lKRjfVSplQ/H5ogoCU1HMx1e8=; b=qhgePKKFE4WO56vtFvf5YgwsxdVqgW5eDDdD91cXhNHWM5RQB+zulMM6oS1h05WpPk KOZuAAy1pggL990ElCTvYON8BHjfp/ctg2CEga/4pSkSztbaoUcMC8N8lSWnIPi+yCtd WWfNj69ngD0ffbpaXRHTdNqUJvAGIobwCjkYEX6NmxmZsiYXPDeymWqbrTcz7BZvzNLj I9UWFqbXvK+068SpI3xCVewiD2s1xYh+L4O3Nhm2EMyq8HYGbWLBp8G9/wqbq5C9Vt7m ebp+0dnieemZlXYcE08UiJKw0nyOwjMX0ylC72ZrDx2ObqnaOkJM4jEPJFUjPIDWu7+m fiEQ== X-Gm-Message-State: AGi0PuYXXc1ttIYrcj+fwiF/qgFyyviRqQIOyB1EOJdNSHtTT9TM7dZd sWVIht5BRXeAJfhlmOUT6i0gaBNEnug= X-Google-Smtp-Source: APiQypKDasVmR7YVokdunmCp3BS+ewgIj78dVPryxLID16N7jCVfXb2g8O2OjRyhVAhfQ+UKx0WK1w== X-Received: by 2002:a19:c1c5:: with SMTP id r188mr22892lff.191.1585774528811; Wed, 01 Apr 2020 13:55:28 -0700 (PDT) X-Received: by 2002:a2e:8652:: with SMTP id i18mr62644ljj.265.1585774527625; Wed, 01 Apr 2020 13:55:27 -0700 (PDT) MIME-Version: 1.0 References: <20200324215049.GA3710@pi3.com.pl> <202003291528.730A329@keescook> <87zhbvlyq7.fsf_-_@x220.int.ebiederm.org> In-Reply-To: <87zhbvlyq7.fsf_-_@x220.int.ebiederm.org> From: Linus Torvalds Date: Wed, 1 Apr 2020 13:55:11 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] signal: Extend exec_id to 64bits To: "Eric W. Biederman" Cc: Adam Zabrocki , Linux Kernel Mailing List , Kernel Hardening , Jann Horn , Oleg Nesterov , Andy Lutomirski , Bernd Edlinger , Kees Cook , Andrew Morton , stable Content-Type: text/plain; charset="UTF-8" On Wed, Apr 1, 2020 at 1:50 PM Eric W. Biederman wrote: > > I have updated the update of exec_id on exec to use WRITE_ONCE > and the read of exec_id in do_notify_parent to use READ_ONCE > to make it clear that there is no locking between these two > locations. Ack, makes sense to me. Just put it in your branch, this doesn't look urgent, considering that it's something that has been around forever. Linus