Function report |
Source Code:mm\process_vm_access.c |
Create Date:2022-07-28 15:01:38 |
Last Modify:2020-03-17 21:52:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compat_process_vm_rw
Proto:static ssize_t compat_process_vm_rw(compat_pid_t pid, const struct compat_iovec __user *lvec, unsigned long liovcnt, const struct compat_iovec __user *rvec, unsigned long riovcnt, unsigned long flags, int vm_write)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
compat_pid_t | pid | |
const struct compat_iovec __user * | lvec | |
unsigned long | liovcnt | |
const struct compat_iovec __user * | rvec | |
unsigned long | riovcnt | |
unsigned long | flags | |
int | vm_write |
321 | iov_l = iovstack_l |
322 | iov_r = iovstack_r |
325 | dir = If vm_write Then WRITE Else generic data direction definitions |
330 | rc = compat_import_iovec(dir, lvec, liovcnt, UIO_MAXIOV shall be at least 16 1003.1g (5.4.1.1), & iov_l, & iter) |
333 | If Not iov_iter_count( & iter) Then Go to free_iovecs |
338 | If rc <= 0 Then Go to free_iovecs |
343 | free_iovecs : |
344 | If iov_r != iovstack_r Then kfree(iov_r) |
347 | Return rc |
Name | Describe |
---|---|
COMPAT_SYSCALL_DEFINE6 | |
COMPAT_SYSCALL_DEFINE6 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |