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:aa_bind_mount
Proto:int aa_bind_mount(struct aa_label *label, const struct path *path, const char *dev_name, unsigned long flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_label * | label | |
| const struct path * | path | |
| const char * | dev_name | |
| unsigned long | flags |
| 426 | char * buffer = NULL, * old_buffer = NULL |
| 438 | error = kern_path(dev_name, llow links at the end | rce terminal automount , & old_path) |
| 442 | buffer = aa_get_buffer(false) |
| 443 | old_buffer = aa_get_buffer(false) |
| 445 | If Not buffer || Not old_buffer Then Go to out |
| 451 | out : |
| 452 | aa_put_buffer(buffer) |
| 453 | aa_put_buffer(old_buffer) |
| 456 | Return error |
| 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 |