CVS: cvs.openbsd.org: xenocara

2021-09-20 Thread George Koehler
CVSROOT:/cvs
Module name:xenocara
Changes by: gkoeh...@cvs.openbsd.org2021/09/20 16:48:08

Modified files:
app/xenodm/xenodm: auth.c 

Log message:
Allow login when ~/.Xauthority does not exist

If you had no .Xauthority, you needed to log in twice, because xenodm
created .Xauthority after your 1st session failed.

problem found by solene@
ok matthieu@ deraadt@



CVS: cvs.openbsd.org: src

2021-09-20 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/20 14:23:44

Modified files:
sbin/disklabel : Makefile 

Log message:
jmc was a bit too eager and deleted the -DSUN_CYLCHECK -DSUN_AAT0
compile options required for sparc64 (partition alignment, in particular)
noticed by bluhm during testing



CVS: cvs.openbsd.org: src

2021-09-20 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2021/09/20 11:32:39

Modified files:
sys/dev/usb: ucc.c 
sys/dev/wscons : wskbd.c wsksymdef.h wsksymvar.h 

Log message:
Changing the encoding of a ucc keyboard doesn't make sense as only one
encoding is supported. Instead, silently ignore such requests. Gets rid
of the following warning emitted by kbd(8) while booting with a ucc
keyboard attached and /etc/kbdtype being present:

kbd: unsupported encoding uk on /dev/wskbd2

I ended up repurposing KB_MACHDEP as is became unused back in 2008. Note
that running a kernel with this commit applied requires kbd and
wsconsctl to be recompiled in order to show correct encodings.

Problem reported by landry@ and ok deraadt@



CVS: cvs.openbsd.org: src

2021-09-20 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2021/09/20 11:08:43

Modified files:
sbin/dhcpleased: dhcpleased.conf.5 

Log message:
Document how a 0 byte can be encoded for client-id.
Requested by & OK sthen
mdoc clue by schwarze



CVS: cvs.openbsd.org: src

2021-09-20 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2021/09/20 10:43:38

Modified files:
etc/root   : root.mail 

Log message:
Fix release day and emacs version

ok deraadt



CVS: cvs.openbsd.org: src

2021-09-20 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2021/09/20 10:39:40

Modified files:
regress/sys/kern/signal/signal-stress: signal-stress.c 

Log message:
Use proper sigsuspend() instead of old pause() and use sigprocmask() to
block delivery of signals outside of sigsuspend(). With this the test
is more reliable. pause() is implemented as two syscalls and so it is
possible to catch a signal on the first syscall and than be stuck on
the second waiting for something that already happened.
OK millert@ deraadt@ bluhm@



CVS: cvs.openbsd.org: src

2021-09-20 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2021/09/20 05:46:22

Modified files:
sbin/dhcpleased: dhcpleased.conf.5 parse.y printconf.c 

Log message:
According to RFC 2132 (9.14. Client identifier) a hardware type of 0
should be used when the client identifier is not a hardware address,
for example if it's just a string. It turns out that the majority of
dhcp clients (and possibly servers?) does not do this but rather
transmits the client identifier verbatim if a string is
configured. The first character becomes the hardware type.
Make dhcpleased(8) behave the same.
Difference in behavior with dhclient(8) and interoperability issues
with dhcp(8) first pointed out by Olivier Cherrier on misc@
OK sthen
fine to get it in for 7.0 deraadt



CVS: cvs.openbsd.org: src

2021-09-20 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/09/20 04:45:01

Modified files:
regress/usr.bin/openssl: appstest.sh 

Log message:
Fix appstest.sh for testing with OpenSSL 3.0

- Fix 'Server Temp Key' check to work with both words "P-384" and "secp384r1".
- Test TLSv1 and TLSv1.1 only if OpenSSL version is 1.x.



CVS: cvs.openbsd.org: src

2021-09-20 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2021/09/20 00:53:57

Modified files:
usr.bin/ssh: scp.1 scp.c 

Log message:
fix missing -s in SYNOPSYS and usage() as well as a capitalisation
mistake; spotted by jmc@