kernel-fxtec-pro1x/include
Milan Broz 027d50f92e dm io:ctl use constant struct size
Make size of dm_ioctl struct always 312 bytes on all supported
architectures.

This change retains compatibility with already-compiled code because
it uses an embedded offset to locate the payload that follows the
structure.

On 64-bit architectures there is no change at all; on 32-bit
we are increasing the size of dm-ioctl from 308 to 312 bytes.

Currently with 32-bit userspace / 64-bit kernel on x86_64
some ioctls (including rename, message) are incorrectly rejected
by the comparison against 'param + 1'.  This breaks userspace
lvrename and multipath 'fail_if_no_path' changes, for example.

(BTW Device-mapper uses its own versioning and ignores the ioctl
size bits.  Only the generic ioctl compat code on mixed arches
checks them, and that will continue to accept both sizes for now,
but we intend to list 308 as deprecated and eventually remove it.)

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Guido Guenther <agx@sigxcpu.org>
Cc: Kevin Corry <kevcorry@us.ibm.com>
Cc: stable@kernel.org
2007-10-20 02:00:58 +01:00
..
acpi
asm-alpha forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-arm define global BIT macro 2007-10-19 11:53:42 -07:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-blackfin forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-cris forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-frv forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-generic Linux Kernel Markers 2007-10-19 11:53:54 -07:00
asm-h8300 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-ia64 Use extended crashkernel command line on ia64 2007-10-19 11:53:50 -07:00
asm-m32r forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-m68k forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-m68knommu forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-10-19 12:01:22 -07:00
asm-parisc forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-powerpc forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-ppc remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
asm-s390 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sh forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sh64 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sparc forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-sparc64 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-um forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-v850 forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-x86 Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86 2007-10-19 15:06:00 -07:00
asm-xtensa forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
crypto [CRYPTO] sha: Add header file for SHA definitions 2007-10-10 16:55:50 -07:00
keys KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
linux dm io:ctl use constant struct size 2007-10-20 02:00:58 +01:00
math-emu
media v4l: copy_to_user() is not a good method name 2007-10-13 09:58:59 -07:00
mtd
net Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
pcmcia pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices 2007-10-16 09:42:50 -07:00
rdma
rxrpc
scsi do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00
sound [ALSA] version 1.0.15 2007-10-16 16:57:46 +02:00
video define global BIT macro 2007-10-19 11:53:42 -07:00
xen xen: fix incorrect vcpu_register_vcpu_info hypercall argument 2007-10-16 11:51:31 -07:00
Kbuild do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00