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:	Mon, 13 Oct 2008 16:50:51 +0200
From:	Jiri Slaby <jirislaby@...il.com>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
CC:	Alan Cox <alan@...rguk.ukuu.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: GIT head no longer boots on x86-64

On 10/13/2008 04:45 PM, Linus Torvalds wrote:
> 
> On Mon, 13 Oct 2008, Jiri Slaby wrote:
>> +	sprint_symbol(buf, (unsigned long)__builtin_return_address(0));
>> +	if (!is_vmalloc_addr(vmalloc_addr) && !is_module_address(addr))
>> +		printk("BUG? %s (from %s): %p\n", __func__, buf, vmalloc_addr);
> 
> Just use
> 
> 	printk("BUG? %s (from %pS): %p\n",
> 		__func__,
> 		__builtin_return_address(0),
> 		vmalloc_addr);
> 
> and don't ever sprint_symbol() any more. 

Ok, thanks, I knew about it, but didn't remember it while I was hacking that
debug patch.
--
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