Kay Sievers
7eff2e7a8b
Driver core: change add_uevent_var to use a struct
...
This changes the uevent buffer functions to use a struct instead of a
long list of parameters. It does no longer require the caller to do the
proper buffer termination and size accounting, which is currently wrong
in some places. It fixes a known bug where parts of the uevent
environment are overwritten because of wrong index calculations.
Many thanks to Mathieu Desnoyers for finding bugs and improving the
error handling.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:01 -07:00
..
2007-10-11 20:40:48 +10:00
2007-08-22 22:43:29 -05:00
2007-07-19 10:04:45 -07:00
2007-08-17 11:01:58 +10:00
2007-07-31 21:12:07 -07:00
2007-07-10 22:00:56 +10:00
2007-10-09 21:01:56 +10:00
2007-10-03 09:11:56 +10:00
2007-10-04 15:47:05 -05:00
2007-07-16 09:05:48 -07:00
2007-10-11 09:14:31 -05:00
2007-10-04 15:47:05 -05:00
2007-10-12 14:05:17 +10:00
2007-10-03 13:25:27 +10:00
2007-10-03 13:25:27 +10:00
2007-08-17 11:01:51 +10:00
2007-09-19 15:12:19 +10:00
2007-09-14 01:33:22 +10:00
2007-07-17 10:23:11 -07:00
2007-06-14 22:29:56 +10:00
2007-10-11 09:14:31 -05:00
2007-08-22 22:43:29 -05:00
2007-07-11 13:24:40 +10:00
2007-05-11 08:29:34 -07:00
2007-08-22 22:43:29 -05:00
2007-09-17 15:15:04 +10:00
2007-10-08 08:38:50 -05:00
2007-10-04 11:02:04 -05:00
2007-10-08 08:38:15 -05:00
2007-10-03 11:48:44 +10:00
2007-09-14 01:33:20 +10:00
2007-08-22 22:43:29 -05:00
2007-07-19 10:04:44 -07:00
2007-08-17 11:01:58 +10:00
2007-06-14 22:29:58 +10:00
2007-06-28 19:16:38 +10:00
2007-10-12 14:05:17 +10:00
2007-07-03 03:22:05 -05:00
2007-07-03 03:00:28 -05:00
2007-08-20 07:28:48 -05:00
2007-05-17 21:11:13 +10:00
2007-07-03 03:00:16 -05:00
2007-06-14 22:30:16 +10:00
2007-10-12 14:05:17 +10:00
2007-08-20 07:28:48 -05:00
2007-05-10 21:28:13 +10:00
2007-07-10 00:33:51 -05:00
2007-08-22 22:43:29 -05:00
2007-10-10 10:22:04 -06:00
2007-06-29 01:56:43 -05:00
2007-05-17 21:10:15 +10:00
2007-10-03 13:25:27 +10:00
2007-08-17 11:01:52 +10:00
2007-10-12 14:51:01 -07:00
2007-07-20 14:25:22 +10:00
2007-07-20 21:42:24 +02:00
2007-10-03 11:48:44 +10:00
2007-10-12 14:05:17 +10:00
2007-07-26 11:35:18 -07:00
2007-10-12 14:05:17 +10:00
2007-07-16 17:58:08 -07:00
2007-10-03 11:48:44 +10:00
2007-06-02 21:01:56 +10:00
2007-09-19 15:25:34 +10:00
2007-09-19 15:25:34 +10:00
2007-07-17 10:22:59 -07:00
2007-07-17 10:22:59 -07:00
2007-06-14 22:30:15 +10:00
2007-05-17 21:10:15 +10:00
2007-07-20 21:41:34 +02:00
2007-05-11 08:29:34 -07:00
2007-09-14 08:53:36 -05:00
2007-06-14 22:29:56 +10:00
2007-09-22 14:49:21 +10:00
2007-08-22 15:21:47 +10:00
2007-09-14 01:33:25 +10:00
2007-06-28 19:16:42 +10:00
2007-06-28 19:16:42 +10:00
2007-06-28 19:19:20 +10:00
2007-06-14 22:29:57 +10:00
2007-10-08 08:38:57 -05:00
2007-10-08 08:38:15 -05:00
2007-08-17 13:22:28 -05:00
2007-09-17 15:15:04 +10:00
2007-05-09 23:28:17 -05:00
2007-09-22 14:49:21 +10:00
2007-10-03 11:48:44 +10:00
2007-07-20 21:41:55 +02:00
2007-08-10 21:04:21 +10:00
2007-09-19 15:12:19 +10:00
2007-06-14 22:29:57 +10:00
2007-07-17 21:42:44 -04:00
2007-10-03 11:48:44 +10:00
2007-07-10 22:03:29 +10:00
2007-07-31 15:39:38 -07:00
2007-10-03 15:44:34 +10:00
2007-10-03 12:02:43 +10:00
2007-10-12 14:05:17 +10:00
2007-05-17 21:10:15 +10:00
2007-05-17 21:10:15 +10:00
2007-09-22 14:49:21 +10:00
2007-10-08 08:38:15 -05:00
2007-10-08 08:38:15 -05:00
2007-10-03 20:35:43 -05:00
2007-07-17 21:42:44 -04:00
2007-10-11 20:40:44 +10:00
2007-10-03 07:23:14 -05:00