From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CF50C433E0 for ; Fri, 29 May 2020 08:00:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5066F21532 for ; Fri, 29 May 2020 08:00:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726071AbgE2IAb (ORCPT ); Fri, 29 May 2020 04:00:31 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35376 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgE2IAb (ORCPT ); Fri, 29 May 2020 04:00:31 -0400 Received: from ip5f5af183.dynamic.kabel-deutschland.de ([95.90.241.131] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jeZwJ-00041g-9k; Fri, 29 May 2020 08:00:27 +0000 Date: Fri, 29 May 2020 10:00:26 +0200 From: Christian Brauner To: Kees Cook Cc: Robert Sesek , Chris Palmer , Jann Horn , Jeffrey Vander Stoep , Linux Containers , linux-kernel@vger.kernel.org, Matt Denton , Andy Lutomirski Subject: Re: [PATCH v2 2/2] tests: test seccomp filter notifications Message-ID: <20200529080026.hwuzcr6ah4egyszo@wittgenstein> References: <20200528151412.265444-1-christian.brauner@ubuntu.com> <20200528151412.265444-2-christian.brauner@ubuntu.com> <202005282240.B9AE912F6E@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <202005282240.B9AE912F6E@keescook> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 28, 2020 at 10:41:45PM -0700, Kees Cook wrote: > On Thu, May 28, 2020 at 05:14:12PM +0200, Christian Brauner wrote: > > This verifies we're correctly notified when a seccomp filter becomes > > unused when a notifier is in use. > > While you're adding this, can you adjust the other user_notif tests to > check for POLLHUP as well (i.e fail if it appears)? Sure can do. :) Christian