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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 8 Jan 2008 10:15:50 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Ananth N Mavinakayanahalli <ananth@...ibm.com>
Cc:	akpm@...ux-foundation.org, lkml <linux-kernel@...r.kernel.org>,
	Jim Keniston <jkenisto@...ibm.com>, mhiramat@...hat.com,
	davem@...emloft.net, hskinnemoen@...el.com
Subject: Re: [PATCH] Kprobes: Add kprobes smoke tests that run on boot


* Ananth N Mavinakayanahalli <ananth@...ibm.com> wrote:

> From: Ananth N Mavinakayanahalli <ananth@...ibm.com>
> 
> Here is a quick and naive smoke test for kprobes. This is intended to 
> just verify if some unrelated change broke the *probes subsystem. It 
> is self contained, architecture agnostic and isn't of any great use by 
> itself.
> 
> This needs to be built in the kernel and runs a basic set of tests to 
> verify if kprobes, jprobes and kretprobes run fine on the kernel. In 
> case of an error, it'll print out a message with a "BUG" prefix.

yay! Picked this up into x86.git for testing.

small detail: i moved the kernel/Makefile change to another spot (see 
below), this way it integrates without rejects with rcu-preempt and with 
the kgdb changes.

	Ingo

Index: linux-x86.q/kernel/Makefile
===================================================================
--- linux-x86.q.orig/kernel/Makefile
+++ linux-x86.q/kernel/Makefile
@@ -43,6 +43,7 @@ obj-$(CONFIG_CPUSETS) += cpuset.o
 obj-$(CONFIG_CGROUP_NS) += ns_cgroup.o
 obj-$(CONFIG_IKCONFIG) += configs.o
 obj-$(CONFIG_STOP_MACHINE) += stop_machine.o
+obj-$(CONFIG_KPROBES_SANITY_TEST) += test_kprobes.o
 obj-$(CONFIG_AUDIT) += audit.o auditfilter.o
 obj-$(CONFIG_AUDITSYSCALL) += auditsc.o
 obj-$(CONFIG_AUDIT_TREE) += audit_tree.o
--
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