Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:may_o_create
Proto:static int may_o_create(const struct path *dir, struct dentry *dentry, umode_t mode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct path * | dir | |
| struct dentry * | dentry | |
| umode_t | mode |
| 2970 | error = security_path_mknod(dir, dentry, mode, 0) |
| 2975 | If Not kuid_has_mapping(s_user_ns, current_fsuid()) || Not kgid_has_mapping(s_user_ns, current_fsgid()) Then Return -EOVERFLOW |
| 2983 | Return security_inode_create( Where the name belongs to - NULL is * negative , dentry, mode) |
| Name | Describe |
|---|---|
| lookup_open | Look up and maybe create and open the last component |
| 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 |