CVS: cvs.openbsd.org: src

2015-12-19 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/12/19 09:07:20

Modified files:
sys/dev/pci: agp.c agp_i810.c agpvar.h 

Log message:
Remove code that has been unused ever since we removed the agp ioctl interface.

ok mpi@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/19 12:48:24

Modified files:
share/mk   : sys.mk 

Log message:
move to 5.9-beta



CVS: cvs.openbsd.org: www

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:www
Changes by: m...@cvs.openbsd.org2015/12/19 09:47:16

Modified files:
.  : amiga.html arc.html cats.html pmax.html 
 sun3.html 

Log message:
It seems unnecessary to say "There is currently no one working on
bringing this port back to life" for ports that are marked as
discontinued 10+ years ago. Also, a couple trivial rewordings.



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 11:40:30

Modified files:
lib/libkvm : kvm.c kvm_alpha.c kvm_amd64.c kvm_arm.c 
 kvm_hppa.c kvm_hppa64.c kvm_i386.c kvm_m88k.c 
 kvm_powerpc.c 

Log message:
Remove NULL-checks before free(). ok tb@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/19 12:44:09

Modified files:
etc/root   : root.mail 
sys/conf   : newvers.sh 
sys/sys: param.h 
sys/arch/macppc/stand/tbxidata: bsd.tbxi 

Log message:
move to 5.9-beta



CVS: cvs.openbsd.org: src

2015-12-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/19 12:47:53

Modified files:
sys/arch/alpha/conf: RAMDISK 

Log message:
make things fit, by skipping pcn* for now -- randomly firing a driver.



CVS: cvs.openbsd.org: src

2015-12-19 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/19 12:44:22

Modified files:
distrib/sets/lists/base: md.alpha md.amd64 md.armish md.armv7 
 md.hppa md.hppa64 md.i386 md.landisk 
 md.loongson md.luna88k md.macppc 
 md.octeon md.sgi md.socppc md.sparc 
 md.sparc64 md.vax md.zaurus 
distrib/sets/lists/comp: md.alpha md.amd64 md.armish md.armv7 
 md.hppa md.hppa64 md.i386 md.landisk 
 md.loongson md.luna88k md.macppc 
 md.octeon md.sgi md.socppc md.sparc 
 md.sparc64 md.vax md.zaurus 

Log message:
sync



CVS: cvs.openbsd.org: src

2015-12-19 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/19 13:05:32

Modified files:
sys/dev/ic : sili.c 

Log message:
Replace 'arc4random() % x' by 'arc4random_uniform(x)'.

Diff by Matthew Martin, thanks!

ok djm@, tedu@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 13:02:03

Modified files:
usr.sbin/route6d: route6d.c 

Log message:
Remove NULL-check before free().



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 13:38:35

Modified files:
usr.sbin/fdformat: fdformat.c 

Log message:
Remove NULL-check before free().



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 11:49:02

Modified files:
lib/libkeynote : signature.c 

Log message:
Style cleanup and removal of needless casts. ok tb@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/19 13:44:35

Modified files:
usr.sbin/ntpd  : ntpd.h 
Removed files:
usr.sbin/ntpd  : log.h 

Log message:
No need for an extra log.h

OK bcook@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/19 10:55:29

Modified files:
usr.sbin/ntpd  : constraint.c log.c log.h ntp.c ntp_dns.c ntpd.c 

Log message:
Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.

OK bcook@ jung@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 12:59:07

Modified files:
usr.sbin/lpr/lpd: lpd.c 

Log message:
Remove NULL-check before free().



CVS: cvs.openbsd.org: src

2015-12-19 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/19 12:58:38

Modified files:
usr.sbin/mtree : mtree.c 

Log message:
Add pledge(2).  It is not currently possible to pledge -u and -U
because of chown(2) and chmod(2).

If -u and -U aren't specified, the basic pledge is "stdio rpath getpw".
"getpw" is used to resolve uid and gid to names and vice versa.
The -r flag makes use of rmdir(2) and unlink(2), so we need "cpath"
The -t flag uses utimes(2), so we need "fattr"

ok deraadt@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 13:36:03

Modified files:
usr.sbin/mrouted: prune.c 

Log message:
Remove NULL-check before free().



CVS: cvs.openbsd.org: src

2015-12-19 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 13:37:11

Modified files:
usr.sbin/netgroup_mkdb: stringlist.c 

Log message:
Remove NULL-checks before free().



CVS: cvs.openbsd.org: src

2015-12-19 Thread Tim van der Molen
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/19 11:59:10

Modified files:
lib/libc/net   : gethostbyname.3 

Log message:
gethostbyname2() and gethostbyaddr() need ; discussed with
millert@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/12/19 01:43:04

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

Log message:
Make input off flag (selectp -d) apply to synchronize-panes too.



CVS: cvs.openbsd.org: www

2015-12-19 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:www
Changes by: schwa...@cvs.openbsd.org2015/12/19 02:02:05

Modified files:
.  : innovations.html 

Log message:
add vmd(8) and vmctl(8) and standardize the style of the entry



CVS: cvs.openbsd.org: www

2015-12-19 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:www
Changes by: schwa...@cvs.openbsd.org2015/12/19 02:35:10

Modified files:
.  : innovations.html 

Log message:
sort by release number, break ties by import date; no text change



CVS: cvs.openbsd.org: src

2015-12-19 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/12/19 03:21:01

Modified files:
usr.bin/uniq   : uniq.1 uniq.c 

Log message:
UTF-8 support:
Let -f recognize non-ASCII blank characters
and let -s count characters rather than bytes.
OK zhuk@ bentley@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2015/12/19 04:19:17

Modified files:
etc/rc.d   : rc.subr 

Log message:
Tidy up _rc_wait().

ok sthen@ robert@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 04:19:35

Modified files:
sys/netinet: ip_carp.c 

Log message:
Make carp_output() mpsafe.

This is needed in order to fully unlock ARP processing with carp(4)
interfaces as found the hardway by sthen@.

ok sthen@, dlg@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 04:23:35

Modified files:
sys/dev/pci: agp_apple.c 

Log message:
Do not match Uninorth bridges until we have a working KMS with AGP
support for G4 machines.

This allows us to enable agp(4) again for G5 machines.

ok kettenis@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 04:24:54

Modified files:
sys/arch/macppc/conf: GENERIC 

Log message:
Enable agp(4), this makes X11 usable on my Dual G5 with radeondrm(4).

ok kettenis@



CVS: cvs.openbsd.org: www

2015-12-19 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:www
Changes by: bent...@cvs.openbsd.org 2015/12/19 01:36:31

Modified files:
.  : innovations.html 

Log message:
Fix stray closing tag.



CVS: cvs.openbsd.org: src

2015-12-19 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2015/12/19 02:11:14

Modified files:
sys/dev/pv : xen.c 

Log message:
Fixup a few bugs in xen_intr_{establish,disestablish}

xen_intr_establish was using a variable that hasn't got its value
updated in the supplementary check for event channel port unmasking.

xen_intr_disestablish didn't save and correctly check the return value
of xen_lookup_intsrc call and was incorrectly indexing into the pending
event channel port bitmap.



CVS: cvs.openbsd.org: src

2015-12-19 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2015/12/19 02:12:29

Modified files:
sys/dev/pv : xenstore.c xenvar.h 

Log message:
Add xs_setprop to set device properties



CVS: cvs.openbsd.org: src

2015-12-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2015/12/19 03:09:04

Modified files:
etc/rc.d   : iked 

Log message:
Tweak pexp.



CVS: cvs.openbsd.org: www

2015-12-19 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:www
Changes by: schwa...@cvs.openbsd.org2015/12/19 03:15:30

Modified files:
.  : innovations.html 

Log message:
Add a date for the initial release of cwm(1) by Marius Aamodt Eriksen
and state that LibreSSL was forked from OpenSSL 1.0.1g
to make it clear that these subsystems weren't started from scratch.



CVS: cvs.openbsd.org: src

2015-12-19 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/19 04:29:41

Modified files:
sys/dev/pci: agp_apple.c 

Log message:
Prevent GPU lockups with KMS & AGP-enable on Uninorth (G4) machines.

Based on linux commit 5613beb46d54da6ef7f1c4589e9f2e60eeb10721 found
by jsg@.

KMS is now usable on Uninorth machines but X11 output is still
corrupted.

ok kettenis@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2015/12/19 06:45:12

Modified files:
etc/rc.d   : bgpd httpd iked relayd vmd 

Log message:
Child will not return a config parsing error to the parent so rc.d will lie and
tell you that the daemon succesfully started; prevent this by running a config
check first.
Note that we only do this for those particular daemons, not all that support a
config test mode.

ok benno@ phessler@



CVS: cvs.openbsd.org: src

2015-12-19 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/19 06:58:08

Modified files:
usr.sbin/ntpd  : log.c log.h ntpd.h util.c 

Log message:
Move log_sockaddr() to from log.c to util.c as it is a local addition
and actually not a "logging" function.  No functional change.



CVS: cvs.openbsd.org: src

2015-12-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2015/12/19 07:10:41

Modified files:
etc/rc.d   : rc.subr 

Log message:
After starting, unconditionally wait up to $daemon_timeout seconds to check that
the daemon is actually running (instead of only when using rc_bg).

This *may* trigger the following side effect: if a daemon starts then stops
right away (because of a config parsing issue for e.g.), then it will slow down
the boot process because rc will wait a bit before considering the start action
failed. But at least it will allow us to detect those daemons and fix them or
their rc.d(8) script.

At least as far as I can tell, all base daemons should cope with it just fine.

ok sthen@ robert@ on an earlier diff



CVS: cvs.openbsd.org: src

2015-12-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2015/12/19 07:56:22

Modified files:
sbin/dhclient  : kroute.c 

Log message:
Don't exit if a route can't be added. Just log particulars and
let someone else figure it out.

ok mpi@