Displaying 1 50 of 397,863 commits (0.077s)

OpenBSD — sys/net radix.c

Do not return internal nodes to the upper layer in rn_lookup().

The limit between the radix layer and the route layer is somewhat
vague, if it exists at all.  This changes prevent rtrequest1(9) to
find and delete the root node (RNF_ROOT) when trying to delete a
non-existing default route:

# route delete 0.0.0.0
delete host 0.0.0.0
# route delete 0.0.0.0
route: writing to routing socket: No such process
delete host 0.0.0.0: not in table

Historically rn_delete() was a no-op when called with an internal
node as argument.  But there's no reason to manipulate such node.
In a better world rn_match() would contain such check, but let's
change the perfect-match function for the moment as this fixes a
bug and many dragons are lurking in there.

Fix a regression introduced by the big refactoring of r1.40 and
reported by tobias@.

ok tobias@, claudio@, pelikan@
Delta File
+4 -1 sys/net/radix.c
+4 -1 1 file

OpenBSD — distrib/armv7/ramdisk install.md

At some point the u-boot mlo for panda/beagle stopped looking for
u-boot.bin and required u-boot.img on the fat fs so switch to using that
as we do for beaglebone.

Reported by abieber@ via bmercer@
Delta File
+3 -3 distrib/armv7/ramdisk/install.md
+3 -3 1 file

OpenBSD — usr.sbin/syslogd privsep_fdpass.c privsep.c

Remove some unneeded includes.  OK deraadt@

OpenBSD — libexec/comsat comsat.c

Trim trailing whitespace from the comsat message before calling
strtonum() to parse the offset since mail.local writes a trailing
newline.  Otherwise comsat just discards the message.  OK deraadt@
Delta File
+10 -4 libexec/comsat/comsat.c
+10 -4 1 file

OpenBSD — libexec/mail.local mail.local.c

Add support for IPv6 by using getaddrinfo().  Our inetd.conf ships
with an IPv6 comsat example but it would never get used.  OK deraadt@
Delta File
+30 -19 libexec/mail.local/mail.local.c
+30 -19 1 file

OpenBSD — usr.bin/tmux cmd-attach-session.c cmd-switch-client.c

Update environment with -E when attach-session used on an already
attached session or switch-client used on the current session. From Cam
Hutchison.

OpenBSD — sys/sys buf.h

disksort is dead, and now so is any code that relied on its compat
in bufqs.

it's only taken us 6 years.

ok millert@ krw@
Delta File
+1 -12 sys/sys/buf.h
+1 -12 1 file

OpenBSD — sys/netinet in.c

We're now creating a connected route for every configured address so
there's no need to flag every address as IFA_ROUTE.
Delta File
+2 -8 sys/netinet/in.c
+2 -8 1 file

OpenBSD — sys/netinet in.c

No longer need to manually pass RTF_MPATH to rt_ifa_add(9).
Delta File
+3 -3 sys/netinet/in.c
+3 -3 1 file

OpenBSD — sys/dev/ic malo.c

Make malo(4) compile with MALO_DEBUG. Problem found by Walter Daugherity.
Delta File
+3 -3 sys/dev/ic/malo.c
+3 -3 1 file

OpenBSD — usr.sbin/syslogd syslogd.c

Let syslogd run with non-blocking sockets.  Replace the existing
fcntl(O_NONBLOCK) with the simpler SOCK_NONBLOCK and add this flag
to the UDP sockets.  React to EWOULDBLOCK although it should not
happen.
OK benno@
Delta File
+14 -26 usr.sbin/syslogd/syslogd.c
+14 -26 1 file

OpenBSD — sys/dev softraid_crypto.c

fix a format specifier used in SR_DEBUG printfs.

from Karel Gardas (gardask at gmail.com)
Delta File
+3 -3 sys/dev/softraid_crypto.c
+3 -3 1 file

OpenBSD — share/man/man9 km_alloc.9

Include missing 'const' references in man page and fix some parameter names
that didn't match the code.
Delta File
+5 -5 share/man/man9/km_alloc.9
+5 -5 1 file

OpenBSD — share/man/man9 VOP_LOOKUP.9

Document the new 'fflag' argument to VOP_POLL().
From Martin Natano
Delta File
+6 -3 share/man/man9/VOP_LOOKUP.9
+6 -3 1 file

OpenBSD — distrib/miniroot install.sub

In case-statements where single and multiline commands are used,
put the terminating ;; always on its own line.

discussed with and OK krw@ halex@
Delta File
+43 -22 distrib/miniroot/install.sub
+43 -22 1 file

OpenBSD — sys/dev/usb usbdevs_data.h usbdevs.h

regen

OpenBSD — sys/dev/usb usbdevs

add id for TEMPerHUM sensor

ok mpi@
Delta File
+2 -1 sys/dev/usb/usbdevs
+2 -1 1 file

OpenBSD — sys/arch/vax/if if_de.c

Fix misleading indent
Delta File
+3 -3 sys/arch/vax/if/if_de.c
+3 -3 1 file

OpenBSD — share/man/man5 bsd.port.mk.5

document PKGPATHS, used together with PKGNAMES.
fix PKGNAMES description (only relates to actual BUILD_PACKAGES)
Delta File
+13 -3 share/man/man5/bsd.port.mk.5
+13 -3 1 file

OpenBSD — bin/ksh ksh.1

Use "alternation" consistently

ok jmc@
Delta File
+4 -4 bin/ksh/ksh.1
+4 -4 1 file

OpenBSD — sys/arch/vax/mscp mscp_subr.c

get rid of some if 0 code that refers to b_actf.

ok miod@
Delta File
+1 -4 sys/arch/vax/mscp/mscp_subr.c
+1 -4 1 file

OpenBSD — sys/arch/vax/mscp mscp_subr.c mscpvar.h, sys/arch/vax/vax autoconf.c

replace the manual buf list management with a fifo bufq. it simplifies
the code in some cases and makes it generally more readable.

this has been tested in simh, real hardware may or may not work anyway.

ok miod@

OpenBSD — sys/arch/vax/if if_qe.c

count outgoing packets like every other driver.

ok miod@
Delta File
+3 -1 sys/arch/vax/if/if_qe.c
+3 -1 1 file

OpenBSD — share/man/man4 rdomain.4

various improvements from remi locherer;
i've tweaked it a bit, based on feedback from claudio and phessler

ok phessler
Delta File
+31 -5 share/man/man4/rdomain.4
+31 -5 1 file

OpenBSD — distrib/sets/lists/base mi md.luna88k, distrib/sets/lists/etc mi

sync

OpenBSD — etc Makefile changelist, etc/mtree special

Remove sudoers
Delta File
+1 -3 etc/Makefile
+1 -2 etc/changelist
+1 -2 etc/mtree/special
+3 -7 3 files

OpenBSD — usr.bin/sudo configure ChangeLog, usr.bin/sudo/auth pam.c kerb5.c

Remove sudo, it is now in ports.
Delta File
+0 -25,764 usr.bin/sudo/configure
+0 -20,443 usr.bin/sudo/ChangeLog
+0 -7,518 usr.bin/sudo/acsite.m4
+0 -6,941 usr.bin/sudo/ltmain.sh
+0 -2,804 usr.bin/sudo/configure.in
+0 -2,798 usr.bin/sudo/sudoers.mdoc.in
+0 -33,470 113 files not shown
+0 -99,738 119 files

OpenBSD — usr.bin Makefile

Sudo has moved to ports.
Delta File
+2 -2 usr.bin/Makefile
+2 -2 1 file

OpenBSD — usr.bin/openssl speed.c

Repair algorithm name array after 1.6.
Delta File
+4 -4 usr.bin/openssl/speed.c
+4 -4 1 file

OpenBSD — distrib/miniroot install.sub dot.profile

Use [aA]* instead of a*|A* in case-blocks.

OK krw@
@halex agreed on this in a similar diff

OpenBSD — sbin/iked parse.y

Terminate 'config' keyword array with a NULL element.
Reported by trondd at kagu-tsuchi ! com, thanks!
Delta File
+3 -2 sbin/iked/parse.y
+3 -2 1 file

OpenBSD — sys/arch/octeon/dev octdwctwo.c

Put the newline at the right place.
Delta File
+4 -3 sys/arch/octeon/dev/octdwctwo.c
+4 -3 1 file

OpenBSD — sys/arch/m88k/include mutex.h, sys/arch/m88k/m88k mutex.S genassym.cf

Rename mtx_cpu to mtx_owner for consistency with the other platforms.

OpenBSD — lib/libutil imsg-buffer.c imsg.c

bzero cmsgbuf before using it, silences valgrind warnings.

henning@ "sure"

OpenBSD — sys/arch/m88k/include atomic.h

Fix cast in atomic_swap_ptr()
Delta File
+2 -2 sys/arch/m88k/include/atomic.h
+2 -2 1 file

OpenBSD — usr.bin/lorder lorder.sh

Switch to standard, non-historical sort(1) and join(1) usage.  ok millert@
Delta File
+5 -5 usr.bin/lorder/lorder.sh
+5 -5 1 file

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

Correctly restore ipl in fpusave_proc() when we have to busy loop.
Delta File
+4 -2 sys/arch/alpha/alpha/machdep.c
+4 -2 1 file

OpenBSD — share/mk bsd.own.mk

Enable static pie on sparc; be sure to upgrade your compiler before your
next build (or wait for the snapshot to reach the mirrors)
Delta File
+2 -2 share/mk/bsd.own.mk
+2 -2 1 file

OpenBSD — lib/csu boot.h, lib/csu/sparc md_init.h

static pie support for sparc.
Delta File
+60 -2 lib/csu/sparc/md_init.h
+3 -2 lib/csu/boot.h
+63 -4 2 files

OpenBSD — gnu/gcc/gcc/config/sparc openbsd.h

Link static pie binaries against rcrt0.o

OpenBSD — libexec/ld.so/sparc archdep.h

Correctly handle relative-type relocations; very old ld.so bug which got
fixed everywhere but on sparc for some unknown reason (and did not cause
any havoc in real life).
Delta File
+2 -2 libexec/ld.so/sparc/archdep.h
+2 -2 1 file

OpenBSD — lib/libc/locale Makefile.inc

There are no ${LIBCSRCDIR}/arch/${MACHINE_CPU}/locale directories in
cvs. Remove the unused search path from Makefile.inc

"fine with me" stsp@
Delta File
+2 -2 lib/libc/locale/Makefile.inc
+2 -2 1 file

OpenBSD — usr.bin/calendar/calendars calendar.computer

vax-11/780 announced 1977, not 1978;
from john marshall, freebsd pr #200961

ok miod

OpenBSD — regress/usr.bin/ssh cert-hostkey.sh cert-userkey.sh, regress/usr.bin/ssh/unittests/sshkey test_sshkey.c

legacy v00 certificates are gone; adapt and don't try to test them;
"sure" markus@ dtucker@

OpenBSD — usr.bin/ssh sshkey.h

another SSH_RSA_MINIMUM_MODULUS_SIZE that needed cranking
Delta File
+2 -2 usr.bin/ssh/sshkey.h
+2 -2 1 file

OpenBSD — usr.bin/ssh ssh-keysign.c

add an XXX reminder for getting correct key paths from sshd_config
Delta File
+2 -1 usr.bin/ssh/ssh-keysign.c
+2 -1 1 file

OpenBSD — usr.bin/ssh sshd.8 ssh-keygen.1

refuse to generate or accept RSA keys smaller than 1024 bits;
feedback and ok dtucker@

OpenBSD — usr.bin/ssh ssh_config.5 sshd.c

turn off 1024 bit diffie-hellman-group1-sha1 key exchange method
(already off in server, this turns it off in the client by default too)
ok dtucker@

OpenBSD — usr.bin/ssh sshkey.c ssh-keygen.c

delete support for legacy v00 certificates; "sure" markus@ dtucker@
Delta File
+16 -92 usr.bin/ssh/sshkey.c
+17 -50 usr.bin/ssh/ssh-keygen.c
+16 -30 usr.bin/ssh/auth-options.c
+5 -5 usr.bin/ssh/krl.c
+2 -5 usr.bin/ssh/sshkey.h
+1 -5 usr.bin/ssh/sshd.c
+11 -17 6 files not shown
+68 -204 12 files

OpenBSD — sys/net if_ethersubr.c

most of the destinations for mbufs in ether_input are mpsafe except for
pipex and bridge. this puts KERNEL_LOCK/KERNEL_UNLOCK around the pipex
chunk till we can give it some mp love.

ok yasuoka@ mpi@
Delta File
+4 -1 sys/net/if_ethersubr.c
+4 -1 1 file