[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)
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>

No differences found