Function report |
Source Code:security\keys\process_keys.c |
Create Date:2022-07-28 18:22:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that
Proto:long join_session_keyring(const char *name)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | name |
| 845 | new = prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
| 848 | old = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
| 851 | If Not name Then |
| 856 | serial = key serial number |
| 860 | Go to okay |
| 881 | Else if keyring == keyring inherited over fork Then |
| 894 | ret = key serial number |
| 896 | okay : |
| 897 | Return ret |
| 899 | error3 : |
| 901 | error2 : |
| 903 | error : |
| 905 | Return ret |
| Name | Describe |
|---|---|
| lookup_user_key | Look up a key ID given us by userspace with a given permissions mask to get* the key it refers to.* Flags can be passed to request that special keyrings be created if referred* to directly, to permit partially constructed keys to be found and to skip |
| keyctl_join_session_keyring | Join a (named) session keyring.* Create and join an anonymous session keyring or join a named session* keyring, creating it if necessary. A named session keyring must have Search* permission for it to be joined. Session keyrings without this permit will |
| 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 |