summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-13Add the missing RETURN VALUES section, mostly from Paul YangIngo Schwarze
via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800, but fixing two bugs in his description. This commit also includes a few minor improvements to the description of DES_fcrypt(3), also from OpenSSL, tweaked by me.
2018-02-13Normalize handle limit timeval in microsecond (usec) case.cheloha
Makes stuff like limit 1500000 usec work correctly. ok millert@ tb@
2018-02-13atoll -> strtonumcheloha
ok millert@ tb@
2018-02-13give up a bit on the infamous cups update issue.Marc Espie
sort dependencies so that at least this is 100% reproducible...
2018-02-13remove space before tabDamien Miller
2018-02-13Correctly describe BN_get_word(3) and BN_set_word(3).Ingo Schwarze
These functions constitute an obvious portability nightmare, but that's no excuse for incorrect documentation. Pointed out by Nicolas Schodet via OpenSSL commit b713c4ff Jan 22 14:41:09 2018 -0500.
2018-02-13Mention that BN_new(3) sets the value to zero;Ingo Schwarze
from Hubert Kario <hkario at redhat dot com> via OpenSSL commit 681acb31 Sep 29 13:10:34 2017 +0200.
2018-02-13Delete duplicate .Nm entry in the NAME section,Ingo Schwarze
from Rich Salz via OpenSSL commit 8162f6f5 Jun 9 17:02:59 2016 -0400. Merging the RETURN VALUES section really wouldn't make much sense here, it contains no additional information and i don't see any way to reorganize the content and make it better.
2018-02-13Add the missing RETURN VALUES section.Ingo Schwarze
Triggered by OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800 by Paul Yang, but reworded for intelligibility and precision. While here, also expand the description of the "ret" argument of BIO_callback_fn(). That's a fairly complicated and alarmingly powerful concept, but the description was so brief that is was barely comprehensible.
2018-02-12some mode of session resumptions are not currently supported by ftp(1)Marc Espie
be fair to those servers, display a more accurate message of what we know
2018-02-12Add the missing RETURN VALUES section;Ingo Schwarze
from Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800 with tweaks by me.
2018-02-12Add the missing RETURN VALUES section;Ingo Schwarze
from Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800.
2018-02-12Add missing RETURN VALUES section.Ingo Schwarze
From Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800 with one tweak.
2018-02-12Use IP6_SOIIKEY_LEN instead of hardcoded value.Martin Pieuchot
from semarie@, ok benno@
2018-02-12Always destroy all interfaces before starting a new test.Martin Pieuchot
This should make tests following a failing test pass.
2018-02-12Add the missing RETURN VALUES section and reorder the contentIngo Schwarze
accordingly. Make some statements more precise, and point out some dangerous traps in these ill-designed interfaces. Also do some minor polishing while here. Triggered by OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800 by Paul Yang, but not using most of his wording because that is in part redundant, in part incomplete, and in part outright wrong.
2018-02-12Pass '-inet6' to the default loopback before each test.Martin Pieuchot
In order to have reproducible tests route entries must not stay. Otherwise the 'Use' counter keeps growing.
2018-02-12Now that the default loopback interface is brough UP when rdomain 5Martin Pieuchot
is created, it gets default IPv6 addresses. So reflect that change in netinet6 outputs.
2018-02-12Revert previous, the changed has been backed out and I wasn't runningMartin Pieuchot
the last snaphot.
2018-02-12Fix most outputs now that lo5 is getting 127.0.0.1 automagically.Martin Pieuchot
2018-02-12restore the previous semantics wrt if up, tunnel, and address config.David Gwynne
this is a port of the change made to if_etherip.c r1.35 to allow addresses to be configured before the tunnel is configured.
2018-02-12restore the previous semantics wrt if up, tunnel, and address config.David Gwynne
this is a port of the change made to if_etherip.c r1.35 to allow addresses to be configured before the tunnel is configured. this rollback is particularly annoying on gre with keepalives. keepalives rely on the interface rdomain and tunnel rdomain to be the same, which the rolled back semantics checked. now it is possible to create an invalid configuration and not get any feedback about it.
2018-02-12restore the previous semantics wrt if up, tunnel, and address config.David Gwynne
this is a port of the change made to if_etherip.c r1.35 to allow addresses to be configured before the tunnel is configured.
2018-02-12use a mobileip_tunnel struct to represent the interfaces tunnel info.David Gwynne
this avoids allocating a mobileip_softc on the stack to build a key for looking up interfaces with on packet input. struct ifnet inside mobileip_softc is "quite large", and may blow the 2k limit one day.
2018-02-12restore the previous semantics wrt if up, tunnel, and address config.David Gwynne
our network drivers have a feature where if you configure an address on the interface, it implicitly brings the interface up. i changed etherip so you could only change the tunnel configuration while it down, but maintained the implicit up behaviour. bringing the tunnel up also relied on having valid configuration, ie, tunnel addreses must be configured otherwise up will fail. this means people who have address config in their hostname.etherip files before config for the tunnel addresses will have problems. firstly, the address wont be configured because falling through to the interface up fails because the tunnel isnt configured correctly, and that error makes the address config roll back. secondly, config that relies on configuring the address to bring the interface up will fail because there's no explicit up after the tunnel config. this diff rolls the tunnel config back to keeping the interface on a list, and allowing config at any time. the caveat to this is that it makes mpsafety hard because inconsistent intermediate states are visible when packets are being processed.
2018-02-12Simplify documentation of split-screen mode, avoiding abuse of []Ingo Schwarze
to sometimes mean "character set", which conflicts with the normal meaning of "optional element" in manual pages. While here, add a few related clarifications and tweak a few details. Triggered by a minor bug report from <trondd at kagu-tsuchi dot com>, and by bentley@ subsequently pointing out the abuse of []. Patch using input from jmc@, who also agreed with some previous versions.
2018-02-12Typo in a comment (CR$_VMXE instead of CR4_VMXE). No functional change.Mike Larkin
2018-02-12; ends c statements, not ;;David Gwynne
2018-02-12dont handle SIOCSIFRDOMAIN twice, egre isn't supposed to filter it.David Gwynne
2018-02-11Ooops. After getting a NAK in response to a renewal REQUEST, we deleteKenneth R Westerback
the interface's address and thus the cached configuration data becomes invalid and must be discarded. Issue found & fix tested by Christer Solskogen. Thanks!
2018-02-11Revert rev 1.163. Causes network issues in Firefox.Matthieu Herrb
ok mpi@ who will investigate.
2018-02-11Don't reset signal handlers inside handlers.Darren Tucker
The signal handlers from the original ssh1 code on which OpenSSH is based assume unreliable signals and reinstall their handlers. Since OpenBSD (and pretty much every current system) has reliable signals this is not needed. In the unlikely even that -portable is still being used on such systems we will deal with it in the compat layer. ok deraadt@
2018-02-11Use the new APIs for setting block lengths and reading from/writing toPatrick Wildt
memory regions.
2018-02-11Move .openbsd.randomdata into .rodata. This makes things morePatrick Wildt
consistent across architectures. Requested by deraadt@ ok kettenis@
2018-02-11Rework the DDB trace handling for armv7. By switching to clang thePatrick Wildt
stack frame format has changed. Apparently AAPCS doesn't specify at all what a stack frame looks like. We end up with much simpler code, but also with a lot less information in the trace. ok kettenis@
2018-02-11Document three more functions recently made public by jsing@Ingo Schwarze
as requested by jsing@, and also document six more related functions that have already been public before that. OpenSSL fails to document any of these.
2018-02-11Add sdmmc_io_set_blocklen() which allows to set the block length of anPatrick Wildt
SDIO function. This is necessary for some SDIO cards that need to be talked with using smaller block lengths than the maximum supported by the host controller. ok kettenis@
2018-02-11Add sdmmc_io_read_region_1() and sdmmc_io_write_region_1() as anPatrick Wildt
interface for "reading memory" akin to the bus_space(9) API. The already existing multi interface is used for "reading FIFOs". The technical difference is that one always reads from the same address (FIFO) while the other increments the address while reading (memory). ok kettenis@
2018-02-11typo in output string; from edgar pettijohnJason McIntyre
2018-02-11fix madvise(2) flags matching; ok deraadt@ tom@Otto Moerbeek
2018-02-11Make sorting in the pcache view work. This allows us to sort on allMartijn van Duren
shown columns. There's still parts that could do with a good polishing, but it's an improvement. OK tedu@
2018-02-11Move landisk to MI mutex.Martin Pieuchot
ok dlg@
2018-02-11macro fix;Jason McIntyre
2018-02-11Copy the scan results into a new buffer to re-align the data so that wePatrick Wildt
don't fault on strict alignment architectures.
2018-02-11Since the BCDC header has a variable data offset, so the ethernet packetPatrick Wildt
alignment can be variable, it's better to move taking care of alignment into the BCDC receive code.
2018-02-11oops, typoTheo de Raadt
2018-02-11Update the packet header length as well as the mbuf length onPatrick Wildt
receive. Did that everywhere else but missed it here.
2018-02-11Document how MAP_STACK will be used. All stacks must be mmap'd withTheo de Raadt
this attribute. The kernel does so for main-process stacks at execve() time, pthread stack functions do so for new stacks, and stacks provided to sigaltstack() and other user-provided stacks will need to be allocated in that way. Not required yet, but paving the way. Work done with stefan
2018-02-11light documentation for MAP_STACKTheo de Raadt
2018-02-11SDIO support for bwfm(4) is good enough now that we can remove thePatrick Wildt
claim saying it is not supported. It's slowly getting on par with the other busses but there's still more work to do. Prompted by tb@