xserver/os
Enrico Weigelt, metux IT consult 427a2eec18 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>
2024-08-29 20:51:22 +02:00
..
.gitignore dix and os: gitignore dix.O and os.O 2011-09-23 17:14:47 -07:00
WaitFor.c (submit/os-screensaver) os: unexport screen saver timer functions 2024-08-29 20:51:22 +02:00
access.c (submit/drop-cygwin) drop remains of cygwin support 2024-08-29 20:51:22 +02:00
alloc.c os: move alloc functions to separate source file 2024-02-29 10:09:37 +00:00
audit.h os: unexport audit functions 2024-04-15 19:54:34 +00:00
auth.c os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it 2024-08-29 20:51:22 +02:00
auth.h os: unexport fields from opaque.h not used by modules / drivers 2024-06-23 21:19:27 +00:00
backtrace.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
busfault.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
busfault.h os: fix missing include of misc.h in busfault.h 2024-04-16 14:19:59 +02:00
client.c (submit/split-client.h) os: split off internal definitions from client.h 2024-08-29 20:51:21 +02:00
client_priv.h os: don't include client.h anymore 2024-08-29 20:51:22 +02:00
cmdline.h os: unexport command line args handling functions 2024-04-15 21:21:40 +00:00
connection.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +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: move out Format*() functions 2024-03-09 17:34:51 +00:00
inputthread.c (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
io.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
log.c (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
meson.build (submit/fix-ftbs-solaris) os: fix link failure on Illumos 2024-08-29 20:51:21 +02:00
mitauth.c os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it 2024-08-29 20:51:22 +02:00
mitauth.h os: move Auth* function types to separate header 2024-02-22 23:42:53 +00:00
osdep.h os: replace GenerateRandomData() by custom arc4random_buf() on platforms that missing it 2024-08-29 20:51:22 +02:00
osinit.c (submit/drop-cygwin) drop remains of cygwin support 2024-08-29 20:51:22 +02:00
ospoll.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
ospoll.h os: Add ospoll interface [v2] 2016-07-21 15:04:47 -04:00
reallocarray.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
screensaver.h (submit/os-screensaver) os: unexport screen saver timer functions 2024-08-29 20:51:22 +02: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 (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
strcasestr.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
string.c os: move string functions to separate source file 2024-02-29 10:09:37 +00:00
strlcat.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
strlcpy.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
strndup.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
timingsafe_memcmp.c timingsafe_memcmp: Fix meson build 2017-05-10 10:56:16 -04:00
utils.c (submit/rename-panoramix-sym) rename old symbol PANORAMIX to XINERAMA 2024-08-29 20:51:22 +02:00
xdmauth.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
xdmauth.h os: move Auth* function types to separate header 2024-02-22 23:42:53 +00:00
xdmcp.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
xdmcp.h Fix build with -Dxdmcp=false 2024-02-25 11:55:56 +01:00
xprintf.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
xserver_poll.c (submit/drop-cygwin) drop remains of cygwin support 2024-08-29 20:51:22 +02:00
xserver_poll.h os: move xserver_poll.h into os/ directory 2024-06-21 00:53:39 +00:00
xsha1.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00
xsha1.h include: move xsha1.h to os/ 2024-03-03 23:11:05 +00:00
xstrans.c (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-08-29 20:51:21 +02:00