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: <201011040654.GDB05271.SOFJFFtOMLHOQV@I-love.SAKURA.ne.jp>
Date:	Thu, 4 Nov 2010 06:54:48 +0900
From:	Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To:	fengguang.wu@...el.com
Cc:	mrubin@...gle.com, david@...morbit.com, axboe@...nel.dk,
	kosaki.motohiro@...fujitsu.com, nickpiggin@...oo.com.au,
	akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
	linux-kernel@...r.kernel.org
Subject: Re: [2.6.37-rc1] /proc/vmstat failure.

Wu Fengguang wrote:
> On Wed, Nov 03, 2010 at 07:11:11PM +0800, Tetsuo Handa wrote:
> > Hello.
> > 
> > "cat /proc/vmstat" triggered below failure.
> > 
> > BUG: unable to handle kernel paging request at 07c06d16
> > IP: [<c050c336>] strnlen+0x6/0x20
> 
> It seems that m->private is of type (void *) while the original v is
> (unsigned long *). Can be fixed by the following patch.

Fixed by this patch. Thank you.

By the way, GCC treats "(void *) + offset" as "(char *) + offset"
but it is GCC specific extention. Maybe we should avoid such usage
in order to avoid build failure for other compilers.
--
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