CVS: cvs.openbsd.org: src

2019-03-08 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/03/08 23:15:49

Modified files:
sys/sys: smr.h 

Log message:
Use READ_ONCE() and WRITE_ONCE() in .

OK guenther@



CVS: cvs.openbsd.org: src

2019-03-08 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/03/08 23:14:21

Modified files:
sys/sys: atomic.h 

Log message:
Add macros READ_ONCE() and WRITE_ONCE(). They constrain optimizations
done by the compiler.

OK guenther@



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2019/03/08 15:20:45

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2019/03/08 14:59:57

Modified files:
driver/xf86-video-ati: ChangeLog Makefile.am Makefile.in 
   aclocal.m4 configure configure.ac 
driver/xf86-video-ati/src: drmmode_display.c drmmode_display.h 
   radeon.h radeon_bo_helper.c 
   radeon_dri2.c radeon_dri3.c 
   radeon_drm_queue.c radeon_drm_queue.h 
   radeon_glamor.c radeon_kms.c 
   radeon_present.c radeon_probe.h 
Added files:
driver/xf86-video-ati: README.md 
Removed files:
driver/xf86-video-ati: README 

Log message:
update to xf86-video-ati 19.0.0
fixes Xorg segfault reported by Mihai Popescu
ok matthieu@



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:xenocara
Changes by: schwa...@cvs.openbsd.org2019/03/08 14:25:40

Modified files:
app/xterm  : util.c 

Log message:
Do not replace wcwidth(3) with a broken, hand-rolled re-implementation
that comes bundled with xterm(1).
Issue found and based on a diff from Lauri Tirkkonen .
The final form of the diff follows a suggestion from tedu@.
OK matthieu@



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2019/03/08 13:33:30

Modified files:
app/cwm: screen.c 

Log message:
Print window id in hex; while here, remove unnecessary newline.



CVS: cvs.openbsd.org: src

2019-03-08 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2019/03/08 11:42:45

Modified files:
usr.sbin/acme-client: main.c 

Log message:
fix dirname usage in acme-client: dirname() can modify its argument
(it does not on OpenBSD) so we need to us a copy of the string.  In
addition, copy the result of dirname() as well, because it's static
storage and if we call dirname() again it will be overwritten.
Original problem noted and fix suggested by Wolf (wolf AT wolfsden DOT
cz)
ok florian@



CVS: cvs.openbsd.org: src

2019-03-08 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2019/03/08 10:49:36

Modified files:
sys/net: if_bridge.c 

Log message:
Do not grab a `bif' pointer again, we already have it.

ok visa@



CVS: cvs.openbsd.org: src

2019-03-08 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2019/03/08 10:48:36

Modified files:
sys/net: bridgectl.c if_bridge.c if_bridge.h 

Log message:
Move the tag mechanism outside of net/if_bridge.c.

This will help for future (un)locking.

ok visa@



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2019/03/08 10:40:43

Modified files:
app/cwm: xevents.c 

Log message:
Similar to keypress event, fetch the screen from the event root window in the
buttonpress handler; bail if we don't manage the screen. Allows us to find the
current client based on the screen/event root.



CVS: cvs.openbsd.org: src

2019-03-08 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2019/03/08 10:33:23

Modified files:
lib/libc/gen   : dirname.3 

Log message:
remove a sentence that was once helpful when dirname.3 and basename.3
shared one manpage.
ok florian@



CVS: cvs.openbsd.org: src

2019-03-08 Thread Markus Friedl
CVSROOT:/cvs
Module name:src
Changes by: mar...@cvs.openbsd.org  2019/03/08 10:24:43

Modified files:
usr.bin/ssh: ssh-pkcs11.c 

Log message:
fix use-after-free in ssh-pkcs11; found by hshoexer w/AFL



CVS: cvs.openbsd.org: src

2019-03-08 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/03/08 09:33:23

Modified files:
sys/dev/acpi   : acpithinkpad.c 

Log message:
the previous hkey version check was not accurate enough, so try the
ACPI method for screen backlight changes everywhere and if the ACPI
method fails, fallback on the CMOS method.

also unmask the mic mute event needed on the x260.

required for the x260, no regression on the x40, x230, x250, x280,
t460s, t470p, and x1c6.



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2019/03/08 08:04:39

Modified files:
app/cwm: xevents.c 

Log message:
extend verbose logging for key/button events



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2019/03/08 07:48:03

Modified files:
app/cwm: xevents.c 

Log message:
[keypress event] turns out we've been checking the wrong window for a matching
client thus always falling back to client_current(); while the current client
is problaby right in most cases, use event's subwindow (not window) to find the
client. Bail early if this event came to us from a screen we don't manage.
This is result of us grabing all keybindings off the root window instead of
selectively.



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2019/03/08 06:17:26

Modified files:
app/cwm: xevents.c 

Log message:
add parans for readibility



CVS: cvs.openbsd.org: xenocara

2019-03-08 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:xenocara
Changes by: schwa...@cvs.openbsd.org2019/03/08 05:54:30

Modified files:
app/xterm  : xterm.man 

Log message:
Update the OPENBSD SPECIFICS section to match reality:
* Add the missing locale, modifyFunctionKeys, precompose, and scrollBar.
* Move backarrowKeyIsErase to conform to alphabetical sorting.
* Add a missing full stop.
Diff found in my tree; i obviously forgot to commit it earlier.



CVS: cvs.openbsd.org: www

2019-03-08 Thread Frederic Cambus
CVSROOT:/cvs
Module name:www
Changes by: fcam...@cvs.openbsd.org 2019/03/08 04:12:53

Modified files:
.  : 65.html 

Log message:
OpenBSD 6.5 will be released in 2019, the time machine is broken.



CVS: cvs.openbsd.org: src

2019-03-08 Thread Frederic Cambus
CVSROOT:/cvs
Module name:src
Changes by: fcam...@cvs.openbsd.org 2019/03/08 03:53:59

Modified files:
sys/dev/wsfont : spleen12x24.h spleen16x32.h spleen32x64.h 
 spleen8x16.h 

Log message:
Update Spleen kernel fonts to the latest released version, bringing
the following improvements:

- Remove strain pixels on the inner upper part of parentheses for the
16x32 version
- Harmonize the 'v' and 'V' characters across all sizes
- Remove artefacts from the 'c' in the copyright sign across all sizes
- Make the upper left corner of the 'R' sharp in the registered sign
for the 16x32 and 32x64 versions

"Go for it" kettenis@, deraadt@



CVS: cvs.openbsd.org: src

2019-03-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/03/08 03:34:20

Modified files:
usr.bin/tmux   : cfg.c cmd-copy-mode.c cmd-queue.c 
 cmd-run-shell.c tmux.h window-copy.c 

Log message:
Make the mode used to view command output (a variant of copy mode) use
its own mode definition struct with a different init function rather
than calling special setup functions.



CVS: cvs.openbsd.org: src

2019-03-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/03/08 03:29:25

Modified files:
usr.bin/tmux   : window-copy.c 

Log message:
Do not use window mode entry after free.