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:	Thu, 22 May 2008 14:06:44 -0400 (EDT)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Pekka Paalanen <pq@....fi>
cc:	Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
	proski@....org, sandmann@...hat.com, a.p.zijlstra@...llo.nl,
	Steven Rostedt <srostedt@...hat.com>
Subject: [PATCH] ftrace: fix check_pages disable set


Pekka Paalanen pointed out that I didn't set the tracing_disabled flag
when check_pages failed.

Signed-off-by: Steven Rostedt <srostedt@...hat.com>
---
 kernel/trace/trace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-tip.git/kernel/trace/trace.c
===================================================================
--- linux-tip.git.orig/kernel/trace/trace.c	2008-05-22 11:44:51.000000000 -0400
+++ linux-tip.git/kernel/trace/trace.c	2008-05-22 14:03:51.000000000 -0400
@@ -251,7 +251,7 @@ __update_max_tr(struct trace_array *tr,

 #define CHECK_COND(cond)			\
 	if (unlikely(cond)) {			\
-		tracing_disabled = 0;		\
+		tracing_disabled = 1;		\
 		WARN_ON(1);			\
 		return -1;			\
 	}


--
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