函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:COMPAT_SYSCALL_DEFINE4

函数原型:COMPAT_SYSCALL_DEFINE4(wait4, compat_pid_t, pid, compat_uint_t __user *, stat_addr, int, options, struct compat_rusage __user *, ru)

返回类型:

参数:

1659  err等于kernel_wait4(pid, stat_addr, options, ru ? & r : NULL)
1660  如果err大于0则
1661  如果ruput_compat_rusage( & r, ru)则返回:负EFAULT
1664  返回:err