Searched hist:"50 d7d967bbfdcaf38bfac1c3bcc985a31fed26ab" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/xen/ |
H A D | privcmd.h | diff 50d7d967bbfdcaf38bfac1c3bcc985a31fed26ab Wed Nov 17 11:48:35 CET 2021 Roger Pau Monné <royger@FreeBSD.org> xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results
The current definition for the MMAP_RESOURCE ioctl was wrong as it didn't copy back the result to the caller. Fix the definition and also remove the bogus attempt to copy the result in the implementation.
Note such copy back is only needed when querying the size of a resource.
Sponsored by: Citrix Systems R&D
|
/freebsd/sys/dev/xen/privcmd/ |
H A D | privcmd.c | diff 50d7d967bbfdcaf38bfac1c3bcc985a31fed26ab Wed Nov 17 11:48:35 CET 2021 Roger Pau Monné <royger@FreeBSD.org> xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results
The current definition for the MMAP_RESOURCE ioctl was wrong as it didn't copy back the result to the caller. Fix the definition and also remove the bogus attempt to copy the result in the implementation.
Note such copy back is only needed when querying the size of a resource.
Sponsored by: Citrix Systems R&D
|