summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2020-03-20 21:26:50 +0100
committerEric W. Biederman <ebiederm@xmission.com>2020-03-25 16:04:01 +0100
commitaa884c11313656fee7b12972614b6333f154655c (patch)
tree4c73e61be618698a4d6ba24daec103faeb9538dd
parentmm: docs: Fix a comment in process_vm_rw_core (diff)
downloadlinux-aa884c11313656fee7b12972614b6333f154655c.tar.xz
linux-aa884c11313656fee7b12972614b6333f154655c.zip
kernel: doc: remove outdated comment cred.c
This removes an outdated comment in prepare_kernel_cred. There is no "cred_replace_mutex" any more, so the comment must go away. Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-rw-r--r--kernel/cred.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/cred.c b/kernel/cred.c
index 809a985b1793..71a792616917 100644
--- a/kernel/cred.c
+++ b/kernel/cred.c
@@ -675,8 +675,6 @@ void __init cred_init(void)
* The caller may change these controls afterwards if desired.
*
* Returns the new credentials or NULL if out of memory.
- *
- * Does not take, and does not return holding current->cred_replace_mutex.
*/
struct cred *prepare_kernel_cred(struct task_struct *daemon)
{