| 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_path_str - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devnme: string for the devname/src_name (MAY BE NULL OR ERRPTR)*@type: string for the dev
Proto:static int match_mnt_path_str(struct aa_profile *profile, const struct path *mntpath, char *buffer, const char *devname, const char *type, unsigned long flags, void *data, bool binary, const char *devinfo)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile * | profile | |
| const struct path * | mntpath | |
| char * | buffer | |
| const char * | devname | |
| const char * | type | |
| unsigned long | flags | |
| void * | data | |
| bool | binary | |
| const char * | devinfo | 
| 329 | If Not PROFILE_MEDIATES(profile, AA_CLASS_MOUNT) Then Return 0 | 
| 344 | pos = Returns 0 on success else element that match failed in, this is the* index into the mnt_info_table above | 
| 347 | If pos Then | 
| 348 | info = mnt_info_table[pos] | 
| 349 | Go to audit | 
| 351 | error = 0 | 
| 353 | audit : | 
| Name | Describe | 
|---|---|
| match_mnt | 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 | 
| 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 |