Function report |
Source Code:security\apparmor\include\file.h |
Create Date:2022-07-28 19:48:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_map_file_perms - map file flags to AppArmor permissions*@file: open file to map flags to AppArmor permissions* Returns: apparmor permission set for the file
Proto:static inline unsigned int aa_map_file_to_perms(struct file *file)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file |
219 | perms = 0 |
221 | If f_mode & le is open for writing Then perms |= MAY_WRITE |
223 | If f_mode & le is open for reading Then perms |= MAY_READ |
231 | If flags & O_CREAT Then perms |= AA_MAY_CREATE |
234 | Return perms |
Name | Describe |
---|---|
apparmor_file_open | |
apparmor_file_receive | |
match_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 |