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

OpenBSD — usr.bin/tmux tmux.1

tweak previous;
Delta File
+2 -3 usr.bin/tmux/tmux.1
+2 -3 1 file

OpenBSD — usr.bin/tmux cmd-if-shell.c

Expand client formats (like run-shell), from Stephen M Coakley.
Delta File
+2 -2 usr.bin/tmux/cmd-if-shell.c
+2 -2 1 file

OpenBSD — sys/arch/amd64/amd64 cpu.c, sys/arch/i386/i386 cpu.c

Call sched_init_cpu() just before booting secondary CPUs.

This prevent the scheduler from scheduling tasks to CPUs not beeing able
to execute them during the boot process.

ok visa@, kettenis@

OpenBSD — usr.bin/tmux tmux.1

Compact a small table into text.
Delta File
+9 -10 usr.bin/tmux/tmux.1
+9 -10 1 file

OpenBSD — usr.bin/tmux screen-redraw.c layout.c

Add option to include status text in the pane borders. If
pane-border-status is set to "top" or "bottom" (rather than "off"),
every pane has a permanent top or bottom border containing the text from
pane-border-format.

Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and
simplified by me.

OpenBSD — sys/dev diskmap.c, sys/kern vfs_lookup.c

Fix some gibbering horrors due to uninitialized struct nameidata's

1) turn NDINITAT into a function and make the macros point to it
with the later goal of getting rid of them.

2) Sweep the kernel for places where people make a struct nameidata manually
on the stack and fill in what they hope are the required fields and count
on prayer and clean living to always get them right. Instead use NDINIT
everywhere. NFS was especially bad for this and there have likely
been things lurking there for a while.

3) Add a couple of strategic KASSERT's to catch future offenders.

ok krw@ sthen@ deraadt@

OpenBSD — usr.bin/tmux cmd-queue.c tmux.1

Final parts of command hooks, add before- and after- hooks to each command.

OpenBSD — sys/dev softraid.c

Panic when attempting to execute a scsi command with no discipline
defined. Carrying on is pointless. And will currently cause a NULL
pointer deref anyway.

NULL deref found by mmcc@ and his friend clang.

ok deraadt@
Delta File
+4 -6 sys/dev/softraid.c
+4 -6 1 file

OpenBSD — usr.bin/compress gzopen.c

Need to set in/out bytes count for gz_write too.  Otherwise gzip
will think the resulting file was got larger during compression.
Delta File
+3 -1 usr.bin/compress/gzopen.c
+3 -1 1 file

OpenBSD — usr.bin/tmux window.c tmux.h

The backoff timer is causing no end of trouble with disconnected clients
stopping data in attached ones. So get rid of it and see how we get on
with just a high watermark on each pane.
Delta File
+4 -37 usr.bin/tmux/window.c
+3 -11 usr.bin/tmux/tmux.h
+7 -48 2 files

OpenBSD — usr.bin/tmux screen-write.c tmux.h

Make the grid_cell passed into screen_write_* const.
Delta File
+51 -51 usr.bin/tmux/screen-write.c
+6 -6 usr.bin/tmux/tmux.h
+57 -57 2 files

OpenBSD — etc daily, share/man/man8 daily.8

Delete invocation of mailq(1) that was present for historical reasons.
On a real mailserver, it's too noisy and may be a privacy concern.
On a machine that's not a mailserver, it's pointless.

Besides, Theo points out that running subsystems that potentially
parse untrusted user data daily, at a predictable time, as root
is not a very good idea in the first place.

Suggested by millert@; gilles@ matthieu@ deraadt@ sthen@ agree
Delta File
+1 -8 etc/daily
+2 -6 share/man/man8/daily.8
+3 -14 2 files

OpenBSD — sys/arch/alpha/conf Makefile.alpha, sys/arch/amd64/conf Makefile.amd64

Do not remove local symbols from the table.

ddb(4) can now see static functions.  That doesn't mean we should start
declaring functions as ``static'', however it helps for the few existing
exceptions.

ok deraadt@, kettenis@

OpenBSD — usr.sbin/sysmerge sysmerge.sh

In sysmerge interactive mode, check syntax of several important files after
merging (currently sshd_config, login.conf, pf.conf) to give some protection
against bad merges.  feedback/ok ajacoutot@
Delta File
+29 -1 usr.sbin/sysmerge/sysmerge.sh
+29 -1 1 file

OpenBSD — sys/netinet ip_output.c, sys/netinet6 ip6_output.c

Do not allow to change the routing table of a bound socket.  This
is not intended and will behave unexpectedly if the address is
already used in another domain.  It did not work anyway, as the PCB
ended in the wrong hash bucket after changing the rtable.  Fail
with EBUSY if the socket is already bound and rehash the PCB if its
rtable changes.
input claudio@; OK mpi@

OpenBSD — distrib/armv7/ramdisk list

libotermcap was removed from the miniroots in 2013.  Additionally, -lc
was added for all miniroots at the same time.

ok deraadt@ jsg@
Delta File
+2 -2 distrib/armv7/ramdisk/list
+2 -2 1 file

OpenBSD — distrib/sets/lists/base md.armv7, distrib/sets/lists/comp md.armv7

sync

ok deraadt@ jsg@

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

Fix keys parsing again to correctly accept Unicode when not prefixed
with Escape.
Delta File
+24 -34 usr.bin/tmux/tty-keys.c
+24 -34 1 file

OpenBSD — usr.bin/tmux utf8.c

OpenBSD wcwidth() is sensible and complete so if it returns -1 it means
that a character is not printable, so return to ignoring such
characters.
Delta File
+1 -9 usr.bin/tmux/utf8.c
+1 -9 1 file

OpenBSD — usr.sbin/smtpd smtpctl.c queue.c

fix "smtpctl show queue" reporting "invalid" envelope state.
runtime state is not serialized with the envelope, so add it to the imsg.

ok gilles@
Delta File
+55 -10 usr.sbin/smtpd/smtpctl.c
+8 -12 usr.sbin/smtpd/queue.c
+63 -22 2 files

OpenBSD — sys/net if_pflow.c if_pflog.c

Make if_output() return EAFNOSUPPORT instead of just dropping packets
and pretending the output succeeded. Packets are still dropped!

Idea from jsg@ following same change to bridge(4). ok mpi@
Delta File
+12 -2 sys/net/if_pflow.c
+3 -3 sys/net/if_pflog.c
+3 -3 sys/net/if_pfsync.c
+18 -8 3 files

OpenBSD — usr.bin/ssh ssh.c log.c

close ControlPersist background process stderr when not in
debug mode or when logging to a file or syslog.
bz#1988 ok dtucker
Delta File
+5 -3 usr.bin/ssh/ssh.c
+2 -2 usr.bin/ssh/log.c
+7 -5 2 files

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

sync
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@