cvs commit: src/sys/compat/linux linux_ioctl.c linux_ioctl.h linux_stats.c

Olivier Houchard cognet at FreeBSD.org
Wed Jan 25 17:32:48 PST 2006


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


More information about the cvs-src mailing list