Re: [libvirt] [1.1.3 PATCH] event: move event filtering to daemon (regression fix)

2014-02-05 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 05:14:40PM -0700, Eric Blake wrote: Commit f9f56340 for CVE-2014-0028 almost had the right idea - we need to check the ACL rules to filter which events to send. But it overlooked one thing: the event dispatch queue is running in the main loop thread, and therefore does

[libvirt] [1.1.3 PATCH] event: move event filtering to daemon (regression fix)

2014-01-28 Thread Eric Blake
Commit f9f56340 for CVE-2014-0028 almost had the right idea - we need to check the ACL rules to filter which events to send. But it overlooked one thing: the event dispatch queue is running in the main loop thread, and therefore does not normally have a current virIdentityPtr. But filter checks