wayland/src
Alex Richardson 5a981ee823 shm: Add mmap+memmove fallback if mremap() does not exist
Some operating systems (e.g. FreeBSD) do not implement mremap.
In that case we can grow the mapping by trying to map adjacent memory.
If that fails we can fall back to creating a new larger mapping and
moving the old memory contents there.

Co-authored-by: Koop Mast <kwm@rainbow-runner.nl>
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
2021-09-10 11:35:54 +00:00
..
.gitignore ignore: Add *.dtd.embed 2016-03-10 22:24:20 -08:00
connection.c connection: Rename wl_buffer 2021-08-09 11:51:58 -05:00
embed.py build: replace assembly embedding with Python script 2021-05-10 22:08:45 +00:00
event-loop.c src: Add missing new lines to log messages 2021-05-07 11:07:54 +03:00
meson.build Use epoll-shim to emulate epoll(7) on FreeBSD 2021-09-10 11:35:54 +00:00
scanner.c scanner: Use the new atomic marshal/destroy function 2021-08-07 11:53:23 +00:00
wayland-client-core.h client: Add new proxy marshalling functions with flags 2021-08-07 11:53:23 +00:00
wayland-client.c client: Add new proxy marshalling functions with flags 2021-08-07 11:53:23 +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-os.c shm: Add mmap+memmove fallback if mremap() does not exist 2021-09-10 11:35:54 +00:00
wayland-os.h shm: Add mmap+memmove fallback if mremap() does not exist 2021-09-10 11:35:54 +00:00
wayland-private.h client: print discarded events in debug log 2021-07-20 09:20:38 +00:00
wayland-server-core.h server: add wl_display getter for wl_global 2021-03-05 09:12:33 +00:00
wayland-server-private.h Move wl_priv_signal to wayland-server-private.h 2019-11-06 08:24:14 -06:00
wayland-server.c Support reading ucred from the socket on FreeBSD 2021-09-10 11:35:54 +00:00
wayland-server.h wayland-server: Finally remove deprecated struct wl_buffer definition 2018-07-25 12:08:16 -05:00
wayland-shm.c shm: Add mmap+memmove fallback if mremap() does not exist 2021-09-10 11:35:54 +00:00
wayland-util.c util: Avoid undefined behaviour in for_each_helper 2021-07-21 11:42:42 +00:00
wayland-util.h util: fix compiler warning 2020-02-24 11:02:44 +00:00
wayland-version.h.in src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00