函数逻辑报告 |
Source Code:kernel\fork.c |
Create Date:2022-07-27 09:58:15 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:分裂出子进程
函数原型:long do_fork(unsigned long clone_flags, unsigned long stack_start, unsigned long stack_size, int __user *parent_tidptr, int __user *child_tidptr)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | clone_flags | |
unsigned long | stack_start | |
unsigned long | stack_size | |
int __user * | parent_tidptr | |
int __user * | child_tidptr |
2479 | struct kernel_clone_args args = {flags = (clone_flags & ~signal mask to be sent at exit ), pidfd = parent_tidptr, child_tid = child_tidptr, parent_tid = parent_tidptr, exit_signal = (clone_flags & signal mask to be sent at exit ), stack = stack_start, stack_size = stack_size, } |
2489 | 如果非legacy_clone_args_valid( & args)则返回:负EINVAL |
2492 | 返回:分裂进程 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |