summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-30Remove code writing .Xauthority in /tmp if it cannot write it in ${HOME}.Matthieu Herrb
Discussed with deraadt@ and zhuk@
2021-08-30chown /dev/dri/ nodes if they existJonathan Gray
2021-08-30Make login_fbtab() work by tweaking the pledges.Matthieu Herrb
chown is needed until the login process is done. It is removed afterwards. Also use the console device from the X server root property. This makes it available on architectures without VTs too.
2021-08-30Get the path to the console device from the X server.Matthieu Herrb
2021-08-30Fix the WINDOWPATH environment variable setting.Matthieu Herrb
Setting it to a device name was a mistake as this is not the semantic expected by the applications that use it (screen readers).
2021-08-30Fix function name in Debug() messages.Matthieu Herrb
2021-08-30doneAddrs: reset addrs to NULL after freeing listMatthieu Herrb
Resolves warning from Oracle Parfait static analyzer: Warning: Dangling pointer Dangling pointer [dangling-pointer]: Invalid pointer is accessible to caller via global addrs at line 664 of xdm/auth.c in function 'doneAddrs'. Invalid pointer accessible via global addrs at line 646 a accessed from addrs at line 658 in function 'doneAddrs' a freed with free at line 662 From Alan Coopersmith in xdm.
2021-08-30Greeter: add parens to DRAW_STRING & TEXT_WIDTH macrosMatthieu Herrb
From Alan Coopersmith in xdm: Oracle Parfait static analyser points out it wasn't clear if cast or arithmetic operation in arguments at lines 410, 416, 431, & 433 was intended to be done first, so we'll make it explicit.
2021-08-30Fix spelling/wording issues.Matthieu Herrb
From Alan Coopersmith in xdm
2021-08-30Set the VT to be used by the X server on armv7 and powerpc64 too.Mark Kettenis
ok phessler@, matthieu@
2021-08-30Release xenodm 20.7Matthieu Herrb
2020-07-14Remove generated files.Matthieu Herrb
2020-07-14Fix RCS ids expansionsMatthieu Herrb
Broken by the CVS->git conversion
2020-07-14Start xconsole after setting the background. Fixes an issue that causes ↵Matthieu Herrb
xconsole to crash reported and fix tested by Joe Gidi. Thanks.
2020-07-14Provide a lower contrast root weave as default background.Matthieu Herrb
2020-07-14A darker login widget, providing better contrast.Matthieu Herrb
liked by many.
2020-07-14sort architectures listMatthieu Herrb
2020-07-14Set the VT to be used by the X server on arm64 too. ok phessler@Matthieu Herrb
2020-07-14xenodm uses the libc authentication layer incorrectly. fix by markus or ↵Theo de Raadt
millert Reported by Qualys
2020-07-14Provide better xsession examples. exec the window manager last. Convert ↵Matthieu Herrb
user's example to /bin/sh. Remove xman for example.
2020-07-14check return values against -1 "reasonable" deraadt@Matthieu Herrb
2020-07-14add (commented out) blurb to get openbsd-wallpaper running.Marc Espie
"perso j'ai rien contre" ok matthieu@
2020-07-14Check asprintf() return values correctly. ok and tweaks tb@Matthieu Herrb
2020-07-14chown the first drm render node in addition to the primary drm device ok ↵Jonathan Gray
matthieu@
2020-07-14Disable keyboard binding for abort-display() and update manual page.Matthieu Herrb
while there remove a remaining reference to non-existent xdmshell(1). Reported by Hiltjo Posthuma, ok solene@, bentley@
2020-07-14Remove the unused 'keyFile' resource.Matthieu Herrb
It is not used anymore in xenodm (was used to specify the secret keys for the XDM-AUTHORIZATION-1 authentication protocol in xdm with xdmcp). ok kn@
2020-07-14regenMatthieu Herrb
2020-07-14Remove useless check for XdmcpWrap().Matthieu Herrb
It was only needed by xdmcp. ok tb@ mortimer@
2020-07-14Pass the correct buffer length to strlcpy() to avoid truncation. Problem ↵Matthieu Herrb
noticed by Edgar Pettijohn III, ok tb@
2020-07-14This file is not generated by configure, @ substitutions arent availableMatthieu Herrb
2020-07-14Remove useless test for DISPLAY number. This script is only run by xenodm ↵Matthieu Herrb
for DISPLAY=:0
2020-07-14OpenBSD idMatthieu Herrb
2020-07-14Make Xstartup/Xreset consistent with GiveConsole/TakeConsoleMatthieu Herrb
2020-07-14regenMatthieu Herrb
2020-07-14Revert the removal of Xreset and Xstartup.Matthieu Herrb
2020-07-14pledges for session can be tighten a bit now.Matthieu Herrb
2020-07-14The file descriptor parameter is not used by DefineSelf() in xenodm. Zap it.Matthieu Herrb
2020-07-14sessreg -x is useless if not updating utmp. Remove it. Also don't try to ↵Matthieu Herrb
remove utmp lines that were not written.
2020-07-14Ooops I didn't intend to commit that part. revert it.Matthieu Herrb
2020-07-14Actually remove the source files for Xstartup and XresetMatthieu Herrb
2020-07-14Remove Xstartup and Xreset script. Xenodm uses GiveConsole and TakeConsoleMatthieu Herrb
2020-07-14Keep a better trace of pending children to be reaped.Matthieu Herrb
2020-07-14Delete unused codeMatthieu Herrb
2020-07-14Bind <Key>Escape to erase-line by default.Matthieu Herrb
2020-07-14Less ifdef cruft.Matthieu Herrb
2020-07-14use strvis on login name when logging debug information it since it may ↵Matthieu Herrb
contain control characters. And remove an extra logging of the same.
2020-07-14Restore previous SIGCHLD handler in serverPause().Matthieu Herrb
This fixes the issue where xenodm whould stay stuck after kill the Xserver twice. While here add some more Debug() calls to help following what's going on
2020-07-14Also revert this one, doesn't look right either.Matthieu Herrb
2020-07-14Revert some of the strlcpy() conversions which are wrong.Matthieu Herrb
2020-07-14Remove more unused ifdefs blocksMatthieu Herrb