Esempio n. 1
0
asmlinkage int sunos_readv(unsigned long fd, const struct iovec __user *vector,
                           long count)
{
    int ret;

    ret = check_nonblock(sys_readv(fd,vector,count),fd);
    return ret;
}
Esempio n. 2
0
long
hio_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen)
{
	if ( (!syscall_isset(__NR_readv, current->aspace->hio_syscall_mask)) ||
	     (fdTableFile(current->fdTable, fd))
	   )
		return sys_readv(fd, vec, vlen);

	return hio_format_and_exec_syscall(__NR_readv, 3, fd, vec, vlen);
}