Date: Thu, 26 Jan 2006 01:32:47 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_ioctl.c linux_ioctl.h linux_stats.c Message-ID: <200601260132.k0Q1Wl7R009740@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cognet 2006-01-26 01:32:47 UTC FreeBSD src repository Modified files: sys/compat/linux linux_ioctl.c linux_ioctl.h linux_stats.c Log: Linux compat bits needed to make linux programs use the new ptys : linux_ioctl.[ch] : Implement LINUX_TIOCGPTN, which returns the pty number linux_stats.c : - Return the magic number for devfs. - In various stats()-related functions, check that we're stating a file in /dev/pts, and if so, change the st_rdev field to match what linux expects to be there for a slave pty device. The glibc checks for this, and their openpty() fails if it is no correct. Revision Changes Path 1.132 +9 -1 src/sys/compat/linux/linux_ioctl.c 1.23 +2 -0 src/sys/compat/linux/linux_ioctl.h 1.73 +22 -0 src/sys/compat/linux/linux_stats.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601260132.k0Q1Wl7R009740>