| Function report | 
| Source Code: security\keys\proc.c | Create Date:2022-07-28 18:25:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:proc_keys_show
Proto:static int proc_keys_show(struct seq_file *m, void *v)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| void * | v | 
| 154 | key = rb_entry(_p, structkey, serial_node) | 
| 173 | key_ref = make_key_ref(key, 0) | 
| 178 | If access permissions & possessor can view a key's attributes Then | 
| 180 | skey_ref = Search the process keyrings attached to the supplied cred for the first* matching key under RCU conditions (the caller must be holding the RCU read* lock) | 
| 183 | key_ref_put(skey_ref) | 
| 184 | key_ref = make_key_ref(key, 1) | 
| 190 | If rc < 0 Then Return 0 | 
| 199 | If expiry == 0 Then | 
| 203 | Else | 
| 218 | state = key_read_state(key) | 
| 247 | Return 0 | 
| 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 |