Function report |
Source Code:kernel\cred.c |
Create Date:2022-07-28 09:32:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:void abort_creds(struct cred *new)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |