History log of /openbsd-current/sys/conf/GENERIC
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.296 05-May-2024 jsg

Stop building with and documenting FFS_SOFTUPDATES.
Code that used it was removed in February.


# 1.295 13-Mar-2024 bluhm

enable POOL_DEBUG after 7.5 release
OK deraadt@


Revision tags: OPENBSD_7_5_BASE
# 1.294 10-Mar-2024 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.293 02-Jan-2024 bluhm

Revert chunk that I have commited by accident.


# 1.292 02-Jan-2024 bluhm

Prevent simultaneous dt(4) open.

Syskaller has hit the assertion "dtlookup(unit) == NULL" by opening
dt(4) device in two parallel threads. Convert kassert into if
condition. Move check that device is not used after sleep points
in malloc. The list dtdev_list is protected by kernel lock which
is released during sleep.

Reported-by: syzbot+6d66c21f796c817948f0@syzkaller.appspotmail.com
OK miod@


# 1.291 04-Oct-2023 bluhm

re-enable POOL_DEBUG
OK deraadt@


Revision tags: OPENBSD_7_4_BASE
# 1.290 27-Sep-2023 deraadt

disable POOL_DEBUG for release


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.295 13-Mar-2024 bluhm

enable POOL_DEBUG after 7.5 release
OK deraadt@


Revision tags: OPENBSD_7_5_BASE
# 1.294 10-Mar-2024 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.293 02-Jan-2024 bluhm

Revert chunk that I have commited by accident.


# 1.292 02-Jan-2024 bluhm

Prevent simultaneous dt(4) open.

Syskaller has hit the assertion "dtlookup(unit) == NULL" by opening
dt(4) device in two parallel threads. Convert kassert into if
condition. Move check that device is not used after sleep points
in malloc. The list dtdev_list is protected by kernel lock which
is released during sleep.

Reported-by: syzbot+6d66c21f796c817948f0@syzkaller.appspotmail.com
OK miod@


# 1.291 04-Oct-2023 bluhm

re-enable POOL_DEBUG
OK deraadt@


Revision tags: OPENBSD_7_4_BASE
# 1.290 27-Sep-2023 deraadt

disable POOL_DEBUG for release


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


Revision tags: OPENBSD_7_5_BASE
# 1.294 10-Mar-2024 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.293 02-Jan-2024 bluhm

Revert chunk that I have commited by accident.


# 1.292 02-Jan-2024 bluhm

Prevent simultaneous dt(4) open.

Syskaller has hit the assertion "dtlookup(unit) == NULL" by opening
dt(4) device in two parallel threads. Convert kassert into if
condition. Move check that device is not used after sleep points
in malloc. The list dtdev_list is protected by kernel lock which
is released during sleep.

Reported-by: syzbot+6d66c21f796c817948f0@syzkaller.appspotmail.com
OK miod@


# 1.291 04-Oct-2023 bluhm

re-enable POOL_DEBUG
OK deraadt@


Revision tags: OPENBSD_7_4_BASE
# 1.290 27-Sep-2023 deraadt

disable POOL_DEBUG for release


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.293 02-Jan-2024 bluhm

Revert chunk that I have commited by accident.


# 1.292 02-Jan-2024 bluhm

Prevent simultaneous dt(4) open.

Syskaller has hit the assertion "dtlookup(unit) == NULL" by opening
dt(4) device in two parallel threads. Convert kassert into if
condition. Move check that device is not used after sleep points
in malloc. The list dtdev_list is protected by kernel lock which
is released during sleep.

Reported-by: syzbot+6d66c21f796c817948f0@syzkaller.appspotmail.com
OK miod@


# 1.291 04-Oct-2023 bluhm

re-enable POOL_DEBUG
OK deraadt@


Revision tags: OPENBSD_7_4_BASE
# 1.290 27-Sep-2023 deraadt

disable POOL_DEBUG for release


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.291 04-Oct-2023 bluhm

re-enable POOL_DEBUG
OK deraadt@


Revision tags: OPENBSD_7_4_BASE
# 1.290 27-Sep-2023 deraadt

disable POOL_DEBUG for release


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.290 27-Sep-2023 deraadt

disable POOL_DEBUG for release


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.289 11-Aug-2023 dlg

enable sec(4) so people can try it out


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.288 27-Mar-2023 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_3_BASE
# 1.287 19-Mar-2023 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.286 30-Sep-2022 jsg

re-enable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


Revision tags: OPENBSD_7_2_BASE
# 1.285 24-Sep-2022 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.284 19-Apr-2022 dlg

enable kstat(4) and kstat(1).

kstat allows the kernel to expose arbitrary data for userland to
consume. currently this is used by some network card drivers to
expose hardware counters they provide, and a bit by the network
stack to show things like ifq counters.

ok bluhm@ deraadt@


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.283 05-Apr-2022 naddy

re-enable POOL_DEBUG


Revision tags: OPENBSD_7_1_BASE
# 1.282 05-Apr-2022 deraadt

disable pool debug for release


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.281 23-Dec-2021 bluhm

Template for option WITNESS is in the architecture GENERIC.MP file
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.280 11-Nov-2021 claudio

Retire switch(4) it never really was production ready and the OpenFlow
API implemented is a deadend.
OK akoshibe@ yasuoka@ deraadt@ kn@ patrick@ sthen@


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.279 22-Sep-2021 benno

enable POOL_DEBUG again.


Revision tags: OPENBSD_7_0_BASE
# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.278 19-Sep-2021 benno

disable pool debug for release
ok deraadt@


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.277 28-Apr-2021 bluhm

Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.
Support to skip frames is missing on arm64 and i386, but the stack
traces are useful anyway. sparc64 should work, but I could not
test it. Other architectures do not have stacktrace_save_at() and
dynamic tracer does not link.
from patrick@; OK semarie@


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.276 22-Apr-2021 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_9_BASE
# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.275 07-Apr-2021 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.274 25-Feb-2021 dlg

enable veb(4), it's time for wider testing.

apart from the semantic differences between bridge(4) and veb(4),
the only missing bits in veb(4) is the transparent ipsec interception
support, and spanning tree.


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.273 30-Sep-2020 jsg

renable POOL_DEBUG
ok deraadt@


Revision tags: OPENBSD_6_8_BASE
# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.272 22-Sep-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.271 23-Jun-2020 dlg

enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.270 21-Jun-2020 dlg

add a commented out entry for wg(4).

i think ive tempted fate enough for one day.


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.269 09-May-2020 naddy

reenable POOL_DEBUG


Revision tags: OPENBSD_6_7_BASE
# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.268 26-Apr-2020 benno

disable POOL_DEBUG in preparation for release
ok deraadt@


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.267 21-Jan-2020 mpi

Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.266 12-Oct-2019 naddy

renable POOL_DEBUG


Revision tags: OPENBSD_6_6_BASE
# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.265 04-Oct-2019 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.264 01-Aug-2019 dlg

enable tpmr(4) so people can try it.


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.263 08-Jul-2019 dlg

uncomment aggr(4) to make it easier for people to try


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.262 05-Jul-2019 dlg

add aggr, but leave it commented out for now.

it needs to be a bit more robust before making it more available to try.


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.261 22-Apr-2019 dlg

disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@


# 1.260 13-Apr-2019 deraadt

renable POOL_DEBUG


Revision tags: OPENBSD_6_5_BASE
# 1.259 05-Apr-2019 deraadt

it is POOL_DEBUG disable time


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.258 18-Mar-2019 dlg

enable mpip(4)

ok deraadt@


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.257 20-Dec-2018 dlg

add bpe(4) or Backbone Provider Edge interfaces

Backbone refers to 802.1ah or 802.1Q Provider Backbone Bridges
(PBB), or mac-in-mac, which is like vlans except it completely
encapsulates the inner packet rather than just add a shim to it.
This removes the need for Backbone Core Bridges (ie, switches between
bpe instances) to know all the addresses on all the networks.


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.256 18-Oct-2018 lteo

Re-enable POOL_DEBUG for -current.

ok deraadt@


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


Revision tags: OPENBSD_6_4_BASE
# 1.255 08-Oct-2018 deraadt

POOL_DEBUG is disabled for release


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.254 27-Mar-2018 deraadt

take us to 6.3-current


Revision tags: OPENBSD_6_3_BASE
# 1.253 14-Mar-2018 benno

disable POOL_DEBUG for release
ok deraadt@


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.252 07-Feb-2018 dlg

dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.251 07-Feb-2018 dlg

split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices


# 1.250 25-Oct-2017 job

Remove the TCP_FACK option and associated #if{,n}def code.

TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.

OK visa@ mpi@ mikeb@


# 1.249 22-Oct-2017 mikeb

Unconditionally enable TCP selective acknowledgements (SACK)

OK deraadt, mpi, visa, job


# 1.248 04-Oct-2017 naddy

re-enable POOL_DEBUG after the release


Revision tags: OPENBSD_6_2_BASE
# 1.247 26-Sep-2017 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.246 11-Aug-2017 mpi

Merge DDBCTF into DDB.


# 1.245 30-Jul-2017 florian

Switch installer to Allotment Routing Table (ART).
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt


# 1.244 27-May-2017 claudio

Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or
tcp md5. OK mpi@


# 1.243 20-Apr-2017 visa

Add option to compile witness(4).


# 1.242 08-Apr-2017 naddy

re-enable POOL_DEBUG after the release; ok deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.241 29-Mar-2017 deraadt

POOL_DEBUG off for release


# 1.240 21-Feb-2017 phessler

temporarily disable BFD, to not block work on unlocking the socket layer.

requested by deraadt@


# 1.239 25-Jan-2017 phessler

enable BFD

OK deraadt@


# 1.238 17-Jan-2017 rzalamena

Enable switch(4).

ok jca@, reyk@


# 1.237 22-Dec-2016 rzalamena

Remove PIM support from the multicast stack.

ok mpi@


# 1.236 29-Nov-2016 mpi

Build kernel with DEBUG=-g by default.

This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.

Resulting kernels will be stripped using strip(1) instead of ld(1).

Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".

ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@


# 1.235 18-Sep-2016 deraadt

option INSECURE is obsolete


# 1.234 16-Sep-2016 jasper

teach ddb(4) about CTF. currently it only loads the CTF and uses it on amd64
to lookup the number of function parameters. however having this basic
facility allows us to expand it's usage.

currently hidden behind the (disabled) DDBCTF kernel option as some of the
required tools are not available in base yet. in addition to that one
also needs recent bootblocks that load the .SUNW_ctf kernel section.

discussed with mpi@ over many a cider and ale in cambridge
feedback and ok guenther@ mpi@


# 1.233 04-Sep-2016 mpi

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@


# 1.232 03-Sep-2016 phessler

Add in the (disabled) kernel glue for BFD

OK claudio@, henning@


# 1.231 01-Sep-2016 goda

Import switch(4), an in-kernel OpenFlow switch which can work alone.
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.

With help from yasuoka@ reyk@ jsg@.

ok deraadt@ yasuoka@ reyk@ henning@


# 1.230 26-Jul-2016 tedu

pool debug dance, part deux


Revision tags: OPENBSD_6_0_BASE
# 1.229 25-Jul-2016 deraadt

disable tmpfs because it receives zero maintainance.


# 1.228 23-Jul-2016 tedu

do the pool debug release dance. ok deraadt


# 1.227 25-Apr-2016 tedu

unlink systrace from the build. pledge is the glorious future that awaits.
the rest of systrace to be deleted in a serious of followup commits.
ok from larger openbsd developer community


# 1.226 24-Mar-2016 mpi

Enable ART.

Leave the define for the moment, this will be changed as soon as we're
confident enough.

"it must be a 3-line diff" krw@

ok bluhm@, mikeb@, dlg@, reyk@, deraadt@


# 1.225 25-Feb-2016 deraadt

activate POOL_DEBUG during -current; miod


Revision tags: OPENBSD_5_9_BASE
# 1.224 06-Jan-2016 benno

deactivate POOL_DEBUG for release
ok deraadt, jsg


# 1.223 03-Dec-2015 goda

Implement etherip(4) driver

This commit is not removing the existing EtherIP part of gif(4) and
it keeps EtherIP of gif(4) working.

ok jbg@ sthen@ mpi@ reyk@ yasuoka@


# 1.222 24-Oct-2015 reyk

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@


# 1.221 23-Oct-2015 claudio

Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@


# 1.220 10-Aug-2015 sthen

turn POOL_DEBUG back on


Revision tags: OPENBSD_5_8_BASE
# 1.219 31-Jul-2015 benno

As usual, turn off POOL_DEBUG for the release.
ok deraadt@


# 1.218 20-Jul-2015 rzalamena

Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.

ok mpi@, claudio@.


# 1.217 17-Jul-2015 tedu

remove obsolete INET kernel option


# 1.216 12-Mar-2015 sthen

we're tagged for release; turn POOL_DEBUG back on. ok deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.215 04-Mar-2015 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.214 21-Jan-2015 guenther

Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h

ok krw@ deraadt@ mpi@


# 1.213 09-Oct-2014 tedu

remove LKM


# 1.212 01-Oct-2014 mpi

sl(4) is no more, thanks for all the fish!


# 1.211 18-Aug-2014 tedu

pool debug back on


Revision tags: OPENBSD_5_6_BASE
# 1.210 29-Jul-2014 deraadt

disable POOL_DEBUG for release


# 1.209 19-Apr-2014 henning

-option ALTQ
ALTQ has served us well for years and was extremely important not just for
us, but for the entire bandwidth management arena. Back when we got altq,
the subject was not yet well researched and understood, which is why altq
is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an
amazing job there.
Now, more than 10 years later, we do have a good understanding and can use
a simpler framework with just one priority queueing and one bandwidth
shaping mechanism each - the new queueing subsystem. Last not least because
it is incredibly painful to maintain both in parallel, it is time for altq
to depart. Farewell, thanks for many years of good service. Everybody
using any form of "not just fifo" queueing owes Kenjiro a lot. At least
buy him a beer when you meet him.
And, allow me this personal note, thanks Kenjiro, working with you on the
topic has always been a great pleasure and I learned a lot from you. Thanks!


# 1.208 05-Mar-2014 chris

re-enable POOL_DEBUG


Revision tags: OPENBSD_5_5_BASE
# 1.207 22-Feb-2014 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.206 14-Dec-2013 espie

enable tmpfs so it gets tested some more.
okay kettenis@, martin@, beck@, krw@, tedu@, millert@


# 1.205 01-Nov-2013 syl

enable fuse.

ok deraadt@


# 1.204 21-Oct-2013 reyk

enable vxlan(4). ok deraadt@


# 1.203 13-Oct-2013 reyk

Import vxlan(4), the virtual extensible local area network tunnel
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.

put it in deraadt@


# 1.202 01-Oct-2013 dlg

as predicted, problems have been found with mpath. disabling it while they
get figured out.


# 1.201 28-Sep-2013 dlg

enable mpath, rdac, and sym to see what will happen.

discussed with and ok deraadt. we expect a problem will appear which will
cause it to be disabled again, but unless we try this we wont see the
problems.


# 1.200 17-Aug-2013 bluhm

Fix comment, socket splice can also do UDP now. Fix white spaces.


# 1.199 14-Aug-2013 guenther

The last user of the old __tfork() was updated to the current one,
so COMPAT_O51 can go. The complete ABI role means COMPAT_O53 can
be removed as well.

ok jsing@ tedu@


# 1.198 07-Aug-2013 naddy

re-enable POOL_DEBUG after release; ok deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.197 11-Jul-2013 jsg

disable POOL_DEBUG for release
ok deraadt@


# 1.196 15-Apr-2013 jsing

Add an f_mntfromspec member to struct statfs, which specifies the name of
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).

Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.

Compatibility goo courtesy of guenther@

ok krw@ millert@


# 1.195 14-Mar-2013 mpi

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)


# 1.194 01-Mar-2013 guenther

Antici

pation: back to -current


Revision tags: OPENBSD_5_3_BASE
# 1.193 31-Jan-2013 miod

welcome to 5.3-BETA


# 1.192 19-Sep-2012 yasuoka

cleanup around the pipex. naming style, delete or update comments.
no functional changes.


# 1.191 05-Sep-2012 deraadt

COMPAT_O48 can be turned off; ok guenther


# 1.190 23-Aug-2012 deraadt

kill nnpfs dead


# 1.189 26-Jul-2012 otto

now that we are current again, enable POOL_DEBUG


Revision tags: OPENBSD_5_2_BASE
# 1.188 16-Jul-2012 jasper

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.

ok deraadt@


# 1.187 21-Jun-2012 guenther

Actually enabling the __tfork compat code would be a Good Thing


# 1.186 15-Feb-2012 deraadt

re-enable POOL_DEBUG for -current


Revision tags: OPENBSD_5_1_BASE
# 1.185 09-Feb-2012 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
prodded by david


# 1.184 06-Oct-2011 deraadt

ccd goes to the attic
discussed with jsing and millert


# 1.183 21-Aug-2011 matthieu

Re-enable POOL_DEBUG. requested by deraadt@.


Revision tags: OPENBSD_5_0_BASE
# 1.182 03-Aug-2011 deraadt

As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG is
not the same as it was in 4.9 or earlier. In either case you can turn
it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not
enabled you only get a subset of the strict checks.
ok kettenis miod beck


# 1.181 09-Jul-2011 matthew

Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add option
to GENERIC, wrap compat_o48_sys_getdirentries() with an appropriate
#ifdef, and use struct compat_o48_sys_getdirentries_args instead of
struct sys_getdirentries_args.


# 1.180 09-Jul-2011 henning

begone, fucking rotten appletalk shit. ok room


# 1.179 08-Jul-2011 yasuoka

this also must be included my previous commit. sorry.

Include PIPEX in kernel by default. And add new sysctl variable
`net.pipex.enable' to enable PIPEX. By default, pipex is disabled
and it will not process packets from wire. Update man pages and
update HOWTO_PIPEX_NPPPD.txt for testers.

discussed with dlg@, ok deraadt@ mcbride@ claudio@


# 1.178 08-Jul-2011 jsg

do 1.174 correctly and remove (commented out) option PORTAL


# 1.177 04-Jul-2011 thib

Disable NNPFS;

A purdy OpenAFS port is being worked on and everybody hates
having to touch files inside nnpfs/ so it is going to go away
real soon.

ok deraadt@, beck@


# 1.176 02-Jul-2011 thib

rename VFSDEBUG to VFLCKDEBUG;

prompted by tedu@


# 1.175 06-Apr-2011 deraadt

POOL_DEBUG has nothing to do with portalfs


# 1.174 05-Apr-2011 thib

Remove portalfs.

While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.

ok krw@, deraadt@, guenther@, miod@.
comments from jmc@


# 1.173 04-Apr-2011 deraadt

COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)
can go away
ok guenther


# 1.172 02-Mar-2011 deraadt

enable POOL_DEBUG again since we are not in release


Revision tags: OPENBSD_4_9_BASE
# 1.171 15-Feb-2011 deraadt

move us to real 4.9


# 1.170 19-Jan-2011 thib

group filesystems together

ok miod@


# 1.169 07-Jan-2011 bluhm

Add socket option SO_SPLICE to splice together two TCP sockets.
The data received on the source socket will automatically be sent
on the drain socket. This allows to write relay daemons with zero
data copy.
ok markus@


# 1.168 18-Oct-2010 claudio

There is no reason to not include MPLS and mpe(4) in GENERIC. Makes my
life a lot easier. Sure deraadt@


# 1.167 24-Sep-2010 sobrado

use a better description for the vnd(4) entry on this file.

ok millert@


# 1.166 24-Sep-2010 dlg

vscsi lives once more!


# 1.165 22-Sep-2010 claudio

Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd
and pipex. pppx(4) creates an interface whenever a session is created
so that altq and pf can work on these.
Started by dlg@ debugged and made usable by myself
OK dlg@ yasuoka@ deraadt@


# 1.164 20-Sep-2010 deraadt

Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is library
code using socket options.
ok matthew


# 1.163 13-Aug-2010 phessler

now that we are at -current again, re-enable POOL_DEBUG

"go ahead" kettenis@


Revision tags: OPENBSD_4_8_BASE
# 1.162 08-Aug-2010 deraadt

we ship releases with POOL_DEBUG off. post-release, turn it back on.
POOL_DEBUG is for development safety (catches our bugs early), but this
particular safety comes off for release.
reminded by miod


# 1.161 21-Jul-2010 dlg

disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@


# 1.160 01-Jul-2010 thib

garbage collect the now unused PAGEFASTRECYCLE option.

ok deraadt@, david@


# 1.159 01-Jul-2010 deraadt

turn off COMPAT_O43


# 1.158 29-Jun-2010 reyk

Replace enc(4) with a new implementation as a cloner device. We still
create enc0 by default, but it is possible to add additional enc
interfaces. This will be used later to allow alternative encs per
policy or to have an enc per rdomain when IPsec becomes rdomain-aware.

manpage bits ok jmc@
input from henning@ deraadt@ toby@ naddy@
ok henning@ claudio@


# 1.157 26-May-2010 deraadt

PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it is
implied.


# 1.156 07-May-2010 claudio

order the network pseudo-devices by name. Move pppoe and sppp into that list.
OK kettenis, krw, dlg


# 1.155 30-Apr-2010 claudio

Add commented MPLS and mpe(4) entries.
OK sthen, jsg


# 1.154 22-Mar-2010 kettenis

Enable PAGEFASTRECYCLE.

ok deraadt@, ariane@


# 1.153 18-Mar-2010 otto

enable POOL_DEBUG


Revision tags: OPENBSD_4_7_BASE
# 1.152 07-Mar-2010 deraadt

we disable POOL_DEBUG for releases. Reminded by mpf
After release, someone please remind us to turn it on again. It helps
find bugs. We just don't want people to get hosed too much during
release.


# 1.151 11-Jan-2010 mcbride

Add PIPEX option, disabled by default for now.

ok deraadt yasuoka


# 1.150 09-Nov-2009 deraadt

vether(4) is a virtual ethernet device driver which can be used
so that a bridge-etherip-tunnel host can join into the bridge itself.
It is ridiculous that this capability was missing from our network
stack portfolio, considering we have bgp and ospf daemons...
discussed at length with claudio


# 1.149 26-Aug-2009 thib

add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUG
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c.

comments & ok deraadt@.


# 1.148 25-Aug-2009 jsg

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @


# 1.147 13-Aug-2009 dlg

wire vscsi up to a cdev

for claudio@ ok deraadt@


# 1.146 09-Aug-2009 dlg

add mpath(4), a driver that steals paths to scsi devices if it
thinks they could be available via multiple paths. those stolen
devices are then made available via mpath(4).

this is the minimum amount of code to implement the stealing. it
is generally broken and very brittle, so it is currently disabled.

it is going in so i can work on it in the tree.


Revision tags: OPENBSD_4_6_BASE
# 1.145 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.144 06-May-2009 stevesk

endrun(4) - EndRun Technologies native time-of-day message timedelta
sensor. Based on msts(4). Tested with Praecis Ct
(http://www.endruntechnologies.com/network-time-source.htm).

help and feedback mbalmer
'no problem with this sensor going in' deraadt


Revision tags: OPENBSD_4_5_BASE
# 1.143 02-Nov-2008 pedro

Disable portalfs until it is fixed, okay deraadt@.


# 1.142 09-Sep-2008 henning

actually enable pflow


Revision tags: OPENBSD_4_4_BASE
# 1.141 28-Jul-2008 jmc

reinstate a comment whacked in -r1.138; ok deraadt


# 1.140 16-Mar-2008 otto

Widen some struct statfs fields to support large filesystem stata
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@


Revision tags: OPENBSD_4_3_BASE
# 1.139 05-Jan-2008 mbalmer

Add support for the Meinberg Standard Time String format that all Meinberg
radio clocks can transmit over serial ports. This is implemented as a
line discipline similar to nmea(4) and provides a timedelta sensor.

See http://www.meinberg.de/english/specs/timestr.htm for details on the
MSTS format.

ldattach(8) is extended to support the "msts" line discipline and two stopbits
(which some radio clocks, e.g. the C51 use). Do a "make includes" before your
next system build.

Initially from Maurice Janssen based on nmea(4). "go for it" deraadt


# 1.138 28-Nov-2007 deraadt

COMPAT_{23,25,35} should not be used directly


# 1.137 27-Nov-2007 deraadt

TCP_COMPAT_42 was last used in 1997. Kill it.
ok millert


# 1.136 25-Nov-2007 marco

Re-enable softraid. Tested on virtually all platforms by many people.
Thanks!

ok deraadt


# 1.135 25-Nov-2007 deraadt

turn off COMPAT_35; ok miod


Revision tags: OPENBSD_4_2_BASE
# 1.134 15-Jun-2007 deraadt

disable softraid (because sr_boot_assembly->readdisklabel->readdoslabel->biowait)
is what happens on late-cold architectures. something else has to be fixed
first before that is permitted, i guess.


# 1.133 05-Jun-2007 henning

IPX is about to go away, remove commented out IPX options in GENERIC and
ipx related files (doesn't compile anyway)


# 1.132 02-Jun-2007 marco

Enable softraid so that people can start testing it.

Note: this is a work in progress! this is under active development and
things will change.

prompted and ok deraadt


# 1.131 28-May-2007 todd

bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@


# 1.130 27-May-2007 todd

back out bio, breaks dlg's sparc64 v215
prompted by/ok dlg@ deraadt@


# 1.129 26-May-2007 todd

prodded by marco, enable bio everywhere
grudgingly ok deraadt@


# 1.128 30-Apr-2007 pedro

Enable FFS2, okay deraadt@


# 1.127 17-Apr-2007 millert

Add commented out entry for FFS2


# 1.126 19-Mar-2007 dlg

attach softraid to the root of the device tree in a machine independant
way, rather than requiring some glue in each machines mainbus probe.

it is still commented out.

based on a discussion with miod@ ok marco@ deraadt@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.125 03-Aug-2006 mbalmer

Remove the tb(4) line discipline and manual page. I found no man pages
referencing tb(4).

ok deraadt


# 1.124 14-Jun-2006 mbalmer

enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.

ok deraadt


Revision tags: OPENBSD_3_9_BASE
# 1.123 12-Dec-2005 miod

Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,
otherwise it's just a waste of bytes.
ok deraadt@ mickey@


# 1.122 06-Dec-2005 pedro

Remove fdescfs


# 1.121 24-Nov-2005 pedro

Remove kernfs, okay deraadt@.


# 1.120 05-Oct-2005 norby

Add multicast routing to GENERIC.

It is now possible to enable multicast routing in the kernel with
the sysctl option net.inet.ip.mforwarding=1

Based on intial work by msf@

help claudio@
ok claudio@ deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.119 08-Jun-2005 henning

-#option NS # XNS
-#option NSIP # XNS tunneling over IP


# 1.118 07-Jun-2005 henning

remove commented-out CCITT option


# 1.117 26-May-2005 pedro

RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@


# 1.116 24-May-2005 reyk

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@


# 1.115 22-May-2005 pedro

add option VFSDEBUG, disabled by default


# 1.114 30-Mar-2005 deraadt

enable UDF in GENERIC


Revision tags: OPENBSD_3_7_BASE
# 1.113 14-Jan-2005 mcbride

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@


# 1.112 28-Nov-2004 canacar

In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff.
Modified/simplified to match our sppp implementation.
ok deraadt@


# 1.111 24-Nov-2004 deraadt

nothing really uses kernfs anymore, and in general it is unsafe since the
way that it interacts with the buffer cache can result in non-atomic data
ok most people


# 1.110 24-Nov-2004 deraadt

disable the layer filesystems by default; ok lots of people


Revision tags: OPENBSD_3_6_BASE
# 1.109 31-Jul-2004 brad

remove GATEWAY and IPFORWARDING option knobs, use the sysctl.

ok mcbride@ miod@ deraadt@


# 1.108 15-Jul-2004 henning

remove commented-out netiso stuff


Revision tags: SMP_SYNC_A SMP_SYNC_B
# 1.107 28-May-2004 grange

bpf device cloning.
Now to have more bpf devices just add device nodes in /dev,
no need to recompile kernel anymore.

Code from form@pdp-11.org.ru, some help from markus@.
ok markus@ canacar@ deraadt@


# 1.106 27-May-2004 tedu

make acct(2) optional with ACCOUNTING
ok art@ deraadt@


# 1.105 03-May-2004 millert

Add COMPAT_35


# 1.104 10-Apr-2004 mcbride

Make it more obvious that you don't have to modify the counts on clonable
devices anymore.

ok deraadt@ henning@ krw@ millert@


Revision tags: OPENBSD_3_5_BASE
# 1.103 02-Mar-2004 deraadt

disable COMPAT_25; ok miod millert


# 1.102 10-Feb-2004 millert

Decrease the initial number of ptys from 64 to 16. If the systems
needs more it will allocate them on demand. OK deraadt@ beck@


# 1.101 10-Feb-2004 millert

Adjust comment now that number of ptys is dynamic.


# 1.100 26-Jan-2004 deraadt

TCP_SIGNATURE enabled by default


# 1.99 18-Jan-2004 beck

clean out #ifdef horror show in xfs_dev-bsd.c and enable XFS in GENERIC.
ok deraadt@, todd@


# 1.98 07-Jan-2004 tedu

dirhash is good to go. ok deraadt@


# 1.97 21-Oct-2003 deraadt

2 carp not 4


# 1.96 17-Oct-2003 mcbride

Common Address Redundancy Protocol

Allows multiple hosts to share an IP address, providing high availability
and load balancing.

Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de

ok deraadt@


Revision tags: OPENBSD_3_4_BASE UBC_SYNC_A
# 1.95 14-May-2003 itojun

make PULLDOWN_TEST codepath the default (has been default for a long time).
markus ok


# 1.94 13-May-2003 tedu

turn layer fs back on. nullfs at least is very solid, and union isn't too
bad. suggested by deraadt and naddy


Revision tags: OPENBSD_3_3_BASE
# 1.93 28-Feb-2003 tedu

do not entice people into playing with broken fs

ok deraadt@


# 1.92 29-Nov-2002 mickey

expose state table changes


Revision tags: OPENBSD_3_2_BASE UBC_SYNC_B
# 1.91 26-Sep-2002 deraadt

renable sppp and lmc, now free


# 1.90 23-Sep-2002 deraadt

turn off sppp, lmc, and cz until various licenses on those components are
resolved. sorry -- i've been warning people for some time that i would
start to take this stance.


# 1.89 06-Jul-2002 nordin

Remove kernel support for NTP. ok deraadt@ and tholo@


# 1.88 16-May-2002 provos

systrace pseudo-device okay deraadt@


# 1.87 16-May-2002 deraadt

put TCP_ECN into the kernel


Revision tags: OPENBSD_3_1_BASE
# 1.86 14-Mar-2002 miod

Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.

When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).

This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.85 17-Sep-2001 art

branches: 1.85.4;
No need to define TIMEZONE and DST to 0 here, param.c does that automagically.


# 1.84 09-Aug-2001 deraadt

change a maze of altq options into just "altq" for the base+red+cbq, and
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.


# 1.83 08-Aug-2001 jjbg

IPCOMP removal. deraadt@ ok.


# 1.82 06-Jul-2001 angelos

"option IPSEC needs the enc interface"


# 1.81 05-Jul-2001 jjbg

IPComp. Turned off by default in GENERIC.


# 1.80 27-Jun-2001 art

SWAPPAGER and DEVPAGER are distant memories from the past.


# 1.79 25-Jun-2001 provos

we need only one pflog now


# 1.78 25-Jun-2001 provos

first stab at packet logging for pf. inspired by late night dreams of art.
we just pass drop and passed packets to different pseudo interface that
can be listened to with bpf.


# 1.77 25-Jun-2001 kjell

move pf hooks to sys/conf/GENERIC


# 1.76 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


# 1.75 17-May-2001 pvalchev

It's Daylight Saving Time, not Savings. Fix comments.
Discussed with pjanzen@


# 1.74 16-May-2001 millert

Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.


# 1.73 16-May-2001 millert

kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules.


# 1.72 04-May-2001 deraadt

vlan in GENERIC (ti(4) now has an issue, jason will deal)


Revision tags: OPENBSD_2_9_BASE
# 1.71 09-Apr-2001 deraadt

FFS_SOFTUPDATES in sys/conf/GENERIC


# 1.70 09-Apr-2001 art

LFS is not an option right now.


# 1.69 08-Mar-2001 itojun

move gif* and faith* into sys/conf/GENERIC. deraadt and angelos ok


# 1.68 05-Jan-2001 angelos

Add commented-out MROUTING option (for completeness) -- (james@oaktree.co.uk)


# 1.67 31-Dec-2000 angelos

Up the number of gif interfaces, we just need one enc interface.


Revision tags: OPENBSD_2_8_BASE
# 1.66 13-Oct-2000 itojun

enable PULLDOWN_TEST, and use m_pulldown for IPv6 packet parsing.
this will make it easier for IPv6 code to cope with uncontinuous packet
header on the mbuf (without this, ep interface on i386 chokes during IPv6
ND process).

should affect IPv6 only.


Revision tags: OPENBSD_2_7_BASE
# 1.65 26-Apr-2000 chris

pseudo-device vlan (commented out for now)


# 1.64 22-Mar-2000 provos

make UVM_SWAP_ENCRYPT default, still need to enable via sysctl


# 1.63 17-Mar-2000 angelos

Cryptographic services framework, and software "device driver". The
idea is to support various cryptographic hardware accelerators (which
may be (detachable) cards, secondary/tertiary/etc processors,
software crypto, etc). Supports session migration between crypto
devices. What it doesn't (yet) support:
- multiple instances of the same algorithm used in the same session
- use of multiple crypto drivers in the same session
- asymmetric crypto

No support for a userland device yet.

IPsec code path modified to allow for asynchronous cryptography
(callbacks used in both input and output processing). Some unrelated
code simplification done in the process (especially for AH).

Development of this code kindly supported by Network Security
Technologies (NSTI). The code was writen mostly in Greece, and is
being committed from Montreal.


# 1.62 02-Mar-2000 art

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.


Revision tags: SMP_BASE
# 1.61 09-Jan-2000 itojun

branches: 1.61.2;
add INET6 into conf/GENERIC.
add pseudo-devices for IPv6 into arch/*/conf/GENERIC.
nuke arch/*/conf/GENERIC.v6.


# 1.60 08-Jan-2000 angelos

gre(4) interface in GENERIC


# 1.59 30-Dec-1999 provos

insert commented UVM_SWAP_ENCRYPTION


Revision tags: kame_19991208
# 1.58 29-Oct-1999 angelos

Up the number of enc interfaces.


Revision tags: OPENBSD_2_6_BASE
# 1.57 06-Oct-1999 millert

Put TCP_SACK back in as it is not turned on by default anyway.
That way, users who want it can turn it on via sysctl.


# 1.56 03-Oct-1999 niklas

Remove commented out sample of SHMMAXPGS setting with machine-specific
comment. People should read options.4 for such info anyhow, not this file.


# 1.55 01-Oct-1999 deraadt

SACK is not bug-free yet; off for 2.6


# 1.54 29-Sep-1999 art

commented out profiling options


# 1.53 29-Sep-1999 angelos

Add option NETATALK (commented out).


# 1.52 06-Jul-1999 cmetz

Added TCP_SIGNATURE option.


# 1.51 01-Jul-1999 deraadt

lmc driver; ported by chris@dqc.org


# 1.50 08-Jun-1999 provos

disable TCP_FACK for now


# 1.49 27-May-1999 art

remove the NO_KMEMSTATS hack from sys/malloc.h
add KMEMSTATS to GENERIC to keep old behavior


# 1.48 20-Apr-1999 provos

renable TCP_SACK and TCP_FACK again. if you have problems direct flaims
to me.


Revision tags: OPENBSD_2_5_BASE
# 1.47 11-Apr-1999 niklas

Reenable IPSEC now that it is off by default, but can be enabled via sysctl


# 1.46 07-Apr-1999 deraadt

and enc is not default either


# 1.45 07-Apr-1999 deraadt

disable IPSEC by default


# 1.44 30-Mar-1999 niklas

make option IPSEC imply option KEY


# 1.43 28-Feb-1999 deraadt

support bridging by default


# 1.42 24-Feb-1999 angelos

Add option KEY in GENERIC, and update files.


# 1.41 04-Dec-1998 downsj

Disable TCP_SACK and TCP_FACK until such time as they don't cause connection
problems between different revisions of OpenBSD.


# 1.40 25-Nov-1998 millert

Re-enable TCP_SACK/TCP_FACK now that it works on alpha


# 1.39 19-Nov-1998 deraadt

disable FACK/SACK again; they still panic alphas. Sorry Niels, but you have to do better...


# 1.38 19-Nov-1998 provos

reenable SACK and FACK


# 1.37 18-Nov-1998 deraadt

disable SACK/FACK until provos learns how to write code which does not do unaligned accesses


# 1.36 17-Nov-1998 provos

enable TCP_SACK and TCP_FACK by default


Revision tags: OPENBSD_2_4_BASE
# 1.35 19-Sep-1998 deraadt

kill COMPAT_09 and COMPAT_10


# 1.34 01-Sep-1998 art

add a commented out XFS option


# 1.33 24-Aug-1998 millert

add ksyms to GENERIC. Since DDB is already there this is safe.


# 1.32 08-Jun-1998 deraadt

makeoptions


# 1.31 20-May-1998 gene

Enable NTP again now that mickey has solved the pentium timer problem.


# 1.30 06-May-1998 gene

Comment out NTP for now as it seems to expose a bug in the use of performance
timers on the Pentium.


# 1.29 26-Apr-1998 millert

typo


# 1.28 25-Apr-1998 gene

Add option NTP to the standard set of things built into the kernel.
Adds minimal bloat vs. functionallity.


Revision tags: OPENBSD_2_3_BASE
# 1.27 15-Feb-1998 deraadt

provide an lo1 for the netmask hack


# 1.26 05-Nov-1997 deraadt

noone cares about the strip driver


Revision tags: OPENBSD_2_2_BASE
# 1.25 24-Sep-1997 mickey

correct PORTAL comment; kstailey@


# 1.24 02-Sep-1997 downsj

Remove COMPAT_NOMID, it should never have been here in the first place.


# 1.23 01-Jul-1997 provos

only need one encap device now


# 1.22 25-Jun-1997 downsj

..and EXT2FS for all.


# 1.21 23-Jun-1997 kstailey

activate IPFILTER_LOG


# 1.20 23-Jun-1997 kstailey

IPFILTER_LOG should be a kernel option


# 1.19 23-Jun-1997 gene

Add option PPP_BSDCOMP and PPP_DEFLATE


# 1.18 21-Jun-1997 deraadt

4 strips? there is no need for that


# 1.17 02-Jun-1997 deraadt

add strip


# 1.16 29-May-1997 deraadt

add ipsec by default


Revision tags: OPENBSD_2_1_BASE
# 1.15 17-Apr-1997 deraadt

not all ports use rd, duh


# 1.14 14-Apr-1997 deraadt

rd pdev


# 1.13 15-Jan-1997 mickey

add IPXIP option commented out, explanation.


# 1.12 13-Jan-1997 niklas

Add a commented out option NSIP with explanation


Revision tags: OPENBSD_2_0_BASE
# 1.11 20-Sep-1996 deraadt

do not fool people into thinking VNODEPAGER is an option; netbsd pr#2757, erik@aarhus1.uni-c.dk


# 1.10 31-Aug-1996 deraadt

disable TCP_COMPAT_42 by default


# 1.9 29-Aug-1996 deraadt

random


# 1.8 16-Aug-1996 mickey

note ipx


# 1.7 11-Aug-1996 deraadt

default to INSECURE


# 1.6 11-Aug-1996 deraadt

disable LFS


# 1.5 29-Jul-1996 downsj

Comment out all obscure networking support; XNS, in particular, is very
busted and crashes people's machines when using ppp.


# 1.4 27-Jul-1996 deraadt

BOOT_CONFIG for all arch, not just i386


# 1.3 15-Jul-1996 mickey

add rnd device.


# 1.2 29-Jun-1996 deraadt

option not options


# 1.1 23-Jun-1996 deraadt

GENERIC to be included by arch/XXX/conf/GENERIC; this includes all MI options & pseudo-devices