Function report |
Source Code:security\apparmor\path.c |
Create Date:2022-07-28 19:51:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_path_name - get the pathname to a buffer ensure dir / is appended*@path: path the file (NOT NULL)*@flags: flags controlling path name generation*@buffer: buffer to put name in (NOT NULL)*@name: Returns - the generated path name if !error (NOT
Proto:int aa_path_name(const struct path *path, int flags, char *buffer, const char **name, const char **info, const char *disconnected)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct path * | path | |
| int | flags | |
| char * | buffer | |
| const char ** | name | |
| const char ** | info | |
| const char * | disconnected |
| 200 | char * str = NULL |
| 208 | Else if error == -ENAMETOOLONG Then info = "Failed name lookup - name too long" |
| 210 | Else info = "Failed name lookup" |
| 216 | Return error |
| Name | Describe |
|---|---|
| profile_transition | |
| profile_onexec | |
| path_name | |
| match_mnt_path_str | 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 |
| 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 |
| profile_umount | |
| build_pivotroot | helper fn for transition on pivotroot* Returns: label for transition or ERR_PTR. Does not return NULL |
| 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 |