[Spice-devel] [PATCH spice-gtk] controller: don't try to set integrity on XP x64 edition
Hans de Goede
hdegoede at redhat.com
Wed Mar 20 02:12:08 PDT 2013
ACK.
On 03/19/2013 09:17 PM, Marc-André Lureau wrote:
> 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;
>
>
More information about the Spice-devel
mailing list