commit | e9c5702e3c5558dade169949abd730173e87ef9c | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Sun Oct 15 17:30:22 2006 +0200 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sun Oct 15 23:14:27 2006 -0700 |
tree | 58ec8dcd1497b51e1d6a447d8c4a34a0bd2f108d | |
parent | 39c850863d5e36e72ecf9bc3537ec717bcce97fd [diff] |
[Bluetooth] Fix compat ioctl for BNEP, CMTP and HIDP There exists no attempt do deal with the fact that a structure with a uint32_t followed by a pointer is going to be different for 32-bit and 64-bit userspace. Any 32-bit process trying to use it will be failing with -EFAULT if it's lucky; suffering from having data dumped at a random address if it's not. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>