]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] binfmt_flat mmap flag fix
authorYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 6 Jun 2005 21:46:32 +0000 (14:46 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 6 Jun 2005 21:57:51 +0000 (14:57 -0700)
commit8f5bb0438b86d1a5393176ceeec2836fd469edf8
tree7b47dcf5d182cc3465cac1c904bdc3aec6e7e8f2
parentd671a1cbf7c7a5c5562106d39eb7f830ae5273ae
[PATCH] binfmt_flat mmap flag fix

Make sure that binfmt_flat passes the correct flags into do_mmap().  nommu's
validate_mmap_request() will simple return -EINVAL if we try and pass it a
flags value of zero.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/binfmt_flat.c