Displaying 1 50 of 380,972 commits (0.021s)

OpenBSD — usr.bin/tmux cmd-choose-tree.c cmd-display-panes.c

Add [template] to display-panes and choose-{buffer,client,tree} usage

OK nicm

OpenBSD — lib/libcrypto/ec ecp_smpl.c

Port OpenSSL commit 99540ec79491f59ed8b46b4edf130e17dc907f52 -- mitigation
for a timing vullnerability in ECDSA signature generation (CVE-2018-0735).

Note that the blinding that we introduced back in June for ECDSA and DSA
should mitigate this and related issues. This simply adds an additional
layer of protection.

discussed with jsing
Delta File
+4 -4 lib/libcrypto/ec/ecp_smpl.c
+4 -4 1 file

OpenBSD — sbin/pfctl parse.y

scrub opts dont set tos, so remove it from the scrub_opts struct

ok deraadt@
Delta File
+1 -2 sbin/pfctl/parse.y
+1 -2 1 file

OpenBSD — libexec/getty main.c pathnames.h

Theodore Wynnychenko discovered the gettytab "lo=path" feature didn't work
anymore with unveil wired to /usr/bin/login.  So let's parse gettytab a bit
earlier to learn which login path to unveil. Later in the loop gettytab is
re-parsed, if the login changes re-exec getty to reach the unveil from the top.
ok millert, also discussed with mestre
Delta File
+24 -9 libexec/getty/main.c
+2 -1 libexec/getty/pathnames.h
+26 -10 2 files

OpenBSD — sys/net if_gre.c

the variable holding the ip tos should be called tos, not ttl.

no functional change.
Delta File
+3 -3 sys/net/if_gre.c
+3 -3 1 file

OpenBSD — sys/net if_gif.c, sys/netinet ip_ecn.c ip_ipip.c

provide ip_tos_patch() for setting ip_tos and patching the ipv4 cksum.

previously the gif code would patch the tos field and not recalc
the cksum, which would cause ip input code to drop the packet due
to a cksum failure. the ipip code patched ip_tos and unconditionally
recalculated the cksum, making it correct, but also wiping out any
errors that may have been present before the recalculation. updating
the cksum rather than replacing it lets cksum failures still fire.

ip_tos_patch() is provided in the ecn code since it's because of ecn
propagation that we need to update the tos field. internally it
works like pf_patch_8 and pf_cksum_fixup, but since pf is optional
it rolls its own code. procter may fix that in the future...

ok claudio@

OpenBSD — sbin/ifconfig ifconfig.c

Warn on deprecated 'vlan' and 'vlandev' option usage

These were superseeded by 'vnetid' and 'parent' in june 2017 and will be
removed in the future.

"Looks right" deraadt, OK benno
Delta File
+7 -1 sbin/ifconfig/ifconfig.c
+7 -1 1 file

OpenBSD — gnu/lib/libreadline Makefile, lib/libcurses shlib_version

Record an inter-library dependency on libcurses in libedit and libreadline,
avoiding runtime failures on architectures using ld.lld. Also add a note to
libcurses shlib_version reminding about bumps (as done with libcrypto/libssl).

Thanks guenther@ for suggestions of tests involving library bumps and jca@
for doing these tests and hint about DPADD.

Looks good kettenis@, ok jca@

OpenBSD — sys/kern subr_extent.c

Revert previous, it breaks regress.
Delta File
+3 -3 sys/kern/subr_extent.c
+3 -3 1 file

OpenBSD — sys/kern subr_extent.c

Userland malloc(3) & free(3) take only one argument.
Delta File
+3 -3 sys/kern/subr_extent.c
+3 -3 1 file

OpenBSD — lib/libssl ssl_lib.c

Fix wrong sizeof argument by using 'uint16_t *', with minor nit from tb@,
instead of 'uint16_t'

Found with llvm's static analyzer, noticed that it was also already reported in
Coverity CID 155890 and to ensure this was correct also inspected OpenSSL's
equivalent code.

OK tb@ and jsing@
Delta File
+2 -2 lib/libssl/ssl_lib.c
+2 -2 1 file

OpenBSD — usr.sbin/bgpd config.c

Plug memory leak in host()'s error code path

OK claudio@
Delta File
+2 -1 usr.sbin/bgpd/config.c
+2 -1 1 file

OpenBSD — sys/dev/usb usb.c

free(9) sizes for configuration descriptors, missed in previous.
Delta File
+3 -3 sys/dev/usb/usb.c
+3 -3 1 file

OpenBSD — sys/net bridgectl.c if_bridge.c

Batch copyout(9)s in preparation for finer locking.

Tested by Hrvoje Popovski, inputs and ok visa@
Delta File
+69 -65 sys/net/bridgectl.c
+10 -20 sys/net/if_bridge.c
+79 -85 2 files

OpenBSD — sys/dev/usb ugen.c usb_subr.c

free(9) sizes for configuration descriptors.

ok tedu@, visa@
Delta File
+10 -11 sys/dev/usb/ugen.c
+3 -3 sys/dev/usb/usb_subr.c
+13 -14 2 files

OpenBSD — bin/mv mv.1

mv imitates, but no longer uses, cp and rm to cross filesystems.
Delta File
+3 -3 bin/mv/mv.1
+3 -3 1 file

OpenBSD — usr.bin/join join.c

Remove slurpit definition. Leftover from earlier cleanup by otto@.
Delta File
+1 -2 usr.bin/join/join.c
+1 -2 1 file

OpenBSD — usr.sbin/bgpd rde_filter.c bgpd.h

Remove an unneeded union wrapping the skipsteps pointer.
OK phessler@

OpenBSD — usr.sbin/bgpd rde_rib.c

Adjust comment.
Delta File
+2 -6 usr.sbin/bgpd/rde_rib.c
+2 -6 1 file

OpenBSD — usr.bin/sed main.c sed.1

Make sed's -i flag more compatible with what gsed does.
- Reset the hold-space in between files
- quit the editor as soon as a 'q' command is found
- Make sure the temp-file is written back to the original file if we quit
  the editor

temp-file not written back issue found by Time Chase.
Lots of feedback from millert@ and schwarze@
OK millert@

OpenBSD — sys/dev/pci/drm/radeon radeon_fb.c

Add back part of the changes to takeover the firmware framebuffer on
sparc64 lost in the update to linux 4.4.  Compile tested only.
Delta File
+23 -0 sys/dev/pci/drm/radeon/radeon_fb.c
+23 -0 1 file

OpenBSD — usr.bin/openssl s_client.c

didn't found -> didn't find.

From Edgar Pettijohn III
Delta File
+2 -2 usr.bin/openssl/s_client.c
+2 -2 1 file

OpenBSD — sys/dev/pci/drm/radeon radeon_fb.c

Setup radeondrm burner task.  Missed when updating to linux 4.4.
Fixes wsconsctl display.screen_off panic reported by Dmitry Murti.

OpenBSD — sys/net if_gif.c

remove the encapsulation headers before looking at the inner headers

it works less well when you look before the adj
Delta File
+5 -5 sys/net/if_gif.c
+5 -5 1 file

OpenBSD — sys/net if_gif.c

revert 1.121. i got confused between ecn on ingress and egress
Delta File
+5 -5 sys/net/if_gif.c
+5 -5 1 file

OpenBSD — lib/libssl ssl_sigalgs.c

In TLS1.2 we use evp_sha1 if we fall back this far, not evp_md5_sha1 as in 1.1
Makes connections to outlook.office365.com work
Delta File
+2 -2 lib/libssl/ssl_sigalgs.c
+2 -2 1 file

OpenBSD — sys/net if_gif.c

get ecn ingress args the right way round. again.
Delta File
+5 -5 sys/net/if_gif.c
+5 -5 1 file

OpenBSD — sys/net if_gre.c

use the txprio setting to populate the tos in keepalive packets.

the mbuf prio will still be set according to the llprio value, but the
tos on the packet may be forced to a specific number by txprio
Delta File
+6 -7 sys/net/if_gre.c
+6 -7 1 file

OpenBSD — sys/net if_gif.c if_gre.c

according to ip_ipip.c, rfc1853 says not to copy the ttl on decapsulation

rfc1853 is about IP in IP Tunneling. rfc2003 about IP Encapsulation
within IP agrees.
Delta File
+5 -18 sys/net/if_gif.c
+1 -15 sys/net/if_gre.c
+6 -33 2 files

OpenBSD — regress/usr.sbin/bgpd/config bgpd.conf.10.in bgpd.conf.10.ok

check various community combinations

OpenBSD — regress/sys/kern/sigio sigio_common.c

Add some coverage for the ioctl() interface.

OpenBSD — lib/libssl ssl_sigalgs.c

Temporary workaround for breakage seen in www.videolan.org with curve mismatch
Delta File
+4 -3 lib/libssl/ssl_sigalgs.c
+4 -3 1 file

OpenBSD — usr.bin/make suff.c

commit again the cleanup part that didn't break anything
and was ok'd millert@
Delta File
+6 -12 usr.bin/make/suff.c
+6 -12 1 file

OpenBSD — regress/usr.sbin/pkg_add Makefile

it's expected for pkg_add to exit 1 now, since it's missing one dependent
package it wants to update.
what matters is the list of installed files.
Delta File
+2 -2 regress/usr.sbin/pkg_add/Makefile
+2 -2 1 file

OpenBSD — share/man/man5 malloc.conf.5

knock out a useless sentence, and reword another to make it read more nicely;
ok otto
Delta File
+3 -4 share/man/man5/malloc.conf.5
+3 -4 1 file

OpenBSD — sbin/ping ping.c

Fix previous, which broke ping -T.

ok dlg@
Delta File
+2 -2 sbin/ping/ping.c
+2 -2 1 file

OpenBSD — regress/sys/kern/sigio sigio_common.c sigio_pipe.c

Add regress tests for pipe fcntl(fd, F_GETOWN).

OpenBSD — sys/kern sys_pipe.c

Fix fcntl(fd, F_GETOWN) with pipes. As a regression
of kern_descrip.c r1.177 and sys_pipe.c r1.82, the call always
returned an error.

OK jca@ anton@ mpi@
Delta File
+2 -2 sys/kern/sys_pipe.c
+2 -2 1 file

OpenBSD — distrib/sgi/iso Makefile

Fix a slip in previous. FFSSZ should reflect the "pa" disktab field,
not "pc", as is documented in the file. However, the value of FFSSZ
is not used anywhere so remove the variable.

Pointed out by miod@
Delta File
+1 -2 distrib/sgi/iso/Makefile
+1 -2 1 file

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

Initialize context property in alignment test handler function.
Delta File
+3 -1 usr.bin/tmux/screen-write.c
+3 -1 1 file

OpenBSD — usr.sbin/snmpd snmpe.c

Remove #if'ed 0 code around a broken pledge. Due to some ioctls and sysctls
pledge cannot be used, nevertheless since we now have unveil available we can
use it to guarantee that in this particular case the snmpe process cannot
access the filesystem at all, therefore close a big attack vector and achieve
a great level of protection even without being able to use pledge.

prodded by deraadt@
Delta File
+1 -9 usr.sbin/snmpd/snmpe.c
+1 -9 1 file

OpenBSD — usr.bin/ssh sftp.1

fix markup error (missing blank before delimiter);
from Mike Frysinger <vapier at gentoo dot org>
Delta File
+3 -3 usr.bin/ssh/sftp.1
+3 -3 1 file

OpenBSD — distrib/sgi/iso Makefile, etc/etc.sgi disktab

Grow sgi iso to make room for clang.

Cluebat and OK deraadt@

OpenBSD — gnu/usr.bin/binutils-2.17/binutils readelf.c, sys/sys exec_elf.h

Add GNU_HASH #defines; improve readelf output for SHT_GNU_HASH

ok naddy@ jca@

OpenBSD — regress/lib/libssl/key_schedule key_schedule.c

Just err if we can't create secrets

OpenBSD — lib/libssl tls13_key_schedule.c

NULL out mdctx to prevent possible double free introduced in version 1.4
Spotted by maestre@, ok tb@
Delta File
+2 -1 lib/libssl/tls13_key_schedule.c
+2 -1 1 file

OpenBSD — lib/libssl ssl_sigalgs.c

Fix pkey_ok to be less strange, and add cuve checks required for the EC ones
ok tb@
Delta File
+26 -9 lib/libssl/ssl_sigalgs.c
+26 -9 1 file

OpenBSD — sys/net if_gif.c

get the inner and outer tos values right for passing to ip_ecn_ingress
Delta File
+3 -3 sys/net/if_gif.c
+3 -3 1 file

OpenBSD — sys/net if_gre.c

add txprio support to gre, mgre, egre, nvgre, and eoip

for l3 interfaces (gre and mgre), allow txprio from the payload,
the mbuf, or a hardcoded value. for l2 interfaces (egre, ngre, and
eoip), get txprio from the mbuf or a hardcoded value.

ok claudio@
Delta File
+127 -5 sys/net/if_gre.c
+127 -5 1 file

OpenBSD — sys/net if_gif.c

add txprio setting support

gif encaps l3, so it can get a prio from the payload, as well as
from the mbuf itself, or a hardcoded value.

ok claudio@
Delta File
+31 -1 sys/net/if_gif.c
+31 -1 1 file