Function report |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-28 19:53:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:apparmor_sb_mount
Proto:static int apparmor_sb_mount(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | dev_name | |
const struct path * | path | |
const char * | type | |
unsigned long | flags | |
void * | data |
533 | error = 0 |
536 | If (flags & MS_MGC_MSK) == Old magic mount flag and mask Then flags &= ~MS_MGC_MSK |
539 | flags &= ~AA_MS_IGNORE_MASK |
542 | If Not unconfined(label) Then |
543 | If flags & Alter flags of a mounted FS Then error = aa_remount(label, path, flags, data) |
547 | Else if flags & ( change to shared | change to private | change to slave | change to unbindable ) Then error = aa_mount_change_type(label, path, flags) |
558 | 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 |