Commit Graph

1983 Commits

Author SHA1 Message Date
matthieu
f9024c4d46 Pass the correct buffer length to strlcpy() to avoid truncation.
Problem noticed by Edgar Pettijohn III, ok tb@
2018-10-28 19:38:19 +00:00
mestre
bb65f435ee Add a few \n I missed to add in some fprintf(3)s in my last commit 2018-10-26 17:37:47 +00:00
mestre
2288d216a5 If input_name is provided we can unveil(2) it with read permissions, if
output_name is provided we need to unveil(2) this one with rwc. Additionally
depending on the different combinations of if these files are passed via args
or from stdin/to stdout we can also pledge(2) accordingly to the code path.

OK deraadt@
2018-10-26 17:12:03 +00:00
matthieu
edd3ecfc7c Explicitely disable xf86misc 2018-10-20 19:09:19 +00:00
matthieu
f4445f7d08 Add an option to disable the active area. From Sebastien Marie.
ok claudio@ Thanks.
2018-09-06 07:21:34 +00:00
matthieu
02339cbc79 use #define XXX 0 to explicitelty disable an option. 2018-07-21 09:31:22 +00:00
matthieu
214a961ee2 Explicitely disable paste64 and readline options, to disable bracketed paste.
readline was not enabled, but paste64 which was on by default enables it.
requested by deraadt@
2018-07-21 09:16:42 +00:00
matthieu
0523432214 This file is not generated by configure, @ substitutions arent available 2018-07-17 11:52:12 +00:00
okan
2f18ffa39d Remove unused prototype; from Ross L Richardson. 2018-07-16 14:19:23 +00:00
matthieu
ebae2cc3f5 Remove useless test for DISPLAY number.
This script is only run by xenodm for DISPLAY=:0
2018-07-16 06:52:00 +00:00
matthieu
d39b1994a3 OpenBSD id 2018-07-15 09:58:03 +00:00
matthieu
d31532afbd Make Xstartup/Xreset consistent with GiveConsole/TakeConsole 2018-07-15 09:53:23 +00:00
matthieu
2a47fd34e2 regen 2018-07-15 09:07:48 +00:00
matthieu
10783d146c Revert the removal of Xreset and Xstartup. 2018-07-15 09:05:11 +00:00
matthieu
38960e7a0a Update to xkbcomp 1.4.2 2018-07-12 14:38:26 +00:00
matthieu
0aad528dd7 pledges for session can be tighten a bit now. 2018-07-11 20:28:41 +00:00
matthieu
15bc4073c0 The file descriptor parameter is not used by DefineSelf() in xenodm.
Zap it.
2018-07-11 19:51:12 +00:00
matthieu
4feeb26f77 sessreg -x is useless if not updating utmp. Remove it.
Also don't try to remove utmp lines that were not written.
2018-07-11 19:20:40 +00:00
matthieu
ec07007116 Ooops I didn't intend to commit that part. revert it. 2018-07-11 19:06:29 +00:00
matthieu
b3e8c00865 Actually remove the source files for Xstartup and Xreset 2018-07-11 19:05:22 +00:00
matthieu
35981369b1 Remove Xstartup and Xreset script. Xenodm uses GiveConsole and TakeConsole 2018-07-11 19:03:50 +00:00
matthieu
5d69c81cc1 Keep a better trace of pending children to be reaped. 2018-07-11 16:57:04 +00:00
matthieu
c3094ef041 Delete unused code 2018-07-11 16:33:44 +00:00
matthieu
6d7357f962 Bind <Key>Escape to erase-line by default. 2018-07-11 16:28:54 +00:00
matthieu
c8c914a77e Less ifdef cruft. 2018-07-11 16:26:25 +00:00
matthieu
bf265b5bbc use strvis on login name when logging debug information it since it
may contain control characters. And remove an extra logging of the same.
2018-07-11 16:20:20 +00:00
matthieu
8f540c071b Restore previous SIGCHLD handler in serverPause().
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
2018-07-11 14:35:46 +00:00
matthieu
2c8cd3e507 Also revert this one, doesn't look right either. 2018-07-10 15:52:52 +00:00
matthieu
a8c7a38ea4 Revert some of the strlcpy() conversions which are wrong. 2018-07-10 15:32:27 +00:00
matthieu
8b4158c82d Remove more unused ifdefs blocks 2018-07-10 14:58:57 +00:00
matthieu
91c82fae6b Remove useless ifdefs 2018-07-10 14:50:21 +00:00
matthieu
a08190694c Get rid of strcpy and strncpy (they were all looking safe though) 2018-07-10 14:44:34 +00:00
matthieu
1b4f7ecea8 Consistant use of bool whenever possible. 2018-07-10 14:20:42 +00:00
matthieu
8e35b035af Remove unused code. 2018-07-10 13:57:31 +00:00
matthieu
72e68d3bca Remove the unused localHostname() function. 2018-07-10 13:15:50 +00:00
matthieu
53d0e5e23b Remove prototype for function that doesn't exist anymore in xenodom. 2018-07-09 16:52:19 +00:00
matthieu
e5b6c5a29f Source the Xsetup script before initializing the greeter widget.
Based on a request by weerd@, tested by jca@ and weerd@
2018-07-09 15:02:41 +00:00
matthieu
eb834a5bcb Explcitely disable xf86misc and fontcache extension support.
Some people may still have old files lying around while building.
Suggested by deraadt@
2018-05-29 06:02:52 +00:00
matthieu
ca1e08f7e7 Update xwud to 1.0.5 2018-05-21 18:47:37 +00:00
matthieu
b04bdc2c8c Update to xwininfo 1.1.4 2018-05-21 18:44:13 +00:00
matthieu
4781b8e95b Update to xwd 1.0.7 2018-05-21 18:37:29 +00:00
matthieu
3a44be172c Update to xsm 1.0.4 2018-05-21 18:33:48 +00:00
matthieu
84bc3460e2 Update to xsetroot 1.1.2 2018-05-21 18:29:41 +00:00
matthieu
3488e8d2b1 Update to xset 1.2.4 2018-05-21 18:24:59 +00:00
matthieu
7836b43bc8 update xrefresh 1.0.6 2018-05-21 18:18:55 +00:00
matthieu
677ce9defe Update to xrdb 1.1.1 2018-05-21 18:14:58 +00:00
matthieu
8e147bf9b3 Update to xprop 1.2.3 2018-05-21 18:11:25 +00:00
matthieu
cf2d414a08 Update to xpr 1.0.5 2018-05-21 18:08:21 +00:00
matthieu
8c04f8bbd4 Update to xmessage 1.0.5 2018-05-21 18:04:09 +00:00
matthieu
ecaf0e92ef Update to xlsfonts 1.0.6 2018-05-21 18:00:32 +00:00