From owner-cvs-all@FreeBSD.ORG Thu Jun 30 00:19:09 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FA5716A41C; Thu, 30 Jun 2005 00:19:09 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED1643D4C; Thu, 30 Jun 2005 00:19:09 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5U0J9wR054903; Thu, 30 Jun 2005 00:19:09 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5U0J9TJ054902; Thu, 30 Jun 2005 00:19:09 GMT (envelope-from peter) Message-Id: <200506300019.j5U0J9TJ054902@repoman.freebsd.org> From: Peter Wemm Date: Thu, 30 Jun 2005 00:19:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/procfs procfs_ioctl.c src/sys/kern sys_generic.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 00:19:09 -0000 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