Displaying 1 50 of 515,128 commits (0.090s)

OpenBSD — usr.sbin/slowcgi slowcgi.c

Instead of doing the fcntl(2) and ioctl(2) song and dance just tell
socket(2) and accept4(2) that we want non-blocking-close-on-exec
OK benno@
Delta File
+5 -11 usr.sbin/slowcgi/slowcgi.c
+5 -11 1 file

OpenBSD — sys/arch/amd64/amd64 machdep.c acpi_machdep.c, sys/arch/i386/i386 apm.c machdep.c

OpenBSD — sys/arch/hppa/hppa machdep.c, sys/arch/hppa64/hppa64 machdep.c

OpenBSD — sys/arch/macppc/macppc machdep.c, sys/arch/socppc/socppc machdep.c

OpenBSD — share/man/man4/man4.armv7 omap.4 prcm.4

Not Everything Is A Headline!
or How I Attempted To Halt The March Of Noun Capitalisation In Nd Lines;

OpenBSD — sys/sys errno.h

since modern POSIX specifies them.  OK guenther@
Delta File
+3 -3 sys/sys/errno.h
+3 -3 1 file

OpenBSD — sys/arch/zaurus/dev zaurus_audio.c

add missing break statements giving alaw encoding
a chance of working instead of returning EINVAL.
ok miod@

OpenBSD — sys/arch/armv7/imx imxccm.c

add missing break statements to imxccm_get_fecclk()
tested by matthieu@ on Sabre lite
Delta File
+13 -9 sys/arch/armv7/imx/imxccm.c
+13 -9 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD PkgCreate.pm

.py files no longer need to be special, as the timestamps are stored in
the plist itself, so there's no longer any worry of the timestamp not
getting updated and python throwing a fit.

OpenBSD — lib/libssl/src/ssl ssl_ciph.c

Add CHACHA20 as a cipher symmetric encryption alias.

From Ming <gzchenym at 126.com>
Delta File
+5 -1 lib/libssl/src/ssl/ssl_ciph.c
+5 -1 1 file

OpenBSD — lib/libssl/src/ssl s3_srvr.c s3_clnt.c

remove obfuscating parens. man operator is your friend.

OpenBSD — regress/lib/libc/strtol strtoltest.c

Fix on 32bit platforms where 0xdeadbeef > LONG_MAX.
To avoid making tests machine dependent, only test values inside 32bit
LONG_{MIN,MAX} and outside 64bit LONG_{MIN,MAX}, but none in between.
While here, cover 32bit edge cases, negative values, and overflows.
ok jsing@

OpenBSD — share/man/man4/man4.alpha intro.4, share/man/man4/man4.amd64 intro.4

Restore the true Copyright notice and license of intro(4) that various
people illegally replaced with their own fabrications.  Use the correct
years when the original file was actually written and changed; the
original in part listed wrong years.
Some of the notices regarding later changes can be dropped because
none of the respective text remains.
ok sobrado@ jmc@ miod@

OpenBSD — share/man/man4/man4.armv7 dmtimer.4 gptimer.4

zap trailing whitespace (which, strangely, was not in the original
version of these files posted to hackers)

OpenBSD — sys/net bpf_filter.c

better boundchecks in validation; from Guy Harris; ok millert@ dlg@
Delta File
+5 -5 sys/net/bpf_filter.c
+5 -5 1 file

OpenBSD — sys/arch/macppc/macppc lock_machdep.c

Use correct printf format when MP_LOCKDEBUG is defined.

OpenBSD — distrib/sets/lists/base mi, distrib/sets/lists/etc mi

Move /etc/rc.conf from the etc to the base set.
People should not have been hand-editing /etc/rc.conf
(# DO NOT EDIT THIS FILE!!) but in the case you did, you need to merge
your changes into /etc/rc.conf.local or they will be overwritten at next

ok deraadt@

OpenBSD — usr.sbin/nginx/src/event ngx_event_openssl.c

fix for the SSL session reuse vulnerability (CVE-2014-3616)
ok jasper@

OpenBSD — usr.sbin/nginx/src/event ngx_event_openssl.c

fix for the SSL session reuse vulnerability (CVE-2014-3616)
ok jasper@

OpenBSD — share/man/man4/man4.armv7 sitaracm.4 dmtimer.4

Add missing manual pages for armv7 (omap) drivers.
Using feedback from schwarze@.

ok syl@ schwarze@

OpenBSD — etc/mtree special

Remove sendmail queue directories.

ok matthieu@
Delta File
+1 -5 etc/mtree/special
+1 -5 1 file

OpenBSD — sys/net bpf.c

passing M_NOWAIT to m_tag_get means it can fail, which could hit
the failure path which leaks all the stuff the previous code in
bpf_movein allocates.

since it's only called from bpfwrite, use M_WAIT instead to make
it reliable and just get rid of the bogus failure code.

ok miod@
Delta File
+2 -4 sys/net/bpf.c
+2 -4 1 file

OpenBSD — share/man/man4/man4.aviion intro.4, share/man/man4/man4.loongson intro.4

add missing HISTORY sections;
ok sobrado@ jmc@ miod@

OpenBSD — share/man/man4/man4.sparc intro.4

fix HISTORY: NetBSD had intro(4/sparc) slightly before OpenBSD, both
with respect to commit and release, see
ok sobrado@ jmc@ miod@
Delta File
+4 -2 share/man/man4/man4.sparc/intro.4
+4 -2 1 file

OpenBSD — share/man/man4/man4.vax intro.4

System III already had intro(4), 4.1BSD merely had a copy of the
System III version, and the rewrite only happened for 4.2BSD.
All info can be verified from http://minnie.tuhs.org/cgi-bin/utree.pl.
ok sobrado@ jmc@ miod@
Delta File
+6 -4 share/man/man4/man4.vax/intro.4
+6 -4 1 file

OpenBSD — share/man/man8 ssl.8

the sendmail section is no longer relevant;
Delta File
+2 -16 share/man/man8/ssl.8
+2 -16 1 file

OpenBSD — sys/arch/sparc64/sparc64 machdep.c

Use config_suspend_all(9).

ok dlg@

OpenBSD — sys/kern subr_autoconf.c, sys/sys device.h

Introduce config_suspend_all(9) a function that invokes config_suspend(9)
on all relevant device hierarchies in the appropriate order.  For now this
means mpath(4) and mainbus(4), doing mpath(4) before mainbus(4) when
suspending or powering down and doing mpath(4) after mainbus(4) when
resuming such that mpath(4) can realy on the underlying hardware being
in a functional state.

Fixes problems with unflushed disk caches on machines where mpath(4) takes
control of some of your disks.

ok dlg@
Delta File
+51 -1 sys/kern/subr_autoconf.c
+3 -1 sys/sys/device.h
+54 -2 2 files

OpenBSD — sys/scsi sd.c

Some disks, such as the Seagate Cheetah 73LP FC with Sun firmware
(ST373405FSUN72G) respond to a START STOP UNIT command that spins down the
disk with a "Logical Unit Not Ready, Initialization Command Required".
Besides causing some dmesg spam, our sd(4) driver responds to such a response
by spinning the disk back up.  Prevent this from happening by respecting
the SCSI_IGNORE_NOT_READY flag and using that flag when spinning down the

ok miod@
Delta File
+6 -2 sys/scsi/sd.c
+6 -2 1 file

OpenBSD — share/man/man4/man4.armv7 intro.4 imx.4

add some missing man pages for armv7.

tweaks & ok jmc@

OpenBSD — sys/net bpf_filter.c

ansify function declaration things.

ok mpi@ henning@ krw@
Delta File
+5 -17 sys/net/bpf_filter.c
+5 -17 1 file

OpenBSD — share/man/man5 ruby-module.5

document rspec3

ok jeremy@
Delta File
+7 -4 share/man/man5/ruby-module.5
+7 -4 1 file

OpenBSD — include unistd.h

Our setpgrp() is the BSD version with two args and not the XSI
version with zero args, so it should only be visible if __BSD_VISIBLE
(and not also for __XPG_VISIBLE).  Contrawise, readlink() has been
part of base POSIX since 1995, so move to proper #if area for that.
Move crypt_checkpass() to the pure-BSD section of the file.

setpgrp() issue noted by Matti Karnaattu (mkarnaattu (at) gmail.com)
ok millert@
Delta File
+5 -7 include/unistd.h
+5 -7 1 file

OpenBSD — sys/kern syscalls.c init_sysent.c, sys/sys syscallargs.h syscall.h


OpenBSD — sys/kern vfs_syscalls.c syscalls.master

Correct argument name (int flags -> int amode) in sys_access().

OK guenther@

OpenBSD — usr.bin/mandoc mdoc_term.c term.h

simplify handling of .An -[no]split for terminal output:
delete one static function, one flag #define, and 25 lines of code;
no functional change
Delta File
+17 -45 usr.bin/mandoc/mdoc_term.c
+3 -4 usr.bin/mandoc/term.h
+20 -49 2 files

OpenBSD — usr.bin/mandoc mdoc_html.c html.h

implement .An -[no]split for -Thtml

OpenBSD — sys/kern syscalls.c init_sysent.c, sys/sys syscallargs.h syscall.h


OpenBSD — sys/kern kern_prot.c syscalls.master

The  2nd arg of setpgid(2) should be pid_t, not int.
No functional change as pid_t is defined as int32_t.
OK miod@

OpenBSD — usr.bin/kdump mksubr kdump.c

Add display of the flags to pipe2, dup3, and accept4, display of
MSG_CMSG_CLOEXEC in recvmsg, and display of SOCK_{CLOEXEC,NONBLOCK}
in socket and socketpair.
Do _not_ display the O_ACCMODE bits in the arg to fcntl(F_SETFD)

ok miod@

OpenBSD — gnu/usr.sbin/sendmail RELEASE_NOTES README, gnu/usr.sbin/sendmail/cf README sendmail.schema


OpenBSD — share/man/man5 login.conf.5, usr.bin/passwd pwd_gensalt.c

Increase number of blowfish rounds to 8 by default when not specified in

ok deraadt@ doug@ millert@
"please commit" tedu@

OpenBSD — distrib/sets/lists/etc mi, etc/mail Makefile

With sendmail(8) gone, there is not much point in keeping /etc/mail/Makefile.
There is one table in the default configuration which is 'aliases' and
the db can be created using newaliases(8).

"go for it" guenther@
ok sthen@ matthieu@ gilles@
Delta File
+1 -3 etc/mail/Makefile
+0 -1 distrib/sets/lists/etc/mi
+1 -4 2 files

OpenBSD — share/man/man7 hier.7

make the /var list width one character wider to improve formatting;
Delta File
+3 -3 share/man/man7/hier.7
+3 -3 1 file

OpenBSD — share/termtypes termtypes.master

Both tmux and screen expect \177 for backspace, so change our screen
terminfo entry to have kbs=\177 (we already do this for xterm). Fixes
problems with "le" editor reported by bcallah@
Delta File
+4 -4 share/termtypes/termtypes.master
+4 -4 1 file

OpenBSD — usr.bin/tmux grid.c

Fix some comments (c -> colour) and join unnecessary line splits.
Delta File
+5 -7 usr.bin/tmux/grid.c
+5 -7 1 file

OpenBSD — distrib/sets/lists/base mi, distrib/sets/lists/man mi


OpenBSD — sys/dev/ic mpi.c

be less confusing to the compiler when setting up the sge.
Delta File
+3 -2 sys/dev/ic/mpi.c
+3 -2 1 file

OpenBSD — lib/libkeynote keynote.3

diff From: Theo Buehler who notes of kn_encode_base64():
"Since the function is a simple wrapper around b64_ntop(),
there is no restriction on the possible lengths of the raw data in

ok millert
Delta File
+2 -4 lib/libkeynote/keynote.3
+2 -4 1 file

OpenBSD — sys/kern subr_pool.c

if userland asks for an unknown sysctl, return EOPNOTSUPP instead
of EINVAL like other sysctl things do.
Delta File
+2 -2 sys/kern/subr_pool.c
+2 -2 1 file