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
..
2007-07-30 16:26:27 -03:00
2007-10-09 19:59:16 -07:00
2007-10-17 22:51:13 +02:00
2007-10-13 14:36:18 +01:00
2007-10-18 05:12:21 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-16 09:43:10 -07:00
2007-10-17 08:43:03 -07:00
2007-10-16 10:13:38 -07:00
2007-10-10 16:51:36 -07:00
2007-10-15 10:47:35 -07:00
2007-10-10 16:53:11 -07:00
2007-10-15 17:56:36 -07:00
2007-10-10 00:12:41 -04:00
2007-09-11 04:22:16 -07:00
2007-10-14 12:41:51 -07:00
2007-10-18 14:37:20 -07:00
2007-07-25 12:02:21 -07:00
2007-10-10 16:51:59 -07:00
2007-07-20 08:44:19 -07:00
2007-10-12 14:55:45 -04:00
2007-10-17 08:42:47 -07:00
2007-10-10 16:49:02 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:45 -07:00
2007-10-11 22:24:13 +01:00
2007-10-17 08:43:07 -07:00
2007-10-16 11:03:56 +02:00
2007-10-18 14:37:29 -07:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2007-10-16 11:05:02 +02:00
2007-10-12 12:50:07 +02:00
2007-07-31 10:43:05 -05:00
2007-10-16 09:42:58 -07:00
2007-10-18 14:37:24 -07:00
2007-10-19 11:53:51 -07:00
2007-10-19 11:53:36 -07:00
2007-10-19 11:53:36 -07:00
2007-10-14 22:57:45 +02:00
2007-10-18 14:37:20 -07:00
2007-07-21 17:49:14 -07:00
2007-07-21 17:49:14 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:47 -07:00
2007-10-18 14:37:32 -07:00
2007-10-17 08:42:47 -07:00
2007-10-18 14:37:32 -07:00
2007-10-16 09:43:13 -07:00
2007-10-16 09:43:20 -07:00
2007-10-18 14:37:19 -07:00
2007-10-17 08:42:52 -07:00
2007-10-19 11:53:36 -07:00
2007-10-18 14:37:28 -07:00
2007-10-04 18:40:57 -04:00
2007-10-10 00:12:41 -04:00
2007-10-19 11:53:44 -07:00
2007-10-17 08:42:53 -07:00
2007-10-10 16:55:42 -07:00
2007-10-18 14:37:26 -07:00
2007-10-16 09:43:09 -07:00
2007-10-10 16:54:36 -07:00
2007-07-20 21:42:24 +02:00
2007-10-12 14:51:03 -07:00
2007-10-19 11:53:36 -07:00
2007-10-12 14:51:01 -07:00
2007-10-20 02:00:58 +01:00
2007-10-18 14:37:21 -07:00
2007-10-09 20:22:20 -04:00
2007-07-19 10:04:54 -07:00
2007-10-10 16:53:56 -07:00
2007-07-24 09:28:11 +02:00
2007-07-20 21:42:24 +02:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:51 -07:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:48:08 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:48 -07:00
2007-10-18 14:37:29 -07:00
2007-10-17 18:50:03 -04:00
2007-10-17 18:49:59 -04:00
2007-10-17 18:49:59 -04:00
2007-10-17 18:50:02 -04:00
2007-10-17 18:49:58 -04:00
2007-10-16 09:43:22 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:04 -07:00
2007-10-17 21:21:26 -07:00
2007-10-17 00:00:08 +02:00
2007-10-18 14:37:19 -07:00
2007-10-10 16:54:03 -07:00
2007-10-19 11:53:38 -07:00
2007-07-18 18:29:37 -04:00
2007-10-18 14:37:31 -07:00
2007-07-18 15:47:52 -07:00
2007-07-30 00:27:28 -07:00
2007-10-16 09:43:00 -07:00
2007-10-10 08:55:27 +01:00
2007-09-26 00:01:17 -04:00
2007-10-14 12:41:51 -07:00
2007-10-19 11:53:42 -07:00
2007-10-15 08:12:00 -07:00
2007-07-19 10:04:41 -07:00
2007-10-18 22:54:18 +02:00
2007-10-16 09:43:02 -07:00
2007-10-09 22:56:30 -04:00
2007-10-13 23:56:32 +02:00
2007-10-16 15:58:19 +02:00
2007-10-13 23:56:33 +02:00
2007-10-16 11:21:00 +02:00
2007-10-19 00:30:11 +02:00
2007-10-10 16:52:59 -07:00
2007-10-10 16:51:59 -07:00
2007-10-15 12:26:29 -07:00
2007-10-10 16:51:16 -07:00
2007-10-10 16:52:52 -07:00
2007-10-17 08:42:52 -07:00
2007-10-10 16:49:13 -07:00
2007-08-26 18:35:42 -07:00
2007-10-10 16:52:04 -07:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:51:16 -07:00
2007-10-10 16:49:10 -07:00
2007-10-14 12:41:52 -07:00
2007-10-19 11:53:43 -07:00
2007-10-17 08:42:56 -07:00
2007-10-19 11:53:42 -07:00
2007-10-17 08:43:00 -07:00
2007-10-16 09:43:01 -07:00
2007-07-20 10:06:38 +02:00
2007-10-19 11:53:48 -07:00
2007-10-18 14:37:32 -07:00
2007-10-18 14:37:32 -07:00
2007-10-10 16:55:55 -07:00
2007-07-21 19:07:33 -07:00
2007-07-31 15:39:41 -07:00
2007-09-16 21:13:58 -07:00
2007-10-16 09:43:10 -07:00
2007-10-09 22:07:28 -03:00
2007-10-09 22:07:23 -03:00
2007-10-17 18:49:58 -04:00
2007-10-19 11:53:35 -07:00
2007-10-16 09:42:49 -07:00
2007-10-17 08:42:52 -07:00
2007-08-22 19:52:45 -07:00
2007-10-19 11:53:36 -07:00
2007-10-17 08:42:52 -07:00
2007-07-31 15:39:40 -07:00
2007-10-18 14:37:28 -07:00
2007-10-17 08:43:01 -07:00
2007-10-19 11:53:49 -07:00
2007-10-17 08:42:57 -07:00
2007-10-17 08:42:57 -07:00
2007-10-19 11:53:33 -07:00
2007-10-12 14:51:12 -07:00
2007-10-16 09:43:10 -07:00
2007-10-10 16:48:12 -07:00
2007-10-13 10:18:29 +02:00
2007-09-11 22:24:45 +01:00
2007-07-26 11:35:17 -07:00
2007-07-26 11:35:17 -07:00
2007-07-28 19:54:33 -07:00
2007-10-18 16:21:18 -04:00
2007-10-19 11:53:35 -07:00
2007-10-19 11:53:38 -07:00
2007-10-17 08:42:56 -07:00
2007-07-24 12:24:59 -07:00
2007-10-19 11:53:36 -07:00
2007-07-18 08:47:45 -07:00
2007-09-21 15:55:55 +09:00
2007-10-19 11:53:55 -07:00
2007-10-10 16:54:03 -07:00
2007-10-16 09:43:02 -07:00
2007-10-19 11:53:36 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:46 -07:00
2007-10-13 23:56:29 +02:00
2007-10-19 11:53:54 -07:00
2007-10-17 08:42:56 -07:00
2007-10-19 11:53:44 -07:00
2007-10-17 08:42:57 -07:00
2007-07-24 21:16:02 +00:00
2007-10-17 08:42:44 -07:00
2007-10-17 08:42:55 -07:00
2007-10-10 16:49:07 -07:00
2007-10-18 19:31:54 -07:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2007-10-10 21:15:29 -07:00
2007-10-10 16:48:06 -07:00
2007-10-19 17:19:16 -04:00
2007-10-09 17:15:11 -04:00
2007-10-09 17:19:15 -04:00
2007-10-10 16:52:14 -07:00
2007-10-17 08:42:58 -07:00
2007-10-16 09:42:58 -07:00
2007-10-19 11:53:34 -07:00
2007-10-19 11:53:37 -07:00
2007-10-17 22:30:07 +10:00
2007-10-17 21:17:42 -07:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:42:46 -07:00
2007-07-20 21:42:24 +02:00
2007-07-19 10:04:52 -07:00
2007-10-16 09:43:02 -07:00
2007-10-16 09:43:02 -07:00
2007-10-16 09:42:55 -07:00
2007-10-18 14:37:23 -07:00
2007-10-16 09:43:09 -07:00
2007-10-12 15:03:18 -07:00
2007-10-12 15:03:18 -07:00
2007-10-17 08:42:44 -07:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:53:50 -07:00
2007-10-10 16:53:55 -07:00
2007-10-19 11:53:39 -07:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:49:20 -07:00
2007-10-12 14:51:07 -07:00
2007-10-18 14:37:18 -07:00
2007-08-25 16:58:27 +10:00
2007-10-17 08:43:04 -07:00
2007-07-26 11:35:21 -07:00
2007-10-17 18:49:58 -04:00
2007-09-11 17:21:20 -07:00
2007-07-26 13:40:43 +02:00
2007-10-19 20:35:04 +02:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:40 -07:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-10-16 09:42:53 -07:00
2007-10-17 08:42:46 -07:00
2007-10-19 11:53:35 -07:00
2007-10-19 11:53:43 -07:00
2007-07-21 18:37:10 -07:00
2007-10-10 16:54:11 -07:00
2007-10-10 21:22:05 -07:00
2007-10-16 11:08:51 +02:00
2007-10-19 11:53:43 -07:00
2007-10-16 22:57:17 -07:00
2007-10-10 16:51:28 -07:00
2007-10-14 12:41:51 -07:00
2007-10-18 14:37:24 -07:00
2007-10-16 09:43:17 -07:00
2007-10-19 11:53:44 -07:00
2007-10-17 08:42:53 -07:00
2007-07-24 12:24:58 -07:00
2007-10-16 09:42:50 -07:00
2007-08-22 19:52:44 -07:00
2007-10-19 11:53:44 -07:00
2007-07-22 11:03:37 -07:00
2007-10-17 08:43:01 -07:00
2007-10-15 14:06:58 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:14 -07:00
2007-10-10 16:52:39 -07:00
2007-07-19 10:04:49 -07:00
2007-07-19 10:04:49 -07:00
2007-07-19 10:04:49 -07:00
2007-10-14 12:41:51 -07:00
2007-10-18 14:37:20 -07:00
2007-10-17 08:42:45 -07:00
2007-07-20 21:42:15 +02:00
2007-10-18 14:37:23 -07:00
2007-10-12 14:51:12 -07:00
2007-10-18 14:37:28 -07:00
2007-10-15 12:59:43 -07:00
2007-10-10 00:12:41 -04:00
2007-10-17 08:42:53 -07:00
2007-07-20 11:23:02 -07:00
2007-10-15 17:00:19 +02:00
2007-10-17 08:42:58 -07:00
2007-10-19 11:53:42 -07:00
2007-10-17 08:42:51 -07:00
2007-10-19 11:53:42 -07:00
2007-07-18 15:57:15 -07:00
2007-10-12 14:55:34 -07:00
2007-09-19 11:24:18 -07:00
2007-10-12 14:51:04 -07:00
2007-10-09 22:07:04 -03:00
2007-07-21 18:37:14 -07:00
2007-10-17 08:42:56 -07:00
2007-10-19 11:53:34 -07:00
2007-10-19 11:53:38 -07:00
2007-10-17 08:43:02 -07:00
2007-10-12 14:05:17 +10:00
2007-10-10 16:53:57 -07:00