Skip to content

Commit

Permalink
kernel: doc: remove outdated comment cred.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
  • Loading branch information
bernd-edlinger authored and ebiederm committed Mar 25, 2020
1 parent 8d09db8 commit aa884c1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/cred.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit aa884c1

Please sign in to comment.