Function report |
Source Code:security\keys\proc.c |
Create Date:2022-07-28 18:25:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_ge_key
Proto:static struct key *find_ge_key(struct seq_file *p, key_serial_t id)
Type:struct key
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | p | |
key_serial_t | id |
80 | user_ns = seq_user_ns(p) |
85 | key = rb_entry(n, structkey, serial_node) |
86 | If id < key serial number Then |
87 | If Not minkey || key serial number > key serial number Then minkey = key |
90 | Else if id > key serial number Then |
92 | Else |
96 | key = NULL |
99 | If Not minkey Then Return NULL |
102 | cycle |
103 | If kuid_has_mapping(user_ns, uid) Then Return minkey |
105 | n = rb_next( & serial_node) |
106 | If Not n Then Return NULL |
108 | minkey = rb_entry(n, structkey, serial_node) |
Name | Describe |
---|---|
proc_keys_start |
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 |