[Spice-devel] [PATCH spice-gtk 2/2] controller/win32: limit access to current user only

2012-10-24 Thread Marc-André Lureau
Based on RHEV spicec-win only code. --- gtk/controller/win32-util.c | 50 - 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/gtk/controller/win32-util.c b/gtk/controller/win32-util.c index 4e3ec4c..1268b2a 100644 --- a/gtk/controller/win32-u

[Spice-devel] [PATCH spice-gtk 1/2] controller/win32: allow ActiveX connection on untrusted website

2012-10-24 Thread Marc-André Lureau
Set low integrity on named-pipes. This bug was originally resolved as: https://bugzilla.redhat.com/show_bug.cgi?id=668980 Fixes regression: https://bugzilla.redhat.com/show_bug.cgi?id=844461 --- gtk/controller/Makefile.am | 2 + gtk/controller/spice-controller-listener.c |

Re: [Spice-devel] [PATCH v2] usbclerk: add temporary driver install per session

2012-10-24 Thread Uri Lublin
On 10/24/2012 02:00 PM, Arnon Gilboa wrote: -add message type USB_CLERK_DRIVER_SESSION_INSTALL, bump version to 3 -handle multiple pipe connections concurrently with thread for each one -keep pipe open, and on pipe close - cleanup the session-specific devices -add test for temporary driver instal

[Spice-devel] [PATCH] win-usb-driver: use usbclerk new message: USB_CLERK_DRIVER_SESSION_INSTALL

2012-10-24 Thread Uri Lublin
With this message usbclerk keeps a list of devices for which a libusb driver was installed (per connection). When a spice-gtk client exits, the connection is closed, and usbclerk uninstalls the driver for all devices in the list. That means we need to keep the connection open, so added the win-usb

Re: [Spice-devel] [RFC PATCH] usbclerk: remove device from devs list upon driver removal

2012-10-24 Thread Arnon Gilboa
nice, but too many lines for a single remove() in the code :) fixed by naive iterator in patch v2. Uri Lublin wrote: --- This implements comment 1. Maybe better to remove it from the list only if driver uninstall was successful (check reply->status) --- usbclerk.cpp | 11 +++ 1 file

[Spice-devel] [PATCH v2] usbclerk: add temporary driver install per session

2012-10-24 Thread Arnon Gilboa
-add message type USB_CLERK_DRIVER_SESSION_INSTALL, bump version to 3 -handle multiple pipe connections concurrently with thread for each one -keep pipe open, and on pipe close - cleanup the session-specific devices -add test for temporary driver install and multiple devices v2: fixed most of Uri'

Re: [Spice-devel] configure: error: Package requirements (libcacard >= 0.1.2) were not met:

2012-10-24 Thread Alon Levy
> > Hi, everyone! > > > I am working on the spice with xen-4.2.0. My host OS is Fedora 14. > While installing spice server(spice-0.12.0.tar.bz2), there is a > confusing error > > > as below message shows. > > > I spent a few days in the configure process and I am sure the > libcacard has bee

[Spice-devel] configure: error: Package requirements (libcacard >= 0.1.2) were not met:

2012-10-24 Thread Qian Hu
Hi, everyone! I am working on the spice with xen-4.2.0. My host OS is Fedora 14. While installing spice server(spice-0.12.0.tar.bz2), there is a confusing error as below message shows. I spent a few days in the configure process and I am sure the libcacard has been installed, because I can inst

[Spice-devel] [RFC PATCH] usbclerk: remove device from devs list upon driver removal

2012-10-24 Thread Uri Lublin
--- This implements comment 1. Maybe better to remove it from the list only if driver uninstall was successful (check reply->status) --- usbclerk.cpp | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/usbclerk.cpp b/usbclerk.cpp index b5771b7..c95766f 100644 ---