Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cred.c Create Date:2022-07-28 09:32:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Prepare credentials for current to perform an execve()* - The caller must hold ->cred_guard_mutex

Proto:struct cred *prepare_exec_creds(void)

Type:struct cred

Parameter:Nothing

304  new = prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification
305  If Not new Then Return new
310  key_put( keyring private to this thread )
311  keyring private to this thread = NULL
314  key_put( keyring private to this process )
315  keyring private to this process = NULL
318  Return new