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>] [day] [month] [year] [list]
Message-ID: <640965.87593.qm@web15708.mail.cnb.yahoo.com>
Date:	Fri, 10 Jul 2009 17:47:16 +0800 (CST)
From:	peter meng <mengsanshui@...oo.com.cn>
To:	linux-kernel@...r.kernel.org
Subject: Ask a question about show_code  related mips architecture


Hi

I met problem under mips  architecture as following .
So I want to know whether <8c820000> is the current fault pointer like i386 ip register ?  Does mips has similar register ? 




epc   : 801343d4     Tainted: P  
ra    : 80134c3c Status: 10008503    KERNEL EXL IE 
Code: 001110c0  00431021  8c440010 <8c820000> 000212c2  30420001

static void show_code(unsigned int __user *pc)
{
	long i;
	unsigned short __user *pc16 = NULL;

	printk("\nCode:");

	if ((unsigned long)pc & 1)
		pc16 = (unsigned short __user *)((unsigned long)pc & ~1);
	for(i = -3 ; i < 6 ; i++) {
		unsigned int insn;
		if (pc16 ? __get_user(insn, pc16 + i) : __get_user(insn, pc + i)) {
			printk(" (Bad address in epc)\n");
			break;
		}
		printk("%c%0*x%c", (i?' ':'<'), pc16 ? 4 : 8, insn, (i?' ':'>'));
	}
}

Thank a lot .
Peter Meng


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