Displaying 1 50 of 514,065 commits (0.017s)

OpenBSD — sys/dev/ic aac.c

unbreak aac(4) by re-adding uvm_extern.h for ptoa()

ok deraadt@ sthen@
Delta File
+3 -1 sys/dev/ic/aac.c
+3 -1 1 file

OpenBSD — usr.sbin/httpd server_fcgi.c httpd.h

Only write the HTTP header for the first fastcgi chunk.

OpenBSD — usr.sbin/httpd server_fcgi.c server_http.c

some fastcgi improvements:
- DPRINTF instead of log_info for internal debugging.
- submit QUERY_STRING, if it exists
- use a proper function to create an HTTP header.
- use server_file_error() to detect EOF and fastcgi stream errors.
- disable keep-alive/persist for now until we have a reliable way to
get the content length from the cgi response or support chunked
encoding.

"Cool, jep" florian@

OpenBSD — sys/ufs/ext2fs ext2fs_dinode.h ext2fs_bswap.c

use proper on-disk inode size: no more, no less.

Reported by Roman Yakovlev, thanks!

"do it now" deraadt

OpenBSD — etc/rc.d rc.subr

In debug mode, properly sort and drop duplicates so that we don't end
up with a confusing output like:
multicast_host      >NO<
<...>
multicast_host      >YES<

Also properly evaluate values _after_ running _rc_quirks() because these
can modify flags.

ok robert@ halex@
Delta File
+9 -3 etc/rc.d/rc.subr
+9 -3 1 file

OpenBSD — usr.sbin/httpd server_fcgi.c server_file.c

One bufferevent can be shared by file and fcgi.

OpenBSD — usr.sbin/httpd parse.y httpd.conf.5

Allow to specify a non-default fastcgi socket.

OpenBSD — usr.sbin/httpd parse.y config.c

Rename the "docroot" variable to "path" because it will be used for
either files or the fastcgi socket (and there's no need to use a union yet).

OpenBSD — usr.sbin/httpd server_http.c parse.y

Add a configuration variable "fastcgi" to enable it per server or location.

OpenBSD — usr.sbin/httpd server_fcgi.c server_http.c

Put in first stab at fastcgi. Very early work in progress. Putting it
in now so that we can quickly work on it in tree. Requested by reyk@.
deraadt@ is OK with this according to reyk@.

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

sync

OpenBSD — libexec Makefile

unhook auxcpp
Delta File
+2 -2 libexec/Makefile
+2 -2 1 file

OpenBSD — usr.sbin/sysmerge sysmerge.sh

Properly warn when an example changes and the corresponding file is found
under /etc.

issue reported by Nathanael Rensen
"fine" deraadt@
Delta File
+2 -2 usr.sbin/sysmerge/sysmerge.sh
+2 -2 1 file

OpenBSD — usr.bin/calendar pathnames.h

switch to tradcpp
Delta File
+2 -2 usr.bin/calendar/pathnames.h
+2 -2 1 file

OpenBSD — libexec Makefile

descend into tradcpp
Delta File
+2 -2 libexec/Makefile
+2 -2 1 file

OpenBSD — libexec/tradcpp macro.c main.c

Add tradcpp 0.4, a standalone traditional whitespace preserving cpp
by David A. Holland of NetBSD.
Delta File
+1,202 -0 libexec/tradcpp/macro.c
+1,090 -0 libexec/tradcpp/main.c
+765 -0 libexec/tradcpp/eval.c
+626 -0 libexec/tradcpp/directive.c
+420 -0 libexec/tradcpp/files.c
+353 -0 libexec/tradcpp/tradcpp.1
+1,694 -0 17 files not shown
+6,150 -0 23 files

OpenBSD — usr.sbin/httpd server_http.c parse.y

Make "location" work with name-based virtual servers.

OpenBSD — etc/rc.d rc.subr

Fix evil typo (multicast_hosts -> multicast_host).
Delta File
+2 -2 etc/rc.d/rc.subr
+2 -2 1 file

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

prepare for post 5.6 packages, recognize special case where timestamp exist.
(specifically, this is a nop for 5.6, but it will allow changes to packages
without needing anything in pkg_add)

OpenBSD — etc/examples httpd.conf, usr.sbin/httpd parse.y config.c

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only.  Internally,
a "location" is just a special type of a "virtual" server.

OpenBSD — usr.sbin/httpd httpd.conf.5

Small fix and clarification
Delta File
+8 -4 usr.sbin/httpd/httpd.conf.5
+8 -4 1 file

OpenBSD — usr.sbin/httpd server_file.c

Reserve an extra file descriptor per connection instead of per
request.  This fixes fd accounting with persistent connections and
reduces the complexity of the implementation.

ok benno@
Delta File
+1 -7 usr.sbin/httpd/server_file.c
+1 -7 1 file

OpenBSD — sbin/dhclient options.c, usr.sbin/dhcpd options.c

Fix memory exhaustion occurring on DHCP options with 0 length.

halex@ and krw@ pointed out that a NULL check before free can go, too.

ok deraadt@, halex@, krw@, jasper@

OpenBSD — sbin/dhclient options.c, usr.sbin/dhcpd options.c

Fix memory exhaustion occurring on DHCP options with 0 length.

halex@ and krw@ pointed out that a NULL check before free can go, too.

ok deraadt@, halex@, krw@, jasper@

OpenBSD — usr.sbin/httpd server.c

The inflight decremented message should only be printed with DEBUG.
Delta File
+2 -2 usr.sbin/httpd/server.c
+2 -2 1 file

OpenBSD — etc/examples httpd.conf, usr.sbin/httpd server_file.c parse.y

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@

OpenBSD — sys/conf GENERIC

disable POOL_DEBUG for release
Delta File
+2 -2 sys/conf/GENERIC
+2 -2 1 file

OpenBSD — sys/conf newvers.sh

move to -release mode
Delta File
+3 -3 sys/conf/newvers.sh
+3 -3 1 file

OpenBSD — sys/net rtsock.c route.c

Revert the checks about RTF_LOCAL routes.

Even if in the end we would like to be more strict about what userland
can do with kernel-managed route entries, most of the tools out there
are not yet ready for this.  Since RTF_LOCAL routes are for the moment
just like RTF_LLINFO routes without expire timer, allow userland tools
to remove/modify them.  In case they are missing, the good old cloning
mechanism will recreate what you need.

bluhm@ and deraadt@ agree.
Delta File
+2 -9 sys/net/rtsock.c
+1 -9 sys/net/route.c
+2 -2 sys/net/route.h
+5 -20 3 files

OpenBSD — usr.sbin/httpd httpd.h server.c

Move configurable TCP options into struct server_config.
Delta File
+21 -21 usr.sbin/httpd/httpd.h
+19 -19 usr.sbin/httpd/server.c
+40 -40 2 files

OpenBSD — lib/libssl/src/apps ca.c

Fix a usage string; the proper spelling of 'alot' is 'a lot'.

ok bcook@
Delta File
+2 -2 lib/libssl/src/apps/ca.c
+2 -2 1 file

OpenBSD — distrib/notes/alpha contents, distrib/notes/amd64 contents

update sets sizes

OpenBSD — usr.sbin/smtpd enqueue.c

Last (known) msgbuf_write() vs EOF fix.

ok gilles@ deraadt@
Delta File
+2 -2 usr.sbin/smtpd/enqueue.c
+2 -2 1 file

OpenBSD — distrib/sets/lists/base md.alpha md.amd64, distrib/sets/lists/comp mi

sync

OpenBSD — sys/kern subr_log.c

I/O ktrace of sendsyslog(2) did not work.  As uiomove() adjusts
iov_len to 0, we need a propper length calculation.  While there,
use -1 for the file descriptor because 0 is reserved for stdin.
OK deraadt@ guenther@
Delta File
+6 -2 sys/kern/subr_log.c
+6 -2 1 file

OpenBSD — sys/arch/sparc/dev dma.c if_le.c

On SPARCbook systems, the ledma device node has a `cable-selection' property
specifying which media the on-board interface uses. We already query it to
set up proper register values; extend this to be able to pass a default
media to the le(4) child.

This makes SPARCbook system default to AUI without needing for a manual media
change.

tested by sebastia@

OpenBSD — lib/libcrypto/crypto Makefile, lib/libssl/src/apps progs.h

Remove SRP code. It contains a bug (this should not surprise anyone), but
the details are under embargo. The original plan was to wait for the
embargo to lift, but we've been waiting for quite some time, and there's no
indication of when or even if it will end. No sense in dragging this out
any longer.

The SRP code has never been enabled in OpenBSD, though I understand it is
in use by some other people. However, in light of this and other issues,
we're officially saying SRP is outside the scope of libressl. (For now.)

OpenBSD — sbin/dhclient options.c, usr.sbin/dhcpd options.c

Fix memory exhaustion occurring on DHCP options with 0 length.

halex@ and krw@ pointed out that a NULL check before free can go, too.

ok deraadt@, halex@, krw@

OpenBSD — sbin/dhclient packet.c, usr.sbin/dhcrelay packet.c

merge dhcpd's packet.c revision 1.7:

Fix very hard to reach DoS attack vector, which would involve more than
8 billion network packets.  Mixture of many many malformed and proper
packets could result in a division by zero.

ok krw@

OpenBSD — usr.bin/ssh sftp-server.8 sshd_config.5

some systems no longer need /dev/log;
issue noticed by jirib;
ok deraadt

OpenBSD — sys/arch/macppc/pci vgafb.c, sys/arch/sparc64/dev machfb.c vgafb.c

Limit the "aperture needed" printf to ramdisks via RAMDISK_HOOKS.
Originally with SMALL_KERNEL until sebastia@ pointed out that not
all ramdisks are built with SMALL_KERNEL.
ok deraadt@ kettenis@

OpenBSD — distrib/miniroot install.sub

Avoid matching a particular driver for "aperture needed" detection.
On sparc64 we also need to match machfb(4) in addition to vgafb(4) so let's
just match any driver.

ok halex@, deraadt@
Delta File
+2 -2 distrib/miniroot/install.sub
+2 -2 1 file

OpenBSD — sys/arch/sparc64/dev machfb.c

Hardware supported by machfb(4) needs the aperture (for now) so make ramdisks
print a message to that extent such that the install scripts can do their
magic.

ok miod@, deraadt@
Delta File
+5 -1 sys/arch/sparc64/dev/machfb.c
+5 -1 1 file

OpenBSD — distrib/miniroot install.sub

Change detection of unconfigured vlan interfaces from using flags to
looking for vlan id and parent interface. This avoids the creation of
unconfigured vlan interface every time /install is restarted.

Noted by and OK miod@
OK krw@
Positive feedback sthen@ claudio@
Delta File
+2 -2 distrib/miniroot/install.sub
+2 -2 1 file

OpenBSD — libexec/ld.so/alpha ldasm.S

_dl_sigprocmask() works better when it actually saves the returned sigmask

asm suggestion from kettenis@
tested by miod@, suffering under the brain-destroying summer heat
Delta File
+2 -1 libexec/ld.so/alpha/ldasm.S
+2 -1 1 file

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

The RSA, DH, and ECDH temporary key callbacks expect the number of keybits
for the key (expressed in RSA key bits, which makes *no sense* for ECDH) as
their second argument, not zero.

(jsing@ notes that the RSA callback is only invoked for 'export' ciphers,
which have been removed from LibreSSL, and for the SSL_OP_EPHEMERAL_RSA
option, which is makes the application non-compliant.  More fuel for the
tedu fire...)

jasper@ noted the breakage and bisected it down to the diff that broke this
ok jsing@ miod@

OpenBSD — regress/lib/libc/arc4random-fork arc4random-fork.c

remove non-portable __progname extern from arc4random unit test.

ok @deraadt

OpenBSD — usr.sbin/httpd Makefile

turn of -Werror, unless you are sure both gcc work...
Delta File
+2 -2 usr.sbin/httpd/Makefile
+2 -2 1 file

OpenBSD — usr.sbin/openssl Makefile

Link dependencies on libssl and libcrypto were missing.
OPENSSL_NO_RC5 is #defined in the #includes, so it's not needed here.

ok deraadt@
Delta File
+3 -2 usr.sbin/openssl/Makefile
+3 -2 1 file

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

make sure makewhatis shows error messages without unsightly CODE() refs
Delta File
+7 -1 usr.sbin/pkg_add/OpenBSD/State.pm
+7 -1 1 file