CVS: cvs.openbsd.org: src

2018-09-28 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/09/28 23:42:38

Modified files:
share/man/man1 : clang-local.1 

Log message:
trim previous;



CVS: cvs.openbsd.org: src

2018-09-28 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2018/09/28 22:29:48

Modified files:
sbin/sysctl: sysctl.c 
sys/kern   : vfs_subr.c 
sys/sys: mount.h 

Log message:
Use atomic operations to update vfc_refcount. Change the field's type
to unsigned int.

OK deraadt@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/09/28 13:01:52

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

Log message:
If tpcbench(8) is startet with -r0 it does not print statistics.
But there was still the header line.  Make -r0 really quiet and
document the feature.
OK deraadt@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/09/28 12:57:37

Modified files:
regress/sys/netinet/ipsec: Makefile 

Log message:
Always try to build packet reflector on remote machine.  It may be
missing after reinstall.



CVS: cvs.openbsd.org: src

2018-09-28 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2018/09/28 12:32:39

Modified files:
bin/ksh: sh.1 

Log message:
Contrary to the sh manual, it is possible to modify the PWD variable
(and this is allowed by POSIX).  OK deraadt@ kn@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2018/09/28 12:21:52

Modified files:
usr.bin/sdiff  : sdiff.c 

Log message:
Add unveil(2) to sdiff(1) to the following files:

filename1 - given via args - read permission
filename2 - same as above
tmpdir - if TMPDIR env var is changed, or _PATH_TMP by default -
read/write/create/delete permissions
/usr/bin/diff - the default diff program - execute permission
_PATH_BSHELL - to spawn an EDITOR/VISUAL if -o is used - execute
permission

this diff only applies unveil(2) if -F is not used, meaning that we are not
changing the default diff program to be used since that way we would need to
find where the binary is whereas by default we are sure that the path is
/usr/bin/diff. this will be revisited at a later stage to cover all cases.

feedback and OK millert@ deraadt@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/09/28 12:21:26

Modified files:
usr.bin/tcpbench: tcpbench.c 

Log message:
Fix white spaces.



CVS: cvs.openbsd.org: src

2018-09-28 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2018/09/28 12:21:31

Modified files:
share/man/man8 : afterboot.8 

Log message:
Explain how to enable audio recording.

help from solene, jmc, and schwarze



CVS: cvs.openbsd.org: src

2018-09-28 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2018/09/28 08:03:14

Modified files:
sbin/savecore  : savecore.c 

Log message:
add missing unveil(2) of an arbitrary kernel (when -N is used), or _PATH_UNIX by
default, with read permissions.

report and fix provided by semarie@
OK deraadt@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Carlos Cardenas
CVSROOT:/cvs
Module name:src
Changes by: ccarde...@cvs.openbsd.org   2018/09/28 07:39:57

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

Log message:
Add vlan and trunk to arm64's RAMDISK (amd64 parity)

OK deraadt@ and kettenis@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2018/09/28 06:35:32

Modified files:
usr.sbin/vmd   : vioqcow2.c vioraw.c virtio.c virtio.h vm.c 
 vmboot.c vmd.h 

Log message:
Support vmd-internal's vmboot with qcow2 disk images.

OK mlarkin@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2018/09/28 02:29:06

Modified files:
usr.sbin/vmd   : vioqcow2.c 

Log message:
Compress qcow2 open debug messages into a single line

Please avoid tabs and excessive multi-line information with log_debug
as it also goes to syslog.

No functional change.



CVS: cvs.openbsd.org: src

2018-09-28 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2018/09/28 02:23:43

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

Log message:
Fix copy-pasto to use maxmem instead of maxcpu

Reported by Greg Steuck

OK mlarkin@



CVS: cvs.openbsd.org: src

2018-09-28 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/09/28 01:46:45

Modified files:
share/man/man5 : sysctl.conf.5 

Log message:
Add a cross reference to sysctl(2) to SEE ALSO.
People reading the present page will almost certainly need it
because that's where all the sysctl variables are described.