lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri,  2 Oct 2015 17:43:32 +0200
From:	Daniel Borkmann <daniel@...earbox.net>
To:	mingo@...nel.org
Cc:	linux-kernel@...r.kernel.org,
	Daniel Borkmann <daniel@...earbox.net>,
	Alexei Starovoitov <ast@...mgrid.com>,
	Steven Rostedt <rostedt@...dmis.org>
Subject: [PATCH] ebpf, events: make it actually more configurable

While testing some other BPF issue, I realized that BPF_EVENTS is
actually not accessible through menuconfig because of a missing
description that needs to be attached to the bool. After the patch
the entry shows up in menuconfig and can be enabled/disabled from
there.

Fixes: e1abf2cc8d5d ("bpf: Fix the build on BPF_SYSCALL=y && !CONFIG_TRACING kernels, make it more configurable")
Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
Cc: Alexei Starovoitov <ast@...mgrid.com>
Cc: Ingo Molnar <mingo@...nel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>
---
 kernel/trace/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 1153c43..db9a8c4 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -433,9 +433,9 @@ config UPROBE_EVENT
 	  of perf tools on user space applications.
 
 config BPF_EVENTS
+	bool "Enable BPF programs to be attached to events"
 	depends on BPF_SYSCALL
 	depends on KPROBE_EVENT || UPROBE_EVENT
-	bool
 	default y
 	help
 	  This allows the user to attach BPF programs to kprobe events.
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ