[PATCH spice-gtk] controller: don't try to set integrity on XP x64 edition

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

 



XP x64 uses version 5.2, but doesn't accept setting the pipe to low
integrity.

5.2 seems to be shared with many versions (server 2003 for example),
but only Vista+ matters, which is only major >=6.

https://bugzilla.redhat.com/show_bug.cgi?id=918342
---
 gtk/controller/win32-util.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gtk/controller/win32-util.c b/gtk/controller/win32-util.c
index 3562154..ea68814 100644
--- a/gtk/controller/win32-util.c
+++ b/gtk/controller/win32-util.c
@@ -147,8 +147,7 @@ spice_win32_user_pipe_new (gchar *name, GError **error)
     }
 
     /* lower integrity on Vista/Win7+ */
-    if ((LOBYTE (g_win32_get_windows_version()) > 0x05
-         || LOWORD (g_win32_get_windows_version()) > 0x0105) &&
+    if ((LOBYTE (g_win32_get_windows_version()) > 0x05) &&
         !spice_win32_set_low_integrity (pipe, error))
         goto end;
 
-- 
1.8.1.1.439.g50a6b54

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]