[Qemu-devel] [PATCH v2] linux-user: support target-to-host SCM_CREDENTIALS

2014-12-22 Thread Alex Suykov
When passing ancillary data through a unix socket, handle credentials properly instead of doing a simple copy and issuing a warning. Signed-off-by: Alex Suykov --- v2 fixes 80-column formatting warnings from checkpatch. linux-user/syscall.c | 18 ++ 1 file changed, 14

Re: [Qemu-devel] [PATCH] linux-user: support target-to-host SCM_CREDENTIALS

2014-12-22 Thread Alex Suykov
Tue, Dec 23, 2014 at 09:59:57AM +0800, Fam Zheng wrote: > On Sun, 12/21 13:02, Alex Suykov wrote: > > When passing ancillary data through a unix socket, handle > > credentials properly instead of doing a simple copy and > > issuing a warning. > > >

[Qemu-devel] [PATCH] linux-user: support target-to-host SCM_CREDENTIALS

2014-12-21 Thread Alex Suykov
When passing ancillary data through a unix socket, handle credentials properly instead of doing a simple copy and issuing a warning. Signed-off-by: Alex Suykov --- linux-user/syscall.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b

[Qemu-devel] [PATCH] ui: do not call XGetAtomName if keycodes is not an atom

2012-07-06 Thread Alex Suykov
XkbGetKeyboard may return zero instead of a valid atom in names->keycodes in some cases. XGetAtomName(dpy, 0) results in BadAtom error and crashes qemu. Signed-off-by: Alex Suykov --- ui/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/sdl.c b/ui/sdl.c index f6f7