函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-27 09:58:22
Last Modify:2020-03-17 11:04:53 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:SYSCALL_DEFINE2(clone3, struct clone_args __user *, uargs, size_t, size)

返回类型:

参数:

2720  set_tid等于set_tid
2722  err等于copy_clone_args_from_user( & kargs, uargs, size)
2723  如果err则返回:err
2726  如果非clone3_args_valid( & kargs)则返回:负EINVAL
2729  返回:分裂进程