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
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.
> >
>
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
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