Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:58:44 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:For compatibility with architectures that call do_fork directly rather than* using the syscall entry points below.
Proto:long do_fork(unsigned long clone_flags, unsigned long stack_start, unsigned long stack_size, int __user *parent_tidptr, int __user *child_tidptr)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If Not legacy_clone_args_valid( & args) Then Return -EINVAL |
2492 | Return fork routine |
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 |