Subject: CVS commit: syssrc/sys/compat/linux/common
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 12/11/2002 21:30:41
Module Name:	syssrc
Committed By:	jdolecek
Date:		Wed Dec 11 19:30:40 UTC 2002

Modified Files:
	syssrc/sys/compat/linux/common: linux_file.c

Log Message:
linux_sys_mknod(): if creating device file (i.e. !fifo case), mask
the passed device number to only contain lower 16 bits; older glibc
appears to pass some junk in upper bits sometimes, resulting in incorrect
device entries being created

Problem initially analyzed by Thor Lancelot Simon.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 syssrc/sys/compat/linux/common/linux_file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.