Enrico Weigelt, metux IT consult
4f65d06116
os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it
...
arc4random_buf() is a pretty standard libc function on Unix'oid platforms,
but not all our targets have it, thus we need a fallback there. Currently we
have GenerateRandomData(), which either just wraps arc4random_buf() or provides
some fallback implementation.
For those cases it's easier to just implement missing functions directly
instead of having custom wrapper functions. So, drop GenerateRandomData()
in favor of arc4random_buf() and provide fallback implementation for where
it is missing.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-12 15:37:13 +02:00
..
.gitignore
access.c
os: access: use xhostname()
2025-08-07 16:57:43 +02:00
alloc.c
os: use calloc() instead of malloc()
2025-06-12 16:49:45 +02:00
audit.h
os: unexport audit functions
2024-04-15 19:54:34 +00:00
auth.c
os: auth: let GenerateAuthorization() return 0 on error
2025-06-12 16:52:59 +02:00
auth.h
os: auth: generate XIDs in proto funcs only on success
2025-06-12 16:52:56 +02:00
backtrace.c
os: backtrace: Fix -Wincompatible-pointer-types compiler error on 32-bit targets
2025-02-07 16:58:02 +02:00
bug_priv.h
os: move BUG_*() macros to own private header
2025-02-17 19:32:48 +00:00
busfault.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
busfault.h
os: fix missing include of misc.h in busfault.h
2024-04-16 14:19:59 +02:00
client.c
os: use NULL instead of NullClient
2025-07-18 22:24:55 +02:00
client_priv.h
os: export SetCriticalOutputPending for nvidia
2025-06-16 10:32:48 +02:00
cmdline.c
os: helper for parsing an counting-flag or value-flag option
2025-06-12 17:21:46 +02:00
cmdline.h
os: helper for parsing an counting-flag or value-flag option
2025-06-12 17:21:46 +02:00
connection.c
io: os: simplify FlushClient()
2025-08-04 15:55:36 +02:00
ddx_priv.h
os: unexport ddx callbacks
2024-05-08 09:37:35 +02:00
fmt.c
os: move out Format*() functions
2024-03-09 17:34:51 +00:00
fmt.h
os: unexport xstrtokenize()
2025-06-12 17:21:44 +02:00
inputthread.c
os: unexport internal logging functions
2025-06-12 17:21:46 +02:00
io.c
os: fix OutputBufferMakeRoom and rename it to OutputBufferMakeRoomAndFlush
2025-08-07 19:26:12 +02:00
log.c
xserver: os/log.c: ignore alternate forms in log formats
2025-07-29 16:21:02 +02:00
log_priv.h
os: log: add syslog support
2025-06-12 17:21:46 +02:00
meson.build
os: xhostname: helper for gethostname()
2025-08-07 16:57:43 +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
os: auth: generate XIDs in proto funcs only on success
2025-06-12 16:52:56 +02:00
osdep.h
os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it
2025-09-12 15:37:13 +02:00
osinit.c
meson: move MAXCLIENTS and LIMITCLIENTS into dix-config.h
2025-07-30 14:55:40 +02:00
ospoll.c
os: ospoll: include winsock2.h on WIN32 instead of misc.h
2025-07-31 17:41:20 +02:00
ospoll.h
os: ospoll: use stdbool instead of X11's Bool
2025-07-31 15:22:07 +02:00
ossock.c
os: cross platform socket close() wrapper
2025-08-07 12:40:35 +02:00
ossock.h
os: cross platform socket close() wrapper
2025-08-07 12:40:35 +02:00
probes_priv.h
os: move probes.h and rename it to probes_priv.h
2025-07-18 04:51:30 +02:00
reallocarray.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
screensaver.h
os: unexport screen saver timer functions
2024-09-01 20:23:10 +00:00
serverlock.c
os: move -nolock help message printing to serverlock.h
2024-07-26 22:26:07 +00:00
serverlock.h
os: move -nolock help message printing to serverlock.h
2024-07-26 22:26:07 +00:00
strcasecmp.c
os: drop own implementation of strcasecmp() and strncasecmp()
2025-06-12 17:21:46 +02:00
strcasestr.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
string.c
os: unexport xstrtokenize()
2025-06-12 17:21:44 +02:00
strlcat.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
strlcpy.c
drop obsolete HAVE_DIX_CONFIG_H
2024-10-10 13:38:31 +00:00
strndup.c
os: use calloc() instead of malloc()
2025-06-12 16:49:45 +02:00
timingsafe_memcmp.c
timingsafe_memcmp: Fix meson build
2017-05-10 10:56:16 -04:00
transport.c
os: incorporate xtrans xtrans-1.6.0
2025-07-18 22:29:38 +02:00
utils.c
os: utils:: use xhostname()
2025-08-07 16:57:43 +02:00
WaitFor.c
os: drop unused TimerCheck()
2025-02-23 17:46:13 +00:00
xdmauth.c
os: xtrans: drop XSERV_t and x11_t defines
2025-07-18 22:29:38 +02:00
xdmauth.h
os: auth: generate XIDs in proto funcs only on success
2025-06-12 16:52:56 +02:00
xdmcp.c
treewide: fix serverGeneration int type mismatch
2025-08-13 11:52:03 +02:00
xdmcp.h
os: xdmcp: fix missing include of <X11/Xdmcp.h>
2025-07-28 16:20:58 +02:00
xhostname.c
os: xhostname: helper for gethostname()
2025-08-07 16:57:43 +02:00
xhostname.h
os: xhostname: helper for gethostname()
2025-08-07 16:57:43 +02:00
xprintf.c
os: xprintf: fix includes
2025-07-31 17:01:10 +02:00
xserver_poll.c
os: xserver_poll: replace own typedef by size_t
2025-07-31 14:50:05 +02:00
xserver_poll.h
os: xserver_poll: skip defining symbols already defined by mingw
2025-07-31 15:28:08 +02:00
xsha1.c
os: use calloc() instead of malloc()
2025-06-12 16:49:45 +02:00
xsha1.h
include: move xsha1.h to os/
2024-03-03 23:11:05 +00:00
xstrans.c
os: xtrans: drop XSERV_t and x11_t defines
2025-07-18 22:29:38 +02:00
Xtrans.c
os: xtrans: rename Writev() methods to Write()
2025-08-31 15:51:33 +02:00
Xtrans.h
os: xtrans: drop own struct iovec definition on win32
2025-08-31 15:51:33 +02:00
Xtransint.h
os: xtrans: rename Writev() methods to Write()
2025-08-31 15:51:33 +02:00
Xtranslcl.c
os: xtrans: rename Writev() methods to Write()
2025-08-31 15:51:33 +02:00
Xtranssock.c
os: xtrans: silence printf format warning on prmsg() call
2025-09-01 11:43:45 +02:00
Xtransutil.c
os: xtrans: replace _XSERVTransGetHostname() by xhostname()
2025-08-07 16:57:43 +02:00