wayland/src
Olivier Fourdan 0fa3474be3 shm: provide actual error on mmap failed
When an mmap() fails, a WL_SHM_ERROR_INVALID_FD is raised and the client
is killed.

However, there is no indication of the actual system error that caused
mmap() to fail, which makes such error harder to investigate.

Provide the actual error message that caused mmap() to fail.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2018-02-09 17:03:28 +00:00
..
.gitignore ignore: Add *.dtd.embed 2016-03-10 22:24:20 -08:00
connection.c connection: Clear correct args when clearing fds to -1 2018-01-22 09:45:47 +00:00
dtddata.S dtddata: Use standard permission notice 2017-01-26 14:49:55 +00:00
event-loop.c eventloop: clarify post_dispatch_check() 2017-12-04 19:45:38 +00:00
scanner.c scanner: Add --strict flag 2017-12-04 22:38:56 +00:00
wayland-client-core.h (multiple): Include stdint.h 2016-07-25 18:39:32 -07:00
wayland-client-uninstalled.pc.in buildsystem: adjust uninstalled -client/server pkg-config infra 2016-11-21 11:17:17 +00:00
wayland-client.c client: Consume file descriptors destined for zombie proxies 2018-01-09 15:20:00 +00:00
wayland-client.h doc: Formalize file comment in wayland-client.h, wayland-server.h 2016-05-11 11:03:27 -07:00
wayland-client.pc.in Export the Wayland protocol XML file 2013-09-21 21:48:56 -07:00
wayland-egl-core.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-egl.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-os.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-os.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-private.h client: Consume file descriptors destined for zombie proxies 2018-01-09 15:20:00 +00:00
wayland-scanner-uninstalled.pc.in build: Fix scanner path in uninstalled pkg-config file 2016-11-21 11:17:06 +00:00
wayland-scanner.pc.in build: Add wayland-scanner.pc. 2013-07-03 16:38:12 -04:00
wayland-server-core.h server: add wl_display_destroy_clients() 2018-02-09 17:00:04 +00:00
wayland-server-uninstalled.pc.in buildsystem: adjust uninstalled -client/server pkg-config infra 2016-11-21 11:17:17 +00:00
wayland-server.c server: add wl_display_destroy_clients() 2018-02-09 17:00:04 +00:00
wayland-server.h wayland-server: document WL_HIDE_DEPRECATED 2017-10-13 14:26:46 +03:00
wayland-server.pc.in Export the Wayland protocol XML file 2013-09-21 21:48:56 -07:00
wayland-shm.c shm: provide actual error on mmap failed 2018-02-09 17:03:28 +00:00
wayland-util.c client: Remove WL_ZOMBIE_OBJECT global 2017-12-28 19:43:20 +00:00
wayland-util.h doc: Document behavior of non-nullable object arguments in clients 2018-02-09 10:06:33 +02:00
wayland-version.h.in src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00