Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
unsigned longclone_flags
unsigned longstack_start
unsigned longstack_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