[PATCH RFC v2 0/2] m68k uaccess fault handling fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Version 2 of fixes for uaccess fault handling on 68030 -
these patches ought to work on 68040 just as well.

Patch 1 is a reworked version of my earlier RFC patch, extending
the exception table in __generic_copy_to_user by an additional
instruction past each moves instruction instead of using NOPs
to force the fault on that instruction.

Patch 2 corrects a similar problem in __constant_copy_to_user_asm
by using a combination of additional exception table entries
and a NOP placed after the final moves instruction. 

I have found only the 8 and 12 byte cases of this inline
code in use in the kernel, and have been able to test the 
8 byte case only (llseek). The 12 byte case (netdev ioctl)
may be impossible to exercise on m68k.

Testing on 040 and 060, as well as Coldfire, would be great.

Cheers,

   Michael






[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux