Christoph Hellwig
6b9c7ed848
[PATCH] use ptrace_get_task_struct in various places
...
The ptrace_get_task_struct() helper that I added as part of the ptrace
consolidation is useful in variety of places that currently opencode it.
Switch them to the common helpers.
Add a ptrace_traceme() helper that needs to be explicitly called, and simplify
the ptrace_get_task_struct() interface. We don't need the request argument
now, and we return the task_struct directly, using ERR_PTR() for error
returns. It's a bit more code in the callers, but we have two sane routines
that do one thing well now.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-01-08 20:13:51 -08:00
..
2005-11-16 14:05:11 +11:00
2005-11-16 14:05:11 +11:00
2005-11-18 14:39:23 +11:00
2005-11-14 16:35:58 +11:00
2005-11-10 11:24:04 +11:00
2005-11-10 14:29:18 +11:00
2005-11-14 17:30:17 +11:00
2005-10-28 22:45:25 +10:00
2005-12-20 15:38:47 +11:00
2005-11-10 11:24:04 +11:00
2005-11-10 13:10:38 +11:00
2005-10-28 22:45:25 +10:00
2005-10-28 22:45:25 +10:00
2005-11-11 22:34:43 +11:00
2005-11-10 13:37:51 +11:00
2005-11-13 18:14:10 -08:00
2005-11-18 15:43:34 +11:00
2005-11-12 12:10:54 -08:00
2005-11-14 17:30:17 +11:00
2005-11-14 17:30:17 +11:00
2005-11-14 14:44:33 +11:00
2005-12-12 08:57:45 -08:00
2005-11-14 17:14:51 +11:00
2005-11-06 16:56:47 -08:00
2005-11-14 17:30:17 +11:00
2005-11-18 15:43:34 +11:00
2005-11-18 14:08:12 +11:00
2005-11-09 16:19:53 +11:00
2005-11-14 17:30:17 +11:00
2005-11-18 15:43:34 +11:00
2005-10-31 13:57:01 +11:00
2005-11-11 22:25:39 +11:00
2005-11-19 20:46:04 +11:00
2005-11-14 17:30:17 +11:00
2005-11-14 17:30:17 +11:00
2005-11-14 17:30:17 +11:00
2005-11-03 16:03:28 +11:00
2005-11-29 15:50:58 +11:00
2005-11-11 22:25:39 +11:00
2005-11-30 13:20:54 +11:00
2005-11-30 13:55:59 +11:00
2005-11-14 17:30:40 +11:00
2006-01-08 20:13:51 -08:00
2005-11-19 20:47:22 +11:00
2005-11-19 20:47:22 +11:00
2005-11-03 14:41:19 +11:00
2005-11-16 13:29:46 +11:00
2005-11-11 22:25:39 +11:00
2005-11-18 15:52:38 +11:00
2005-11-10 13:37:51 +11:00
2005-11-14 14:44:33 +11:00
2005-12-09 15:42:52 +11:00
2005-11-16 13:29:40 +11:00
2005-11-09 11:35:26 +11:00
2005-11-15 11:11:32 +11:00
2005-11-15 11:11:32 +11:00
2005-11-04 13:28:58 +11:00
2005-11-16 13:29:40 +11:00
2005-11-10 13:37:51 +11:00
2005-12-15 10:04:31 -08:00
2005-11-11 22:25:39 +11:00
2005-11-18 14:08:12 +11:00
2005-11-11 22:25:39 +11:00
2005-11-11 22:23:34 +11:00
2005-11-11 22:23:34 +11:00
2005-11-11 22:23:34 +11:00
2005-11-28 14:34:23 -08:00
2006-01-04 16:18:08 -08:00
2005-11-05 10:36:59 +11:00