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=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 DEB91C433E2 for ; Fri, 10 Jul 2020 12:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BDD38206F4 for ; Fri, 10 Jul 2020 12:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594384842; bh=G1Zd3fMwHC2mB8xQeDxKb6Q+dLmT3gD13gUrA5sfzVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=S7rwGKfceZIE8D7UbxlMGV67sSimxAZyXVMaXnmjyYyG8RbEIA5GyT5ryMA5kA2rf 1oexRUsOSgKl9NUR1ccseStVwG9a7GkryWDAmiH/hJwBEfjFVne0LitH+OYfE1lc+a sBbzS5lOwgUA7nUI5TIzsGd+93zk7ogWTx+WME2U= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727818AbgGJMkl (ORCPT ); Fri, 10 Jul 2020 08:40:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:37328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbgGJMkj (ORCPT ); Fri, 10 Jul 2020 08:40:39 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BF28F206F4; Fri, 10 Jul 2020 12:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594384839; bh=G1Zd3fMwHC2mB8xQeDxKb6Q+dLmT3gD13gUrA5sfzVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CvNThnL+5RDXewbvg33s7F+uhgBepJ+qyyyW1ObQDEo3nuQ3Ty1ei8UAc8ag6KywE iWpdLH6EnJcuBnfq416UxpCWVQ+2B8AwBh2tZMd5+wasVKh7wne6+CCB23hhqmmjDv eOLRvXJsktcPK2etc+gadLc6yZPNNSEJYYkmVECM= Date: Fri, 10 Jul 2020 13:40:33 +0100 From: Will Deacon To: Kees Cook Cc: Keno Fischer , Andy Lutomirski , Will Drewry , Oleg Nesterov , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH for-next/seccomp 0/3] Check ENOSYS under tracing Message-ID: <20200710124033.GA30458@willie-the-truck> References: <20200705061232.4151319-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200705061232.4151319-1-keescook@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 04, 2020 at 11:12:29PM -0700, Kees Cook wrote: > This expands the seccomp selftest to poke a architectural behavior corner > that Keno Fischer noticed[1]. In the process, I took the opportunity > to do the kselftest harness variant refactoring I'd been meaning to do, > which made adding this test much nicer. > > I'd prefer this went via the seccomp tree, as it builds on top of the > other recent seccomp feature addition tests. Testing and reviews are > welcome! :) Thanks! I tested these on arm64 (qemu) and they helped me to find a bug in some patches I was writing. Tested-by: Will Deacon Will