Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1769394ybb; Sat, 11 Apr 2020 11:22:23 -0700 (PDT) X-Google-Smtp-Source: APiQypI2FhE3Psow5ffGSWLCy5aGPd7uRIIqMidOYVJ+n9iidnPfFkhPSKTHrUQ2Bz5dl/FxQVOR X-Received: by 2002:a37:77c3:: with SMTP id s186mr9379619qkc.6.1586629343692; Sat, 11 Apr 2020 11:22:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586629343; cv=none; d=google.com; s=arc-20160816; b=Pditw8lu0Xt6OW4x8C8wVrQqengvgjdxPgZSCJHt2zA1ZaMkofKfEmp3THIq91u7OP F8JUimJKDFLbeVOyTeyWnG6Gjeb+/mRiwGMlH0KkTDDEWkUzzL9QpI5a1gR9OdbZlCC9 8V7fYWn48qUZSp0yjc1Pu0hx3y6VjgGCDw0Wz9NKoxsEGMtM76PYt2S0bHXikyiRXndV +Qnlmcr7WmC58RoRC/VS3Q0jcG/iUyY+WatI2wPv2S+B0EqPQNMq+cAKml68i5xgd08/ Kcy58YWwj9lfDIZQBcyyV3Lv5ZUsyjCbBRwSrgWAK7CePCtZDLPPWMh2nD1g0W37JIai YQLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CV+A9KFgGyBleHpbccnyLWR3WWFAZszcweg/siBgpWI=; b=PNMrpTEFY4vVRns/6wCQik4bHHBn+dmCywqOXM3bK1xBvAQgyL/J/4gW3gokopYq38 hJzdcvBH6Hh4rLsUXZ4YlPAeSAIYX0Cq0ryI4tMS/nKBSfU7WwVpi/8hnsMGUAik7iTl rJhdVlFOgT2G/6hHHAk8zKfJt0+WnBu1UxiFF8SL8vfgyGAylnn7eWmFk4UZooZckuLp XIBFfS4e3jTpHvftL95i2+fBnV9bi60knn5HagAYmFmhQ+5HP+um03x1tjv/9R2mmuhD A6ScRk1mHvHzgPm7w2sHm6uRMv/5KBd09rE+cEk6eo7vI0Yr/n61ZxI3v2ggi+GrMxc1 Mzxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KiutHU0k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a29si3208581qtb.180.2020.04.11.11.22.07; Sat, 11 Apr 2020 11:22:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KiutHU0k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726256AbgDKSVL (ORCPT + 99 others); Sat, 11 Apr 2020 14:21:11 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:23796 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726129AbgDKSVL (ORCPT ); Sat, 11 Apr 2020 14:21:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586629270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CV+A9KFgGyBleHpbccnyLWR3WWFAZszcweg/siBgpWI=; b=KiutHU0kr3MiGHXbMdI1XA5Z6KUTR/TBjHBpjw2LvwPr0dUxROLR/65GMtt/9ikdOzJMU+ rSi4ad1juLxOxBe8bsVC33+f8U5oZa8YfxkFfllZ/e88xGbD3b2p5TVVr7sUVfhH/KmR87 3VGppwd6glGPce0rr+l5gpWd2JSpDpg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-41-M3PtyYiiMo-H7Mwh--TO9Q-1; Sat, 11 Apr 2020 14:21:04 -0400 X-MC-Unique: M3PtyYiiMo-H7Mwh--TO9Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AB278107ACC4; Sat, 11 Apr 2020 18:20:49 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.192.53]) by smtp.corp.redhat.com (Postfix) with SMTP id F0F1D5D9C9; Sat, 11 Apr 2020 18:20:44 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Sat, 11 Apr 2020 20:20:49 +0200 (CEST) Date: Sat, 11 Apr 2020 20:20:43 +0200 From: Oleg Nesterov To: Linus Torvalds Cc: "Eric W. Biederman" , Bernd Edlinger , Waiman Long , Ingo Molnar , Will Deacon , Linux Kernel Mailing List , Alexey Gladkov Subject: Re: [GIT PULL] Please pull proc and exec work for 5.7-rc1 Message-ID: <20200411182043.GA3136@redhat.com> References: <87imi8nzlw.fsf@x220.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric, Linus, et al, by various reasons I have not been reading emails for last weeks, I'll try to read this thread tomorrow, currently I am a bit lost. On 04/09, Linus Torvalds wrote: > > (1) have execve() not wait for dead threads while holding the cred > mutex This is what I tried to do 3 years ago, see [PATCH 1/2] exec: don't wait for zombie threads with cred_guard_mutex held https://lore.kernel.org/lkml/20170213141516.GA30233@redhat.com/ yes, yes, yes, the patch is not pretty. From your another email: > /* if the parent is going through a execve(), it's not listening */ > if (parent->signal->group_exit_task) return false; Heh ;) see [PATCH 2/2] ptrace: ensure PTRACE_EVENT_EXIT won't stop if the tracee is killed by exec https://lore.kernel.org/lkml/20170213141519.GA30239@redhat.com/ from the same thread. But this change is more problematic. Oleg.