All of lore.kernel.org
 help / color / mirror / Atom feed
* unaligned handler problem
@ 2003-01-03 10:29 Pete Popov
  2003-01-03 13:46 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Pete Popov @ 2003-01-03 10:29 UTC (permalink / raw)
  To: linux-mips

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.

Pete

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-06 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 10:29 unaligned handler problem Pete Popov
2003-01-03 13:46 ` Ralf Baechle
2003-01-04 20:25   ` PATCH: " Pete Popov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.