Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sys.c Create Date:2022-07-28 09:20:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:COMPAT_SYSCALL_DEFINE2

Proto:COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru)

Type:

Parameter:Nothing

1799  If who != Definition of struct rusage taken from BSD 4.3 Reno* We don't support all of these yet, but we might as well have them....* Otherwise, each time we add new items, programs which depend on this* structure will lose && who != RUSAGE_CHILDREN && who != ly the calling thread Then Return -EINVAL
1803  getrusage(current process, who, & r)
1804  Return put_compat_rusage( & r, ru)