[Top] [All Lists]

unaligned handler problem

To: linux-mips <>
Subject: unaligned handler problem
From: Pete Popov <>
Date: 03 Jan 2003 02:29:22 -0800
Organization: MontaVista Software
Original-recipient: rfc822;
The changes betwen rev 1.23 and 1.24 in unaligned.c, to replace
check_axs() with verify_area(), causes any unaligned access from within
a kernel module to crash. access_ok() returns -EFAULT as the
__access_mask is 0xffffffff so __access_ok evaluates to > 0.  It's too
late for me to look into it any further but perhaps the problem will be
obvious to someone else. I'm not sure what get_fs() should return in
this case (again, the access is from within a kernel module) but it
returns 0xffffffff.


<Prev in Thread] Current Thread [Next in Thread>