From patchwork Thu Sep 19 22:02:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "gregkh@linuxfoundation.org" X-Patchwork-Id: 174101 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1593711ill; Thu, 19 Sep 2019 15:08:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzovEtBy9FhDn/hK+WAx5JTMHturCKLphIA7Q3rs5pam1HKTGB/TRbR+Y7mWv4RwBvhdXlA X-Received: by 2002:aa7:d611:: with SMTP id c17mr14211838edr.196.1568930912291; Thu, 19 Sep 2019 15:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568930912; cv=none; d=google.com; s=arc-20160816; b=hFkrzZpL/JBiIaHq/Fq/xLLiUSmWeZgRCvakB4k1czxvdFPobjASN9accRC3xym2Di 2W4M+O8uvwWDAlHRwTSsA24zG7+X1XxPdr2T/qgiy9sY5pEIptF6j7cFP6P1Qb36K4PC 0H6+IxMWbi4XZkOXr5UfF8jwUxsPPQ4Gy3kYQgx1VvTe8LJAk9JTuP9lHiru7K4SZepj Ng4f0jX923v55HrQJ14S++5N/iuYmvVCTT6VRUMybZ1x72vsl3121wYKo7jbXi6JPzjN 5dySDsCHM/dSuG4msOKn8tH7zl3Rs5F/JaFLw9R5bX8DsOeK86/NPrLbg3ithhR7f58R Yh5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RjAAzQlOLmxkrLhtB/l8AIuiygOJqzpzALNZTNJK1+o=; b=exr+vuXfh7zpt5ucmVl1V5BT+GvDChEe/vHuCq+4ggBMEf/IJQx5HScvqAEkRquCUu nQwlPnPizA/uHzcgYwahEu87vtrztT3aHywa8Ek80j86LxL58VR8KxNMLRgjXJPROQBk Pi4JEi6IihrzHwG2plyLZm2tjcv9U1iP4xfOqCrdPoON2KJ5PGFSdNCGk+TeXIFPVXrf ooe3OWnnKmMLVOxAMMaBcI31BUSPvs6mab2VMwL+wfxT2x1v6ua6zl6BWmmb1QjJxWxG 5S9rL1SEDeylyjVI6XW0xxRm3NbCSHgPOG/JTaQb77g6r/jXHXNc/t7Vxcp1XfNc4aXL 113A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JId8Wjvo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si1135073ejs.197.2019.09.19.15.08.32; Thu, 19 Sep 2019 15:08:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JId8Wjvo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393440AbfISWIb (ORCPT + 26 others); Thu, 19 Sep 2019 18:08:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:46368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393418AbfISWI0 (ORCPT ); Thu, 19 Sep 2019 18:08:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 452E321927; Thu, 19 Sep 2019 22:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568930905; bh=zPGuwjDYDiMDQS1Q5oFy7DwqvLOrtR8i3MQgAW0T9QA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JId8Wjvo73JVXzlrF256AUi7DDUuo8bdYDHE1B/DuWUedOgsrVH44O6xIjxd43Fjk cnFcCM1U5POnBBx0FlpOrz0cjqiQtC2sS84rb2aMcf5v4UXb2VwtC+Uma1cv2MQfb/ RevbyzCMe2KLSirobilff6LnruaZh64ZkFZ7oVww= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anders Roxell , Daniel Borkmann , Sasha Levin Subject: [PATCH 5.2 057/124] selftests/bpf: add config fragment BPF_JIT Date: Fri, 20 Sep 2019 00:02:25 +0200 Message-Id: <20190919214821.075146918@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190919214819.198419517@linuxfoundation.org> References: <20190919214819.198419517@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anders Roxell [ Upstream commit 0604409df9e04cdec7b08d471c8c1c0c10b5554d ] When running test_kmod.sh the following shows up # sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory cannot: stat_/proc/sys/net/core/bpf_jit_enable # # sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory cannot: stat_/proc/sys/net/core/bpf_jit_harden # Rework to enable CONFIG_BPF_JIT to solve "No such file or directory" Signed-off-by: Anders Roxell Signed-off-by: Daniel Borkmann Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index f7a0744db31e1..5dc109f4c0970 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -34,3 +34,4 @@ CONFIG_NET_MPLS_GSO=m CONFIG_MPLS_ROUTING=m CONFIG_MPLS_IPTUNNEL=m CONFIG_IPV6_SIT=m +CONFIG_BPF_JIT=y