Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp817787imm; Wed, 13 Jun 2018 08:44:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLz9HQ31i1hWT1B7E/DdNWO18mL4fDxMXYqaotxOObTluxTtAg5Zy32goHCObAIlakEAMNI X-Received: by 2002:a65:40c3:: with SMTP id u3-v6mr4611279pgp.252.1528904656558; Wed, 13 Jun 2018 08:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528904656; cv=none; d=google.com; s=arc-20160816; b=TvF62Fe4UKiUK1D4X/E01dC+hcRedhs61POjeT/+LOs5vjV4tkIAuf3LLqIhMIdetg lC7xlhdAe4Z/7Od4x1fO7a8AExfmek2hutm6klvsbOK4LiZxKQmukDyN+ub+QxrMXMkl aBBdugIXK/js0voFHsnEptIXUv9S6OXzNDVp+OiPaE9XbsjxdjR+wlx5oNg+dkOp1Wr7 kEdTzpk6k6tSl74+EcK+bX33roAGRbV7jonvQ6c+2U+No3nHNupQ65iJSdJ44zQu0HJo 4qAuiFp/N+ynoiphWjRmZtW5GnuTKX/Bx2poAn/xyfIa/WxSf8z8XJ9ixNvLaFcMnixU E8MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=rbv3LFQpwkrqD8YmW+XftjO/vG3Ok/eabDEVpMqWqS0=; b=siWQzgHrtqZxhIQ5vP9aiBtX9mFChRMHRrSUuME2vPu4yh4dz7MhFSpVmzrSfuiRaD ODH3rn4/seT0xZQ3U1fAJwtXsAMfK+JPVuwNM8+MtQzHaEwLCEgvp0L3Q/3IBDaY/4i0 K77EDutxz/aUkhBHM8WMP5fDqAUJIgQ/ZuBPTxVmebvEqrTrglrxHxoThJ9Mw258tzN9 3kddaUp677kIc6WYKwzMhaFquP5nB87ix9KsRdWl4GQx09DLLcvjuDzUKJ4ZLlzvGCCv juC8RB5uvg+F+vA1RBg7NAmbzsEnOg5ZtHJbZBk4dHR5Svo0RoAn4ODtniqPX/OYfU/L RQqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=WY6QUJH2; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si3189196plb.204.2018.06.13.08.44.02; Wed, 13 Jun 2018 08:44:16 -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=@google.com header.s=20161025 header.b=WY6QUJH2; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936005AbeFMPnX (ORCPT + 99 others); Wed, 13 Jun 2018 11:43:23 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:35134 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935833AbeFMPnW (ORCPT ); Wed, 13 Jun 2018 11:43:22 -0400 Received: by mail-oi0-f68.google.com with SMTP id e8-v6so2755470oii.2 for ; Wed, 13 Jun 2018 08:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rbv3LFQpwkrqD8YmW+XftjO/vG3Ok/eabDEVpMqWqS0=; b=WY6QUJH2BgVIOi8HHAOq85YMU9v7WznhC3V9NZFtjk0Y1kGbF2uap06owHgsr9HtZj j+7lBrlts6OsC0QD4D8pIYZ1qmboqsI7JA2zbGENLVENtb9fCKxt5r861AoUGtyEHYxJ 4qqmb+VjLma0yWXqldE4GYJO7IESgzRW8/HEgq2IAwl04Bocn5hgzO0LdNX36mUqkpXp /3zKfbfB9PIQ205VeYYpK92o+z2FVpO8qrJ9hGnB797nGB3NpGDIjl/16PW+QkGwi8yt 15LJDI1Wih7s0FCYLa4eU4biabomY8O6h3+9Yar/6Tpc1YfI/kcsN7DV4/ng4gj1h0Gm IcCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rbv3LFQpwkrqD8YmW+XftjO/vG3Ok/eabDEVpMqWqS0=; b=byNSXDH5dhfp+wENstmYyNT21mZQ/3xnZdA5iJitAzfnnfPvEih04uQMovGrgrUkv7 GdyZk3o3au3NYvQhCQ99m1++z7MCxsqa92MioTiPHs34rQNKBNG/teoK7kSkjCkfv7+B lDqtMzembFutFk4JfsSOV/Qrjola5Nn+WsrfmCSlUBrBrj1xTSlTyYVbNs/WW2e7bmKR VS2PC2rkhJddpRsxf/yOncZMKHAMdpPCbERAnbC/gNS+9FpRPcSBSl/1oiU6mtQbebvB vmmeFSG5ZZKliM3H2K02MyVBtQyOi1JO/pxPPpMMHUqQIUP55d7OEy+zSDeQ7yvjHo+T 9Fig== X-Gm-Message-State: APt69E0TixTpZPPlcI8l+oGGzRqUbvzup3fRVnKfPWr4oMh+hjw5xEuR ZxesrjoJiD7AH+wMwwKjs5UvBNT9xuOMMyja5M8bDQ== X-Received: by 2002:aca:3048:: with SMTP id w69-v6mr4390349oiw.29.1528904601256; Wed, 13 Jun 2018 08:43:21 -0700 (PDT) MIME-Version: 1.0 References: <20180531144949.24995-1-tycho@tycho.ws> <20180531144949.24995-2-tycho@tycho.ws> <20180604001812.GE15998@cisco> In-Reply-To: From: Jann Horn Date: Wed, 13 Jun 2018 17:43:08 +0200 Message-ID: Subject: Re: [PATCH v3 1/4] seccomp: add a return code to trap to userspace To: Tycho Andersen Cc: kernel list , containers@lists.linux-foundation.org, Kees Cook , Andy Lutomirski , Oleg Nesterov , "Eric W. Biederman" , "Serge E. Hallyn" , Christian Brauner , Tyler Hicks , suda.akihiro@lab.ntt.co.jp, "Tobin C. Harding" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 13, 2018 at 5:32 PM Jann Horn wrote: > > On Mon, Jun 4, 2018 at 2:18 AM Tycho Andersen wrote: > > > > Hi Jann, > > > > On Sun, Jun 03, 2018 at 08:41:01PM +0200, Jann Horn wrote: > > > On Sun, Jun 3, 2018 at 2:29 PM Tycho Andersen wrote: > > > > > > > > This patch introduces a means for syscalls matched in seccomp to notify > > > > some other task that a particular filter has been triggered. [...] By the way: You should probably CC linux-api@ on the next version of this patchset. Documentation/process/submitting-patches.rst says: | If changes affect userland-kernel interfaces, please send the MAN-PAGES | maintainer (as listed in the MAINTAINERS file) a man-pages patch, or at | least a notification of the change, so that some information makes its way | into the manual pages. User-space API changes should also be copied to | linux-api@vger.kernel.org.