Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1257091imm; Fri, 28 Sep 2018 15:04:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63L6ZYcYhIp1KCtq0ThoBsA45GMPZcEiWwYeoeFoiUWDkoGyEVFBWd3Vozs+YhWOKueaBE6 X-Received: by 2002:a17:902:968d:: with SMTP id n13-v6mr507210plp.33.1538172278664; Fri, 28 Sep 2018 15:04:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538172278; cv=none; d=google.com; s=arc-20160816; b=dVNyvJ+A69LBwgN+ROIzBKayV7AveuHCRzxy1q0biqRFaaJFFJ4DjutfhfZdThQnIm U3V/9Te8g6HFbH27bNWpaURWjEUbrs9JwWpzcFM8MMKTv2qB6h/3Hd5+LxfDXCHCBMwN AWhhd4RJePiXSlykTDgb2RNTZ6DCrnREJ5+Bbg3RfKMkHxK7UklyWhITRrx63c+d+pv7 WpzHUQQ+oGkRZZ7lCc4353ua8/OVfF/xmKCfrzTUWlY7NllyZK+NIentmkWYOmVjFqGe nMOeeEjJEW0CjCBrDVgKFMnL07AsKdkHPhJNiuQVfcqd6LrxwyxujhXz7/USGP+vrAeK D6fw== 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=iksJQKVMIAn1KtvJBHa4N3Je5oF6iRMhRCD60ze68Wc=; b=ZH31MdnCgFa2awJZayBMAzhFr2kQ7u4sg+LcfRRrhjrAXi8dZqTHGFZRcxie9zX9jJ 73vDLGGmSmboPD+miaCk1XbALWGMjTWVhKFrnaLXN5DPsz5EE7Rn/VzRkWrFjJs5FChT CBYEYth6g39eiqE7LnLzwVsGM58k5nQmVvIWWkqxx99L3s0n7MkokwePRK62/ICorlRR ARMKRmJAuWtbRe9QlbmqwFclSAZD9aYg01wRz2YfWtUBHTiNqxKEE0iVKQ39ona7+NDr UYtgiHLaPoEfXVbVNCiEYKPth5/CXMckdWSiaZYUXIK7RU/FPOrA8/l8VIx2PlxlhkMz GWGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b="yvTCyhf/"; 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 v5-v6si5652053plo.380.2018.09.28.15.04.24; Fri, 28 Sep 2018 15:04:38 -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=@tycho-ws.20150623.gappssmtp.com header.s=20150623 header.b="yvTCyhf/"; 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 S1727406AbeI2E3s (ORCPT + 99 others); Sat, 29 Sep 2018 00:29:48 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:34661 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727352AbeI2E3r (ORCPT ); Sat, 29 Sep 2018 00:29:47 -0400 Received: by mail-pf1-f195.google.com with SMTP id k19-v6so5191511pfi.1 for ; Fri, 28 Sep 2018 15:04:02 -0700 (PDT) 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=iksJQKVMIAn1KtvJBHa4N3Je5oF6iRMhRCD60ze68Wc=; b=yvTCyhf/dRXSIy2y+9O9Zc8YCdvyhat/LIJk3rmJGmA4Gg7VGvadJeR16VaCMn2Cyx 52IbGu+UiK0BEp9E68Ssm+ZxG06OhPnYWY6xT9imYK+4xvNYnw3ylzzWTaF/K4Ny+nXH hPgY8MdAkGpRS2Z0U45lGjZ7m7krgwZULLPnB7RoA+L0a9x8F4OWlDs8r83NnBzM+3eE wOD4GO1ZgUIJZ+ayDqWyJM3yiyQ4SRdL16rOqcyfqQDviHyP1p4aBO76hhBIuvNtgf7Z DuQAMA/SL9w5G427n8vrmahCV3uRfLI0NI8ak/FQ4Ira9B+QFSu3UU27oQidR5031UVo zxDg== 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=iksJQKVMIAn1KtvJBHa4N3Je5oF6iRMhRCD60ze68Wc=; b=mOz8zR+obENOfsoFNYXhImR+xz+fUBAe7zVpWiSi7LG1q382CQDJXUPtJotGsMYFiN e4nxA2uS/KiZHNbdSMq2FyYAAwb+G0yN2htVZzt0ZLsNTdWAeO9xmgvQIEf+nvIBqFjB JVsHF6XA6pNVQu0ZgrR1fCRfqJOgMwLjHtmASADpXtlYOPaZNMIC9ggofRLg3o99WJTb ahK8mcMtLEXdHykIf/ddjOlcKu8Hmkeb4dS5i36TTipgjZpkNN0OdEzCJFn7JCCSyCp0 khECBNCVAVh6jqsDS3Gcjkoa2s6XoulUsPnXozDLWjn171YlpkPRcUQXdL6LqhAmlbFr AADw== X-Gm-Message-State: ABuFfoge0S5swo52u02dZceuFeUWSX4hcgoyXDfCANeFlQQAVYPSrlFd JfjPTzCiCHfXVC8Zlo+SEDgJ2g== X-Received: by 2002:a65:4cc3:: with SMTP id n3-v6mr481510pgt.257.1538172242118; Fri, 28 Sep 2018 15:04:02 -0700 (PDT) Received: from cisco.lan ([128.107.241.171]) by smtp.gmail.com with ESMTPSA id d63-v6sm9256500pfd.94.2018.09.28.15.04.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Sep 2018 15:04:01 -0700 (PDT) Date: Fri, 28 Sep 2018 16:03:59 -0600 From: Tycho Andersen To: "Michael Kerrisk (man-opages)" Cc: Kees Cook , linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, linux-api@vger.kernel.org, Andy Lutomirski , Oleg Nesterov , "Eric W . Biederman" , "Serge E . Hallyn" , Christian Brauner , Tyler Hicks , Akihiro Suda , Jann Horn , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v7 0/6] seccomp trap to userspace Message-ID: <20180928220359.GF18045@cisco.lan> References: <20180927151119.9989-1-tycho@tycho.ws> <686fe047-16e6-3dfc-6284-ed574d97ad2f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <686fe047-16e6-3dfc-6284-ed574d97ad2f@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 28, 2018 at 11:57:40PM +0200, Michael Kerrisk (man-opages) wrote: > Hi Tycho, > > On 09/27/2018 05:11 PM, Tycho Andersen wrote: > > Hi all, > > > > Here's v7 of the seccomp trap to userspace set. There are various minor > > changes and bug fixes, but two major changes: > > > > * We now pass fds to the tracee via an ioctl, and do it immediately when > > the ioctl is called. For this we needed some help from the vfs, so > > I've put the one patch in this series and cc'd fsdevel. This does have > > the advantage that the feature is now totally decoupled from the rest > > of the set, which is itself useful (thanks Andy!) > > > > * Instead of putting all of the notification related stuff into the > > struct seccomp_filter, it now lives in its own struct notification, > > which is pointed to by struct seccomp_filter. This will save a lot of > > memory (thanks Tyler!) > > Is there a documentation (man page) patch for this API change? Not yet, but once we decide on a final API I'll prepare one. Cheers, Tycho