| Function report | 
| Source Code: security\keys\keyctl.c | Create Date:2022-07-28 18:19:32 | 
| Last Modify:2020-03-18 07:59:52 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:long keyctl_join_session_keyring(const char __user *_name)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char __user * | _name | 
| 295 | name = NULL | 
| 296 | If _name Then | 
| 304 | If name[0] == '.' Then Go to error_name | 
| 309 | ret = Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that | 
| 310 | error_name : | 
| 312 | error : | 
| 313 | Return ret | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE5 | The key control system call | 
| COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs | 
| 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 |