public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ptrace: tracehook_unsafe_exec: remove the stale comment
@ 2009-04-23 21:22 Oleg Nesterov
  2009-04-23 23:27 ` Roland McGrath
  0 siblings, 1 reply; 12+ messages in thread
From: Oleg Nesterov @ 2009-04-23 21:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Roland McGrath, linux-kernel

tracehook_unsafe_exec() doesn't need task_lock(), remove the old comment.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>

--- PTRACE/include/linux/tracehook.h~	2009-04-06 00:03:42.000000000 +0200
+++ PTRACE/include/linux/tracehook.h	2009-04-23 23:20:20.000000000 +0200
@@ -142,8 +142,6 @@ static inline void tracehook_report_sysc
  * @task:		current task doing exec
  *
  * Return %LSM_UNSAFE_* bits applied to an exec because of tracing.
- *
- * Called with task_lock() held on @task.
  */
 static inline int tracehook_unsafe_exec(struct task_struct *task)
 {


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-04-27 20:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 21:22 [PATCH] ptrace: tracehook_unsafe_exec: remove the stale comment Oleg Nesterov
2009-04-23 23:27 ` Roland McGrath
2009-04-24 16:39   ` ptrace && cred_exec_mutex (Was: [PATCH] ptrace: tracehook_unsafe_exec: remove the stale comment) Oleg Nesterov
2009-04-24 19:38     ` Roland McGrath
2009-04-25 10:54     ` David Howells
2009-04-25 17:25       ` Oleg Nesterov
2009-04-25 19:06         ` David Howells
2009-04-26 23:41           ` [PATCH] ptrace: ptrace_attach: fix the usage of ->cred_exec_mutex Oleg Nesterov
2009-04-27  2:11             ` Roland McGrath
2009-04-27  8:47             ` David Howells
2009-04-27 10:52               ` [GIT] " James Morris
2009-04-27 20:05   ` [PATCH] ptrace-tracehook_unsafe_exec-remove-the-stale-comment-fix Oleg Nesterov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox