From patchwork Sat Jan 19 00:12:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tycho Andersen X-Patchwork-Id: 10771849 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 D5F2C186E for ; Sat, 19 Jan 2019 00:12:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C606030764 for ; Sat, 19 Jan 2019 00:12:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA9FC3078E; Sat, 19 Jan 2019 00:12:51 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 6E70230764 for ; Sat, 19 Jan 2019 00:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730132AbfASAMv (ORCPT ); Fri, 18 Jan 2019 19:12:51 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:36368 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730197AbfASAMu (ORCPT ); Fri, 18 Jan 2019 19:12:50 -0500 Received: by mail-qk1-f193.google.com with SMTP id o125so9073549qkf.3 for ; Fri, 18 Jan 2019 16:12:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PHPeHYkiG+kt+yg/KDYa6TT6vm5cw8+nKFhtmOsn/MY=; b=dVPvPY0p88nbi7xYfnGZDQypj2AzdwLA+pslY51UkTa1rKYcsFDjuCKChqaFdnQEFH mQrej5Iwpmt34lz28apM1I+3+ts+sHmcW9Dyys7CLyoHlERzNOW95Cr8XFWVVPQamJbn iuN7K0xmb4VnqMVFwtmr0I3UOoHmHQYu3cWmAnClCWOkP8c+Wl3Wl6DAa2uVxfO0iuhd o0kfABuqmOw1apBAzxO+PTcJ3RD1Z5/K69Zcj7gfO8OsVKJ2hxhjOG4ocnOCBgbCnPJy 8cP5ghXTcEAr2e5+Vx5rFhzVMVO6ctkkzM7x2djFSSq1C+5xIJBbK0ZUMKMVxhRkeiPk 3y3w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PHPeHYkiG+kt+yg/KDYa6TT6vm5cw8+nKFhtmOsn/MY=; b=p/ZKycg8UNh38OhFkxaEzleX+saCYNvshDKpknvDwUxpEROsBTpMhyZ9feKjOC7FSP mvKtlH7axBqRtlD9+uP/By5dGp8YHQsyNjnNRz8VhH0W50QcczI4i2KruU8acWyHsLXO g6hOdjmGF7cC/De496JQJpx+BdXvum1M4HIXAh8hOrpjUlX8vaccsFkzi1yVPk+Iu4eD 7X6M8QOiXkWERP5H7V+aM/JSd33pXtqxst89Gm35fk7Sh1swWCbpAUiV1ZKdTW5oC41k tVJu2nVgnr/YVad293vUcCeQrZRBdMtqLVB4XTZ3ZNcvvLc0xeobrtSROqvwEUj6Ox15 HFMg== X-Gm-Message-State: AJcUuke+BeYepz4nYLsYBmca6RBcpE+blVXgK1Jl0uQ3Rlupn/kiyFGc MNKlCLXt3rfgz9D6fvqQMqaadw== X-Google-Smtp-Source: ALg8bN7GjBMjkRDGx0h5oKPePAucbY53bsa6D7FKrFdkkpk9z7VisjAj6GXq0T4pq9X6J3Do8nl/SA== X-Received: by 2002:a37:b46:: with SMTP id 67mr17474806qkl.256.1547856769251; Fri, 18 Jan 2019 16:12:49 -0800 (PST) Received: from localhost.localdomain ([64.125.109.186]) by smtp.gmail.com with ESMTPSA id m14sm41140501qka.21.2019.01.18.16.12.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 16:12:48 -0800 (PST) From: Tycho Andersen To: Shuah Khan , Kees Cook Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Tycho Andersen Subject: [PATCH 2/6] selftests: fix typo in seccomp_bpf.c Date: Fri, 18 Jan 2019 17:12:13 -0700 Message-Id: <20190119001217.12660-3-tycho@tycho.ws> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190119001217.12660-1-tycho@tycho.ws> References: <20190119001217.12660-1-tycho@tycho.ws> MIME-Version: 1.0 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 There used to be an explanation here because it could trigger lockdep previously, but now we're not doing recursive locking, so it really is just for grins. Signed-off-by: Tycho Andersen --- tools/testing/selftests/seccomp/seccomp_bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c index 9aba1b904089..912a2a5430dc 100644 --- a/tools/testing/selftests/seccomp/seccomp_bpf.c +++ b/tools/testing/selftests/seccomp/seccomp_bpf.c @@ -3035,7 +3035,7 @@ TEST(user_notification_basic) EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ(0, WEXITSTATUS(status)); - /* Add some no-op filters so for grins. */ + /* Add some no-op filters for grins. */ EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0); EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0); EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0);