wayland/xwayland: Create /tmp/.X11-unix with the correct mode
The directory must be world-writable. Unfortunately just requesting an appropriate mode with mkdir() would be too obvious, as that value is modified by the process' umask.
Go Unix!
Make sure the directory is created with the correct mode by unsetting the umask before the mkdir() call, and restoring it afterwards.