函数逻辑报告 |
Source Code:kernel\cred.c |
Create Date:2022-07-27 10:33:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:abort_creds - Discard a set of credentials and unlock the current task*@new: The credentials that were going to be applied* Discard a set of credentials that were under construction and unlock the* current task.
函数原型:void abort_creds(struct cred *new)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cred * | new |
522 | kdebug("abort_creds(%p{%d,%d})", new, atomic_read( & usage), read_cred_subscribers(new)) |
529 | BUG_ON(atomic_read( & usage) < 1) |
名称 | 描述 |
---|---|
cred_alloc_blank | Allocate blank credentials, such that the credentials can be filled in at a* later date without risk of ENOMEM. |
prepare_creds | prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
install_thread_keyring | Install a thread keyring to the current task if it didn't have one already.* Return: 0 if a thread keyring is now present; -errno on failure. |
install_process_keyring | Install a process keyring to the current task if it didn't have one already.* Return: 0 if a process keyring is now present; -errno on failure. |
install_session_keyring | Install the given keyring as the session keyring of the current task,* replacing the existing one if any. If the given keyring is NULL, then* install a new anonymous session keyring.* Return: 0 on success; -errno on failure. |
join_session_keyring | Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that |
selinux_setprocattr | |
aa_set_current_hat | aa_set_current_hat - set the current tasks hat*@label: label to set as the current hat (NOT NULL)*@token: token value that must be specified to change from the hat* Do switch of tasks hat |
call_usermodehelper_exec_async | This is the task which runs the usermode application |
keyctl_set_reqkey_keyring | Read or set the default keyring in which request_key() will cache keys and* return the old setting.* If a thread or process keyring is specified then it will be created if it* doesn't yet exist. The old setting will be returned if successful. |
free_bprm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |