summaryrefslogtreecommitdiff
path: root/sys/conf
AgeCommit message (Collapse)Author
2018-04-20add a small driver for AMDs cryptographic co processor.David Gwynne
the hardware provides crypto offload, zlib offload, and an rng. this code only supports the rng at the moment. this device is present on their amd seatlle platforms, and very present on their epyc stuff. ok kettenis@ jmatthew@
2018-03-27take us to 6.3-currentTheo de Raadt
2018-03-14disable POOL_DEBUG for releaseSebastian Benoit
ok deraadt@
2018-03-14we head to release soonTheo de Raadt
2018-02-28oops, skipped a step cranking to 6.3-betaTheo de Raadt
2018-02-28move to 6.3-betaTheo de Raadt
2018-02-14prune files.* entries that refer to files not in treeJonathan Gray
ok krw@ mpi@
2018-02-14kern_mutex.c is gone.Martin Pieuchot
2018-02-07dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUGDavid Gwynne
put it back.
2018-02-07split mobileip(4) out from the gre(4) driver.David Gwynne
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@
2018-02-06syncookies for pf.Henning Brauer
when syncookies are on, pf will blindly answer each and every SYN with a syncookie-SYNACK. Upon reception of the ACK completing the 3WHS, pf will reconstruct the original SYN, shove it through pf_test, where state will be created if the ruleset permits it. Then massage the freshly created state (we won't see the SYNACK), set up the sequence number modulator, and call into the existing synproxy code to start the 3WHS with the backend host. Add an - somewhat basic for now - adaptive mode where syncookies get enabled if a certain percentage of the state table is filled up with half-open tcp connections. This makes pf firewalls resilient against large synflood attacks. syncookies are off by default until we gained more experience, considered experimental for now. see http://bulabula.org/papers/2017/bsdcan/ for more details. joint work with sashan@, widely discussed and with lots of input by many
2018-02-06Run newvers.sh with umask 007 to work around permission issues thatTheo Buehler
cause 'make release' fail the first time around after building GENERIC if /usr/obj/ wasn't cleaned out properly. The proper fix would be to implement privdrop for kernel builds but this is trickier than it looks at first sight. discussed with deraadt
2018-02-05Remove tcp_acounts, some tcp_usrreq() counting from 1981. AlsoAlexander Bluhm
remove the #ifdef KPROF which seems to be unused since that year. OK mpi@
2018-01-25Use a new LDFLAGS variable to pass "-melf_i386_obsd" on amd64.Martin Pieuchot
Makes the linker generate a correct i386 gap.o file. ok kettenis@, deraadt@
2017-11-16Add PCI attachment for dwiic(4) needed by Intel 100 Series machinesJoshua Stein
ok kettenis
2017-11-14remove MALLOC_DEBUGDavid Gwynne
the code has rotted, and obviously hasnt been used for ages. it is also hard to make mpsafe. if we need something like this again it would be better to do it from scratch. ok tedu@ visa@
2017-11-03Inline trivial functions from raw_cb.c and tedu it.Florian Obser
Suggested by and OK mpi, OK visa
2017-10-25Remove the TCP_FACK option and associated #if{,n}def code.job
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@
2017-10-22Unconditionally enable TCP selective acknowledgements (SACK)Mike Belopuhov
OK deraadt, mpi, visa, job
2017-10-11Add bwfm(4), a driver for Broadcom FullMAC WiFi controllers. ThePatrick Wildt
FullMAC, in comparison to SoftMAC, does most WiFi handling in the firmware that's running on the controller. This means we have to work around the net80211 stack while still implementing all the WiFi interfaces to userland. This driver is still in early development. So far it can connect to open WiFis over the USB bus. SDIO and PCIe support, for devices like the Raspberry Pi 3 or the Macbooks, is not yet implemented. Also mbufs on the transmit path leak and are not yet freed. ok stsp@
2017-10-04re-enable POOL_DEBUG after the releaseChristian Weisgerber
2017-10-04reminder to create <version>.html and roll errata pages for release.Sebastian Benoit
ok deraadt@
2017-10-046.2-current, back to workTheo de Raadt
2017-10-03work around config(8) modifying bss, using __attribute__ ((section(".data"))).Theo de Raadt
From yasuoka. I really want this fixed in a different way after release is finished.
2017-09-26disable POOL_DEBUG for releaseJonathan Gray
ok deraadt@
2017-09-25take us out of -betaTheo de Raadt
2017-09-12Remove option DDB_STRUCTINFO. Now that ddb(4) is CTF aware, similarMartin Pieuchot
functionnalities are available in GENERIC. ok jasper@, deraadt@, guenther@, dlg@
2017-08-20crank to 6.2-betaTheo de Raadt
2017-08-11Merge DDBCTF into DDB.Martin Pieuchot
2017-07-31Give back some space to the ramdisk by compiling net/radix.c onlyFlorian Obser
if we compile pf, ipsec, pipex or nfsserver. Suggested by mpi some time ago. Tweak & OK bluhm deraadt assumes it's fair
2017-07-30Switch installer to Allotment Routing Table (ART).Florian Obser
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken in the installer. OK mpi, "go for it" deraadt
2017-07-16Pass the linker from make environment to makegap.sh. This is (only)Visa Hankala
a partial solution to cross compiling the kernel with KARL. OK deraadt@ a while ago
2017-06-28hfsc.c should depend on pf instead of inetMike Belopuhov
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
2017-06-26RANDOM1 was subject to rather bad modulus bias. Improve the situation a bitTheo Buehler
by implementing an arc4random_uniform(3) clone with beloved jot(1) and using it. discussed with and ok deraadt
2017-06-26note.ABI-tag and .MIPS.options are not needed anymore whenTheo de Raadt
we use gapdummy.o
2017-06-25lld's linker-script parser has to be fixed to accept ; after LONG()Theo de Raadt
directives. binutils requires it, and binutils is the authoritative parser in this regard. This means arm64 +lld remains broken (but all the other architectures work)
2017-06-25ldd is more strict wrt semicolons, they can only appear after anOtto Moerbeek
expression line. Removing the extra semicolons makes both ld and ldd accept the link script generated, although ldd produces a wrong object file on arm64; ok kettenis@ deraadt@
2017-06-22Generate a gap.link script, and use that to generate gap.o. On multi-ABITheo de Raadt
architectures we must also link against a gapdummy.o to repair the ABI of the resulting .o file. Woe is me. Also repair install: target to update the linkkit & hash when a kernel is installed. ok rpe tb mlarkin and tested by others also
2017-06-05include machine/param.h before machine.asm.h because uhm alpha.Theo de Raadt
2017-06-05Avoid use of _C_LABEL, since it is not portable to all our architectures.Theo de Raadt
And anyways, everything is ELF now.
2017-06-04Don't need to provide a padbyte value for .bss, it will always be 0Theo de Raadt
pointed out by kettenis
2017-06-03".section .bss" is portable to more platforms than plain ".bss"Theo de Raadt
2017-06-03use .balign instead of .align, it is portable to more architecturesTheo de Raadt
discussed with patrick
2017-06-02typo; meant to say locore0.STheo de Raadt
2017-05-31Split early startup code out of locore.S into locore0.S. Adjust linkTheo de Raadt
run so that this locore0.o is always at the start of the executable. But randomize the link order of all other .o files in the kernel, so that their exec/rodata/data/bss segments land all over the place. Late during kernel boot, unmap the early startup code. As a result, the internal layout of every newly build bsd kernel is different from past kernels. Internal relative offsets are not known to an outside attacker. The only known offsets are in the startup code, which has been unmapped. Ramdisk kernels cannot be compiled like this, because they are gzip'd. When the internal pointer references change, the compression dictionary bloats and results in poorer compression. ok kettenis mlarkin visa, also thanks to tedu for getting me back to this
2017-05-29Add hibernate support for nvme(4). This creates a separate IO queue that isJonathan Matthew
only active during hibernation, preallocating the the submission and completion queues during attach as they need to be page-aligned. tested on an x270 that successfully hibernates now. ok dlg@
2017-05-29PFKEY version 2 is the only pfkey version supported. No need for extraClaudio Jeker
abstraction. First step of making PF_KEY a bit more like PF_ROUTE. OK mpi@
2017-05-27Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC orClaudio Jeker
tcp md5. OK mpi@
2017-05-15Hook up FQ-CoDel to the tree and enable configuration in the pfctl(8)Mike Belopuhov
OK sthen, visa
2017-04-30Constant time AES implementationMike Belopuhov
This introduces a 32-bit constant time AES implementation from Thomas Pornin originally for BearSSL and then adjusted by Thomas and myself to fit OpenBSD kernel. One of the additional features is an API for encryption and decryption subkey expansion in the format specified by NIST in FIPS 197. Tested by myself and naddy@, ok djm@