]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uclinux: use PER_LINUX_32BIT in binfmt_flat
authorMalcolm Parsons <malcolm.parsons@gmail.com>
Mon, 26 Jun 2006 01:49:41 +0000 (11:49 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 04:04:24 +0000 (21:04 -0700)
commitcdd1e01d247769408885bf5afdc76e1f10dc7689
tree44cfe84786b80dcbc76a1c0a073137db27dd3f68
parentb1d4e3127249d50912fef59fedc3d26c44a00df6
[PATCH] uclinux: use PER_LINUX_32BIT in binfmt_flat

binfmt_flat.c calls set_personality with PER_LINUX as the personality.
On the arm architecture this results in the program running in 26bit
usermode.  PER_LINUX_32BIT should be used instead.  This doesn't affect
other architectures that use binfmt_flat.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_flat.c