Function report |
Source Code:security\apparmor\mount.c |
Create Date:2022-07-28 19:54:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:match_mnt - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devpath: path devname/src_name (MAYBE NULL)*@devbuffer: buffer to be used to lookup
Proto:static int match_mnt(struct aa_profile *profile, const struct path *path, char *buffer, struct path *devpath, char *devbuffer, const char *type, unsigned long flags, void *data, bool binary)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_profile * | profile | |
| const struct path * | path | |
| char * | buffer | |
| struct path * | devpath | |
| char * | devbuffer | |
| const char * | type | |
| unsigned long | flags | |
| void * | data | |
| bool | binary |
| 383 | If Not PROFILE_MEDIATES(profile, AA_CLASS_MOUNT) Then Return 0 |
| 386 | If devpath Then |
| Name | Describe |
|---|---|
| aa_remount | |
| aa_bind_mount | |
| aa_mount_change_type | |
| aa_move_mount | |
| aa_new_mount |
| 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 |