login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
7
Re: [RFC][PATCH] input: Introduce device information ioctl
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Arnd Bergmann
Subject:
Re: [RFC][PATCH] input: Introduce device information ioctl
Date: Tuesday, December 7, 2010 - 5:55 am
On Tuesday 07 December 2010, Kay Sievers wrote:
quoted text
> >> Oh, how does that work? With the ioctl call, userspace has to supply > >> the size it expects to be returned from the kernel. How does the > >> kernel otherwise know how much it is allowed to copy to the user? > > > > The ioctl command number itself is calculated from the size of the > > data that gets passed: > > > > #define EVIOCGDEVINFO _IOR('E', 0x09, struct input_devinfo) > > > > If struct input_devinfo ever changes (which it can, but should not), > > the command changes as well. > > So unlike statet, it's not extensible, and this struct and this ioctl > can never change?
Exactly. We have plenty of unused ioctl numbers free though. Arnd --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH] input: Introduce device information ioctl
, Henrik Rydberg
, (Tue Dec 7, 12:25 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 2:16 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Kay Sievers
, (Tue Dec 7, 3:48 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 3:56 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Kay Sievers
, (Tue Dec 7, 4:19 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Arnd Bergmann
, (Tue Dec 7, 5:40 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Arnd Bergmann
, (Tue Dec 7, 5:44 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Kay Sievers
, (Tue Dec 7, 5:49 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Kay Sievers
, (Tue Dec 7, 5:52 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Arnd Bergmann
, (Tue Dec 7, 5:55 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Greg KH
, (Tue Dec 7, 9:22 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 9:48 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 9:51 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Ping Cheng
, (Tue Dec 7, 11:48 am)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Chris Bagwell
, (Tue Dec 7, 12:18 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 12:35 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 12:37 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Henrik Rydberg
, (Tue Dec 7, 12:57 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Tue Dec 7, 11:02 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Henrik Rydberg
, (Wed Dec 8, 12:04 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Valdis.Kletnieks
, (Wed Dec 8, 1:26 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Henrik Rydberg
, (Wed Dec 8, 1:37 pm)
Re: [RFC][PATCH] input: Introduce device information ioctl
, Dmitry Torokhov
, (Thu Dec 9, 2:25 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Wink Saville
How-to combine several separate git repos?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Colocation donated by:
Syndicate