summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-12syncTheo de Raadt
2014-07-12Teach these pf regress tests to run with obj directory and to failAlexander Bluhm
softly if the setup is incomplete. Link them to the build.
2014-07-12Add devel/cmake bits (rotted in my tree for more than a year) and a shortVadim Zhukov
description of x11/kde4 variables. Everyone is welcome to extend&improve. okay espie@
2014-07-12Kill the last dumb DVACT_DEACTIVATE handlers.Martin Pieuchot
2014-07-12Refactor out dosigsuspend() functionMatthew Dempsky
Discussed with guenther and kettenis
2014-07-12Remove this sentence:Miod Vallat
``The probability that a randomly generated key is weak is -1/2^52, so it is not really worth checking for them.'' This kind of naively optimistic attitude is not compatible with security.
2014-07-12Fix USB connect freeze by clearing the host port interrupt.Paul Irofti
Connects and disconnects have no affect on the machine, just like before this driver came into existence. While at it check for a few more interrupt types.
2014-07-12Resize the pcb hashtable automatically. The table size will be doubledYASUOKA Masahiko
when the number of the hash entries reaches 75% of the table size. ok dlg henning, 'commit in' claudio
2014-07-12Log a warning whenever RTM_DESYNC is seen. Thus giving entrailKenneth R Westerback
investigators some clue why dhclient may have gotten confused when some RTM_ messages vanish. sthen@ thinks this is a good start.
2014-07-12revert a few stragglers hiding outTed Unangst
2014-07-12Use a saner and consistent address layout for my network tests thatAlexander Bluhm
run over 4 machines. Add a check-setup target to verify that interface addresses and routes are properly set up.
2014-07-12teduuuuuudfu(4) it has never been enabled in 5 years.Martin Pieuchot
ok tedu@, deraadt@
2014-07-12revert more free falloutTed Unangst
2014-07-12more MLINKSMiod Vallat
2014-07-12getentropy on Windows. It compiles but has not been thoroughly tested yet.wouter
OK: beck@
2014-07-12Remove signed/unsigned warning, statement before declaration andwouter
add a function to use function pointers that does not take sizeof(fptr). OK beck@
2014-07-12zap trailing whitespace;Jason McIntyre
2014-07-12Oops. Correct variable name more likely to compile.Kenneth R Westerback
2014-07-12We have EVP_CIPH_FLAG_DEFAULT_ASN1 in evp.h; no need to keep constructs toMiod Vallat
build on pre-EVP_CIPH_FLAG_DEFAULT_ASN1 codebases. ok jsing@
2014-07-12- replace main() with mips_init() so we can save the arguments from uboot toJasper Lievisse Adriaanse
pass it to the kernel later on. also use it to get the clock frequency. - implement getsecs() so the bootprompt timeout works input/ok miod@ pirofti@
2014-07-12Calculate i/o starts and sizes in 'proper' sectors rather assumingKenneth R Westerback
512-byte sectors. Unlikely to affect CF's in the near future. ok pirofti@
2014-07-12add guards to just make available to the bootblocks what they need.Jasper Lievisse Adriaanse
prompted by miod@
2014-07-12tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but setMartin Pieuchot
the 'dying' flag.
2014-07-12reboot(9): Shutdown system by signaling init(8) from kernel where appropriateMasao Uebayashi
Some ports watch temperature in MD and try to shutdown system, when overheated, by calling directly (re)boot(9). Change this to signal init(8) from kernel, as acpi(4) and acpitz(4) do, which has been more tested. This also helps to clarify design that ``clean shutdown must be always started by init(8)''. Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as acpi(4) etc. already does. It is reasonable, pointed out by kettenis@, considering system is overheated and immediate reboot may be dangerous. OK deraadt@ miod@
2014-07-12Close connections when msgbuf_write() returns 0.Kenneth R Westerback
ok claudio@
2014-07-12Protect the freelists of transfer descriptors with the appropriate splMartin Pieuchot
so that we do not end up allocating two times new descriptors. This happens if a thread finds an empty list, start allocating, got interrupted and the interrupt also finds an empty list. Fix an issue reported by Nils Frohberg. ok yuo@, pirofti@
2014-07-12Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has beenMiod Vallat
done for other symmetric algorithms recently.
2014-07-12Mark the interface down and cancel the watchdog timer in imxenet_stop().Brad Smith
ok matthieu@ rapha@
2014-07-12Fix a potential bug. privsep.c didn't check the interface nameYASUOKA Masahiko
correctly if it's pppx.
2014-07-12oh well, remove -Q entirely... I'm probably the only one who ever used that.Marc Espie
2014-07-12ewps, that giant table has -inet6 twice, for SMALL and !SMALLHenning Brauer
no breakage involved, but wasn't correct in the SMALL case either
2014-07-12WhitespacePaul Irofti
2014-07-12security check in quirksMarc Espie
2014-07-12undocument -QMarc Espie
2014-07-12finish killing old experiment, less confusing codeMarc Espie
2014-07-12rename variable to better indicate it's meaningJasper Lievisse Adriaanse
2014-07-12Provide ssl_version_string() function, which uses one of those modern CJoel Sing
constructs (a switch statement) and returns the appropriate string defined by SSL_TXT_* for the given version, including support for DTLSv1 and DTLSv1-bad. Use this function in SSL_get_version() and SSL_SESSION_print(). ok beck@
2014-07-12@endfake died a while agoMarc Espie
2014-07-12so, pkg_check can now troll thru the whole file system. Either useMarc Espie
a full pkglocatedb, or the system locate dbs...
2014-07-12Fix error in previous.YASUOKA Masahiko
2014-07-12In openssl_startup(), call SSL_library_init() and SSL_load_error_strings().Joel Sing
This allows us to remove the ERR_load_crypto_strings() call, along with the various SSL_load_error_strings() and OpenSSL_add_ssl_algorithms() calls scattered around the place. ok beck@
2014-07-12Make the BLOCK_CIPHER_{generic,custom} macros expand to more readable structMiod Vallat
definitions using C99 field initializers. No functional change.
2014-07-12msgbuf_write() <= 0 for a few more daemons.Kenneth R Westerback
ok claudio@
2014-07-12syncTheo de Raadt
2014-07-12guenther (who also should have been credited in previous free size commits)Ted Unangst
noticed that i missed committing one file.
2014-07-12Remove the redundant csum_flag variable and just set the checksum flagLawrence Teo
in the pkthdr directly. ok henning@
2014-07-12Protocol checksums have been recalculated on reinjection for a whileLawrence Teo
now, so there is no need to calculate them before sending them to userspace. ok henning@
2014-07-12revert bogus free changes in not kernel files. got a little trigger happy.Ted Unangst
2014-07-12Wrap "thread_private.h" with #ifdef __OpenBSD__ so that other systemsTheo de Raadt
can copy this file (plus chacha_private.h) directly and reuse it trivially. Well, as long as they have a getentropy() as well.. ok beck
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.