summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-02Expand IMPLEMENT_LHASH_COMP_FN/IMPLEMENT_LHASH_HASH_FN macros - the onlyJoel Sing
change to generated assembly results from a difference in line numbers.
2016-11-02Wrap some >80 char lines.Joel Sing
2016-11-02Use secure defaults for TLS - instead of accepting TLSv1.0 and any cipherJoel Sing
suite, use the libtls defaults and require TLSv1.2 with an AEAD+PFS cipher suite - given who we're talking to one would hope that they meet these requirements... ok benno@ deraadt@ florian@
2016-11-02convert DES and DH manuals from pod to mdocIngo Schwarze
2016-11-02poison the TAILQ_ENTRY in items in the per cpu pool cache.David Gwynne
2016-11-02add poisoning of items on the per cpu caches.David Gwynne
it copies the existing pool code, except it works on pool_list structures instead of pool_item structures. after this id like to poison the words used by the TAILQ_ENTRY in the pool_list struct that arent used until a list of items is moved into the global depot.
2016-11-02use a TAILQ to maintain the list of item lists used by the percpu code.David Gwynne
it makes it more readable, and fixes a bug in pool_list_put where it was returning the next item in the current list rather than the next list to be freed.
2016-11-02Make possible to change the link layer address of a cnmac(4) interface.Visa Hankala
Asked by and ok stsp@, ok jasper@
2016-11-02add per cpu caches for free pool items.David Gwynne
this is modelled on whats described in the "Magazines and Vmem: Extending the Slab Allocator to Many CPUs and Arbitrary Resources" paper by Jeff Bonwick and Jonathan Adams. the main semantic borrowed from the paper is the use of two lists of free pool items on each cpu, and only moving one of the lists in and out of a global depot of free lists to mitigate against a cpu thrashing against that global depot. unlike slabs, pools do not maintain or cache constructed items, which allows us to use the items themselves to build the free list rather than having to allocate arrays to point at constructed pool items. the per cpu caches are build on top of the cpumem api. this has been kicked a bit by hrvoje popovski and simon mages (thank you). im putting it in now so it is easier to work on and test. ok jmatthew@
2016-11-01Simplify.Antoine Jacoutot
2016-11-01Tap SIGINT while install(1)ing so that we can properly rollback and notAntoine Jacoutot
be left in an inconsistent state.
2016-11-01Add an XXX.Antoine Jacoutot
2016-11-01Only run sp_cleanup() when applying or reverting a patch (needs root).Antoine Jacoutot
2016-11-01Also remove non matching release rollback kernel.Antoine Jacoutot
Temporary unhook the cleanup function during tests.
2016-11-01Add a cleanup function to remove non matching release content fromAntoine Jacoutot
/var/syspatch and the rollback kernel if all kernel syspatches have been reverted. While here, make sure _RELINT and _REL are declared properly.
2016-11-01Simplify fetch_and_verify(), no need for a loop here.Antoine Jacoutot
2016-11-01Reset the ucode interrupt flag in the softc before loading iwm(4) 8k firmware.Stefan Sperling
Makes firmware load work reliably without the horrid tsleep() workaround hack. Patch by Imre Vadasz
2016-11-01Clean up MALLOC_OPTIONS. For the unittests, move MALLOC_OPTIONS andTheo Buehler
TEST_ENV to unittets/Makefile.inc. ok otto
2016-11-01Add a few error messages so we know where we fail.Antoine Jacoutot
Regular operation is mostly quiet, i.e: Applying syspatch-60-001_cp.tgz 100% |***********************| 65247 00:03 Move trap after we create the temporary directory so that we can remove it on failure and fix a typo in readonly vars.
2016-11-01install_patch -> apply_patch to remove confusion with install_kernel andAntoine Jacoutot
install_file.
2016-11-01We don't want to run on -stable (i.e. locally built release) but only onAntoine Jacoutot
official release. Remove the half cooked rollback patch if we run into an error.
2016-11-01Clear window alert flags after setting winlink alert flags, fixes problemNicholas Marriott
reported by Tommy Allen.
2016-11-01update currency exchange rates;Jason McIntyre
2016-11-01Use x2APIC if it is enabled by BIOS. It is expected that this doesn'tYASUOKA Masahiko
change the behavior on the system whose x2apic is disabled by BIOS. ok sf
2016-11-01MALLOC_OPTIONS=A no longer exists.Theo Buehler
2016-10-31Remove the obsolete A and P flags from MALLOC_OPTIONS.Theo Buehler
ok dtucker
2016-10-31MALLOC_OPTION 'A' no longer exists.Theo Buehler
2016-10-31Add the -d flag to the update command, so directories are createdTheo Buehler
with 'cvs up'. Prompted by a question by patrick keshishian, diff by Raf Czlonka. ok phessler, jca; mild opposition from schwarze
2016-10-31Update to reflect the changes necessary for noperm releases. Trim someTheo Buehler
more fat and avoid introducing unnecessary variables. with & ok tj, ok deraadt, prodded by robert
2016-10-31Delete setlocale(LC_TIME, "").Ingo Schwarze
The only place where this could potentially get used was the strftime(3) for fprintf(3) "job %s at %s\n" to stderr. We don't want base system utilities to talk to users in foreign languages. No functional change on OpenBSD which doesn't provide any non-standard LC_TIME locale anyway. Patch from Jan Stary <hans at stare dot cz>. In main(), exit -> return while here. OK millert@
2016-10-31fix a few suspicious (according to emacs) linesJasper Lievisse Adriaanse
2016-10-31sync to libc: malloc_move is not an option anymoreOtto Moerbeek
2016-10-31P is not settable enymoreOtto Moerbeek
2016-10-31remove some old option letters and also make P non-settable. It hasOtto Moerbeek
been the default for ages, and I see no valid reason to be able to disable it. ok natano@
2016-10-31Improve ofp_error message accurateness: use parameterized error typeRafael Zalamena
instead of hardcoding it. With this we can change the error type to something else and get a more accurate description of what happened. ok reyk@
2016-10-31Change validation functions prototypes: use the parameter variable toRafael Zalamena
return the error code and the return value to signal if the validation was successful or not. With this we can signal some errors in the spec that uses the value 0 (zero). ok reyk@
2016-10-31bump to LibreSSL 2.5.1Brent Cook
2016-10-31Pass the errno value to vfatal(), renaming it to vfatalc() to match,Philip Guenther
intead of using errno as an implicit argument ok reyk@
2016-10-31turns out these chips can handle buffers up to 9400 bytes in length.David Gwynne
raise the mtu to 9380 bytes so we can take advantage of the extra space. i need to revisit the macro names at some point.
2016-10-31revert 1.97 where i moved myx to using the system poolsDavid Gwynne
my early revision board doesnt like it at all
2016-10-30add __BEGIN_DECLS/__END_DECLS to the public userland side of net/bpf.h,Peter Hessler
so c++ programs can use them. OK jca@
2016-10-30large-community needs to have an argumentPeter Hessler
2016-10-30Search for and create a prefetch area only for nonlocal sources.Robert Peichaer
This enables the installer to verify local set files even if the prefetch area would not fit on the local disk. OK krw@ on a similar diff Idea from and OK naddy@ Feedback and OK tb@
2016-10-30include float.h for the LDBL_MAX_EXP cpp test in floatio.hJonathan Gray
2016-10-30If a length from an ip packet encapsulated in gre or etherip would causeJonathan Gray
the position to go past snapend truncate. Found with afl.
2016-10-30Replace a snapend test in ip_print() with a call to TCHECK2 as thereJonathan Gray
is already a trunc label with the same printf in the function.
2016-10-29Fix an issue found by naddy@ where the installer was not ableRobert Peichaer
to fetch local sets without a SHA256.sig file in a directory unreachable by the unprivileged users. The missing SHA256.sig file caused an early exit from the for-loop where the _unpriv variable is unset in case of local sets. - Move the check of the set location (local/net) to the top - Set the ftp command title based on the _srclocal variable - Remove the now unnecessary second _unpriv= OK naddy@
2016-10-29Update the man page after the addition of MODPY_ABI_TAGDaniel Jakots
From sthen@
2016-10-29Simple grammar tweak: allow to specify interface options in a single line.Reyk Floeter
2016-10-29Separate parsing vms and switches from starting them in vmd(8).Edd Barrett
Brings us one step closer to having disabled by default vms is vm.conf(5), which can be started with vmctl(8). Input, testing and OK reyk@. Thanks.