Function report |
Source Code:fs\verity\open.c |
Create Date:2022-07-28 20:24:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sverity_file_open() - prepare to open a verity file*@inode: the inode being opened*@filp: the struct file being set up* When opening a verity file, deny the open if it is for writing. Otherwise,* set up the inode's ->i_verity_info if not already done.
Proto:int fsverity_file_open(struct inode *inode, struct file *filp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| struct file * | filp |
| 299 | If f_mode & le is open for writing Then |
| 300 | pr_debug("Denying opening verity file (ino %lu) for write\n", Stat data, not accessed from path walking ) |
| 302 | Return -EPERM |
| 305 | Return Ensure the inode has an ->i_verity_info |
| 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 |