]> git.baikalelectronics.ru Git - kernel.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)
commit8c2fa9d89100e7fe573ad845b80ec176f5f3049e
tree7b47dcf5d182cc3465cac1c904bdc3aec6e7e8f2
parent35549d16f5148a85eaa7fea12a7612481dfd7565
[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