Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:53:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bad_option
Proto:static int bad_option(struct superblock_security_struct *sbsec, char flag, unsigned int old_sid, unsigned int new_sid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct superblock_security_struct * | sbsec | |
char | flag | |
unsigned int | old_sid | |
unsigned int | new_sid |
617 | If which mount options were specified & Non-mount related flags Then If Not ( which mount options were specified & flag) || old_sid != new_sid Then |
620 | Return 1 |
625 | If Not ( which mount options were specified & Non-mount related flags ) Then If mnt_flags & flag Then |
627 | Return 1 |
628 | Return 0 |
Name | Describe |
---|---|
selinux_set_mnt_opts | Allow filesystems with binary mount data to explicitly set mount point* labeling information. |
selinux_sb_remount |
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 |