Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp37358pxj; Thu, 10 Jun 2021 14:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJWpatkvimNEBpiqGjZaD8/CTGBmkZbJnNdAtNZlmxn+JmvQDWKlslbABEESpid8liS0pJ X-Received: by 2002:a17:906:6981:: with SMTP id i1mr422902ejr.289.1623359145666; Thu, 10 Jun 2021 14:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623359145; cv=none; d=google.com; s=arc-20160816; b=WpW1/B6t4KEV7p9E+t7f3zGFGrmIoxPY8U6ShcCCr1cUebY7FDbC+l9QUxQSyiKqBM V5haFaIlljMhYzsYRASwgG/f1o2aqDIcYEJ6YL0ipLaCEZcvqyWUGyUtrQbkm5LOQbQA UY1r1D6aVeW0AnKqNG2wwMOd5pxlDj/vohJRjyFyx6ePKVesPU7u6HsgHVVNHGlk19JP 4dmjUkhM2iCqn7xOnF3jRMCB6e61W5CJMqnWN3fZIHLATqNDHBJSwXqJ3Q1WQqe9VW03 rIPEorb1IQXnPcUjw7ika2hlXt8Z+qUgYj7A2AcWE3AavA+tnmMNOWARwzHjyiG2kzOT X5Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hvL3lGwbeiN7MBxmsi5XUSzTl5bywBkq1SiXoFH9p/Y=; b=WlHpSo+Dyfp0XaVqDt+vtOlEAevxmWmKzWFcy/9MxGxdumoG7rlG0fdIPwoQdjWcKO JkQ6XKWZIEP+/rfEOsJdKRJszmn7rhgE8SN+ER6yGLK3RuC6dPZYpU5u1tYErVJTxtsn yY5NuAcZYuodvqucj/JTmZpq2dwOt0nfD3ir8y2VHcczL/npDcIACG286744vwt6S1/o Cm16nQVDXE6ilJdNMK9afv+PhupS7l+1USSE9V6Q38t79+biqRYX8RZfvsSRIEMYRfav 4QALzRdUweZOkY6SiKulLCYwKyk95HuYLQyBOucNDgiRIlDpbrmEsEJra317pxY84e1F aoJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=h5msG03u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by27si2992778ejc.657.2021.06.10.14.05.21; Thu, 10 Jun 2021 14:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=h5msG03u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230216AbhFJVGV (ORCPT + 99 others); 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-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