openbsd
7 years agoremove XXX from the comments marking "holes" in the ioctls. I see very
henning [Tue, 30 May 2017 19:40:54 +0000 (19:40 +0000)]
remove XXX from the comments marking "holes" in the ioctls. I see very
very little value in these comments at all, but the XXX is just wrong and
in the way when looking for real XXXs. phessler agrees

7 years agoremove DIOCCLRRULECTRS here as well, pt out by sashan
henning [Tue, 30 May 2017 19:38:47 +0000 (19:38 +0000)]
remove DIOCCLRRULECTRS here as well, pt out by sashan

7 years agotweak previous;
jmc [Tue, 30 May 2017 19:38:17 +0000 (19:38 +0000)]
tweak previous;

7 years agog/c DIOCCLRRULECTRS
henning [Tue, 30 May 2017 19:37:54 +0000 (19:37 +0000)]
g/c DIOCCLRRULECTRS
kinda deprecated for a decade now, nothing in base uses it, nothing in
ports uses it (thanks sthen)
ok phessler sashan

7 years agoSVM: return EIO to vmd to stop the guest when it HLTs with interrupts
mlarkin [Tue, 30 May 2017 19:31:28 +0000 (19:31 +0000)]
SVM: return EIO to vmd to stop the guest when it HLTs with interrupts
disabled (no NMI support yet)

7 years agoSTYLE message about useless macros we don't want (Bt Tn Ud);
schwarze [Tue, 30 May 2017 19:29:31 +0000 (19:29 +0000)]
STYLE message about useless macros we don't want (Bt Tn Ud);
not a WARNING because they don't endanger portability

7 years agoMore minor virtio tweaks
sf [Tue, 30 May 2017 19:28:09 +0000 (19:28 +0000)]
More minor virtio tweaks

* add some comments about virtio_enqueue_trim
* include mutex.h explicitly
* make VIRTIO_DEBUG == 1 less verbose in vioblk

ok krw@

7 years agoSend a source link-layer address option with our solicitations.
florian [Tue, 30 May 2017 19:27:16 +0000 (19:27 +0000)]
Send a source link-layer address option with our solicitations.
Servers following RFC 7772 may then send us unicast router
advertisments and thus reduce multicast traffic which might
increase the battery life of other devices using the same shared
media.

7 years agoAdd missing KERNEL_LOCKs to a few error paths.
mlarkin [Tue, 30 May 2017 19:13:20 +0000 (19:13 +0000)]
Add missing KERNEL_LOCKs to a few error paths.

7 years agoAdd RemoteCommand option to specify a command in the ssh config
bluhm [Tue, 30 May 2017 18:58:37 +0000 (18:58 +0000)]
Add RemoteCommand option to specify a command in the ssh config
file instead of giving it on the client's command line.  This command
will be executed on the remote host.  The feature allows to automate
tasks using ssh config.
OK markus@

7 years agoHeader sys/scanio.h has been deleted, do not include it here.
bluhm [Tue, 30 May 2017 18:37:19 +0000 (18:37 +0000)]
Header sys/scanio.h has been deleted, do not include it here.

7 years agowhitespace encountered during review
deraadt [Tue, 30 May 2017 18:18:08 +0000 (18:18 +0000)]
whitespace encountered during review

7 years agoremove extended communities that have the transitive bit set from
benno [Tue, 30 May 2017 18:08:15 +0000 (18:08 +0000)]
remove extended communities that have the transitive bit set from
routes announced to an ebgp peer (ref. rfc4360). While here remove the
pratial flag from extended and large communities.
ok claudio@

7 years agosplit vioblk read/write functions into start and finish as prep for
tedu [Tue, 30 May 2017 17:56:47 +0000 (17:56 +0000)]
split vioblk read/write functions into start and finish as prep for
async io operations. ok mlarkin

7 years agoRemove never used ifdefs, define FATAL macro properly and define function
yasuoka [Tue, 30 May 2017 17:52:05 +0000 (17:52 +0000)]
Remove never used ifdefs, define FATAL macro properly and define function
parameters in modern way.

7 years agovarious mdoc(7) fixes, triggered by a smaller diff from Michael Reed on tech@
schwarze [Tue, 30 May 2017 17:50:08 +0000 (17:50 +0000)]
various mdoc(7) fixes, triggered by a smaller diff from Michael Reed on tech@

7 years agoFPU context save/restore for SVM in vmm(4), matches a previous diff
mlarkin [Tue, 30 May 2017 17:49:47 +0000 (17:49 +0000)]
FPU context save/restore for SVM in vmm(4), matches a previous diff
from a few weeks ago that did the same for Intel/VMX.

ok deraadt

7 years agoReplace nifty DBGPRINT() with a more familiar DPRINTF() and adjust
krw [Tue, 30 May 2017 17:47:11 +0000 (17:47 +0000)]
Replace nifty DBGPRINT() with a more familiar DPRINTF() and adjust
the formats to add in the __func__ and "\n" being magically added by
DBGPRINT(). Fixes a few botches by certain devs who assumed DBGPRINT()
must be just like DPRINTF.

ok sf@ reyk@ on earlier version

7 years agoDon't mention the operator file -- it was moved to the attic.
tb [Tue, 30 May 2017 17:28:03 +0000 (17:28 +0000)]
Don't mention the operator file -- it was moved to the attic.

From Michael Reed, thanks.

7 years agoStop using __P macro.
yasuoka [Tue, 30 May 2017 17:22:00 +0000 (17:22 +0000)]
Stop using __P macro.

7 years agoFix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]"
schwarze [Tue, 30 May 2017 17:15:06 +0000 (17:15 +0000)]
Fix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]"
is funny, but not useful, so say .Nm Op Fl \&Dx as required.

7 years agogetrlimit is now allowed by "stdio"
deraadt [Tue, 30 May 2017 16:46:04 +0000 (16:46 +0000)]
getrlimit is now allowed by "stdio"

7 years agofix formatting of intermediate punctuation in .Lk
schwarze [Tue, 30 May 2017 16:31:25 +0000 (16:31 +0000)]
fix formatting of intermediate punctuation in .Lk

7 years agoDon't call TAILQ_REMOVE twice. This caused radiusd crash if it has a
yasuoka [Tue, 30 May 2017 16:30:22 +0000 (16:30 +0000)]
Don't call TAILQ_REMOVE twice.  This caused radiusd crash if it has a
pending request when it stops.

7 years agoImprove the new ieee80211_{min,max}_rates() APIs and fix regressions.
stsp [Tue, 30 May 2017 16:21:55 +0000 (16:21 +0000)]
Improve the new ieee80211_{min,max}_rates() APIs and fix regressions.

Instead of returning an index into ni_rates, return the RVAL of the
basic rate we want to use. This allows a driver to unambiguously map
the basic rate to the corresponding hardware-specific rate value, and
reduces the possibility of bugs where indices are used with arrays
they weren't intended for.

Adjust iwn(4) accordingly, and use the lowest instead of the highest
basic rate in iwn_tx() to cope better in noisy environments.

Fixes association problems on 5GHz reported by tb@

7 years agoMacro argument quoting does not prevent recognition of punctuation
schwarze [Tue, 30 May 2017 16:21:07 +0000 (16:21 +0000)]
Macro argument quoting does not prevent recognition of punctuation
and of called macros.

This bug affects almost all macros, and fixing it simplifies the
code.  It is amazing that the bogus ARGS_QWORD feature got implemented
in the first place, and then carrier along for more than eight years
without anybody ever noticing that it was pointless.

Reported by Leah Neukirchen <leah at vuxu dot org>, found on Void Linux.

7 years agosizes for free()
deraadt [Tue, 30 May 2017 16:16:47 +0000 (16:16 +0000)]
sizes for free()

7 years agoadd sizes to free() calls
deraadt [Tue, 30 May 2017 16:07:22 +0000 (16:07 +0000)]
add sizes to free() calls

7 years agodelete default route from FIB when we receive advertisement with
florian [Tue, 30 May 2017 15:57:12 +0000 (15:57 +0000)]
delete default route from FIB when we receive advertisement with
router lifetime of 0

7 years agodelete default route from FIB when it expires
florian [Tue, 30 May 2017 15:39:49 +0000 (15:39 +0000)]
delete default route from FIB when it expires

7 years agoKill db_sym_t.
mpi [Tue, 30 May 2017 15:39:04 +0000 (15:39 +0000)]
Kill db_sym_t.

ok deraadt@, kettenis@, jasper@

7 years agoOrganize iked parser regress Makefile similar to mandoc dbm_dump.
bluhm [Tue, 30 May 2017 15:36:13 +0000 (15:36 +0000)]
Organize iked parser regress Makefile similar to mandoc dbm_dump.
When object files from other parts of the tree are needed, build
them there and symlink them into the regress obj directory.
OK markus@

7 years agousage and order tweaks from jmc
tedu [Tue, 30 May 2017 15:29:53 +0000 (15:29 +0000)]
usage and order tweaks from jmc

7 years agoSupport for SMAP is pretty small, so don't exclude it from the RAMDISKS.
deraadt [Tue, 30 May 2017 15:11:32 +0000 (15:11 +0000)]
Support for SMAP is pretty small, so don't exclude it from the RAMDISKS.
ok jsg visa

7 years agostop reacharound from w(1) to ps(1); no functional change;
schwarze [Tue, 30 May 2017 15:10:48 +0000 (15:10 +0000)]
stop reacharound from w(1) to ps(1); no functional change;
diff from bcallah@; OK tedu@ deraadt@

7 years agoid -R: make current rdomain more easily accessible to the shell
tedu [Tue, 30 May 2017 15:07:01 +0000 (15:07 +0000)]
id -R: make current rdomain more easily accessible to the shell
ok benno deraadt

7 years agoRemove FILES section now that /usr/share/misc/ascii is no more.
millert [Tue, 30 May 2017 15:06:00 +0000 (15:06 +0000)]
Remove FILES section now that /usr/share/misc/ascii is no more.
Noted by jmc@

7 years agogetrtable() is now permitted in "stdio". It carries no risk factors.
deraadt [Tue, 30 May 2017 15:04:45 +0000 (15:04 +0000)]
getrtable() is now permitted in "stdio".  It carries no risk factors.

7 years agoBuild amd64 bootstrap with -ffreestanding.
naddy [Tue, 30 May 2017 15:02:22 +0000 (15:02 +0000)]
Build amd64 bootstrap with -ffreestanding.
"totally makes sense" kettenis@
ok deraadt@

7 years agono need to pass the slaacd_iface around, the proposal has the if_index
florian [Tue, 30 May 2017 14:56:34 +0000 (14:56 +0000)]
no need to pass the slaacd_iface around, the proposal has the if_index

7 years agoDon't fall back to heapsort() if we would otherwise switch to
millert [Tue, 30 May 2017 14:54:09 +0000 (14:54 +0000)]
Don't fall back to heapsort() if we would otherwise switch to
insertion sort (when the number of elements is < 7).

7 years agoRemove /usr/share/misc/ascii since we have ascii(7).
millert [Tue, 30 May 2017 14:52:37 +0000 (14:52 +0000)]
Remove /usr/share/misc/ascii since we have ascii(7).
OK schwarze@ deraadt@ sthen@

7 years agofix previous; actually free the memory
florian [Tue, 30 May 2017 14:45:22 +0000 (14:45 +0000)]
fix previous; actually free the memory

7 years agoswitch auth2 to ssh_dispatch API; ok djm@
markus [Tue, 30 May 2017 14:29:59 +0000 (14:29 +0000)]
switch auth2 to ssh_dispatch API; ok djm@

7 years agoswitch auth2-none.c to modern APIs; ok djm@
markus [Tue, 30 May 2017 14:27:22 +0000 (14:27 +0000)]
switch auth2-none.c to modern APIs; ok djm@

7 years agoswitch auth2-passwd.c to modern APIs; ok djm@
markus [Tue, 30 May 2017 14:26:49 +0000 (14:26 +0000)]
switch auth2-passwd.c to modern APIs; ok djm@

7 years agoswitch auth2-hostbased.c to modern APIs; ok djm@
markus [Tue, 30 May 2017 14:25:42 +0000 (14:25 +0000)]
switch auth2-hostbased.c to modern APIs; ok djm@

7 years agoprotocol handlers all get struct ssh passed; ok djm@
markus [Tue, 30 May 2017 14:23:52 +0000 (14:23 +0000)]
protocol handlers all get struct ssh passed; ok djm@

7 years agoRemove default router proposals and address_proposals
florian [Tue, 30 May 2017 14:23:10 +0000 (14:23 +0000)]
Remove default router proposals and address_proposals
when their lifetime reaches zero.

7 years agoUpdate default router states; pointed out by naddy
florian [Tue, 30 May 2017 14:21:33 +0000 (14:21 +0000)]
Update default router states; pointed out by naddy

7 years agossh: pass struct ssh to auth functions, too; ok djm@
markus [Tue, 30 May 2017 14:19:15 +0000 (14:19 +0000)]
ssh: pass struct ssh to auth functions, too; ok djm@

7 years agosshd: pass struct ssh to auth functions; ok djm@
markus [Tue, 30 May 2017 14:18:15 +0000 (14:18 +0000)]
sshd: pass struct ssh to auth functions; ok djm@

7 years agoremove unused wrapper functions from key.[ch]; ok djm@
markus [Tue, 30 May 2017 14:16:41 +0000 (14:16 +0000)]
remove unused wrapper functions from key.[ch]; ok djm@

7 years agosshkey_new() might return NULL (pkcs#11 code only); ok djm@
markus [Tue, 30 May 2017 14:15:17 +0000 (14:15 +0000)]
sshkey_new() might return NULL (pkcs#11 code only); ok djm@

7 years agoswitch sshconnect.c to modern APIs; ok djm@
markus [Tue, 30 May 2017 14:13:40 +0000 (14:13 +0000)]
switch sshconnect.c to modern APIs; ok djm@

7 years agoswitch auth2-pubkey.c to modern APIs; with & ok djm@
markus [Tue, 30 May 2017 14:10:53 +0000 (14:10 +0000)]
switch auth2-pubkey.c to modern APIs; with & ok djm@

7 years agoRemove comments about implementing FIS-based switching with port multipliers,
jmatthew [Tue, 30 May 2017 14:04:02 +0000 (14:04 +0000)]
Remove comments about implementing FIS-based switching with port multipliers,
which we can safely assume isn't going to happen now.  No code changes.

7 years agowaive signature check waving
tb [Tue, 30 May 2017 13:56:07 +0000 (13:56 +0000)]
waive signature check waving

ok jmc espie

7 years agosync
fcambus [Tue, 30 May 2017 13:16:09 +0000 (13:16 +0000)]
sync

7 years agoRemove qvss8x15, vt220l8x8, and vt220l8x10 fonts.
fcambus [Tue, 30 May 2017 13:14:44 +0000 (13:14 +0000)]
Remove qvss8x15, vt220l8x8, and vt220l8x10 fonts.

Those fonts are not compiled in by default, and are smaller than the
smallest font (bold8x16_iso1) we currently include.

OK mpi@, deraadt@

7 years agoincrease vmd(8) virtio queue size from 64 to 128. Also fix an old
mlarkin [Tue, 30 May 2017 13:13:47 +0000 (13:13 +0000)]
increase vmd(8) virtio queue size from 64 to 128. Also fix an old
copypaste bug that didn't hurt us as long as all the queue sizes were
the same, which was the case up to now.

suggested by sf@, ok krw@

7 years agoThe capability error codes never made it into a standard and now error
akfaew [Tue, 30 May 2017 12:52:59 +0000 (12:52 +0000)]
The capability error codes never made it into a standard and now error
code 7 is for enhanced route refresh.

OK claudio@ phessler@

7 years agoprint more useful information when an error is returned from uvm_fault
mlarkin [Tue, 30 May 2017 12:48:01 +0000 (12:48 +0000)]
print more useful information when an error is returned from uvm_fault
when processing NPT/EPT violations

7 years agoStatically allocate resource to requests, and only create requests
krw [Tue, 30 May 2017 12:47:47 +0000 (12:47 +0000)]
Statically allocate resource to requests, and only create requests
that there will be resources for.

Protect request list with a mutex.

Makes everything much more scsi-like. Fewer splbio() dances.  Uses
less memory and eliminates superfluous freeing and acquiring of the
same resources over and over.

ok sf@

7 years agoAdding multipath route support to ospf6d. Almost copied from ospfd.
friehm [Tue, 30 May 2017 12:42:31 +0000 (12:42 +0000)]
Adding multipath route support to ospf6d. Almost copied from ospfd.

OK bluhm@

7 years agomove some data tables out of .text and into .rodata where they belong
mlarkin [Tue, 30 May 2017 12:41:55 +0000 (12:41 +0000)]
move some data tables out of .text and into .rodata where they belong

ok deraadt

7 years agotweak previous; ok florian
jmc [Tue, 30 May 2017 12:39:33 +0000 (12:39 +0000)]
tweak previous; ok florian

7 years agofix a jumbled conditional clang warns about; ok florian@
naddy [Tue, 30 May 2017 12:38:36 +0000 (12:38 +0000)]
fix a jumbled conditional clang warns about; ok florian@

7 years agotweak previous;
jmc [Tue, 30 May 2017 12:24:43 +0000 (12:24 +0000)]
tweak previous;

7 years agoremove an extra .Ed;
jmc [Tue, 30 May 2017 12:17:17 +0000 (12:17 +0000)]
remove an extra .Ed;

7 years agotweak previous; ok bluhm
jmc [Tue, 30 May 2017 12:14:38 +0000 (12:14 +0000)]
tweak previous; ok bluhm

7 years agofix a comment
henning [Tue, 30 May 2017 12:13:04 +0000 (12:13 +0000)]
fix a comment

7 years agoCarp balancing ip does not work since there is a mac filter in
friehm [Tue, 30 May 2017 12:09:27 +0000 (12:09 +0000)]
Carp balancing ip does not work since there is a mac filter in
ether_input(). Now we use mbuf tags instead of modifying the MAC
address.

ok mpi@

7 years agoIntroduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the
tb [Tue, 30 May 2017 12:04:26 +0000 (12:04 +0000)]
Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the
reordering of libraries by rc(8). This way machines with very slow disk I/O
have a chance of booting within reasonable time now that libcrypto is also
randomized.

Discussed with various;
input & ok from deraadt ajacoutot

7 years agoLink iked test to build so that obj directories are created.
bluhm [Tue, 30 May 2017 12:03:11 +0000 (12:03 +0000)]
Link iked test to build so that obj directories are created.

7 years agoRemove the .INTERRUPT target, it prevented to terminate the test
bluhm [Tue, 30 May 2017 11:57:59 +0000 (11:57 +0000)]
Remove the .INTERRUPT target, it prevented to terminate the test
with Ctrl-C in some situations.

7 years agovirtio: Put entries in freelist in reverse order
sf [Tue, 30 May 2017 11:02:39 +0000 (11:02 +0000)]
virtio: Put entries in freelist in reverse order

This avoids breaking krw@'s ongoing work on improving virtio_enqueue_trim().

7 years agoUse ieee80211_{min,max}_basic_rate() in iwn(4).
stsp [Tue, 30 May 2017 11:01:38 +0000 (11:01 +0000)]
Use ieee80211_{min,max}_basic_rate() in iwn(4).
ok mpi@ phessler@

7 years agoIntroduce ieee80211_min_basic_rate() and ieee80211_max_basic_rate().
stsp [Tue, 30 May 2017 11:00:38 +0000 (11:00 +0000)]
Introduce ieee80211_min_basic_rate() and ieee80211_max_basic_rate().

These helpers can be used by drivers to improve compatibility with APs
that disable some mandatory PHY rates in the basic rate set.

For instance, many of our drivers hard-code 11b rates on 2 Ghz and run
into problems when APs disable them. Since 11b rates are being disabled
by default by some vendors, hardcoding them is not a good idea anymore.

ok mpi@ phessler@

7 years agoAlways set the link state DOWN once we enter ieee80211_newstate(), regardless
stsp [Tue, 30 May 2017 10:50:33 +0000 (10:50 +0000)]
Always set the link state DOWN once we enter ieee80211_newstate(), regardless
of whether the wifi interface happens to be leaving RUN state. The interface
is never usable during state transitions so setting the link DOWN is the only
reasonable option when any transition is triggered.

Fixes a problem where, at boot time, the link state of wifi interfaces was
reported to userland as UNKNOWN (which, curiously, has value 0). dhclient's
link detection logic was recently changed from ifmedia to getifaddrs which
exposed the UNKOWN link state. Since dhclient assumes an UNKNOWN link state
means UP it would start trying to negotiate a lease too early during boot.

Problem reported by tb@
ok krw@

7 years agoext2fs: Mark superblock as not modified when written
sf [Tue, 30 May 2017 10:32:53 +0000 (10:32 +0000)]
ext2fs: Mark superblock as not modified when written

I have seen spurious "file system not clean; please fsck(8)" warnings
during "mount -ur". Set e2fs_fmod = 0 when writing the superblock (as
ffs does).

"Makes sense" deraadt@

7 years agoreduce lies
florian [Tue, 30 May 2017 10:24:05 +0000 (10:24 +0000)]
reduce lies

7 years agosync
fcambus [Tue, 30 May 2017 10:20:55 +0000 (10:20 +0000)]
sync

7 years agoRemove lucida16x29.h and omron12x20 fonts.
fcambus [Tue, 30 May 2017 10:19:22 +0000 (10:19 +0000)]
Remove lucida16x29.h and omron12x20 fonts.

- lucida16x29 is a bad conversion from a truetype font, it is too bold
which makes it unreadable.
- omron12x20 is a serif font, and is very difficult to read due to
inconsistencies in character spacing, alignement, and width.

Moreover, both fonts only have 96 glyphs.

No objection from mlarkin@

OK mpi@, jcs@

7 years agoEnable more error codes for BGP. These were commited some time ago, but
akfaew [Tue, 30 May 2017 09:40:08 +0000 (09:40 +0000)]
Enable more error codes for BGP. These were commited some time ago, but
never enabled. Also add error codes for FSM.

With input from Job Snijders.

OK phessler@ (previous version), claudio@, deraadt@

7 years agoTeach ypldap to use tls when connecting to ldap servers.
jmatthew [Tue, 30 May 2017 09:33:31 +0000 (09:33 +0000)]
Teach ypldap to use tls when connecting to ldap servers.
libtls help from jsing@, linker help from deraadt@

7 years agoKeep ipv6_input() definition inside _KERNEL.
mpi [Tue, 30 May 2017 09:10:49 +0000 (09:10 +0000)]
Keep ipv6_input() definition inside _KERNEL.

Unbreak userland, found the hardway by deraadt@

7 years agoEnable slaacd(8) by default and disable router solicitation and
florian [Tue, 30 May 2017 08:58:34 +0000 (08:58 +0000)]
Enable slaacd(8) by default and disable router solicitation and
advertisement processing in the kernel.
Go for it!!! deraadt@
additional encouragement to push forward from at least mpi and henning
special thanks to naddy for being an early adopter and finding bugs.

7 years agoswitch from Key typedef with struct sshkey; ok djm@
markus [Tue, 30 May 2017 08:52:19 +0000 (08:52 +0000)]
switch from Key typedef with struct sshkey; ok djm@

7 years agoremove ssh1 references; ok djm@
markus [Tue, 30 May 2017 08:49:58 +0000 (08:49 +0000)]
remove ssh1 references; ok djm@

7 years agorevise sshkey_load_public(): remove ssh1 related comments, remove extra
markus [Tue, 30 May 2017 08:49:32 +0000 (08:49 +0000)]
revise sshkey_load_public(): remove ssh1 related comments, remove extra
open()/close() on keyfile, prevent leak of 'pub' if 'keyp' is NULL,
replace strlcpy+cat with asprintf; ok djm@

7 years agofileops test: Also run on ext2fs
sf [Tue, 30 May 2017 08:44:58 +0000 (08:44 +0000)]
fileops test: Also run on ext2fs

Also sort subdirs in makefile

7 years agovirtio: Do LIFO in the freelist
sf [Tue, 30 May 2017 08:35:32 +0000 (08:35 +0000)]
virtio: Do LIFO in the freelist

Use a SLIST instead of a SIMPLEQ and use LIFO instead of FIFO. This should
improve cache usage.

7 years agoRemove the unused pcdisplay_mapchar_simple function in pcdisplay(4).
fcambus [Tue, 30 May 2017 08:24:56 +0000 (08:24 +0000)]
Remove the unused pcdisplay_mapchar_simple function in pcdisplay(4).

It has been unused since this code was imported from NetBSD.

OK mlarkin@

7 years agoPreserve search string when entering prompt again.
nicm [Tue, 30 May 2017 08:13:48 +0000 (08:13 +0000)]
Preserve search string when entering prompt again.

7 years agoteach pf_build_tcp() about SACK, ok & with sashan
henning [Tue, 30 May 2017 08:10:01 +0000 (08:10 +0000)]
teach pf_build_tcp() about SACK, ok & with sashan

7 years agoIntroduce ipv{4,6}_input(), two wrappers around IP queues.
mpi [Tue, 30 May 2017 07:50:37 +0000 (07:50 +0000)]
Introduce ipv{4,6}_input(), two wrappers around IP queues.

This will help transitionning to an un-KERNEL_LOCK()ed IP
forwarding path.

Disucssed with bluhm@, ok claudio@

7 years agoUse memmove() instead of memcpy(), buffers are overlapping.
mpi [Tue, 30 May 2017 07:40:24 +0000 (07:40 +0000)]
Use memmove() instead of memcpy(), buffers are overlapping.

From Coverity via NetBSD via miod@

ok claudio@, tedu@, deraadt@, krw@

7 years agoThe is open-file command is actually called find-file. Typo pointed out
tb [Tue, 30 May 2017 07:11:40 +0000 (07:11 +0000)]
The is open-file command is actually called find-file.  Typo pointed out
by "Choose a display name <thelocals_job_applicant protonmail com>".

7 years agofix -Wshadow warnings.
florian [Tue, 30 May 2017 07:05:22 +0000 (07:05 +0000)]
fix -Wshadow warnings.
Found by bcallah, thanks!