Displaying 1 50 of 172,284 commits (0.013s)

OpenBSD — usr.sbin/ypldap ypldap.c

When a group contains a non-existent user, make the warning
message more helpful by mentioning the group name.
Joint work with Richie at UStA dot de.
OK jmatthew@
Delta File
+3 -4 usr.sbin/ypldap/ypldap.c
+3 -4 1 file

OpenBSD — share/man/man4 vlan.4

provide some examples.

encouragement and reminders from jmc@
Delta File
+31 -2 share/man/man4/vlan.4
+31 -2 1 file

OpenBSD — sys/kern kern_time.c

careful study of the holy scrolls reveals that for pselect (and ppoll)
oversized timespecs should be clamped, not rejected.
ok millert
Delta File
+4 -2 sys/kern/kern_time.c
+4 -2 1 file

OpenBSD — lib/libc/arch/hppa/gen Makefile.inc

Don't add setjmp.S twice.

OpenBSD — share/man/man4 bpf.4

Only one bpf device is required; pointed out by and ok jmc
Delta File
+6 -18 share/man/man4/bpf.4
+6 -18 1 file

OpenBSD — distrib/miniroot install.sub, etc MAKEDEV.common

Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is
unused for now, but I plan to convert all programs in base to use it in
a future diff. /dev/bpf0 is for compatibility with existing binaries
and is to be removed after a transition period.

ok rpe krw, for the installer part
"Let's see it hit the tree." deraadt
Delta File
+15 -15 etc/etc.i386/MAKEDEV
+14 -14 etc/etc.sparc64/MAKEDEV
+13 -13 etc/etc.macppc/MAKEDEV
+13 -13 etc/etc.hppa64/MAKEDEV
+13 -13 etc/etc.hppa/MAKEDEV
+13 -12 etc/etc.armish/MAKEDEV
+226 -250 47 files not shown
+307 -330 53 files

OpenBSD — distrib/sets/lists/base mi

Delta File
+3 -3 distrib/sets/lists/base/mi
+3 -3 1 file

OpenBSD — sbin/dhclient dhclient.c

If the attempt to broadcast a DCHPDISCOVER packet returns EAFNOSUPPORT,
don't bother to keep trying to get a lease. It ain't gonna happen. Just
print and error message and exit.
Delta File
+8 -4 sbin/dhclient/dhclient.c
+8 -4 1 file

OpenBSD — lib/libcrypto/crypto shlib_version, lib/libssl/ssl shlib_version

Crank majors for lib{crypto,ssl,tls} due to symbol removals, symbol
additions and functionality changes.

OpenBSD — usr.sbin/installboot i386_installboot.c i386_softraid.c

Plug a couple of leaks of input buffers.

Pointed out by David Carlier.

OpenBSD — usr.sbin/sysmerge sysmerge.sh

Comment sm_check_an_eg().
Delta File
+4 -3 usr.sbin/sysmerge/sysmerge.sh
+4 -3 1 file

OpenBSD — lib/libssl/src/crypto/ui ui_lib.c

don't go into an unbreakable infinite loop during operations such
as reading passwords. allow ^C to break.
the pain was mine, the fix is miod's.
Delta File
+2 -1 lib/libssl/src/crypto/ui/ui_lib.c
+2 -1 1 file

OpenBSD — lib/libssl/src/ssl t1_enc.c s3_lib.c

Implement the IETF ChaCha20-Poly1305 cipher suites.

Rename the existing ChaCha20-Poly1305 cipher suites with an "-OLD" suffix,
effectively replaces the original Google implementation. We continue to
support both the IETF and Google versions, however the existing names
now refer to the ciphers from draft-ietf-tls-chacha20-poly1305-04.

Feedback from doug@

OpenBSD — regress/lib/libcrypto/aead aeadtests.txt aeadtest.c

Update AEAD regress to match EVP_aead_chacha20_poly1305() changes.

OpenBSD — lib/libssl/src/crypto/evp e_chacha20poly1305.c evp.h, lib/libssl/src/ssl ssl_ciph.c

Rename EVP_aead_chacha20_poly1305() to EVP_aead_chacha20_poly1305_old()
and replace with EVP_aead_chacha20_poly1305_ietf(). The IETF version will
become the standard version.

Discussed with many.

OpenBSD — sys/net80211 ieee80211_input.c

Rework handling of frames which fall beyond the block ack window.

tb@ discovered that we were not following the 802.11-2012 standard correctly
for frames which fall within the range [winend, windend+winsize]. This could
cause valid frames to be dropped because we moved the window too far ahead.

with and ok tb@
Delta File
+47 -35 sys/net80211/ieee80211_input.c
+47 -35 1 file

OpenBSD — usr.bin/netstat net80211.c

Display block ack window slide counter.
with and ok tb@
Delta File
+2 -1 usr.bin/netstat/net80211.c
+2 -1 1 file

OpenBSD — sys/net80211 ieee80211_ioctl.h

Add a net80211 stat counter for block ack window "slides" as opposed
to "jumps". Will be used soon by refined block ack window handling.
netstat needs to be recompiled.
With and ok tb@
Delta File
+2 -1 sys/net80211/ieee80211_ioctl.h
+2 -1 1 file

OpenBSD — usr.bin/ssh sshconnect2.c

fix comment
Delta File
+3 -3 usr.bin/ssh/sshconnect2.c
+3 -3 1 file

OpenBSD — sys/kern vfs_lookup.c, sys/sys namei.h

1) Split pledge whitelist path handling out of pledge_namei() and into
   pledge_namei_wlpath(). Call the wlpath check only at the end of namei
   after the namei lookup would otherwise succeed.
2) Add support to namei to keep the path that was looked up, without the
   symlinks in it, and use that path for whitelist path lookups. This
   means that paths in pledge whitelists will need to always be the
   real path to an intended file to whitelist, without symlinks. Any
   symlinks to the "real" file will then be allowed
ok deraadt@ semarie@
Delta File
+118 -14 sys/kern/vfs_lookup.c
+8 -1 sys/sys/namei.h
+126 -15 2 files

OpenBSD — usr.bin/compress gzopen.c

Account for multiple streams in "gzip -l" output.  This fixes "gzip
-l" output when used on package files.  OK espie@ deraadt@
Delta File
+24 -11 usr.bin/compress/gzopen.c
+24 -11 1 file

OpenBSD — sys/net80211 ieee80211_input.c

When a frame which falls into the block ack window is received, clear
counters that keep track of consecutive frames falling outside the window.
Delta File
+3 -1 sys/net80211/ieee80211_input.c
+3 -1 1 file

OpenBSD — sbin/ifconfig ifconfig.c

Show 11n HT rate in ifconfig scan output. Needs a new kernel.
ok mpi@
Delta File
+13 -4 sbin/ifconfig/ifconfig.c
+13 -4 1 file

OpenBSD — sys/net80211 ieee80211_ioctl.c ieee80211_ioctl.h

Copy some ieee8021_node HT information to userspace.
ifconfig needs to be recompiled.
ok mpi@

OpenBSD — sys/kern vfs_biomem.c

fix logic bug in deciding if we have UVM_PLA_NOWAIT or not in buf_realloc_pages
noticed by miod@
Delta File
+2 -2 sys/kern/vfs_biomem.c
+2 -2 1 file

OpenBSD — lib/libc/arch/sparc64/gen setjmp.S

Don't use sigreturn(2) in longjmp(3).  Instead use a similar approach as in
_longjmp(3) but also restore the signal mask.

ok deraadt@
Delta File
+22 -59 lib/libc/arch/sparc64/gen/setjmp.S
+22 -59 1 file

OpenBSD — usr.bin/file/magdir sniffer

Partially sync magdir/sniffer from the file distribution on astron.com,
adds pcap-ng files and some more link-layer types for pcap. Not an exact
merge because they're using "use" which we don't currently support.
ok nicm@ jasper@
Delta File
+108 -3 usr.bin/file/magdir/sniffer
+108 -3 1 file

OpenBSD — sbin/fsck_ext2fs inode.c pass2.c

Fix fsck'ing. ext2fs_dinode grew extra bits to support ext4
and sizeof(struct ext2fs_dinode) had to be replaced with
EXT2_DINODE_SIZE() and such.

ok beck@

OpenBSD — lib/libedit search.c

Initialize the search buffer.
Otherwise, if you called ed-search-prev-history before doing any
history search but after entering at least one line into the history,
the buffer could get accessed uninitialized, potentially resulting
in a read buffer overrun.

Segfault reported in sftp(1) via djm@ by Alf Schlichting <A dot
Schlichting at lemarit dot com>, who also confirmed that the patch
fixes the issue for him.

OK martijn@ czarkoff@
Delta File
+2 -1 lib/libedit/search.c
+2 -1 1 file

OpenBSD — etc/rc.d sndiod rc.subr

Experiment on matching on the daemon_user is over. It needs more work.
portmap isn't happy with it as reported by naddy@
Delta File
+1 -13 etc/rc.d/sndiod
+4 -4 etc/rc.d/rc.subr
+5 -17 2 files

OpenBSD — lib/libc/arch/arm/string Makefile.inc

remove duplicate strrchr.c entry in SRCS
ok deraadt@

OpenBSD — sys/dev/pci if_iwn.c if_iwnreg.h

Add a better implementation of iwn's update_htprot callback which uses
the RXON_ASSOC command instead of clearing and restoring firmware state.
This matches the behaviour of the Linux driver more closely.

However, for now, keep this implementation disabled and do _nothing_ when
HT protection changes. For some unknown reason, updating HT protection
seems to be related to subsequent Tx errors and block ack session instablity.

We'll see how this approach works out in the wild. Please report any issues.

ok tb@
Delta File
+23 -80 sys/dev/pci/if_iwn.c
+17 -1 sys/dev/pci/if_iwnreg.h
+40 -81 2 files

OpenBSD — sys/net80211 ieee80211_node.h

Reduce block ack gap timeout to 300 msec in order to reduce Rx latency.
This value seems to be a sweet spot.
testing and ok tb@
Delta File
+2 -2 sys/net80211/ieee80211_node.h
+2 -2 1 file

OpenBSD — usr.bin/tmux window-choose.c

memmove() the right size when expanding tree.
Delta File
+2 -2 usr.bin/tmux/window-choose.c
+2 -2 1 file

OpenBSD — usr.bin/tmux server-client.c

After unlock, Update activity time after recalculate_sizes() so that the
session attached flag is correct.
Delta File
+4 -3 usr.bin/tmux/server-client.c
+4 -3 1 file

OpenBSD — sys/dev/pci if_xge.c if_xgereg.h

correctly set up byteswapping so this chip works on big endian archs

this, plus the m_adj fix before, makes xge work on sparc64

from marisa emerson
Delta File
+70 -17 sys/dev/pci/if_xge.c
+3 -1 sys/dev/pci/if_xgereg.h
+73 -18 2 files

OpenBSD — sys/netinet6 ip6_output.c ip6_forward.c

factor out ipsec into ip6_output_ipsec_{lookup,send}(); ok mpi@, naddy@

OpenBSD — usr.sbin/sysmerge sysmerge.8

sysmerge(8) is the bastard child of ksh and perl, so just call it a "utility".
Delta File
+3 -5 usr.sbin/sysmerge/sysmerge.8
+3 -5 1 file

OpenBSD — etc/rc.d rc.subr

Revert the revert and match on the daemon_user again.
We'll see if something else breaks but it's the right thing to do.

discussed with robert@
Delta File
+4 -4 etc/rc.d/rc.subr
+4 -4 1 file

OpenBSD — etc/rc.d sndiod

Override each and every rc.d functions to be able to match on the user.
Delta File
+13 -1 etc/rc.d/sndiod
+13 -1 1 file

OpenBSD — usr.bin/tmux tty-keys.c

Apply backspace check after working out the actual key, so that M-BSpace
can work.
Delta File
+10 -11 usr.bin/tmux/tty-keys.c
+10 -11 1 file

OpenBSD — usr.bin/tmux tty-keys.c

Try again with keys parsing, tidy up further and fix single Escape press.
Delta File
+49 -59 usr.bin/tmux/tty-keys.c
+49 -59 1 file

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

Expand and remove macro OCTEON_ETH_TAP.
Delta File
+5 -13 sys/arch/octeon/dev/if_cnmac.c
+5 -13 1 file

OpenBSD — distrib/miniroot install.sub

rc.firsttime -> rc.sysmerge for running sysmerge(8) after an upgrade.
While here, don't echo 'running sysmerge...' since that'd get us a mail each
time we upgrade even when nothing changed.

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

OpenBSD — etc rc

We want to run sysmerge(8) a bit earlier in the boot process so that it has a
chance to update the *default* configuration of the important daemons.
Factorize rc.firsttime into a run_upgrade_script() function which takes the
script suffix name as an argument.
i.e. run_upgrade_script sysmerge / run_upgrade_script firsttime

discussed with deraadt@
ok deraadt@ rpe@
Delta File
+16 -7 etc/rc
+16 -7 1 file

OpenBSD — sys/net route.c route.h, sys/netinet if_ether.c

Remove unused arguments from rt_checkgate().

Since the rtalloc(9) rewrite no route lookup is done in this function so
there's no need for a destination or a rtable ID.

OpenBSD — usr.bin/ssh sshd_config.5

cidr permitted for {allow,deny}users; from lars nooden
ok djm
Delta File
+6 -2 usr.bin/ssh/sshd_config.5
+6 -2 1 file

OpenBSD — sys/dev/pci if_xge.c

whitespace fixes, no functional change

largely done by marisa emerson
Delta File
+15 -15 sys/dev/pci/if_xge.c
+15 -15 1 file

OpenBSD — etc/rc.d rc.subr

Revert matching on the daemon user for now; it breaks sndiod handling which
does start as root but does not have a root master process and instead
changed its uid.

reported by deraadt@
Delta File
+4 -4 etc/rc.d/rc.subr
+4 -4 1 file

OpenBSD — sys/dev/pci if_xge.c

align rx buffers so ip packets will be aligned correctly for the stack

this matters more for strict alignment archs than the ones xge
currently runs on.

from marisa emerson
Delta File
+3 -1 sys/dev/pci/if_xge.c
+3 -1 1 file