linux-hardened/arch/parisc
Grant Grundler 37318a3cb1 [PARISC] Fix copy_user_page_asm to NOT access past end of page
2.6.12-rc2-pa3 fix copy_user_page_asm to NOT access past end of page.

My bad. /o\
Lamont confirmed that instructions following a conditional
branch are *alway* executed regardless if the branch is taken or not.
Unless they are nullified (which was missing in this case).

He also noted:
Conditional branches nullify on forward taken branch, and on
non-taken backward branch. Note that .+4 is a backwards branch.

This makes alot more sense than the giberish in the PA20 arch book.

Compiles and boots on both 64-bit (a500) and 32-bit (j6k).

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2005-10-21 22:55:34 -04:00
..
configs [PATCH] Serial: Split 8250 port table (part 2) 2005-06-29 18:45:19 +01:00
hpux kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
kernel [PARISC] Fix copy_user_page_asm to NOT access past end of page 2005-10-21 22:55:34 -04:00
lib [PARISC] Disable use of fpregs in pa_memcpy 2005-10-21 22:48:34 -04:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm It wasn't just x86-64 that had hardcoded VM_FAULT_xxx numbers 2005-08-04 08:33:38 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PATCH] Serial: Split 8250 port table (part 2) 2005-06-29 18:45:19 +01:00
defpalo.conf Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PARISC] Update Kconfig for itimer selection 2005-10-21 22:52:46 -04:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PARISC] Update minimum compiler version and CROSS_COMPILE for parisc64 2005-10-21 22:52:00 -04:00
nm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00