X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcompat.h;h=d42bd48ae5d51877f52399a019f4f27b5b63b3c6;hb=HEAD;hp=c6e7523bf7652ab050285c2c02dad3715a010cab;hpb=107095a9463dc1c64168c7e6592d3a47c474fec8;p=pandora-kernel.git diff --git a/include/linux/compat.h b/include/linux/compat.h index c6e7523bf765..d42bd48ae5d5 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -547,9 +547,23 @@ extern ssize_t compat_rw_copy_check_uvector(int type, const struct compat_iovec __user *uvector, unsigned long nr_segs, unsigned long fast_segs, struct iovec *fast_pointer, - struct iovec **ret_pointer); + struct iovec **ret_pointer, + int check_access); extern void __user *compat_alloc_user_space(unsigned long len); +asmlinkage ssize_t compat_sys_process_vm_readv(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); +asmlinkage ssize_t compat_sys_process_vm_writev(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); + +#else + +#define is_compat_task() (0) + #endif /* CONFIG_COMPAT */ #endif /* _LINUX_COMPAT_H */