Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:54:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:inode_mode_to_security_class
Proto:static inline u16 inode_mode_to_security_class(umode_t mode)
Type:u16
Parameter:
Type | Parameter | Name |
---|---|---|
umode_t | mode |
1149 | Case & == S_IFSOCK |
1150 | Return SECCLASS_SOCK_FILE |
1151 | Case & == S_IFLNK |
1152 | Return SECCLASS_LNK_FILE |
1153 | Case & == S_IFREG |
1154 | Return SECCLASS_FILE |
1155 | Case & == S_IFBLK |
1156 | Return SECCLASS_BLK_FILE |
1157 | Case & == S_IFDIR |
1158 | Return SECCLASS_DIR |
1159 | Case & == S_IFCHR |
1160 | Return SECCLASS_CHR_FILE |
1161 | Case & == S_IFIFO |
1162 | Return SECCLASS_FIFO_FILE |
1166 | Return SECCLASS_FILE |
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 |