Displaying 1 50 of 378,737 commits (0.020s)

OpenBSD — usr.sbin/rad frontend.c parse.y

Introduce MTU option.

The MTU option is used in Router Advertisement messages to ensure that
all nodes on a link use the same MTU value in those cases where the link
MTU is not well known.

Feedback (thank you!) and OK from florian@

OpenBSD — usr.sbin/rad parse.y

We need to track the auto prefix in ra_prefix_conf otherwise we can't
configure its options. Trying so lead to a crash.
Found the hard way by & OK sthen
Delta File
+4 -3 usr.sbin/rad/parse.y
+4 -3 1 file

OpenBSD — usr.sbin/smtpd newaliases.8

Now that aliases in smtpd.conf default to plain text files and not
db files we don't want to tell people to run makemap instead of
newaliases.  OK deraadt@ jmc@
Delta File
+28 -14 usr.sbin/smtpd/newaliases.8
+28 -14 1 file

OpenBSD — usr.sbin/bgpd rde.c util.c

Move the nlri_get_prefix functions to util.c so that bgpctl can use them too.

OpenBSD — usr.sbin/bgpd rde.c

Rename rde_update_get_prefix and friends to nlri_get_prefix. Will be moved
to util.c shortly so that bgpctl can use those functions too.
Delta File
+13 -13 usr.sbin/bgpd/rde.c
+13 -13 1 file

OpenBSD — usr.sbin/bgpd rde.c

Rename rde_update_extract_prefix to extract_prefix and make it static.
This is just an internal of the the rde_update_get_prefix functions.
Delta File
+6 -8 usr.sbin/bgpd/rde.c
+6 -8 1 file

OpenBSD — usr.sbin/rad parse.y rad.conf.5

Rename "resolver" to "nameserver" in the configuration file.

resolv.conf(5) and dhclient(8) are using the term nameserver for many
years, there is no good reason to be different here.

Pointed out by deraadt

OpenBSD — usr.sbin/bgpctl mrtparser.c bgpctl.c

Print the timestamp embedded in mrt files for update and status messages.
Also implemented the extended precision format so microseconds are printed
as well when available. The output is relative to the previous message and
follows what kdump does.
OK benno@

OpenBSD — usr.sbin/bgpctl bgpctl.c

There is no need to have bgpd running when running bgpctl show mrt.
The first thing the code actually does is closing the socket. Instead
move the code up to where currently the IRR filter code is.
Additionally change the late pledges to just stdio since nothing after
that needs rpath or wpath.
OK benno@
Delta File
+39 -32 usr.sbin/bgpctl/bgpctl.c
+39 -32 1 file

OpenBSD — sbin/pfctl pfctl.c

Stop checking table commands for `create'

Tiny left over from 2003 when it was removed. Twist the logic by checking
for `show' and `test' to make it even simpler.

OK sashan henning
Delta File
+2 -2 sbin/pfctl/pfctl.c
+2 -2 1 file

OpenBSD — regress/sys/kern/unveil syscalls.c

add regress test for "bypassunveil" where a path should be unveil'd by
specific pledge(2) calls

ok beck@
Delta File
+17 -1 regress/sys/kern/unveil/syscalls.c
+17 -1 1 file

OpenBSD — gnu/gcc/gcc c-pragma.c

inform that diagnostics in functions won't work, but don't error out
flatly.

this will help sparc64 compile code without needing to patch away recent
pragma diagnostic use.

problem found by landry@

okay kettenis@, guenther@
Delta File
+1 -1 gnu/gcc/gcc/c-pragma.c
+1 -1 1 file

OpenBSD — sys/kern kern_unveil.c kern_fork.c

Correctly copy across unveil's from parent to child process on fork().
Delta File
+36 -24 sys/kern/kern_unveil.c
+4 -13 sys/kern/kern_fork.c
+40 -37 2 files

OpenBSD — sys/dev/fdt com_fdt.c

match on marvell,armada-38x-uart linux >= 4.18-rc1 changed the compat
string from snps,dw-apb-uart in b7639b0b15ddd1a4686b0142e70dfb122eefc88f

ok patrick@
Delta File
+5 -2 sys/dev/fdt/com_fdt.c
+5 -2 1 file

OpenBSD — usr.bin/ssh sshd_config.5

slightly-clearer description for AuthenticationMethods - the lists
have comma-separated elements; bz#2663 from Hans Meier
Delta File
+3 -3 usr.bin/ssh/sshd_config.5
+3 -3 1 file

OpenBSD — usr.bin/ssh monitor.c monitor_wrap.c

remove unused zlib.h

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

Missed a 'ksi' -> '*ksip' change in previous commit
Delta File
+2 -2 sys/arch/hppa/hppa/machdep.c
+2 -2 1 file

OpenBSD — usr.bin/ssh sshconnect.c

Fix typo in comment.  From Alexandru Iacob via github.
Delta File
+2 -2 usr.bin/ssh/sshconnect.c
+2 -2 1 file

OpenBSD — sbin/ifconfig ifconfig.8

i found a nicer way to describe -join;
Delta File
+5 -4 sbin/ifconfig/ifconfig.8
+5 -4 1 file

OpenBSD — sys/arch/arm64/arm64 locore.S exception.S

Enable kernel profiling on arm64
sigcode() runs in user land context, so should not call mcount.
Without the symbol type on the exception entry functions, gprof
doesn't correctly identify the caller for exception entry symbols.
ok kettenis@

OpenBSD — sys/dev/usb if_urtwn.c

attach RTL8188EU under AboCom's vendor id. From FreeBSD via Mikhail <mp39590 at gmail>
Delta File
+2 -1 sys/dev/usb/if_urtwn.c
+2 -1 1 file

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

sync

OpenBSD — sys/dev/usb usbdevs

Add RTL8188EU under AboCom's vendor id. From FreeBSD via Mikhail <mp39590 at gmail>
Delta File
+2 -1 sys/dev/usb/usbdevs
+2 -1 1 file

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

Reuse implicit padding to export the port number of a USB device in
USB_DEVICEINFO.

devel/libusb1 requires this piece of information.

ok jcs@, mikeb@, jasper@, sthen@
Delta File
+2 -1 sys/dev/usb/usb.h
+2 -1 sys/dev/usb/usb_subr.c
+4 -2 2 files

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

Deprecate UsePrivilegedPort now that support for running ssh(1)
setuid has been removed, remove supporting code and clean up
references to it in the man pages

We have not shipped ssh(1) the setuid bit since 2002.  If ayone
really needs to make connections from a low port number this can
be implemented via a small setuid ProxyCommand.

ok markus@ jmc@ djm@
Delta File
+10 -14 usr.bin/ssh/sshconnect.c
+2 -21 usr.bin/ssh/ssh_config.5
+2 -10 usr.bin/ssh/readconf.c
+2 -7 usr.bin/ssh/ssh.c
+2 -3 usr.bin/ssh/ssh.1
+2 -3 usr.bin/ssh/scp.1
+5 -7 3 files not shown
+25 -65 9 files

OpenBSD — usr.sbin/ntpd ntp.c

revert previous, something isn't quite right as clients see ntpd
as unsynced. reported by naddy, also seen by me (I noticed because
monitoring-plugins check_ntp complained). ok claudio henning
Delta File
+1 -9 usr.sbin/ntpd/ntp.c
+1 -9 1 file

OpenBSD — sys/net80211 ieee80211_node.c

ieee80211_ess_is_better() returns 0 or 1, comparing > 1 is always
false so we always selected the first wifi available, not the best
one.

While here shuffle some deck chairs to make it clearer that anything is
better than nothing.

tweak & OK phessler
Delta File
+6 -6 sys/net80211/ieee80211_node.c
+6 -6 1 file

OpenBSD — regress/sys/kern/unveil syscalls.c

Add regress test for inheritance of unveil's across fork to children
Delta File
+33 -25 regress/sys/kern/unveil/syscalls.c
+33 -25 1 file

OpenBSD — lib/libm Makefile, lib/libm/noieee_src n_support.c n_log.c

Remove the unused leftovers of the 4.4BSD libm, which was only used
on non-IEEE platforms.  Since the VAX port was discontinued, all
our remaining architectures use IEEE floating point, as will any
future ones.
ok millert@ tb@

OpenBSD — usr.bin/join join.c

Convert from fgetln(3) to getline(3).  Based on a diff from Lauri Tirkkonen.
With a tweak and OK from schwarze@
Delta File
+16 -12 usr.bin/join/join.c
+16 -12 1 file

OpenBSD — sys/kern kern_sig.c, sys/sys signalvar.h

Revert the change that delivers process signals to any threads.  As
side effect pending signals specifically sent to the main thread
were handled by other threads.  This made gcj in textproc/pdftk
port build stall.
Noticed and tested by espie@.
Delta File
+6 -7 sys/sys/signalvar.h
+4 -7 sys/kern/kern_sig.c
+10 -14 2 files

OpenBSD — regress/lib/libcrypto/ocsp ocsp_test.c

Bob's license was missing, add it.

ok beck

OpenBSD — sbin/ping ping.c

replace manual zero initialization of various fields with memset;
makes the code shorter and easier to read.
suggested by & OK claudio
Delta File
+3 -7 sbin/ping/ping.c
+3 -7 1 file

OpenBSD — usr.sbin/rad rad.c

Stop our own router advertisements from looping back to us.
Pointed out by semarie@
Delta File
+6 -2 usr.sbin/rad/rad.c
+6 -2 1 file

OpenBSD — lib/libc/sys unveil.2

tidy up the flags section a little: supply a little more indent, and reduce
the amount of modal verbs going on;
Delta File
+16 -12 lib/libc/sys/unveil.2
+16 -12 1 file

OpenBSD — sbin/ping ping.c

When running flood ping with count packets (-c) set an alarm after
sending all packets otherwise ping will wait forever to see all
answers - which might not arrive on lossy links.

Problem pointed out by, input & OK claudio
Delta File
+20 -3 sbin/ping/ping.c
+20 -3 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD UpdateSet.pm

make the logic for deleting first slightly more obvious
in particular, there's nothing to try if we don't have older packages
Delta File
+12 -10 usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
+12 -10 1 file

OpenBSD — usr.bin/ssh ssh.c sshconnect.c, usr.bin/ssh/ssh-keysign Makefile

Remove support for running ssh(1) setuid and fatal if attempted.
Do not link uidwap.c into ssh any more.  Neuters UsePrivilegedPort,
which will be marked as deprecated shortly. ok markus@ djm@

OpenBSD — sys/miscfs/fuse fuse_vnops.c

Replace VATTR_NULL() with memset(3) in fusefs_getattr(). VATTR_NULL()
sets all members of struct vattr to VNOVAL (-1) instead of 0, which is
what is appropriate here. The VATTR_NULL() macro is intended for
initialising struct vattr when setting attributes.

ok mpi@
Delta File
+3 -3 sys/miscfs/fuse/fuse_vnops.c
+3 -3 1 file

OpenBSD — usr.sbin/rad frontend.c

Don't log_warn on normal conditions, it should be log_debug.
Pointed out by semarie@
Delta File
+2 -2 usr.sbin/rad/frontend.c
+2 -2 1 file

OpenBSD — sbin/route route.c

stop assuming prefix lengths, remove inet6_makenetandmask()

This removes any logic that implies IPv6 destination host addresses to be
/64 subnets so they are taken as is.
RFC 3587 deprecated this in 2003 and our manual page actually states:

  The route is assumed to be to a network if any of the following apply to
  destination:

  *   [...]
  *   it is an IPv6 address with a “/XX” suffix (where XX is the number of
      bits in the network portion of the address and is less than 128)
  *   [...]

  If destination is a valid IP address or host name, it is presumed to be a
  route to a host.

Stripping relevant code from `inet6_makenetandmask()' left the function as
dummy wrapper around `prefixlen()', so zap it completely.

Discussed with and positive feedback from many, OK benno henning
Delta File
+8 -50 sbin/route/route.c
+8 -50 1 file

OpenBSD — sys/dev/ic bwfm.c bwfmvar.h, sys/dev/sdmmc if_bwfm_sdio.c

TX packets, which can be either Ethernet or control packets, must be
sent in order.  Otherwise it is possible that the key is set before
we send out the EAPOL packet, or that packets are sent out before
the key is set.  Thus modify the SDIO backend to put both types into
the same internal TX queue, which will be sent asynchronously.

Discussed with bluhm@

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

When a key isn't in the first table, we need to try the same key again
not the any key. Also rename some labels. Fixes GitHub issue 1406
reeported by Mark Kelly.
Delta File
+16 -11 usr.bin/tmux/server-client.c
+16 -11 1 file

OpenBSD — regress/lib/libcrypto/ecdsa ecdsatest.c

some more style fixes
Delta File
+19 -19 regress/lib/libcrypto/ecdsa/ecdsatest.c
+19 -19 1 file

OpenBSD — regress/lib/libcrypto Makefile.inc, regress/lib/libcrypto/CA intermediate.cnf root.cnf

Add missing $OpenBSD$ markers.

OpenBSD — regress/lib/libcrypto/CA index.txt

remove unused, empty file
Delta File
+0 -0 regress/lib/libcrypto/CA/index.txt
+0 -0 1 file

OpenBSD — regress/lib/libcrypto/bn/addsub bnaddsub.c

Replace getprogname() to argv[0] in bnaddsub

ok tb@

OpenBSD — usr.sbin/syslogd syslogd.c syslog.conf.5

allow shell globs to match program and hostname selector tags via
fnmatch(3); ok sthen@ bluhm@

OpenBSD — usr.sbin/vmd loadfile_elf.c vm.c

vmd(8): fix vmctl -b option for i386 kernels.

ok pd@
Delta File
+41 -9 usr.sbin/vmd/loadfile_elf.c
+6 -6 usr.sbin/vmd/vm.c
+47 -15 2 files