Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 09/08/2000 01:20:46
Module Name: syssrc
Committed By: fvdl
Date: Thu Sep 7 22:20:45 UTC 2000
Modified Files:
syssrc/sys/compat/linux/common: linux_misc.c
Log Message:
In the case of MAP_ANON, Linux mmap ignores the fd argument completely.
So, always pass -1 to the native syscall in that case, to avoid
errors if a Linux app doesn't specify -1 as the fd (which some do).
To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 syssrc/sys/compat/linux/common/linux_misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.