From patchwork Thu Jun 11 22:40:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 11601025 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5CBB660D for ; Thu, 11 Jun 2020 22:40:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FCF6208A7 for ; Thu, 11 Jun 2020 22:40:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PcTbzcIf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbgFKWkg (ORCPT ); Thu, 11 Jun 2020 18:40:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726300AbgFKWkf (ORCPT ); Thu, 11 Jun 2020 18:40:35 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04058C08C5C3 for ; Thu, 11 Jun 2020 15:40:34 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id m1so3176489pgk.1 for ; Thu, 11 Jun 2020 15:40:33 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=8dWTlQmCMbwiCMRbCjZeVNLJgh+V7boVZ7LhOeAZmyo=; b=PcTbzcIfN/saE1AKyLP3QLfA2xn3sj1rQc12e9h4y1nZg/WpR5cJ+Y9txDFlpgmijY iv7lV8cF7cbYkv1xG90AL2+IXFI7kSxFS2byEqpOo4nhl3KwK0vDiOUpNAQrfjAlAQHL Bh7Lva7/LeYU5LS9+4ahqy3TpQhYjTKtzBo2I= 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=8dWTlQmCMbwiCMRbCjZeVNLJgh+V7boVZ7LhOeAZmyo=; b=FJBBtfHCYsgsIQJHF6xHAdx7ARrQyx4l0MJ8O7LNVTA0KFDH9kCvzy6mTFMNnUy1k8 269gP/iKUruGUghTy5vEKA6AWUoFNuPWJs2WxcYr0GxIu8GkI4omCWrQvgtclN0cEk+u Z+QxS9qIKWgS+vKJdpnhbiZJmbBF2jXEANCPYLzbPR8z3Ycpy5UL31NtIEZXq1dnXEYt U3gUFZUVyALrydsosWIXacqsTnJpYlCSKgYlmzf7soFm0acAC37zdRKaJgOVn7xq/BYs 0wYREFAJupeUX+hU+N30lQmG0n2BfX/gXzmIXc4k0spI8jAjkJZowymr90G2+XA77siK kw6A== X-Gm-Message-State: AOAM532fxUk4XZhLhEaIxtvO69aSDP5LLh0STAvRaFda0s8EblAdmZxD tKTZ6NEy6wpRyQyaCgWHs7evPg== X-Google-Smtp-Source: ABdhPJwYQE6Yn7l9IEG5W8ln2RLgM5dItUHSf0HKCuHaqmAy5cEJBOXotmVD2AqsDCadSqoYlr4Okw== X-Received: by 2002:a65:6247:: with SMTP id q7mr8112057pgv.353.1591915233518; Thu, 11 Jun 2020 15:40:33 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id v9sm4125147pfe.198.2020.06.11.15.40.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 15:40:31 -0700 (PDT) From: Kees Cook To: Shuah Khan Cc: Kees Cook , Christian Brauner , linux-kselftest@vger.kernel.org, Andy Lutomirski , Will Drewry , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH 2/7] selftests: Remove unneeded selftest API headers Date: Thu, 11 Jun 2020 15:40:23 -0700 Message-Id: <20200611224028.3275174-3-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200611224028.3275174-1-keescook@chromium.org> References: <20200611224028.3275174-1-keescook@chromium.org> MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Remove unused includes of the kselftest.h header. Cc: Christian Brauner Cc: Shuah Khan Cc: linux-kselftest@vger.kernel.org Signed-off-by: Kees Cook Acked-by: Christian Brauner --- tools/testing/selftests/pid_namespace/regression_enomem.c | 1 - tools/testing/selftests/pidfd/pidfd_getfd_test.c | 1 - tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 - tools/testing/selftests/uevent/uevent_filtering.c | 1 - 4 files changed, 4 deletions(-) diff --git a/tools/testing/selftests/pid_namespace/regression_enomem.c b/tools/testing/selftests/pid_namespace/regression_enomem.c index 73d532556d17..7d84097ad45c 100644 --- a/tools/testing/selftests/pid_namespace/regression_enomem.c +++ b/tools/testing/selftests/pid_namespace/regression_enomem.c @@ -11,7 +11,6 @@ #include #include -#include "../kselftest.h" #include "../kselftest_harness.h" #include "../pidfd/pidfd.h" diff --git a/tools/testing/selftests/pidfd/pidfd_getfd_test.c b/tools/testing/selftests/pidfd/pidfd_getfd_test.c index 401a7c1d0312..eecbf18510fd 100644 --- a/tools/testing/selftests/pidfd/pidfd_getfd_test.c +++ b/tools/testing/selftests/pidfd/pidfd_getfd_test.c @@ -18,7 +18,6 @@ #include #include "pidfd.h" -#include "../kselftest.h" #include "../kselftest_harness.h" /* diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c index 133ec5b6cda8..f66861cf9c4d 100644 --- a/tools/testing/selftests/pidfd/pidfd_setns_test.c +++ b/tools/testing/selftests/pidfd/pidfd_setns_test.c @@ -20,7 +20,6 @@ #include "pidfd.h" #include "../clone3/clone3_selftests.h" -#include "../kselftest.h" #include "../kselftest_harness.h" enum { diff --git a/tools/testing/selftests/uevent/uevent_filtering.c b/tools/testing/selftests/uevent/uevent_filtering.c index f83391aa42cf..5cebfb356345 100644 --- a/tools/testing/selftests/uevent/uevent_filtering.c +++ b/tools/testing/selftests/uevent/uevent_filtering.c @@ -19,7 +19,6 @@ #include #include -#include "../kselftest.h" #include "../kselftest_harness.h" #define __DEV_FULL "/sys/devices/virtual/mem/full/uevent"