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] [day] [month] [year] [list]
Message-Id: <20130423122617.c96d332c2b0c41ea6cf82998@linux-foundation.org>
Date:	Tue, 23 Apr 2013 12:26:17 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de>
Cc:	linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at>,
	kernel@...gutronix.de
Subject: Re: init-mainc-convert-to-pr_foo.patch is IMHO broken

On Tue, 23 Apr 2013 21:18:39 +0200 Uwe Kleine-K__nig <u.kleine-koenig@...gutronix.de> wrote:

> Hello,
> 
> init-mainc-convert-to-pr_foo.patch breaks the initcall_debug kernel
> parameter. Before the patch I could add
> 
> 	initcall_debug ignore_loglevel
> 
> to the kernel command line and got some additional output about
> initcalls. Now that init/main.c uses pr_debug instead of
> printk(KERN_DEBUG ...) the interesting statements are not compiled in
> any more.
> 

huh.  pr_debug() is different from all the other pr_foo()s.  I never
noticed that.

This?

--- a/init/main.c~init-mainc-convert-to-pr_foo-fix
+++ a/init/main.c
@@ -9,6 +9,8 @@
  *  Simplified starting of init:  Michael A. Griffith <grif@....org> 
  */
 
+#define DEBUG
+
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/proc_fs.h>
_

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