Function report |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-28 19:26:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_rule_show
Proto:static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | s | |
| struct smack_rule * | srp | |
| int | max |
| 572 | If strlen - Find the length of a string*@s: The string to be sized >= max || strlen - Find the length of a string*@s: The string to be sized >= max Then Return |
| 576 | If smk_access == 0 Then Return |
| 579 | seq_printf(s, "%s %s", smk_known, smk_known) |
| 585 | If smk_access & MAY_READ Then seq_putc(s, 'r') |
| 587 | If smk_access & MAY_WRITE Then seq_putc(s, 'w') |
| 589 | If smk_access & MAY_EXEC Then seq_putc(s, 'x') |
| 591 | If smk_access & MAY_APPEND Then seq_putc(s, 'a') |
| 593 | If smk_access & Controls directory labeling Then seq_putc(s, 't') |
| 595 | If smk_access & Locks should be writes, but ... Then seq_putc(s, 'l') |
| 597 | If smk_access & Report use of this rule Then seq_putc(s, 'b') |
| Name | Describe |
|---|---|
| load_seq_show | |
| load_self_seq_show | |
| load2_seq_show | Seq_file read operations for /smack/load2 |
| load_self2_seq_show |
| 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 |