Function report |
Source Code:security\keys\process_keys.c |
Create Date:2022-07-28 18:22:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Install the given keyring as the session keyring of the given credentials* struct, replacing the existing one if any. If the given keyring is NULL,* then install a new anonymous session keyring.*@cred can not be in use by any task yet.
Proto:int install_session_keyring_to_cred(struct cred *cred, struct key *keyring)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cred * | cred | |
struct key * | keyring |
322 | might_sleep() |
325 | If Not keyring Then |
335 | Else |
346 | Return 0 |
Name | Describe |
---|---|
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 |
umh_keys_init | Initialise a usermode helper that is going to have a specific session* keyring.* This is called in context of freshly forked kthread before kernel_execve(),* so we can simply install the desired session_keyring at this point. |
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 |