Function Report

Linux Kernel (v4.4)

Source File:kernel\cred.c Create Date:2016-01-14 10:38:12
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:exit_creds

Function:void exit_creds(struct task_struct *tsk)

Return Type:void

Parameter:

Type Parameter NameRemarks
struct task_struct * tsk

Function description:Clean up a task's credentials when it exits

162  kdebug
164  cred = objective and real subjective task credentials(COW)
165  objective and real subjective task credentials(COW) = NULL
166  check for validity of credentials
167  alter_cred_subscribers(cred, -1)
168  Release a reference to a set of credentials
170  cred = effective(overridable) subjective task credentials(COW)
171  effective(overridable) subjective task credentials(COW) = NULL
172  check for validity of credentials
173  alter_cred_subscribers(cred, -1)
174  Release a reference to a set of credentials
Caller
Function NameFunction description
__put_task_struct
copy_processCreate a new process