Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\read_write.c Create Date:2022-07-28 20:01:28
Last Modify:2020-03-18 10:18:51 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:COMPAT_SYSCALL_DEFINE4

Proto:COMPAT_SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd, compat_loff_t __user *, offset, compat_size_t, count)

Type:

Parameter:Nothing

1555  If offset Then
1556  If Value for the false possibility is greater at compile time(copy_from_user( & pos, offset, sizeof(loff_t))) Then Return -EFAULT
1558  ret = do_sendfile(out_fd, in_fd, & pos, count, 0)
1559  If Value for the false possibility is greater at compile time(Write a simple value into user space(pos, offset)) Then Return -EFAULT
1561  Return ret
1564  Return do_sendfile(out_fd, in_fd, NULL, count, 0)