summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Enable bge(4).kettenis2021-02-222-2/+4
|
* Enable apldog(4).kettenis2021-02-223-3/+9
|
* apldog(4)kettenis2021-02-222-2/+44
|
* Add apldog(4), a driver for the watchdog on Apple M1 SoCs.kettenis2021-02-221-0/+117
| | | | | | This allows us to reboot the machine. ok patrick@
* Move UNIX socket's garbage collector to `systqmp'. It touches nothingmvs2021-02-221-3/+3
| | | | | | which requires kernel lock to be held. ok mpi@
* Disable double-data rate modes if 1.8V signalling is not possible.patrick2021-02-221-2/+4
| | | | ok kettenis@
* Slow mode is only relevant for legacy and high speed timings.patrick2021-02-221-3/+3
| | | | ok kettenis@
* Improve support for the variant found on the Apple M1 SoC.kettenis2021-02-222-64/+161
| | | | | | | This mostly adjust the interrupt masking and status support since this variant lacks the UINTM and UINTP registers. ok patrick@
* Make the ober_get_* set of function to accept a NULL-pointer.martijn2021-02-222-16/+55
| | | | | | | | This allows us to do ber-type checking inside ober_scanf_elements, which will allow for stricter ASN.1 parsing in the future. Manpage feedback and OK claudio@, jmc@ OK claudio@
* Fix bizarre punctuation and capitalization in a comment.tb2021-02-221-2/+2
|
* Simplify version checks in the TLSv1.3 clienttb2021-02-221-22/+10
| | | | | | | | | | | | Ensure that the server announced TLSv1.3 (and nothing higher) in the supported_versions extension. In that case, the legacy_version must be TLSv1.2 according to RFC 8446, 4.1.3 and 4.2.1. This commit also removes some unreachable code which is a remnant of very early TLSv1.3 code from before the legacy fallback was introduced. Simplify a few checks and adjust some comments nearby. ok jsing
* Factor out/change some of the legacy client version handling code.jsing2021-02-223-12/+36
| | | | | | | This consolidates the version handling code and will make upcoming changes easier. ok tb@
* When cutting of the head of an overlapping fragment during pfbluhm2021-02-221-1/+26
| | | | | | | reassembly, reinsert the fragment into the lookup table with correct index. Reported-by: syzbot+d043455a5346f726f1c4@syzkaller.appspotmail.com OK claudio@
* add 7.0 syspatch pubkeyrobert2021-02-221-0/+2
|
* expand_paths needs the global environment to be set up, do that first.nicm2021-02-221-7/+7
|
* Make use of the new '$' feature of ober_scanf_elements to enforce strictermartijn2021-02-223-16/+15
| | | | | | ASN.1 verification. OK claudio@
* Rename mkpath() to mkpathat() since it uses mkdirat() internally.claudio2021-02-223-7/+8
|
* Fix regex searching with wrapped lines, from Anindya Mukherjee; GitHubnicm2021-02-221-2/+59
| | | | issue 2570.
* Move config file path expansion much earlier, keep the list of pathsnicm2021-02-225-40/+69
| | | | | around rather than freeing later, and add a config_files format variable containing it. Suggested by kn@ a while back.
* There are many format variables now so allocating all the default onesnicm2021-02-224-480/+2051
| | | | | | | | each time a tree is created is too expensive. Instead, convert them all into callbacks and put them in a static table so they only allocate on demand. The tree remains for the moment for extra (non-default) variables added by for example copy mode or popups. Also reduce expensive calls to localtime_r/strftime. GitHub issue 2253.
* Move jump commands to grid reader, make them UTF-8 aware, and tidy up,nicm2021-02-224-220/+210
| | | | from Anindya Mukherjee.
* Switch reboot timing to timespec, the better to handle thekrw2021-02-222-6/+13
| | | | | | | default reboot interval of 1 sec. Gives the DHCP server a fairer shot at replying before the timeout expires. ok millert@
* Use the F_CHECK_SENT and F_CHECK_DONE flags to determine whether ajmatthew2021-02-222-4/+8
| | | | | | | previous attempt at running a check script has finished yet, so we can avoid building up a backlog of check requests. ok dlg@ tb@ giovanni@
* regenjsg2021-02-222-8/+120
|
* add some AMD 500 series, 17h/71h, Navi 10 and Kingston NVMe idsjsg2021-02-221-4/+28
| | | | initial diff from Sven Wolf
* PATH does not include '.' anymore. Fix the runs test for that situation.tb2021-02-211-2/+2
|
* Rename struct client_config fields 'timeout', 'link_timeout' andkrw2021-02-213-22/+23
| | | | | | 'reboot_timeout' to 'offer_interval', 'link_interval' and 'reboot_interval' to be consistant with other '_interval' fields that specify a number of seconds to wait.
* exclamation mark needs escaped too;jmc2021-02-211-2/+2
|
* how about sticking to standard C.deraadt2021-02-211-2/+2
|
* Add cryptox(4), a driver for armv8 cryptographic extensions.tobhe2021-02-215-3/+1660
| | | | | | | | The driver currently only supports AES-CBC mode but can easily be extended to other algorithms and modes. The aesv8-armx.S file was generated from the CRYPTOGAMS project. Asked to commit by and ok patrick@
* No need for state_preboot() to double check timeout beingkrw2021-02-211-13/+3
| | | | | | | | | tracked in tick_msg() and explicitly calling tick_msg(TICK_SLEEP). One fewer use of each of time(), ifi->startup_time and config->link_timeout. Makes code easier to follow. No intentional functional change.
* Don't explicitly send address family in IMSG_VROUTE_ADD. The receivingtobhe2021-02-211-12/+2
| | | | | | process parses af from the sockaddrs. ok patrick@
* One CPUs that implement the VHE extension and have the E2H bit set, keepkettenis2021-02-212-6/+12
| | | | | | running the kernel in EL2. ok patrick@
* Add ping -g, a concise display format similar to that used by othersthen2021-02-212-14/+45
| | | | | | | | | | network devices that shows one character per echo request (! for normal response, . for timed out, D for duplicate, T for truncated) making it easier to identify patterns of loss over periods of time. ok remi@ kn@, feedback from deraadt@ chris@ !!!!!...!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!!!!!!.........!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!.........!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!.........!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!..........!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!..........!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!..........!!!!!!!!!!!!!!!!!!!!....!!!!!!!!!!!!!!!!!!!!!!!!!!.....!!!!!!!!!!!!!!
* zap duplicate .Nm;jmc2021-02-211-2/+1
|
* syncderaadt2021-02-211-0/+1
|
* cut nvgre(4) over to use common etherbridge code.dlg2021-02-212-317/+129
| | | | | | | the "ports" that nvgre provides to etherbridge are ip addresses used in the underlay network. ok patrick@ jmatthew@
* cut bpe(4) over to using the common etherbridge code.dlg2021-02-212-292/+127
| | | | | | | | | it's pretty straightforward since etherbridge was mostly based on this code in the first place. the etherbridge_ops that bpe provides to etherbridge set entries up to point at mac addresses in the underlay network. ok patrick@ jmatthew@
* add etherbridge, the guts of a learning bridge that can be reused.dlg2021-02-213-2/+693
| | | | | | | | | | | | | | | | | | | | | | | | | | this allows for the factoring out of the learning bridge code i wrote in bpe and nvme, and should be reusable for other drivers needing a mac learning bridge. the core data structures are an etherbridge struct to represent the learning bridge, eb_entry structs for each mac address entry that the bridge knows about, and an etherbridge_ops struct that drivers fill in so that they can use this code. eb_entry structs are stored in a hash table made up of SMR_TAILQs to support lookups of entries quickly and concurrently in the forwarding path. they are also stored in a locked red-black tree to help manage the uniqueness of the mac address in the table. the etherbridge_ops handlers mostly deal with comparing and testing the "ports" associated with mac address table entries. the "port" that a mac address entry is associated with is opaque to the etherbridge code, which allows for this code to be used by nvgre and bpe which map mac addresses inside the bridge to addresses in their underlay networks. it also supports traditional bridges where "ports" are actual interfaces. ok patrick@ jmatthew@
* i added stoeplitz_eaddrdlg2021-02-211-1/+11
|
* fix the names of the things that actually do the hashing.dlg2021-02-211-22/+23
|
* add stoeplitz_eaddr, for getting a hash value from an ethernet address.dlg2021-02-212-2/+16
|
* Fail on invalid address family.tobhe2021-02-201-1/+3
|
* remove warning about amdgpu userptr ioctl being unimplementedjsg2021-02-201-1/+0
| | | | | matches radeon and i915 reported by Benjamin Baier
* Enable threads testotto2021-02-201-1/+1
|
* A regress test to test concurrent exception handling in threadsotto2021-02-202-0/+63
|
* Make the unwind cache tread-safe by declaring it thread_local. Solvesotto2021-02-201-1/+1
| | | | segfaults seen on exception handling. ok kettenis@
* tick_msg("lease", TICK_SUCCESS) in bind_lease() should *not* bekrw2021-02-201-2/+2
| | | | invoked when log_getverbose() returns 0.
* Fix disestablishing of PCI interrupt handlers.visa2021-02-201-9/+2
|
* ugly whitespacetb2021-02-202-14/+14
|