Function report |
Source Code:security\apparmor\file.c |
Create Date:2022-07-28 19:54:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:map_old_perms - map old file perms layout to the new layout*@old: permission set in old mapping* Returns: new permission mapping
Proto:static unsigned int map_old_perms(unsigned int old)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | old |
| 195 | If old & MAY_READ Then new |= meta read | AA_MAY_OPEN |
| 197 | If old & MAY_WRITE Then new |= meta write | AA_MAY_CREATE | AA_MAY_DELETE | pair | pair | AA_MAY_OPEN |
| 205 | If old & 0x20 Then new |= LINK_SUBSET overlaid | verlaid |
| 207 | If old & 0x40 Then new |= AA_EXEC_MMAP |
| 210 | Return new |
| Name | Describe |
|---|---|
| aa_compute_fperms | aa_compute_fperms - convert dfa compressed perms to internal perms*@dfa: dfa to compute perms for (NOT NULL)*@state: state in dfa*@cond: conditions to consider (NOT NULL)* TODO: convert from dfa + state to permission entry, do computation conversion |
| 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 |