Displaying 1 50 of 380,997 commits (0.022s)

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

document reprepare
Delta File
+7 -2 share/man/man5/bsd.port.mk.5
+7 -2 1 file

OpenBSD — sbin/ifconfig ifconfig.8

vlan uses txprio too
Delta File
+8 -1 sbin/ifconfig/ifconfig.8
+8 -1 1 file

OpenBSD — share/man/man4 vlan.4

switch from link0 and llprio to txprio for forcing dot1p prios
Delta File
+7 -10 share/man/man4/vlan.4
+7 -10 1 file

OpenBSD — sys/net if_vlan.c if_vlan_var.h

use txprio, not link0 and llprio, to set the dot1p field in the header.

if you're using llprio and link0, you'll need to update your config.

ok claudio@
Delta File
+22 -3 sys/net/if_vlan.c
+2 -2 sys/net/if_vlan_var.h
+24 -5 2 files

OpenBSD — bin/ksh main.c misc.c

Include "id" in pledge (for setres[ug]id, setgroups) if the shell is
privileged and remove it when dropping privileges (set +p), setting a
flag to make sure we don't do it again.

ok deraadt millert
Delta File
+10 -3 bin/ksh/main.c
+8 -2 bin/ksh/misc.c
+18 -5 2 files

OpenBSD — usr.bin/ssh sshconnect.c

redirect stderr of ProxyCommands to /dev/null when ssh is started with
ControlPersist; based on patch from Steffen Prohaska
Delta File
+32 -5 usr.bin/ssh/sshconnect.c
+32 -5 1 file

OpenBSD — usr.bin/ssh sshbuf.c

make grandparent-parent-child sshbuf chains robust to use-after-free
faults if the ancestors are freed before the descendents. Nothing in
OpenSSH uses this deallocation pattern. Reported by Jann Horn
Delta File
+10 -7 usr.bin/ssh/sshbuf.c
+10 -7 1 file

OpenBSD — libexec/ld.so resolve.c

Borrow an idea from DragonFly BSD: factor out the "does this symbol match what
we're looking up?" logic from _dl_find_symbol_obj() into matched_symbol(), so
that the former is just the "iterate across the hash" logic.

matched_symbol() returns zero on "not found", one on "found strong
symbol", and negative one on "found weak symbol".  The last of those lets
the caller give up on this object after finding a weak symbol, as there's
no point in continuing to search for a strong symbol in the same object.

ok mpi@
Delta File
+54 -38 libexec/ld.so/resolve.c
+54 -38 1 file

OpenBSD — usr.bin/ssh misc.c sftp.c

use path_absolute() for pathname checks; from Manoj Ampalam
Delta File
+8 -1 usr.bin/ssh/misc.c
+4 -4 usr.bin/ssh/sftp.c
+3 -3 usr.bin/ssh/auth.c
+2 -2 usr.bin/ssh/session.c
+2 -2 usr.bin/ssh/sshd.c
+2 -2 usr.bin/ssh/readconf.c
+4 -3 2 files not shown
+25 -17 8 files

OpenBSD — usr.bin/ssh scp.c

disallow empty incoming filename or ones that refer to the current
directory; based on report/patch from Harry Sintonen
Delta File
+3 -2 usr.bin/ssh/scp.c
+3 -2 1 file

OpenBSD — usr.bin/ssh sshconnect2.c

fix bug in client that was keeping a redundant ssh-agent socket around
for the life of the connection; bz#2912; reported by Simon Tatham;
ok dtucker@
Delta File
+5 -3 usr.bin/ssh/sshconnect2.c
+5 -3 1 file

OpenBSD — usr.bin/ssh monitor.c

fix bug in HostbasedAcceptedKeyTypes and PubkeyAcceptedKeyTypes options.
If only RSA-SHA2 siganture types were specified, then authentication would
always fail for RSA keys as the monitor checks only the base key (not the
signature algorithm) type against *AcceptedKeyTypes.
bz#2746; reported by Jakub Jelen; ok dtucker
Delta File
+34 -5 usr.bin/ssh/monitor.c
+34 -5 1 file

OpenBSD — lib/libssl ssl_sigalgs.c ssl_cert.c

Unbreak legacy ciphers for prior to 1.1 by setting having a legacy
sigalg for MD5_SHA1 and using it as the non sigalgs default
ok jsing@

OpenBSD — usr.bin/ssh sftp.c sftp.1

support a prefix of '@' to suppress echo of sftp batch commands;
bz#2926; ok dtucker@
Delta File
+31 -25 usr.bin/ssh/sftp.c
+9 -2 usr.bin/ssh/sftp.1
+40 -27 2 files

OpenBSD — lib/libfuse fuse.c fuse_private.h

Handle signals that get sent to any thread
from Rian Hunter
Delta File
+45 -39 lib/libfuse/fuse.c
+1 -2 lib/libfuse/fuse_private.h
+46 -41 2 files

OpenBSD — share/man/man4 gre.4 eoip.4

document txprio ioctl support
Delta File
+18 -2 share/man/man4/gre.4
+11 -2 share/man/man4/eoip.4
+29 -4 2 files

OpenBSD — sbin/ifconfig ifconfig.8

document txprio
Delta File
+12 -1 sbin/ifconfig/ifconfig.8
+12 -1 1 file

OpenBSD — sbin/ifconfig ifconfig.8

gre has a few siblings now
Delta File
+15 -3 sbin/ifconfig/ifconfig.8
+15 -3 1 file

OpenBSD — share/man/man4 gre.4

admin that eoip(4) comes from the gre pseudo device driver
Delta File
+8 -1 share/man/man4/gre.4
+8 -1 1 file

OpenBSD — share/man/man4 gre.4

spell an ioctl command better.

from markus@
Delta File
+3 -3 share/man/man4/gre.4
+3 -3 1 file

OpenBSD — sys/net if_vxlan.c

add support for txprio configuration
Delta File
+25 -3 sys/net/if_vxlan.c
+25 -3 1 file

OpenBSD — sys/arch/hppa/hppa fpemu.S

one more typo noticed while pasting miod a reply;
Delta File
+2 -2 sys/arch/hppa/hppa/fpemu.S
+2 -2 1 file

OpenBSD — libexec/ld.so resolve.c

Put all the symbol lookup parameters (except the object being searched) and
the return pointers into a structure and pass that to _dl_find_symbol_obj().
Set sl->sl_obj_out in _dl_find_symbol_obj() so that the callers don't
need to each record the object.

ok mpi@
Delta File
+60 -72 libexec/ld.so/resolve.c
+60 -72 1 file

OpenBSD — sys/arch/hppa/hppa fpemu.S

fix typos in comments; from miod
Delta File
+4 -4 sys/arch/hppa/hppa/fpemu.S
+4 -4 1 file

OpenBSD — sys/net pf.c

in the "pf: key search" debug message, add the direction. interface *and*
dir make debugging much easier than the if alone.
Delta File
+3 -2 sys/net/pf.c
+3 -2 1 file

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