函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:SYSCALL_DEFINE5

函数原型:SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp, int __user *, parent_tidptr, int __user *, child_tidptr, unsigned long, tls)

返回类型:

参数:

2563  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 = newsp, tls = tls, }
2573  如果非legacy_clone_args_valid( & args)则返回:负EINVAL
2576  返回:分裂进程