From patchwork Wed Apr 24 16:37:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 10915209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E09713B5 for ; Wed, 24 Apr 2019 16:38:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D08028AB6 for ; Wed, 24 Apr 2019 16:38:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60E4928AE6; Wed, 24 Apr 2019 16:38:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DD8428AB6 for ; Wed, 24 Apr 2019 16:38:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732538AbfDXQiK (ORCPT ); Wed, 24 Apr 2019 12:38:10 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37123 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732641AbfDXQiI (ORCPT ); Wed, 24 Apr 2019 12:38:08 -0400 Received: by mail-pg1-f193.google.com with SMTP id e6so9649660pgc.4 for ; Wed, 24 Apr 2019 09:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=r/S1LhAqeQOBmkCpNjxYl/1Zvm5KV9actcRZTIkTSLw=; b=UOSnsuM7mNy+HX/4CvM9pdVLj6fJp9GTYGyXWyF2eqObvSiWLaC2VIg6NDlet6IQCl 6aJA58O8chedSxf51sAZHD63RnP5FO+qhd+SIFBIA0cZNfLT5dfzr6OdMsQnDDO9dOd5 G+QkKYWg889R602vk6SyUsVpXl+EToTTcTmhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=r/S1LhAqeQOBmkCpNjxYl/1Zvm5KV9actcRZTIkTSLw=; b=boS4qyh0alo0mr8OqMJo3pIgGfM9Y7wRRgdzpv7Rmi4XDzHKEezb/DHzYpcZuGEmOn Y20PimJq0FzQ2Sj6+V3LOYoTpjoklYKf1Dg537AP8fzylhXS1gJcYx4a2kehwYfwm6YH 34DYH/BqlYdT9KffeFs5AVl6gV5UpoQSEGK485ATMLZF/SS4UvwzOg5tKfrLuuB4iGHj u8sb+0vRgOdLyOhOUGK0FsSPxnb4ka1oEwUcC+pAjuH1ONXmuSBW3DbYEH92L0dZaHLP 4tQSOosHLTOllTq1GuL6MneNacJg7KTvmx2irg3AQuYqnxhyP1C40fEME6bQLl4MHMXQ 8t8A== X-Gm-Message-State: APjAAAXQhZrvwV+Ba785Tl5eY272spqTVPzFortKuWPGqAQbCTyE94Us 63G0PNIr34Qc03bfdzX5bRp8WQ== X-Google-Smtp-Source: APXvYqxsc7xy5bD6y8nu0RLXFkIzCBcIcsXjHfsCxI31Y29ZN2uYkroVm59OAGBKlkgJ1uri8jLQ3w== X-Received: by 2002:a63:d1f:: with SMTP id c31mr30469736pgl.353.1556123887179; Wed, 24 Apr 2019 09:38:07 -0700 (PDT) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id k186sm34923306pfc.137.2019.04.24.09.38.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 09:38:04 -0700 (PDT) From: Kees Cook To: Tycho Andersen Cc: Kees Cook , James Morris , Andy Lutomirski , Will Drewry , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] seccomp: Make NEW_LISTENER and TSYNC flags exclusive Date: Wed, 24 Apr 2019 09:37:54 -0700 Message-Id: <20190424163756.40001-1-keescook@chromium.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is just sending out the tweaked fix from Tycho and the selftest changes needed to support it. I intend to send this to Linus directly after it's been in -next for a few days for v5.1 fixes. Thanks! -Kees Kees Cook (1): selftests/seccomp: Prepare for exclusive seccomp flags Tycho Andersen (1): seccomp: Make NEW_LISTENER and TSYNC flags exclusive kernel/seccomp.c | 17 ++++++++-- tools/testing/selftests/seccomp/seccomp_bpf.c | 34 ++++++++++++++----- 2 files changed, 40 insertions(+), 11 deletions(-)