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]
Message-ID: <20060729142648.GH6843@martell.zuzino.mipt.ru>
Date:	Sat, 29 Jul 2006 18:26:48 +0400
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Jesper Juhl <jesper.juhl@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: 2.6.18-rc2-git7 build error with CONFIG_STACK_UNWIND enabled

On Sat, Jul 29, 2006 at 03:41:46PM +0200, Jesper Juhl wrote:
> With 2.6.18-rc2-git7 I get the following build error if I have
> CONFIG_STACK_UNWIND enabled :
> 
>  CC      arch/i386/kernel/traps.o
> arch/i386/kernel/traps.c: In function `show_trace_log_lvl':
> arch/i386/kernel/traps.c:193: error: invalid type argument of `->'
> arch/i386/kernel/traps.c:196: error: invalid type argument of `->'
> arch/i386/kernel/traps.c:197: error: invalid type argument of `->'

Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>

--- a/arch/i386/kernel/traps.c
+++ b/arch/i386/kernel/traps.c
@@ -190,11 +190,11 @@ static void show_trace_log_lvl(struct ta
 		if (unw_ret > 0 && !arch_unw_user_mode(&info)) {
 #ifdef CONFIG_STACK_UNWIND
 			print_symbol("DWARF2 unwinder stuck at %s\n",
-				     UNW_PC(info.regs));
+				     UNW_PC(&info));
 			if (call_trace == 1) {
 				printk("Leftover inexact backtrace:\n");
-				if (UNW_SP(info.regs))
-					stack = (void *)UNW_SP(info.regs);
+				if (UNW_SP(&info))
+					stack = (void *)UNW_SP(&info);
 			} else if (call_trace > 1)
 				return;
 			else

-
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