aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorZhang Yanmin <yanmin.zhang@intel.com>2005-05-22 17:47:00 -0700
committerTony Luck <tony.luck@intel.com>2005-05-26 10:19:07 -0700
commitd11cf326bd5e785cc5a3f5a3d3f4e3a5522f4fb7 (patch)
tree56912a4b84f6db3aa1d615a4174b2c2845fe870e /init
parentfe12e25ebdd195a57d3fd655061fd2525609b16b (diff)
[IA64] sys_mmap doesn't follow posix.1 when parameter len=0
In IA64 kernel, sys_mmap calls do_mmap2 and do_mmap2 returns addr if len=0, which means the mmap sys call succeeds. Posix.1 says: The mmap() function shall fail if: [EINVAL] The value of len is zero. Here is a patch to fix it. Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com> Acked-by: David Mosberger <davidm@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions