[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] compat.h: drop COMPAT_HANDLE_PARAM()



commit 3e90d28649a49d52673957e5f030c7c1c010d8a8
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Feb 2 15:49:42 2017 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Feb 2 15:49:42 2017 +0100

    compat.h: drop COMPAT_HANDLE_PARAM()
    
    The need for 8844ed299a ("x86/dmop: Fix compat_dm_op() ABI") has made
    clear that its presence is actively dangerous. At the hypercall entry
    points XEN_GUEST_HANDLE_PARAM() should be used anyway (regardless of
    whether these are native or compat entry points), and passing around
    handles internally shouldn't use their compat representation either.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 xen/include/xen/compat.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/xen/include/xen/compat.h b/xen/include/xen/compat.h
index 0868350..ce6245c 100644
--- a/xen/include/xen/compat.h
+++ b/xen/include/xen/compat.h
@@ -25,9 +25,6 @@
     __DEFINE_COMPAT_HANDLE(name, name)
 #define COMPAT_HANDLE(name)          __compat_handle_ ## name
 
-/* NB: it is assumed that if an arch uses the compat layer it does not
- * distinguish handles from parameter handles. */
-#define COMPAT_HANDLE_PARAM(name)    __compat_handle_ ## name
 /* Is the compat handle a NULL reference? */
 #define compat_handle_is_null(hnd)        ((hnd).c == 0)
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.