summaryrefslogtreecommitdiff
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2020-03-20 23:26:50 +0300
committerEric W. Biederman <ebiederm@xmission.com>2020-03-25 18:04:01 +0300
commitaa884c11313656fee7b12972614b6333f154655c (patch)
tree4c73e61be618698a4d6ba24daec103faeb9538dd /kernel/cred.c
parent8d09db80ef404d8e2e143677e0716cfcd544e29b (diff)
downloadlinux-aa884c11313656fee7b12972614b6333f154655c.tar.xz
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>
Diffstat (limited to 'kernel/cred.c')
-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)
{