xserver/os
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Fourdan e4b68f9248 os: Add busfault_set_jmp() for SIGBUS unwind
Allow callers to arm a sigjmp_buf on a registered mapping so the
SIGBUS handler can siglongjmp instead of remapping and retrying the
faulting instruction.

Needed when the mapping contains objects that are unsafe to resume
on after a replace.

This is preparation work for the next commit where that mechanism is
used.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Assisted-by: AI
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2270>
(cherry picked from commit 7a0b3e2197)
2026-10-20 19:47:40 +02:00
..
.gitignore
access.c os: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:49:20 +02:00
alloc.c license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
audit_priv.h include: fix warning on XNFvasprintf() prototype 2025-12-04 17:28:58 +01:00
auth.c treewide: clean up includes of misc.h 2026-06-19 19:24:57 +02:00
auth.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
backtrace.c treewide: clean up includes of misc.h 2026-06-19 19:24:57 +02:00
bug_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
busfault.c os: Add busfault_set_jmp() for SIGBUS unwind 2026-10-20 19:47:40 +02:00
busfault.h os: Add busfault_set_jmp() for SIGBUS unwind 2026-10-20 19:47:40 +02:00
client.c os/client.c: don't depend on libdispatch on macOS 2026-10-13 15:32:39 +02:00
client_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
cmdline.c license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
cmdline.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
connection.c os: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:49:20 +02:00
ddx_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
fmt.c os: fix undefined behavior in FormatInt64() for INT64_MIN 2026-08-27 15:51:43 +02:00
fmt.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
inputthread.c xquartz: fix regression due to unconditional usage of qos APIs 2026-10-13 13:04:25 +02:00
io.c os: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:49:20 +02:00
io_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
log.c Xext: remove the XF86-BigFont extension 2026-07-27 18:31:44 +02:00
log_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
mathx_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
meson.build os: drop xstrcasestr() 2026-07-23 14:35:08 +02:00
mitauth.c os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it 2025-09-12 15:37:13 +02:00
mitauth.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
osdep.h fix getrandom fallback 2026-08-26 10:01:48 +02:00
osinit.c treewide: rename OsVendorFatalError() and OsVendorInit() 2026-07-27 17:13:54 +02:00
ospoll.c os: check ospoll allocation failures 2026-06-03 19:10:01 +02:00
ospoll.h os: ospoll: use stdbool instead of X11's Bool 2025-07-31 15:22:07 +02:00
ossock.c license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
ossock.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
probes_priv.h treewide: drop including <dix-config.h> from private includes 2025-12-04 19:50:44 +01:00
reallocarray.c
screensaver.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
serverlock.c license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
serverlock.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
strcasecmp.c
string.c license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
strlcat.c os/strlcpy, os/strlcat: add restrict qualifiers to dst and src pointers 2026-06-25 15:45:46 +02:00
strlcpy.c os/strlcpy, os/strlcat: add restrict qualifiers to dst and src pointers 2026-06-25 15:45:46 +02:00
strndup.c
timingsafe_memcmp.c
transport.c os: drop symbol TCPCONN 2025-12-13 15:59:07 +01:00
utils.c dix: unexport autosetDPI 2026-10-07 14:53:45 +02:00
WaitFor.c os: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:49:20 +02:00
xdmauth.c os: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:49:20 +02:00
xdmauth.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
xdmcp.c os: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:49:20 +02:00
xdmcp.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
xhostname.c license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
xhostname.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
xprintf.c os: drop unused Xscnprintf() and Xvscnprintf() 2025-11-07 09:31:48 +01:00
xserver_poll.c Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
xserver_poll.h os: parentheses around macro argument symbols 2026-06-24 15:05:16 +02:00
xsha1.c os: fix sha1 build error with Nettle 4.0 2026-03-16 13:02:37 +01:00
xsha1.h
Xtrans.c os: xtrans: drop some unused defines 2026-01-07 10:56:57 +01:00
Xtrans.h os: xtrans: drop status pointer from *Accept() functions 2025-12-12 13:47:15 +01:00
Xtransint.h os: drop Linux abstract-socket support for the local transport 2026-10-12 14:16:18 +02:00
Xtranssock.c os: drop Linux abstract-socket support for the local transport 2026-10-12 14:16:18 +02:00
Xtransutil.c os: parentheses around macro argument symbols 2026-06-24 15:05:16 +02:00