From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f196.google.com ([209.85.210.196]:40542 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727353AbeI2E3s (ORCPT ); Sat, 29 Sep 2018 00:29:48 -0400 Received: by mail-pf1-f196.google.com with SMTP id s5-v6so5169941pfj.7 for ; Fri, 28 Sep 2018 15:04:02 -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> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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