Files
ubports_kernel_google_msm/include/linux
Hugh Dickins 9c24624727 KSYM_SYMBOL_LEN fixes
Miles Lane tailing /sys files hit a BUG which Pekka Enberg has tracked
to my 966c8c12dc sprint_symbol(): use
less stack exposing a bug in slub's list_locations() -
kallsyms_lookup() writes a 0 to namebuf[KSYM_NAME_LEN-1], but that was
beyond the end of page provided.

The 100 slop which list_locations() allows at end of page looks roughly
enough for all the other stuff it might print after the symbol before
it checks again: break out KSYM_SYMBOL_LEN earlier than before.

Latencytop and ftrace and are using KSYM_NAME_LEN buffers where they
need KSYM_SYMBOL_LEN buffers, and vmallocinfo a 2*KSYM_NAME_LEN buffer
where it wants a KSYM_SYMBOL_LEN buffer: fix those before anyone copies
them.

[akpm@linux-foundation.org: ftrace.h needs module.h]
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc Miles Lane <miles.lane@gmail.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-12-10 08:01:54 -08:00
..
2008-10-22 01:19:37 +02:00
2008-10-13 21:51:51 +01:00
2008-10-30 11:38:47 -07:00
2008-10-15 15:54:56 -04:00
2008-09-12 16:30:20 -07:00
2008-11-11 21:15:50 -05:00
2008-10-20 11:01:52 -07:00
2008-10-16 11:21:51 -07:00
2008-10-20 08:52:42 -07:00
2008-11-06 08:41:55 +01:00
2008-12-05 14:49:18 -08:00
2008-10-20 08:52:32 -07:00
2008-11-12 17:17:18 -08:00
2008-10-30 11:38:45 -07:00
2008-10-16 11:21:32 -07:00
2008-11-30 11:00:15 -08:00
2008-10-14 10:35:08 +02:00
2008-08-28 11:49:15 -05:00
2008-10-18 14:29:15 +01:00
2008-10-16 16:53:13 +02:00
2008-10-12 12:05:55 +02:00
2008-08-20 13:19:51 -07:00
2008-10-08 19:44:18 -04:00
2008-12-04 04:22:58 -05:00
2008-12-10 08:01:54 -08:00
2008-10-16 16:08:57 +02:00
2008-09-22 07:29:31 +01:00
2008-10-16 11:21:40 -07:00
2008-10-14 23:51:02 +02:00
2008-10-22 20:21:33 +02:00
2008-10-16 11:21:38 -07:00
2008-10-09 11:59:55 -07:00
2008-09-22 21:28:11 -07:00
2008-10-07 15:34:37 -07:00
2008-10-29 22:02:09 +01:00
2008-10-18 14:29:15 +01:00
2008-11-03 18:21:45 +01:00
2008-10-15 14:24:08 +02:00
2008-11-23 10:52:45 +01:00
2008-10-12 11:44:37 -07:00
2008-10-28 14:22:15 +02:00
2008-10-20 22:34:12 +01:00
2008-10-14 10:35:08 +02:00
2008-09-01 09:47:16 +02:00
2008-10-13 09:47:43 +11:00
2008-10-09 08:56:06 +02:00
2008-10-20 08:52:31 -07:00
2008-10-20 08:52:30 -07:00
2008-10-22 10:00:23 +11:00
2008-11-06 15:41:21 -08:00
2008-11-19 18:49:57 -08:00
2008-10-01 07:03:24 -07:00
2008-10-17 13:06:45 -04:00
2008-11-30 10:03:35 -08:00
2008-10-20 08:52:32 -07:00
2008-10-20 08:50:26 -07:00
2008-10-16 11:21:49 -07:00
2008-10-22 16:42:43 -07:00
2008-10-08 16:38:41 -07:00
2008-10-23 00:11:07 -04:00
2008-10-23 18:54:05 +04:00
2008-10-20 08:52:39 -07:00
2008-10-16 11:21:46 -07:00
2008-10-16 11:21:46 -07:00
2008-10-02 15:53:13 -07:00
2008-11-12 17:17:17 -08:00
2008-08-22 16:29:57 -04:00
2008-10-20 08:52:40 -07:00
2008-09-22 19:51:15 -07:00
2008-12-01 19:55:24 -08:00
2008-10-07 14:22:33 -07:00
2008-11-13 20:49:02 +02:00
2008-09-09 17:41:42 +02:00
2008-11-02 10:15:07 -08:00
2008-10-20 08:52:31 -07:00
2008-11-19 18:49:57 -08:00
2008-10-16 11:21:47 -07:00
2008-10-07 14:43:06 -07:00
2008-10-13 09:51:40 -07:00
2008-11-07 16:09:23 +01:00
2008-09-05 14:39:38 -07:00
2008-10-16 11:21:31 -07:00
2008-09-17 16:54:23 +01:00