函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cred.h Create Date:2022-07-27 06:42:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:validate_creds

函数原型:static inline void validate_creds(const struct cred *cred)

返回类型:void

参数:

类型参数名称
const struct cred *cred

NULL

调用者
名称描述
exit_credsClean up a task's credentials when it exits
prepare_credsprepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification
copy_creds复制信任
override_credsverride_creds - Override the current process's subjective credentials*@new: The credentials to be assigned* Install a set of temporary override subjective credentials on the current* process, returning the old set for later reversion.
revert_credsvert_creds - Revert a temporary subjective credentials override*@old: The credentials to be restored* Revert a temporary set of override subjective credentials to an old set,* discarding the override set.
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
inode_has_permCheck whether a task has a particular permission to an inode.The 'adp' parameter is optional and allows other auditdata to be passed (e.g. the dentry).
selinux_inode_follow_link
selinux_inode_permission
dentry_open
get_credget_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.
get_cred_rcu
put_credput_cred - Release a reference to a set of credentials*@cred: The credentials to release* Release a reference to a set of credentials, deleting them when the last ref* is released