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.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,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 50625C63777 for ; Tue, 17 Nov 2020 21:42:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2B78241A7 for ; Tue, 17 Nov 2020 21:42:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbgKQVmD (ORCPT ); Tue, 17 Nov 2020 16:42:03 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:59537 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726182AbgKQVmD (ORCPT ); Tue, 17 Nov 2020 16:42:03 -0500 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1kf8jg-00352K-Sx; Tue, 17 Nov 2020 22:42:00 +0100 Received: from p5b13ac4a.dip0.t-ipconnect.de ([91.19.172.74] helo=[192.168.178.139]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1kf8jg-0035pI-Lm; Tue, 17 Nov 2020 22:42:00 +0100 Subject: Re: [PATCH] selftests/seccomp: sh: Fix register names To: Kees Cook Cc: linux-kernel@vger.kernel.org, Michael Karcher , Rich Felker , Andy Lutomirski , Will Drewry , linux-kselftest@vger.kernel.org References: <20201117205656.1000223-1-keescook@chromium.org> <921a7e36-8b58-4a59-029a-066f5a05859e@physik.fu-berlin.de> <202011171334.3F1BDC484@keescook> From: John Paul Adrian Glaubitz Message-ID: <8c5783bd-382b-724a-9928-379736746b56@physik.fu-berlin.de> Date: Tue, 17 Nov 2020 22:41:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <202011171334.3F1BDC484@keescook> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.172.74 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/17/20 10:35 PM, Kees Cook wrote: >> We were testing libsecomp itself but I think we might have forgotten the >> self-test. Not sure how these are run. > > If you're building natively, you can just build and run: > > cd tools/testing/selftests/seccomp > make > ./seccomp_bpf Thanks, I'll give that a try. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913