Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cred.h Create Date:2022-07-28 05:40:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_cred - Get a reference on a set of credentials*@cred: The credentials to reference* Get a reference on the specified set of credentials. The caller must* release the reference. If %NULL is passed, it is returned with no action.

Proto:static inline const struct cred *get_cred(const struct cred *cred)

Type:struct cred

Parameter:

TypeParameterName
const struct cred *cred
249  nonconst_cred = cred
250  If Not cred Then Return cred
252  validate_creds(cred)
253  Can we skip RCU deletion? = 0
254  Return get_new_cred - Get a reference on a new set of credentials*@cred: The new credentials to reference* Get a reference on the specified set of new credentials. The caller must* release the reference.
Caller
NameDescribe
__ptrace_link
copy_credsCopy a certificate
commit_credsmmit_creds - Install new credentials upon the current task*@new: The credentials to be assigned* Install a new set of credentials to the current task, using RCU to replace* the old set. Both the objective and the subjective credentials pointers are
prepare_kernel_credprepare_kernel_cred - Prepare a set of credentials for a kernel service*@daemon: A userspace daemon to be used as a reference* Prepare a set of credentials for a kernel service
request_key_auth_newCreate an authorisation token for /sbin/request-key or whoever to gain* access to the caller's security data.
__alloc_file
vfs_dup_fs_contextvfs_dup_fc_config: Duplicate a filesystem context.*@src_fc: The context to copy.