xserver-multidpi/hw/xwayland
Marek Chalupa f48b0534f1 xwayland-shm: fortify fallocate against EINTR
If posix_fallocate or ftruncate is interrupted by signal while working,
we return -1 as fd and the allocation process returns BadAlloc error.
That causes xwayland clients to abort with 'BadAlloc (insufficient
resources for operation)' even when there's a lot of resources
available.

Fix it by trying again when we get EINTR.

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-04-25 15:29:40 -04:00
..
.gitignore Xwayland DDX 2014-04-03 15:19:22 -07:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
Makefile.am xwayland: add glamor Xv adaptor 2016-03-09 14:03:03 -05:00
xwayland-cursor.c xwayland: call through to miPointerWarpCursor on warp_cursor 2015-09-18 14:55:00 +02:00
xwayland-cvt.c xwayland: do not include frequency in mode name 2016-03-28 14:09:09 -04:00
xwayland-glamor-xv.c xwayland: Fix compiler warning in GLAMOR Xv 2016-04-15 16:22:16 -04:00
xwayland-glamor.c xwayland: add glamor Xv adaptor 2016-03-09 14:03:03 -05:00
xwayland-input.c xwayland: Clear pending cursor frame callbacks on pointer enter 2016-02-08 17:09:40 -05:00
xwayland-output.c xwayland: fix a crash on output removal 2016-03-01 09:56:31 -05:00
xwayland-shm.c xwayland-shm: fortify fallocate against EINTR 2016-04-25 15:29:40 -04:00
xwayland-vidmode.c xwayland: Pretend we support viewport in vidmode 2016-03-28 14:10:59 -04:00
xwayland.c xwayland: add partial xvidmode extension support 2016-02-29 16:29:17 -05:00
xwayland.h xwayland: add glamor Xv adaptor 2016-03-09 14:03:03 -05:00