Anthony Liguori
2005-Dec-09 22:18 UTC
[Xen-devel] [PATCH] If copy_to_user fails, return EFAULT
Tony Breeds and Rusty''s patches to add make check and make fullcheck allow you to run portions of the hypervisor under valgrind. While doing this, I noticed that there are a lot of places in dom0_ops.c that we''re either not checking the return value of copy_to_user or returning EINVAL instead of EFAULT. The attach patch makes sure wherever we call copy_to_user we check for error and return EFAULT. Regards, Anthony Liguor _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- [patch 1/2] xen-gntdev: return -EFAULT on copy_to_user failure
- [patch 1/2] xen-gntdev: return -EFAULT on copy_to_user failure
- [patch 1/2] xen-gntdev: return -EFAULT on copy_to_user failure
- [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION
- [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION