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=-5.8 required=3.0 tests=BAYES_00,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 34505C48BDF for ; Thu, 10 Jun 2021 21:04:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1469E613D8 for ; Thu, 10 Jun 2021 21:04:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230291AbhFJVGV (ORCPT ); Thu, 10 Jun 2021 17:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbhFJVGU (ORCPT ); Thu, 10 Jun 2021 17:06:20 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDFFFC061574 for ; Thu, 10 Jun 2021 14:04:23 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id n17so6808405ljg.2 for ; Thu, 10 Jun 2021 14:04:23 -0700 (PDT) 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=hvL3lGwbeiN7MBxmsi5XUSzTl5bywBkq1SiXoFH9p/Y=; b=h5msG03u/H4hnhe+y6dZRvJGZM7Z1bjF9rSXqXZFXISpshwR35XOKKkNfFcU03dOQZ UOuf4TEMF1JPT/M4VVo37xPOjNyCt/8oZXgGCHZDs4SCE2xITO/oY8+2Ss+oKPbfETpd Q1u/byu5sVQ5jFQU3+ukI40pjUCqgaobqASIg= 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=hvL3lGwbeiN7MBxmsi5XUSzTl5bywBkq1SiXoFH9p/Y=; b=tkGZhqfBmZnUoKiH3e/6guWtqF1eUp0MyjZrLZCZlgtiLd63KNYGrRowrRak3QHM5V BMzVPZUaG95tbvfz3He8dAtuTH+mrXfm/e8hS0fwdfrv7KkGlZUo7kK9nZ61FQvj1IB7 91sILCS3SocsnLNkQ7mpmXPheLVSd+wh4ScwfkY12csrfkZjIEuanenxwIGHHtafHtZS 4XNIfP+yuLci9nv7HG6oJuPcS5YnxZacfoQx4LOarO/odMfWlvKWLzICN2JqgrCERQs5 cQdrEg48Ox/s6Bu+wf5JU3MhOxCI1BD5+1+XUvsLrYpL2Xt2Ob5WQCEXkRfWjCcHqDcB +F5Q== X-Gm-Message-State: AOAM533Z0AFi1pqSTKs6rouOiJ8Qz+u9M9pj1ziIHafgF9cl9VWmN5OL T9LDXuM4izlmDv4aZAWCP/HeSQOtq+tK7+vhQg8= X-Google-Smtp-Source: ABdhPJxWzd1corZuC3G018lswKcq/qTWZ8pLEwQgOYy1Ui4ibo90b//IKbebbWNmW7TUwfaVc5fF8w== X-Received: by 2002:a2e:9a96:: with SMTP id p22mr363606lji.389.1623359061430; Thu, 10 Jun 2021 14:04:21 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id f19sm466553ljn.88.2021.06.10.14.04.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Jun 2021 14:04:20 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id i10so5333737lfj.2 for ; Thu, 10 Jun 2021 14:04:20 -0700 (PDT) X-Received: by 2002:a05:6512:3d13:: with SMTP id d19mr433821lfv.41.1623359060330; Thu, 10 Jun 2021 14:04:20 -0700 (PDT) MIME-Version: 1.0 References: <192c9697e379bf084636a8213108be6c3b948d0b.camel@trillion01.com> <9692dbb420eef43a9775f425cb8f6f33c9ba2db9.camel@trillion01.com> <87h7i694ij.fsf_-_@disp2133> <198e912402486f66214146d4eabad8cb3f010a8e.camel@trillion01.com> <87eeda7nqe.fsf@disp2133> <87pmwt6biw.fsf@disp2133> <87czst5yxh.fsf_-_@disp2133> <87y2bh4jg5.fsf@disp2133> <87sg1p4h0g.fsf_-_@disp2133> In-Reply-To: <87sg1p4h0g.fsf_-_@disp2133> From: Linus Torvalds Date: Thu, 10 Jun 2021 14:04:04 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] coredump: Limit what can interrupt coredumps To: "Eric W. Biederman" Cc: Olivier Langlois , Linux Kernel Mailing List , linux-fsdevel , io-uring , Alexander Viro , Jens Axboe , "Pavel Begunkov>" , Oleg Nesterov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 1:11 PM Eric W. Biederman wrote: > > Make the coredump code more robust by explicitly testing for all of > the wakeup conditions the coredump code supports. This prevents > new wakeup conditions from breaking the coredump code, as well > as fixing the current issue. Thanks, applied. And lots of thanks to Olivier who kept debugging the odd coredump behavior he saw. Linus