函数逻辑报告 |
Source Code:kernel\fork.c |
Create Date:2022-07-27 09:58:13 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:分裂进程
函数原型:long _do_fork(struct kernel_clone_args *args)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kernel_clone_args * | args | >exit_signal is expected to be checked for sanity by the caller. |
2396 | clone_flags等于flags |
2400 | trace等于0 |
2412 | 否则如果exit_signal不等于SIGCHLD则trace等于PTRACE_EVENT_CLONE |
2417 | 如果此条件成立可能性大(为编译器优化)(!判断启用了跟踪)则trace等于0 |
2422 | add_latent_entropy() |
2433 | pid等于get_task_pid(p, 单一进程) |
2439 | 如果clone_flags按位与父进程被挂起,直至子进程释放虚拟内存资源则 |
2451 | 如果clone_flags按位与父进程被挂起,直至子进程释放虚拟内存资源则 |
2457 | 返回:nr |
名称 | 描述 |
---|---|
do_fork | 分裂出子进程 |
kernel_thread | 创建内核线程 |
sys_fork | |
sys_vfork | |
SYSCALL_DEFINE5 | |
SYSCALL_DEFINE2 | lone3 - create a new process with specific properties*@uargs: argument structure*@size: size of @uargs* clone3() is the extensible successor to clone()/clone2().* It takes a struct as argument that is versioned by its size. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |