summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revise kernel's ld.script on octeonvisa2021-02-063-13/+56
| | | | | | | | | This allows more control over the structure of the linked kernel image. Now the ELF .openbsd.randomdata segment can be omitted from BOOT kernel. The segment has caused trouble with broken firmware when the firmware tries to load it on top of the actual kernel segment. Discussed with and OK deraadt@
* Only hexdump packets/messages on higher debug levels.jsing2021-02-061-3/+4
|
* Test reads and writes between the client and server.jsing2021-02-061-3/+49
|
* Use message_set() instead of direct assignment to curr_messagetb2021-02-061-3/+3
| | | | | | to avoid leaking the current help text. from Anindya Mukherjee
* Roll back the hostname->uname change in rev 1.10. It turns outdtucker2021-02-051-3/+3
| | | | | | | uname -n doesn't do what we need for some platforms in portable, so we'll fix the original problem (that some other platforms don't have hostname at all) by providing wrapper function to implement it.
* disable autovol by default and set default volume to 127jcs2021-02-052-10/+7
| | | | | | | The previous behavior of automatically decreasing playback volume when new programs start playing can be achieved with '-w on'. ok ratchov, patrick
* Fix whitespace.bluhm2021-02-051-3/+3
|
* syncderaadt2021-02-051-0/+1
|
* Remove the terrible_ping_kludge() workaround. We have committed a fix tomglocker2021-02-051-66/+0
| | | | | | | the USB stack in the meantime for uhidev(4) and ugen(4) to resolve the data toggle issue in relation to xhci(4). ok gnezdo@, djm@
* Setup two pair(4) and one lo(4) interface in different routingbluhm2021-02-052-0/+181
| | | | | domains and with different interface MTU. Test that packet flow and TCP path MTU discovery works.
* Send Unicode directional isolate characters around horizontal panenicm2021-02-055-12/+32
| | | | | | | | borders if the terminal support UTF-8 and an extension terminfo(5) capability "Bidi" is present. On terminals with BiDi support (ie, VTE) this seems to be enough to display right-to-left text acceptably enough to be usable (with some caveats about the mouse position). Requested by and with help from Mahmoud Elagdar in GitHub issue 2425.
* Remove the not so periodic stats from rpki-client. The output is not veryclaudio2021-02-051-17/+3
| | | | | useful and the way it works is a bit strange. OK job@ tb@
* Add a -S flag to new-window to make it select the existing window if onenicm2021-02-053-10/+118
| | | | | | | with the given name already exists rather than failing with an error. Also add a format to check if a window or session name exists which allows the same with other commands. Requested by and discussed with kn@.
* Introduce a transaction id. This is currently mostly a dummy-variable, butmartijn2021-02-052-2/+28
| | | | | | will later on be needed for when we reintroduce agentx master support. feedback and OK dlg@, rob@
* Prevent that when ugen(4) tries to set an alternative configurationmglocker2021-02-051-1/+5
| | | | | | | | | | descriptor (usually doesn't happen), that we continue to use an outdated cdesc pointer which still refers to the previous cdesc. Instead update the cdesc pointer to the new configuration descriptor. Reported by Thomas Jeunet <cleptho AT gmail DOT com> ok phessler@
* hostname is not specified by POSIX but uname -n is, so use the latter fordtucker2021-02-051-3/+3
| | | | portability. Patch from Geert Hendrickx via github PR#208.
* Remove debug message from sigchld handler. While this works on OpenBSDdtucker2021-02-051-3/+1
| | | | | it can cause problems on other platforms. From kircherlike at outlook.com via bz#3259, ok djm@
* arm_intr_establish_fdt() has long been renamed to fdt_intr_establish().patrick2021-02-053-8/+7
|
* Fix CVS tag.patrick2021-02-051-1/+1
|
* Fix whitespace.patrick2021-02-051-2/+2
|
* Rename probe/attach functions to fit our regular naming scheme. Replacepatrick2021-02-051-13/+13
| | | | | | | | | &armv7_bs_tag with fdt_cons_bs_tag, which is our early console bus tag for both arm64 and armv7. On armv7, it points to &armv7_bs_tag. With this we can get rid of the armv7var.h include. Reduce a bit of diff to imxuart(4). ok kettenis@
* Move exuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.patrick2021-02-054-12/+12
| | | | ok kettenis@
* exuart(4) does not need to include exclockvar.h. The header seems to onlypatrick2021-02-041-2/+1
| | | | provide a function for the I2C clock frequency, used by exiic(4).
* Tedu exuartvar.h, which has not been needed since we switched to the "newpatrick2021-02-042-20/+1
| | | | way" of attaching the console.
* Add missing CVS tag.patrick2021-02-041-0/+1
|
* syncpatrick2021-02-041-1/+0
|
* Tedu unnecessary imxuartvar.h.patrick2021-02-042-21/+1
| | | | ok kettenis@
* remove the suggestion to permit pkg_add with doas "nopass" when doingsthen2021-02-041-21/+13
| | | | | | | | | | | | | ports dev work. if you are able to run pkg_add as root without a password, your account is root-equivalent. typing the password multiple times is a pain but if somebody is going to choose to weaken their local security in this way, it should be their own decision and not something they have read in a manpage. ok tb@ thfr@
* it's fine to route-to to a table.dlg2021-02-041-3/+0
| | | | i think this should have been tweaked a while back.
* route-to rules take ips now, not interfaces with optional ips.dlg2021-02-043-19/+19
| | | | reminded by bluhm@
* route-to rules take ips, not interfaces with optional ips.dlg2021-02-043-38/+38
| | | | reminded by bluhm@
* route-to rules take an ip now, not an interface with optional ip.dlg2021-02-042-2/+4
| | | | | | | they now also only work on keep state rules, so there's even more errors from the parser to expect. reminded by bluhm@
* 'struct group' is now called 'struct dh_group'.tobhe2021-02-042-4/+4
|
* Rename 'struct group' to 'struct dh_group' for more clarity andtobhe2021-02-044-63/+63
| | | | | | to avoid name clashes. ok patrick@
* EC_POINT_get_affine_coordinates_GFp() and EC_POINT_get_affine_coordinates_GF2m()tobhe2021-02-041-21/+7
| | | | | | | do the same thing. Remove redundant check and always use the _GFp() variant. discussed with tb@ ok patrick@
* Upgrade to OpenSSL 1.1 compatible crypto API. Add additionaltobhe2021-02-045-144/+231
| | | | | | checks where needed. ok markus@ patrick@
* Referece trpt(8) from the SO_DEBUG section of getsockopt(2).bluhm2021-02-041-2/+4
| | | | OK claudio@ visa@
* Implement the nc(1) -D socket debug option also in tcpbench(1).bluhm2021-02-042-8/+26
| | | | | This allows to analyse TCP connections. OK claudio@
* syncanton2021-02-041-0/+1
|
* Add uhidpp(4), a driver for Logitech HID++ devices. Currently limited toanton2021-02-0421-23/+1149
| | | | | | | | | exposing battery sensors for HID++ 2.0 devices. Most of the code is derived from the hid-logitech-hidpp Linux driver. Thanks to Ville Valkonen <weezeldinga at gmail dot com> for testing. ok mglocker@
* Add uhidev_set_report_dev() allowing usb drivers to early on install aanton2021-02-042-5/+25
| | | | | | | handler for a specific report id. Needed by an upcoming driver in order to communicate with the device already in the attach routine. ok mglocker@ as part of a larger diff
* Handle Netgear ProSecure UTM25visa2021-02-044-4/+26
| | | | | | | | | | | This makes the system recognize and configure Netgear ProSecure UTM25. Of the network ports, LAN1-4 and WAN1 are functional. WAN2 does not work for some reason. Even though WAN1 has a separate link to the SoC, the connection appears to go through the same switch that the LAN ports use. At the moment, the system relies on U-Boot to set up the switch so that the LAN and WAN segments stay separate. Initial diff and input from Thaison Nguyen, thank you!
* The uri parameter of struct entity is actually a local file path.claudio2021-02-043-37/+37
| | | | | Rename field to reduce confusion about what is what. OK tb@
* Redraw status line and borders on pane enable/disable, GitHub issue 2554.nicm2021-02-041-4/+12
|
* Define the msgbuf queues globably. Clean up the code since rsyncq and procqclaudio2021-02-041-96/+79
| | | | | | no longer need to be passed all the way down anymore. Shuffle code a bit to bring it into more order. OK tb@
* Revert previous commit. The vnode returned by ptm_vn_open() is open andclaudio2021-02-041-33/+28
| | | | | | | can not simply be vrele()-ed on error. The code currently depends on closef() to do the cleanup. Reported-by: syzbot+b0e18235e96adf81883d@syzkaller.appspotmail.com
* Fix an overly long lineclaudio2021-02-041-2/+3
|
* Eventhough most openssl includes include everything try to be a bit moreclaudio2021-02-045-6/+15
| | | | explicit about what is used where. Seems to be the least worst solution.
* Remove openssl includes and fcntl.h neither of those are used in main.c.claudio2021-02-041-6/+2
| | | | Add errno.h since this code makes direct use of errno.
* Cleanup openssl includes a bit. Use x509.h instead of x509v3.h, add asn1.hclaudio2021-02-041-3/+3
| | | | | and remove evp.h. First two suggested by tb@ Compiler agrees