Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp971479ybl; Fri, 24 Jan 2020 12:58:31 -0800 (PST) X-Google-Smtp-Source: APXvYqz1FQlrJFf4Yuc/Y/Ahu7eNh2hC22+RrH+ZS9UQ8tgiebvUGcNtTmYajXhZFJnvgNxxCwHy X-Received: by 2002:a05:6808:3d9:: with SMTP id o25mr539747oie.126.1579899511538; Fri, 24 Jan 2020 12:58:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579899511; cv=none; d=google.com; s=arc-20160816; b=QRerjl1JDyweMyMDiuMw7A3fhO3wPeAZjgDcOxGVr5B2C0gkitdC7SPVplKT2XT8Rw SK5LcjMc98olt3t5NFK4eQSDjyZBHKgk/TqXAkPyqCUi7/TYH+yGweU9REU+dzTBSTpC U2/NsaOanXlGaAjkk5aoj4Gkh2Cmda3fi12MimkXgddd7bsav0dn5UWs/3WUYc/WS8qE zfNO1qVt6YVVylF6WZ4jNfsfT24bZFgluNkaGCT2ghjDKwRNn3xKaPFau6JrS99l/Qwp IuHE/KZktyNZBvO6P3axw0whI77BFTteTpscHXNw5iXYhFM2a7SPc8MZV1/7k8P9202P xRfw== 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=KYYV9rcdEb+nT+n76T9IL2Mvjnz++gVjwO67Ed6lDIA=; b=FwL3rB97ezEgR26Ly3pXrBWzrqmSr7HZ7A+AK1RooFZ+k3SBcNg4rIIH7qk1iRyjP5 T58uOEd7yH4v18WLntNYlScYgDN75XeremIBdUsl9j5wGXW1cok9/unMUAKgqplVkfyq j9Q/Um/SPHCjWnoGvPC87UlejboJlX5vkqsSHyuJU8Z+dXJxf2blYlIaaz54UOgyORD7 99l8KJCyrZxTXHmKtfBIGxAAB8/vmFrlN7s5sFKYLls2e/m36gTapmzByQfRKmNiZqQg f8M5Z2zCtXeuVBgmxgATXsAzP+bR3d7PUdc2L9Hr40WuYJc5CrZa62KHGH25RziRLbOu pGnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b=QLBgRrCR; 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 f15si315251oij.160.2020.01.24.12.58.19; Fri, 24 Jan 2020 12:58:31 -0800 (PST) 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=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b=QLBgRrCR; 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 S2391152AbgAXSDd (ORCPT + 99 others); Fri, 24 Jan 2020 13:03:33 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:35238 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391132AbgAXSDd (ORCPT ); Fri, 24 Jan 2020 13:03:33 -0500 Received: by mail-pj1-f67.google.com with SMTP id q39so176304pjc.0 for ; Fri, 24 Jan 2020 10:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KYYV9rcdEb+nT+n76T9IL2Mvjnz++gVjwO67Ed6lDIA=; b=QLBgRrCRV3Qrx7BRCpYBc1z6C+go7OJtBBMTk2vteQruNfk+Jb4+PlqJWk6jwdNFO9 Vw2yUcc/MCqfZTQ7O6Iqm/RGOxZOBFCNJ6kCB7uJEIIlLDpt/qm2YX1+QHI0GYc6jiTu +qzBhavepYUedI7ys2+YwQW/Bl+IVfsxJR0cnDnVJ9ED/qsqfOra6kyi8LhDIYt4kxy7 5Xj2aDsQ4WI17egTXDEFzF/O4IuypL8PFT07s029KMwqFmjLcdgGszHc7iny2Ynu33ot cLpN+/Ki10iyRJlbelw5tEM189ZIgkpyZlt5eCKwGw+flz72N+3qAgZ0fIZpiTfHgC+G DToA== 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=KYYV9rcdEb+nT+n76T9IL2Mvjnz++gVjwO67Ed6lDIA=; b=Fi/9neNZYzd4a7Mmm8G5pXKWE8D4vFkOxNDH7hdqZYm7AEWTjLpIcYckVpSigLi3OR UWeac2/qaBPLLQYj0i+ZXrloHc3o3nEli6fBqELQyYEkpArH4F+1xhZIQQL6+cuZYxR0 mQR1pQ54LQSszeQIi2OvuIGpMHikv9DvWsMnoOVzaLwreXa4bA7ufVJE77c0Un7DqsVn piBZnqw93ZU6AVJ28RZD61vooKulnvJoDl6l+IEdG3MLi/eZvpbMUovDuUB52nXhOOEC nGQIowbLc/HcYQ4cp7+HztEKHs3rK8CFMjdaMqVpmMzUOuT7dhVGsLiQT5dEws/GDdTH AaOQ== X-Gm-Message-State: APjAAAUcx+O3yF7a5Gsmb0ua9thZeoMsTx0462F7VfvBcQpb2hAjVyCb x+/z7PbNdTEVs5sXXlmH1uGkaQ== X-Received: by 2002:a17:90a:2763:: with SMTP id o90mr459921pje.110.1579889012413; Fri, 24 Jan 2020 10:03:32 -0800 (PST) Received: from cisco ([69.162.16.18]) by smtp.gmail.com with ESMTPSA id v15sm7022881pju.15.2020.01.24.10.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2020 10:03:31 -0800 (PST) Date: Fri, 24 Jan 2020 10:03:32 -0800 From: Tycho Andersen To: Sargun Dhillon Cc: linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, christian.brauner@ubuntu.com Subject: Re: [PATCH 3/4] seccomp: Add SECCOMP_USER_NOTIF_FLAG_PIDFD to get pidfd on listener trap Message-ID: <20200124180332.GA4151@cisco> References: <20200124091743.3357-1-sargun@sargun.me> <20200124091743.3357-4-sargun@sargun.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200124091743.3357-4-sargun@sargun.me> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 24, 2020 at 01:17:42AM -0800, Sargun Dhillon wrote: > Currently, this just opens the group leader of the thread that triggere > the event, as pidfds (currently) are limited to group leaders. I don't love the semantics of this; when they're not limited to thread group leaders any more, we won't be able to change this. Is that work far off? Tycho