Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6486122yba; Tue, 14 May 2019 08:20:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqw06Ykkqce1zO68Fq8AlJrl1RxS0Hn9ptghehKRZkLcs5Z4t73Waaz85U6ksDX1aFz6ik4k X-Received: by 2002:a17:902:18b:: with SMTP id b11mr13177548plb.264.1557847214574; Tue, 14 May 2019 08:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557847214; cv=none; d=google.com; s=arc-20160816; b=qO2yDS+Yl4InU3GfsTy0COOwMfbW4MpxYbjrJzX6ic3S68mTI35p3hXh+dIyaaOcNv YHf/MfHVAnz/uWAyrU0jyr3sPUgtvwyp+ChOLUfnFcM+D+/qJpBkMM+ClEvFzGvsbu7H e/f5SDLd0VF5dvi3pSac7a9wNYB0eOmqX+6DpwV4s3wbBN2es0G1qRHOZsy7WLdT6jji Y3aAnlfym3JXIsteiARRZoXEfiSmXcZ/+fTJdFRmmSM9F/UpdwLaWmEmTikF2EDOSa0R 8XROFxLvS/X0SZbmAY6Zzb/f/XrYucbB5SPzK8/K5A60VjricTx7A6bg/dQvSYmqg2Xa LceQ== 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=kIhiqSMek0R4jDQ4M9fJjcqpAO0J7pAlAP0TmoL3YBU=; b=Nko3ITGffLzq+YNR1m0gSt1SRWJpOS1ubObgPudYYe8pOlrA6Hfvanojv8fQX485eP wxAFnyJzeZqBJhfybfJu5wjyh3iLgbYAFeecksQyi3feyonqDEUmOtXP5ELovLzYeKVb wKNlR2CYswKlOmhSR4uETe6Mn70nabE2YFIObGkLdPHjAjklbAVpMhjCuKVhSjJ80s0y T2YtXUEhwkuvbia97COLnekfXs2e2+e0pAYkKfErcoPiIKaO5PKVh7nsyYcY9gm8NS3f +GN9mad7jUbGQwCVHW47BWg0pdIh6ZIX+ohhRBTt/a1rCtTXwDRCrVrLW5cLcz3WnXC/ WgOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brauner.io header.s=google header.b=MWKf30+c; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si12477603pld.66.2019.05.14.08.20.00; Tue, 14 May 2019 08:20:14 -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=@brauner.io header.s=google header.b=MWKf30+c; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726501AbfENPRN (ORCPT + 99 others); Tue, 14 May 2019 11:17:13 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41127 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfENPRN (ORCPT ); Tue, 14 May 2019 11:17:13 -0400 Received: by mail-wr1-f67.google.com with SMTP id d12so19637599wrm.8 for ; Tue, 14 May 2019 08:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brauner.io; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kIhiqSMek0R4jDQ4M9fJjcqpAO0J7pAlAP0TmoL3YBU=; b=MWKf30+ckK2l4pIoW7kmWtx0es9Q5LydNiOLlasRlMt5eVKvpCpZc1Db8FeOn/7Lca qBezESV/vORAvhPKmSV37sHHSK9cL3DplJpiDhpdjicctYGm3kw5k4Eh4qT4ukjCZXRw 8rpBWLBIXU7Zsz5fnrEvg5D3kl0yrssWtkueTsqB6u2hl5hq3S+uo5NVFQ9xcMVbaTkz QyNo/KspyptmClPv1NQdhYQlGUSmumdr8NwTJBp0m8TsbnugH49tZpIlkDTA6pLgxneX wuqZQZBdUcO3SgCnviUzoEIGYPmEb2dJco+lIwVACT+CTQnnSeZMqye7snSdWtlHPKOL nfLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kIhiqSMek0R4jDQ4M9fJjcqpAO0J7pAlAP0TmoL3YBU=; b=qoHpEH1bLWco8hZ6wF72lt6wQBXH5xZjEENGaOAbL1gYtRTlWtGVuUaypulao1/olB ZpbJb/v2/SP7skGt8dEOHlZUbSFpZ4UhPoMWi+zNLpbtSzOiVFZfudcxjSGcHZFehQRK d5cRXepzFTAkTbBQJBMVj+J1KpDpihvjP3tQT9eH5EQ5Y1bYHsKI7JX7WWqviFlhl58h Gc0EOL+GaH7OUW9RqEuiROxoYQAinmES1e1fz3ErtUCgxHL4Zy2jFKpI/qOQ/rnpxGZW hseQ8PhTC9N1Lk43qssMCzQU+acjSuT/dDThnUpF8fE1oQmquOI/sRFRR96anlhA/HvO Ohpg== X-Gm-Message-State: APjAAAVBdf3jNZcnttSAAfN9Mtfnr6SV7wvmGnxKL6r1WAXmQa9slQEV E6WBpCgbHpOgBbWQhuKsky9oAw== X-Received: by 2002:adf:cf05:: with SMTP id o5mr6473204wrj.262.1557847031802; Tue, 14 May 2019 08:17:11 -0700 (PDT) Received: from brauner.io ([81.92.17.147]) by smtp.gmail.com with ESMTPSA id n2sm29139738wra.89.2019.05.14.08.17.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 14 May 2019 08:17:11 -0700 (PDT) Date: Tue, 14 May 2019 17:17:08 +0200 From: Christian Brauner To: "Joel Fernandes (Google)" Cc: linux-kernel@vger.kernel.org, Al Viro , Andrew Morton , Andy Lutomirski , Arnd Bergmann , Daniel Colascione , David Howells , "Eric W. Biederman" , Greg Kroah-Hartman , Ingo Molnar , Jann Horn , Jonathan Kowalski , Kees Cook , kernel-team@android.com, KJ Tsanaktsidis , Linus Torvalds , linux-kselftest@vger.kernel.org, Michal Hocko , Nadav Amit , Oleg Nesterov , "Peter Zijlstra (Intel)" , Serge Hallyn , Shuah Khan , Steven Rostedt , Thomas Gleixner , Tim Murray , Tycho Andersen Subject: Re: [PATCH v2 2/2] Add selftests for pidfd polling Message-ID: <20190514151706.fu7ehba6hsxnvfaf@brauner.io> References: <20190430162154.61314-1-joel@joelfernandes.org> <20190430162154.61314-2-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190430162154.61314-2-joel@joelfernandes.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 30, 2019 at 12:21:54PM -0400, Joel Fernandes (Google) wrote: > Other than verifying pidfd based polling, the tests make sure that > wait semantics are preserved with the pidfd poll. Notably the 2 cases: > 1. If a thread group leader exits while threads still there, then no > pidfd poll notifcation should happen. > 2. If a non-thread group leader does an execve, then the thread group > leader is signaled to exit and is replaced with the execing thread > as the new leader, however the parent is not notified in this case. > > Signed-off-by: Joel Fernandes (Google) Applied to https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/log/?h=for-next and targeted for the 5.3 merge window. Thank you all! Christian