函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:clone3_args_valid

函数原型:static bool clone3_args_valid(struct kernel_clone_args *kargs)

返回类型:bool

参数:

类型参数名称
struct kernel_clone_args *kargs
2678  如果flags按位与All the bits taken by the old clone syscall. 按位或Clear any signal handler and reset to SIG_DFL. 的值的反则返回:false
2685  如果flags按位与Unused, ignored 按位或signal mask to be sent at exit 的值则返回:false
2688  如果flags按位与共享信号处理按位或Clear any signal handler and reset to SIG_DFL. 的值的值恒等于共享信号处理按位或Clear any signal handler and reset to SIG_DFL. 的值则返回:false
2692  如果flags按位与属于同一个线程组按位或新进程与创建它的进程是“兄弟”而不是“父子”的值且exit_signal则返回:false
2696  如果非lone3_stack_valid - check and prepare stack*@kargs: kernel clone args* Verify that the stack arguments userspace gave us are sane.* In addition, set the stack direction for userspace since it's easy for us to* determine.则返回:false
2699  返回:true
调用者
名称描述
SYSCALL_DEFINE2lone3 - 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.