Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 00:19:08 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/procfs procfs_ioctl.c src/sys/kern sys_generic.c
Message-ID:  <200506300019.j5U0J9TJ054902@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2005-06-30 00:19:08 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/procfs        procfs_ioctl.c 
    sys/kern             sys_generic.c 
  Log:
  Conditionally weaken sys_generic.c rev 1.136 to allow certain dubious
  ioctl numbers in backwards compatability mode.  eg: an IOC_IN ioctl with
  a size of zero.  Traditionally this was what you did before IOC_VOID
  existed, and we had some established users of this in the tree, namely
  procfs.  Certain 3rd party drivers with binary userland components also
  have this too.
  
  This is necessary to have 4.x and 5.x binaries use these ioctl's.  We
  found this at work when trying to run 4.x binaries.
  
  Approved by:    re
  
  Revision  Changes    Path
  1.11      +14 -0     src/sys/fs/procfs/procfs_ioctl.c
  1.145     +7 -2      src/sys/kern/sys_generic.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506300019.j5U0J9TJ054902>