CVS: cvs.openbsd.org: src

2013-07-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/07/16 00:52:05

Modified files:
libexec/getty  : getty.8 
usr.bin/diff   : diff.1 
usr.sbin/cron  : crontab.1 
bin/cat: cat.1 

Log message:
where - represents stdin, just use Sq, not Fl, since it's not a flag;
from Jan Stary



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 01:01:02

Modified files:
usr.bin/gzsig  : gzsig.1 

Log message:
Add missing .An and .Mt macros.
While here, add nicer line breaks as well.
ok jmc@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/07/16 01:15:39

Modified files:
lib/libwrap: hosts_access.5 
libexec/identd : identd.8 

Log message:
non[ -]existing - non-existent;



CVS: cvs.openbsd.org: src

2013-07-16 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/07/16 02:03:18

Modified files:
sys/arch/macppc/stand/boot.mac: elf32_powerpc_merge.x fixcoff.c 

Log message:
Don't use a non initialized variable and fix RCS Ids while here.

Issue reported by Maxime Villard, diff from martin@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/07/16 02:11:39

Modified files:
sys/dev/pckbc  : pms.c 

Log message:
Correctly initialized the width value to 0 instead of passing garbage
to wsmouse_input() when no finger are reported.

Pointed out by Maxime Villard.



CVS: cvs.openbsd.org: src

2013-07-16 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/07/16 02:21:10

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
Make sure the ioctl(2) has been processed by sppp(4) before printing
any phase error.

This prevents ifconfig(8) from priting 'sppp: phase...' messages for
vlan(4) interfaces attached to interfaces with a long name.  A better
fix should be cooked because various pseudo-interfaces still use the
same set of ioctl(2)s for different purposes.

Issue reported by jca@, ok claudio@, jca@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 03:45:28

Modified files:
sbin/bioctl: bioctl.8 
sbin/dhclient  : dhclient.8 dhclient.conf.5 dhclient.leases.5 
sbin/growfs: growfs.8 
sbin/iked  : iked.8 iked.conf.5 
sbin/iopctl: iopctl.8 
sbin/lmccontrol: lmccontrol.8 
sbin/modload   : modload.8 
sbin/mount_ntfs: mount_ntfs.8 
sbin/mount_udf : mount_udf.8 
sbin/ncheck_ffs: ncheck_ffs.8 
sbin/newfs_ext2fs: newfs_ext2fs.8 
sbin/newfs_msdos: newfs_msdos.8 
sbin/pflogd: pflogd.8 
sbin/swapctl   : swapctl.8 

Log message:
Add missing .Mt macros for AUTHORS email addresses.
From Jan Stary hans at stare dot cz.
ok jmc@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/07/16 04:26:17

Modified files:
usr.sbin/dhcpd : dhcpd.conf.5 dhcpd.leases.5 

Log message:
simplify some icky macros; from Jan Stary, tweaked by me



CVS: cvs.openbsd.org: src

2013-07-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/07/16 04:44:51

Modified files:
lib/libc/net   : getrrsetbyname.3 
lib/libkeynote : keynote.4 keynote.5 

Log message:
more macro simplification; from Jan Stary



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 05:13:34

Modified files:
usr.sbin/amd/amd: amd.8 
usr.sbin/amd/amq: amq.8 
usr.sbin/cron  : cron.8 crontab.1 crontab.5 
usr.sbin/crunchgen: crunchgen.8 
usr.sbin/dhcpd : dhcp-options.5 dhcpd.8 dhcpd.conf.5 
 dhcpd.leases.5 
usr.sbin/dhcrelay: dhcrelay.8 
usr.sbin/fw_update: fw_update.1 
usr.sbin/gpioctl: gpioctl.8 
usr.sbin/hostapd: hostapd.8 hostapd.conf.5 
usr.sbin/hotplugd: hotplugd.8 
usr.sbin/ikectl: ikectl.8 
usr.sbin/iscsid: iscsid.8 
usr.sbin/ldapd : btree.3 
usr.sbin/ldomctl: ldomctl.8 
usr.sbin/ldomd : ldomd.8 
usr.sbin/mailwrapper: mailer.conf.5 mailwrapper.8 
usr.sbin/mopd/mopd: mopd.8 
usr.sbin/nginx/man: nginx.8 
usr.sbin/openssl: openssl.1 
usr.sbin/pcidump: pcidump.8 
usr.sbin/popa3d: popa3d.8 
usr.sbin/ppp/ppp: ppp.8 
usr.sbin/pppd  : pppd.8 
usr.sbin/pppoe : pppoe.8 
usr.sbin/procmap: procmap.1 
usr.sbin/relayd: relayd.8 relayd.conf.5 
usr.sbin/rpc.bootparamd: rpc.bootparamd.8 
usr.sbin/sa: sa.8 
usr.sbin/sdio  : sdio.8 
usr.sbin/snmpctl: snmpctl.8 
usr.sbin/snmpd : ber.3 snmpd.8 snmpd.conf.5 
usr.sbin/sysmerge: sysmerge.8 
usr.sbin/tcpdrop: tcpdrop.8 
usr.sbin/tcpdump: tcpdump.8 
usr.sbin/tokeninit: tokeninit.8 
usr.sbin/user  : group.8 groupadd.8 groupdel.8 groupinfo.8 
 groupmod.8 user.8 useradd.8 userdel.8 
 userinfo.8 usermod.8 
usr.sbin/watchdogd: watchdogd.8 
usr.sbin/wsmoused: wsmoused.8 
usr.sbin/ypserv/makedbm: makedbm.8 
usr.sbin/ypserv/mkalias: mkalias.8 
usr.sbin/ypserv/mknetid: mknetid.8 netid.5 
usr.sbin/ypserv/revnetgroup: revnetgroup.8 
usr.sbin/ypserv/stdethers: stdethers.8 
usr.sbin/ypserv/stdhosts: stdhosts.8 
usr.sbin/ypserv/ypinit: ypinit.8 
usr.sbin/ypserv/yppush: yppush.8 
usr.sbin/ypserv/ypserv: ypserv.8 ypserv.acl.5 
usr.sbin/ypserv/yptest: yptest.8 
usr.sbin/ypserv/ypxfr: ypxfr.8 

Log message:
use .Mt for email addresses; from Jan Stary hans at stare dot cz; ok jmc@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 05:14:19

Modified files:
games/bs   : bs.6 

Log message:
use .Mt for AUTHORS email; from Jan Stary hans at stare dot cz; ok jmc@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/07/16 05:32:05

Modified files:
usr.sbin/httpd/src/modules/ssl: mod_ssl.c mod_ssl.h 
ssl_engine_config.c 
ssl_engine_init.c 
ssl_engine_kernel.c 

Log message:
Define HonorCipherOrder as a FLAG (rather than as a TAKE1), so that it
works correctly as a boolean on/off flag. While here, rename the variable
so that it is consistent with existing naming scheme.

ok otto@ djm@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/07/16 07:02:16

Modified files:
usr.sbin/httpd/conf: httpd.conf httpd.conf-dist 
usr.sbin/httpd/src/modules/ssl: mod_ssl.c mod_ssl.h 
ssl_engine_config.c 
ssl_engine_init.c 

Log message:
Enable ECDHE support in httpd via a SSLECDHCurve option. This specifies the
named curve to use when generating ephemeral EC keys for an ECDHE-based
cipher suite, or can be set to `none' to disable. The default is to use
a prime256v1 curve.

yay^Wok djm@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/07/16 07:22:55

Modified files:
usr.sbin/httpd/src/modules/ssl: mod_ssl.c mod_ssl.h 
ssl_engine_config.c 
ssl_engine_init.c 

Log message:
Disable SSL compression in order to mitigate CRIME attacks. Add
an SSLCompression option so that it can be turned back on, however on
this is currently a no-op due to the compile options for libssl.

Requested by and ok djm@



CVS: cvs.openbsd.org: xenocara

2013-07-16 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2013/07/16 08:04:44

Modified files:
app/cwm: calmwm.h conf.c parse.y 

Log message:
max - nitems



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 08:09:38

Modified files:
libexec/login_token: login_token.8 
libexec/rpc.yppasswdd: rpc.yppasswdd.8 

Log message:
use .Mt for email addresses; from Jan Stary hans at stare dot cz



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 08:18:39

Modified files:
regress/sys/dev/audio_info: audiotest_gsinfo.1 
regress/sys/dev/audio_rw: audiotest_rw.1 
regress/usr.bin/mdoclint: mdoclint.1 

Log message:
use .Mt for email addresses; from Jan Stary hans at stare dot cz



CVS: cvs.openbsd.org: xenocara

2013-07-16 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2013/07/16 08:22:25

Modified files:
app/cwm: conf.c 

Log message:
don't need the size here



CVS: cvs.openbsd.org: xenocara

2013-07-16 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2013/07/16 08:30:48

Modified files:
app/cwm: xutil.c 

Log message:
we no longer need to construct an array for _NET_SUPPORTED.



CVS: cvs.openbsd.org: xenocara

2013-07-16 Thread Kenji Aoyama
CVSROOT:/cvs
Module name:xenocara
Changes by: aoy...@cvs.openbsd.org  2013/07/16 08:39:22

Modified files:
xserver/hw/xfree86/os-support/bsd: luna88k_video.c 

Log message:
Re-commit luna88k_video.c.  Previous file is 'doubled' by mistake.



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 09:21:11

Modified files:
lib/libc/crypt : blowfish.3 crypt.3 
lib/libc/gen   : ftok.3 posix_spawn.3 
 posix_spawn_file_actions_addopen.3 
 posix_spawn_file_actions_init.3 
 posix_spawnattr_getflags.3 
 posix_spawnattr_getpgroup.3 
 posix_spawnattr_init.3 shm_open.3 
lib/libc/net   : getrrsetbyname.3 
lib/libc/string: memmem.3 strlcpy.3 wcscasecmp.3 wcslcpy.3 
lib/libc/sys   : __thrsigdivert.2 __thrsleep.2 kqueue.2 
 swapctl.2 
lib/libkeynote : keynote.1 keynote.3 keynote.4 keynote.5 
lib/libpthread/man: pthreads.3 
lib/libz   : compress.3 

Log message:
use .Mt for email addresses; from Jan Stary hans at stare dot cz; ok jmc@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/07/16 11:31:39

Modified files:
etc/etc.vax: disktab 
distrib/vax/iso: Makefile 

Log message:
make more room because ELF is bigger



CVS: cvs.openbsd.org: src

2013-07-16 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2013/07/16 12:15:10

Modified files:
distrib/notes/beagle: contents hardware install prep 

Log message:
Document (not so) recent developments.

input/ok bmercer@, rapha@, patrick@ (previous version)



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 12:38:51

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
use .Mt for email address; ok jmc@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2013/07/16 12:49:35

Removed files:
sys/arch/beagle/stand/boot.scr: Makefile boot.cmd 

Log message:
no longer needed, we use uenv.txt
OK bmercer@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/07/16 13:45:37

Modified files:
sys/arch/sparc64/dev: cbus.c 

Log message:
Add support for BUS_INTR_ESTABLISH_MPSAFE.



CVS: cvs.openbsd.org: src

2013-07-16 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/07/16 13:46:56

Modified files:
sys/arch/sparc64/dev: vcons.c 

Log message:
The interrupt handler for vcons(4) is defenitely safe to run without holding
the kernel lock, so use BUS_INTR_ESTABLISH_MPSAFE.



CVS: cvs.openbsd.org: xenocara

2013-07-16 Thread Kenji Aoyama
CVSROOT:/cvs
Module name:xenocara
Changes by: aoy...@cvs.openbsd.org  2013/07/16 14:43:50

Modified files:
distrib/notes  : README.luna88k 

Log message:
Monochrome X server is supported on luna88k.

ok miod@



CVS: cvs.openbsd.org: src

2013-07-16 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/07/16 15:08:06

Modified files:
sys/arch/sparc64/dev: vbus.c 

Log message:
Add support for BUS_INTR_ESTABLISH_MPSAFE.  This makes the previous commit
to vcons(4) actually have an effect.



Re: CVS: cvs.openbsd.org: src

2013-07-16 Thread Damien Miller
On Tue, 16 Jul 2013, Joel Sing wrote:

 CVSROOT:  /cvs
 Module name:  src
 Changes by:   js...@cvs.openbsd.org   2013/07/16 07:22:55
 
 Modified files:
   usr.sbin/httpd/src/modules/ssl: mod_ssl.c mod_ssl.h 
   ssl_engine_config.c 
   ssl_engine_init.c 
 
 Log message:
 Disable SSL compression in order to mitigate CRIME attacks. Add
 an SSLCompression option so that it can be turned back on, however on
 this is currently a no-op due to the compile options for libssl.

specifically, we turn compression off at compile time in our libssl
so we aren't victim to the CRIME attack anyway.



CVS: cvs.openbsd.org: src

2013-07-16 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/07/16 16:31:15

Modified files:
sys/arch/sparc64/dev: ifb.c 

Log message:
Enable jfb-style acceleration on XVR-600.



CVS: cvs.openbsd.org: src

2013-07-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2013/07/16 23:42:11

Modified files:
lib/libc/compat-43: gethostid.3 sigblock.3 sigpause.3 
sigsetmask.3 sigvec.3 
lib/libc/db/man: dbm.3 
lib/libc/gen   : alarm.3 ctype.3 exec.3 fnmatch.3 getcwd.3 
 getpwnam.3 isalnum.3 isascii.3 iscntrl.3 
 isdigit.3 islower.3 isprint.3 ispunct.3 
 isspace.3 isupper.3 nlist.3 pause.3 setjmp.3 
 signal.3 time.3 times.3 
lib/libc/regex : regex.3 
lib/libc/stdio : fclose.3 ferror.3 fgets.3 fread.3 fseek.3 
 perror.3 printf.3 scanf.3 setbuf.3 ungetc.3 
lib/libc/stdlib: abort.3 abs.3 atof.3 atoi.3 exit.3 ldiv.3 
 qsort.3 
lib/libc/string: strcat.3 strcmp.3 strcpy.3 strlen.3 
lib/libc/sys   : _exit.2 accept.2 bind.2 chmod.2 chown.2 
 chroot.2 connect.2 dup.2 flock.2 fsync.2 
 getgid.2 getgroups.2 getitimer.2 getpriority.2 
 getrlimit.2 getrusage.2 gettimeofday.2 kill.2 
 listen.2 mkdir.2 mknod.2 mmap.2 munmap.2 
 nanosleep.2 open.2 pipe.2 ptrace.2 read.2 
 readlink.2 select.2 setgroups.2 setregid.2 
 setreuid.2 shutdown.2 socket.2 symlink.2 
 syscall.2 truncate.2 umask.2 
lib/libc/time  : ctime.3 
lib/libcompat/4.1: ftime.3 stty.3 
lib/libm/man   : cosh.3 exp.3 floor.3 fmod.3 hypot.3 j0.3 
 lgamma.3 sin.3 sinh.3 sqrt.3 tanh.3 

Log message:
more library history
facts checked by sobrado@
style tweaks and ok jmc@