函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:35:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_mknodat
函数原型:long do_mknodat(int dfd, const char __user *filename, umode_t mode, unsigned int dev)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | dfd | |
const char __user * | filename | |
umode_t | mode | |
unsigned int | dev |
3690 | lookup_flags等于0 |
3695 | retry : |
3696 | dentry等于user_path_create(dfd, filename, & path, lookup_flags) |
3700 | 如果非IS_POSIXACL( Where the name belongs to - NULL is * negative )则mode与等于current_umask()的反 |
3706 | 当: & == 0 |
3707 | error等于vfs_create( Where the name belongs to - NULL is * negative , dentry, mode, true) |
3708 | 如果非error则ima_post_path_mknod(dentry) |
3710 | 退出 |
3712 | error等于vfs_mknod( Where the name belongs to - NULL is * negative , dentry, mode, new_decode_dev(dev)) |
3714 | 退出 |
3719 | out : |
3720 | done_path_create( & path, dentry) |
3723 | 转到:retry |
3725 | 返回:error |
名称 | 描述 |
---|---|
SYSCALL_DEFINE4 | |
SYSCALL_DEFINE3 | |
ksys_mknod |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |