Displaying 1 50 of 175,105 commits (0.016s)

OpenBSD — share/man/man4 umb.4

Add Medion Mobile S4222

Remove deprecated Tn at the same time.

OK jmc@
Delta File
+5 -4 share/man/man4/umb.4
+5 -4 1 file

OpenBSD — usr.bin/doas doas.c

move a space to the correct spot
Delta File
+3 -3 usr.bin/doas/doas.c
+3 -3 1 file

OpenBSD — usr.sbin/pppd auth.c

use crypt_checkpass to simplify password checking logic.
Delta File
+3 -16 usr.sbin/pppd/auth.c
+3 -16 1 file

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

make use of former changes. If list is higher than display go thru more.

OpenBSD — sys/net pf_lb.c

The function pf_get_sport() did work for out rules only.  Make it
aware of the direction of the packet.  Now nat-to can be used by
in rules and together with divert-to.  Collisions with existing
states are found and produce a "NAT proxy port allocation failed"
OK henning@ mikeb@
Delta File
+17 -14 sys/net/pf_lb.c
+17 -14 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD State.pm AddCreateDelete.pm, usr.sbin/pkg_add/OpenBSD/ProgressMeter Term.pm

simplify the logic. no need for a separate hook when we can just specialize
fix a bug: integrate SIG{CONT} for re-checking window size.

the way it's currently written, first call to compute_playfield will
call itself once. But it makes for less code.

OpenBSD — usr.sbin/nsd configure config.h.in

Delta File
+118 -23 usr.sbin/nsd/configure
+25 -0 usr.sbin/nsd/config.h.in
+143 -23 2 files

OpenBSD — usr.sbin/nsd dbcreate.c nsd.h

Update to 4.1.10
Testing by millert@, sthen@ and me.
came up with the same diff & OK sthen@
Delta File
+353 -219 usr.sbin/nsd/dbcreate.c
+98 -27 usr.sbin/nsd/nsd.h
+43 -22 usr.sbin/nsd/acx_nlnetlabs.m4
+56 -4 usr.sbin/nsd/udbzone.c
+27 -15 usr.sbin/nsd/query.c
+36 -5 usr.sbin/nsd/configure.ac
+351 -63 32 files not shown
+964 -355 38 files

OpenBSD — sys/kern kern_timeout.c

Avoid multiple evaluation of macro arguments in softclock()

ok mikeb@ tedu@
Delta File
+9 -7 sys/kern/kern_timeout.c
+9 -7 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD State.pm AddCreateDelete.pm, usr.sbin/pkg_add/OpenBSD/ProgressMeter Term.pm

there's no reason for window size computation to be linked to the
ProgressMeter, so make it available from state.
- computation is lazy, so no runtime difference;
- don't bother setting a SIG{WINCH} on non-tty;
- progressmeter already has access to state;
- do an empty window_size_changed in base state, override it for
addcreatedelete to inform the progressmeter.

to be reused in dpb...

OpenBSD — sys/kern subr_log.c

As klog dropped message has no ifdef small kernel, sendsyslog
should not have it either.  While there bring some variables in
sync between both functions.
OK deraadt@
Delta File
+6 -9 sys/kern/subr_log.c
+6 -9 1 file

OpenBSD — sys/kern subr_log.c, sys/sys msgbuf.h

It is annoying that the dmesg buffer can overflow and loose messages
undetected during debugging.  To make clear what happens, count the
dropped bytes and write message buffer full to syslogd.  This also
helps to have a reliable log system.
OK deraadt@ millert@ tedu@
Delta File
+15 -1 sys/kern/subr_log.c
+2 -1 sys/sys/msgbuf.h
+17 -2 2 files

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

add fh variation of printing code. Systematically use it with STDOUT/STDERR
for classical functions.
Delta File
+31 -16 usr.sbin/pkg_add/OpenBSD/State.pm
+31 -16 1 file

OpenBSD — gnu/usr.bin/binutils-2.17/bfd elfxx-sparc.c

Use SYMBOL_CALLS_LOCAL() to determine whether we can drop relocations for a
symbol such that hidden symbols get handled properly.  Gets rid of the
spurious DT_TEXTREL entries seen with (typically) C++ code.

ok deraadt@, guenther@

OpenBSD — usr.sbin/smtpd smtp_session.c

move transaction-specific states from struct smtp_session to struct smtp_tx

ok gilles@
Delta File
+191 -150 usr.sbin/smtpd/smtp_session.c
+191 -150 1 file

OpenBSD — sys/netinet ip_output.c

when pf_test returns something but PF_PASS, set error to EACCES
instead of EHOSTUNREACH. On the latter, ip_forward can generate undesired
icmp errors - either pf generates those itself (block return), or there
shouldn't be any.
Bizarrely enough, ip_forward has EACCES handling with a comment specifically
pointing to packets blocked by pf, but the code in ip_output used EHOSTUNREACH
from day #1 on.
found & analyzed by Kristof Provost <kp at FreeBSD>, discussed at BSDcan
ok mpi millert
Delta File
+2 -2 sys/netinet/ip_output.c
+2 -2 1 file

OpenBSD — bin/pax pax.c

allow creation of devices or fifo without -p (as it is already allowed with -p)

diff from trondd at kagu-tsuchi com, enhanced by me for reordering promises

ok deraadt@
Delta File
+3 -3 bin/pax/pax.c
+3 -3 1 file

OpenBSD — usr.bin/ssh servconf.c

fix AuthenticationMethods during configuration re-parse;
reported by Juan Francisco Cantero Hurtado
Delta File
+4 -2 usr.bin/ssh/servconf.c
+4 -2 1 file

OpenBSD — sys/arch/armv7/imx if_fec.c

Fetch MAC address from FDT.

ok jsg@, patrick@
Delta File
+3 -56 sys/arch/armv7/imx/if_fec.c
+3 -56 1 file

OpenBSD — usr.sbin/unbound/doc Changelog, usr.sbin/unbound/iterator iterator.c iterator.h

backport r3782, fixing qname-minimisation with various broken DNS servers,
often found at CDNs.

- Use QTYPE=A for QNAME minimisation.
- Keep track of number of time-outs when performing QNAME minimisation.
  Stop minimising when number of time-outs for a QNAME/QTYPE pair is
  more than three.

OpenBSD — usr.sbin/unbound/daemon unbound.c, usr.sbin/unbound/doc Changelog

backport r3781, fix segfault in -h

OpenBSD — usr.sbin/unbound configure Makefile.in, usr.sbin/unbound/cachedb cachedb.c cachedb.h

update to unbound-1.5.9. (there will be a follow-up commit to cherrypick a
couple of post-1.5.9 patches).

tests from Mark Patruck, danj, matthieu, millert. reads ok to jung, ok florian.

OpenBSD — sys/net if_ppp.c

No modules thus no need for extra space for additional ppp compressions.

ok deraadt@ mikeb@
Delta File
+2 -3 sys/net/if_ppp.c
+2 -3 1 file

OpenBSD — regress/usr.sbin/syslogd Syslogd.pm args-ttymsg-delay.pl

Syslogd can send messages to a user, test what happens if the
terminal is blocking to receive messages.  Stop the fake user
terminal and look for a delayed write debug message from syslogd.
This makes the test more reliable.

OpenBSD — gnu/usr.bin/binutils-2.17/bfd elflink.c

Don't make the DT_TEXTREL warning fatal.  Hopefully this will be temporary,
but we first have to make sure that our tree is clean.

ok deraadt@

OpenBSD — sys/arch/octeon/dev cn30xxgmx.c octeon_iobus.c, sys/arch/octeon/include octeonvar.h

Add support for the second GMX interface on Octeon II. This enables
ports eth[0-3] on 8-port EdgeRouters. Currently, port eth0 maps to
network interface cnmac4, eth1 to cnmac5 etc.

ok dlg@, tested by martijn@

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

have a consistent exit code when looking for stuff

OpenBSD — sys/dev/pci if_iwm.c

In iwm(4), clear the in_assoc flag when going down. This flag affects behaviour
early during startup, e.g. where the BSSID for the MAC context is copied from.
Pointed out by Imre Vadasz.
Delta File
+5 -1 sys/dev/pci/if_iwm.c
+5 -1 1 file

OpenBSD — sys/dev/pci if_iwm.c

Remove code from iwm(4) which sends DTIM and TSF information to the
firmware based on information from the wireless stack. Letting the
firmware deal with these details by itself seems to work better.
Fixes association issues with 8260 hardware for me and Bryan Vyhmeister.
Also tested by jcs@.
Delta File
+4 -48 sys/dev/pci/if_iwm.c
+4 -48 1 file

OpenBSD — sys/dev/pci if_iwm.c

Make iwm(4) explicitly send multicast frames at the lowest rate, instead of
picking a rate from the firmware RS table. This matches what other drivers do.
Also, pass the correct Tx rate to BPF (tcpdump) for 5GHz, and don't loop over
CCK rates when building the Link-Quality command's RS table for 5GHz.
tested by myself and jcs@
Delta File
+9 -5 sys/dev/pci/if_iwm.c
+9 -5 1 file

OpenBSD — sbin/pfctl parse.y

Add curly braces that were missed in rev 1.651.  Add parenthesis to make the
condition in the if statement more readable while I'm there.

ok phessler@, benno@, florian@
Delta File
+3 -2 sbin/pfctl/parse.y
+3 -2 1 file

OpenBSD — sys/arch/amd64/amd64 identcpu.c, sys/arch/amd64/include specialreg.h

Identify UMIP feature, if available.

ok millert, kettenis, deraadt

OpenBSD — sys/arch/sparc/sparc intr.c

dont need a traliing \ on a line in c code, it's not a macro definition.

from patrick keshishian
Delta File
+2 -2 sys/arch/sparc/sparc/intr.c
+2 -2 1 file

OpenBSD — sys/net art.c rtable.c

rework art_walk so it will behave in an mpsafe world.

art_walk now explicitly takes the same lock used to serialise change
made via rtable_insert and _delete, so it can safely adjust the
refcnts on tables while it recurses into them. they need to still
exist when returning out of the recursion.

it uses srps to access nodes and drops the lock before calling the
callback function. this is because some callbacks sleep (eg, copyout
in the sysctl code that dumps an rtable to userland), which you
shouldnt hold a lock accross. other callbacks attempt to modify
the rtable (eg, marking routes as down when then interface theyre
on goes down), which tries to take the lock again, which probably
wont work in the future.

ok jmatthew@ mpi@
Delta File
+71 -45 sys/net/art.c
+5 -5 sys/net/rtable.c
+76 -50 2 files

OpenBSD — distrib/sets/lists/base md.amd64 md.armish, distrib/sets/lists/comp mi


OpenBSD — sys/arch/amd64/conf GENERIC, sys/dev/pv hyperv.c hypervreg.h

Main Hyper-V nexus driver, work in progress.

ok mlarkin, deraadt

OpenBSD — sys/arch/amd64/amd64 vector.S intr.c, sys/arch/amd64/include i82489var.h intrdefs.h

Setup Hyper-V hypercall page and an IDT vector.

ok mlarkin, kettenis, deraadt

OpenBSD — usr.bin/audioctl audioctl.c

use the same argument name for -f in usage() as in SYNOPSIS;
Delta File
+4 -4 usr.bin/audioctl/audioctl.c
+4 -4 1 file

OpenBSD — sbin/iked parse.y, sbin/ipsecctl parse.y

do not allow whitespace in macro names, i.e. "this is" = "a variable".
change this in all config parsers in our tree that support macros.
problem reported by sven falempin.

feedback from henning@, stsp@, deraadt@
ok florian@ mikeb@
Delta File
+9 -1 usr.sbin/ypldap/parse.y
+9 -1 sbin/ipsecctl/parse.y
+9 -1 sbin/pfctl/parse.y
+9 -1 usr.sbin/bgpd/parse.y
+9 -1 usr.sbin/dvmrpd/parse.y
+9 -1 usr.sbin/eigrpd/parse.y
+126 -14 14 files not shown
+180 -20 20 files

OpenBSD — usr.bin/audioctl audioctl.c

Make usage string match the man page.

suggested by jmc@
Delta File
+5 -2 usr.bin/audioctl/audioctl.c
+5 -2 1 file

OpenBSD — sys/net pf.c

To assist debugging TCP connection reuse with NAT, expand the
existing log in pf_state_key_attach() from the failed to the reuse
OK mikeb@
Delta File
+22 -22 sys/net/pf.c
+22 -22 1 file

OpenBSD — sys/arch/armv7/stand/efiboot exec.c

Remove code to generate uboot tags.  It hardcoded information for a single
board and a device tree is required by our kernel now.

ok patrick@, jsg@
Delta File
+1 -61 sys/arch/armv7/stand/efiboot/exec.c
+1 -61 1 file

OpenBSD — libexec/ld.so/alpha rtld_machine.c, libexec/ld.so/amd64 rtld_machine.c

When handling DT_TEXTREL only set the mapping to READ+WRITE, ignore
possible EXEC permission for the section, because the proper permission
is set late, and there are no thread concerns here.  Avoids W^X issues
in oddball cases.
ok guenther kettenis

OpenBSD — sys/arch/amd64/amd64 efifb.c wscons_machdep.c, sys/arch/amd64/include efifbvar.h

add support to efifb for drawing a console on a coreboot framebuffer
if coreboot's memory table is found, it has a framebuffer entry, and
there is no previously attached efi, vga, or serial console.

useful on chromebooks that have no legacy vga device to get an early
console before inteldrm(4) attaches or, for newer chipsets, a full
console and X with wsfb(4).

ok kettenis

OpenBSD — libexec/ld.so/hppa rtld_machine.c

Handle textrels like other architectures do.
ok kettenis guenther
Delta File
+22 -1 libexec/ld.so/hppa/rtld_machine.c
+22 -1 1 file

OpenBSD — sbin/pfctl parse.y

the manpage documents that af-to does not work on pass out rules, but
the pf.conf parser allows it, which leads a non working configuration
being loaded.
this changes the parser to make pass out .. af-to an error.

ok henning@ mikeb@
Delta File
+4 -1 sbin/pfctl/parse.y
+4 -1 1 file

OpenBSD — sys/arch/m88k/include signal.h, sys/arch/m88k/m88k sig_machdep.c subr.S

Add sc_cookie in sigcontext, as same as other ports.
From Miod Vallat, tested by him and me.

ok deraadt@

OpenBSD — usr.sbin/pkg_add/OpenBSD PkgCreate.pm Subst.pm

pass file name thru to Subst for better error messages.
reported by Adam Wolk

OpenBSD — usr.bin/audioctl audioctl.1

some formatting and comma tweaks; ok ratchov
Delta File
+6 -6 usr.bin/audioctl/audioctl.1
+6 -6 1 file

OpenBSD — sys/dev audio.c

fix typos in comments and spacing
Delta File
+4 -4 sys/dev/audio.c
+4 -4 1 file