Function report |
Source Code:security\device_cgroup.c |
Create Date:2022-07-28 19:55:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devcgroup_seq_show
Proto:static int devcgroup_seq_show(struct seq_file *m, void *v)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
void * | v |
269 | devcgroup = css_to_devcgroup(seq_css(m)) |
280 | If behavior == DEVCG_DEFAULT_ALLOW Then |
281 | set_access(acc, DEVCG_ACC_MASK) |
282 | set_majmin(maj, ~0) |
283 | set_majmin(min, ~0) |
284 | seq_printf(m, "%c %s:%s %s\n", type_to_char(his represents all devices ), maj, min, acc) |
286 | Else |
288 | set_access(acc, access) |
289 | set_majmin(maj, major) |
290 | set_majmin(min, minor) |
291 | seq_printf(m, "%c %s:%s %s\n", type_to_char(type), maj, min, acc) |
297 | 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 |