Date: Fri, 29 Sep 2006 13:51:07 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: John Baldwin <jhb@freebsd.org>, Scott Long <scottl@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/atkbdc atkbd.c src/sys/dev/digi digi.c src/sys/dev/kbdmux kbdmux.c src/sys/dev/syscons scvidctl.c syscons.c src/sys/dev/uart uart_kbd_sun.c src/sys/dev/usb ukbd.c src/sys/dev/vkbd vkbd.c src/sys/fs/procfs procfs_ioctl.c ... Message-ID: <20060929095107.GI86237@rambler-co.ru> In-Reply-To: <200609281420.54038.jhb@freebsd.org> References: <200609271957.k8RJv25Z028902@repoman.freebsd.org> <200609281056.28105.jhb@freebsd.org> <20060928162143.GA59634@rambler-co.ru> <200609281420.54038.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--dCSxeJc5W8HZXZrD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 28, 2006 at 02:20:53PM -0400, John Baldwin wrote: > On Thursday 28 September 2006 12:21, Ruslan Ermilov wrote: > > > Are there any others outside of SES? How many? If it's a small list= , then=20 > > > let's fix them. The SES ones are broken as an API anyway as mentione= d above,=20 > > > and if other ioctl's are copying out a variable amount of data w/o al= lowing=20 > > > for buffer lengths or telling userland how much it copied, they are a= lso=20 > > > fundamentally broken as well. > > >=20 > > Some only read from userland, so they aren't broken. I'll compile and = send > > you the list of such ioctls (don't have it saved)... Ah, here's one fr= om > > memory that isn't broken: SPKRTUNE from sys/dev/speaker/. >=20 > Scott pointed out one in aac(4) that is required for a binary-only > management tool, so it looks like we are stuck _IO being used with > pointers. :( >=20 Here's the full list: : ./dev/ofw/openpromio.h:#define OPROMNEXT _IO('O', 1) : ./dev/ofw/openpromio.h:#define OPROMCHILD _IO('O', 2) : ./dev/ofw/openpromio.h:#define OPROMGETPROP _IO('O', 3) : ./dev/ofw/openpromio.h:#define OPROMNXTPROP _IO('O', 4) :=20 : ./dev/speaker/speaker.h:#define SPKRTUNE _IO('S', 2) /= * emit tone sequence*/ Some of the below. These are used by the binary-only available tool from ports/sysutils/aaccli. : ./sys/aac_ioctl.h:#define FSACTL_SENDFIB _IO('8', 2) : ./sys/aac_ioctl.h:#define FSACTL_GET_COMM_PERF_DATA _IO('8', 36) : ./sys/aac_ioctl.h:#define FSACTL_OPENCLS_COMM_PERF_DATA _IO('8', 37) : ./sys/aac_ioctl.h:#define FSACTL_OPEN_GET_ADAPTER_FIB _IO('8', 52) : ./sys/aac_ioctl.h:#define FSACTL_GET_NEXT_ADAPTER_FIB _IO('8', 53) : ./sys/aac_ioctl.h:#define FSACTL_CLOSE_GET_ADAPTER_FIB _IO('8', 54) : ./sys/aac_ioctl.h:#define FSACTL_CLOSE_ADAPTER_CONFIG _IO('8', 56) : ./sys/aac_ioctl.h:#define FSACTL_OPEN_ADAPTER_CONFIG _IO('8', 57) : ./sys/aac_ioctl.h:#define FSACTL_MINIPORT_REV_CHECK _IO('8', 59) : ./sys/aac_ioctl.h:#define FSACTL_QUERY_ADAPTER_CONFIG _IO('8', 65) : ./sys/aac_ioctl.h:#define FSACTL_GET_PCI_INFO _IO('8', 71) : ./sys/aac_ioctl.h:#define FSACTL_FORCE_DELETE_DISK _IO('8', 72) : ./sys/aac_ioctl.h:#define FSACTL_AIF_THREAD _IO('8', 79) : ./sys/aac_ioctl.h:#define FSACTL_NULL_IO_TEST _IO('8', 67) : ./sys/aac_ioctl.h:#define FSACTL_SIM_IO_TEST _IO('8', 83) : ./sys/aac_ioctl.h:#define FSACTL_DOWNLOAD _IO('8', 131) : ./sys/aac_ioctl.h:#define FSACTL_GET_VAR _IO('8', 147) : ./sys/aac_ioctl.h:#define FSACTL_SET_VAR _IO('8', 163) : ./sys/aac_ioctl.h:#define FSACTL_GET_FIBTIMES _IO('8', 179) : ./sys/aac_ioctl.h:#define FSACTL_ZERO_FIBTIMES _IO('8', 195) : ./sys/aac_ioctl.h:#define FSACTL_DELETE_DISK _IO('8', 99) : ./sys/aac_ioctl.h:#define FSACTL_QUERY_DISK _IO('9', 115) : ./sys/aac_ioctl.h:#define FSACTL_PROBE_CONTAINERS _IO('9', 83) /* Just g= uessing */ Do we have a consensus now, as I'm going to send a patch for RELENG_6 to re@ soon? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --dCSxeJc5W8HZXZrD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFHOyLqRfpzJluFF4RAqLcAJwN3Glwg6anSwiEB8AOPLK0FdoEtQCfZ2KQ wj7PuxsQK7MTAW5lcgcMcvk= =+SrL -----END PGP SIGNATURE----- --dCSxeJc5W8HZXZrD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060929095107.GI86237>