summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-19oops, forgot rndvar.hTheo de Raadt
2014-12-19Add rdp/rfb/vnc.Antoine Jacoutot
no objection from deraadt@
2014-12-19place the afterinstall: target correctly for static-only architecturesTheo de Raadt
2014-12-19oops, forgot rndvar.hTheo de Raadt
2014-12-19don't print vnodes if we didn't read themTed Unangst
2014-12-191. -T (totalflag) requires nlist too.Ted Unangst
2. If we can't read a vnode, there's no way LIST_NEXT is going to be meaningful. 3. set numvnodes before looping in case we return early. getting better, but still not all fixed
2014-12-19Use taskq rather than workq to remove unwanted alias.Kenneth R Westerback
ok mikeb kettenis (for earlier version)
2014-12-19Move cbus.c, cbusvar.h, and pcex.c to new 'cbus' directory, to gatherKenji Aoyama
'C-bus' device drivers in it. More devices on cbus(4) will be added, hopefully :-) ok miod@
2014-12-19Support source-hash and random with tables and dynifs; not just pools.Reyk Floeter
This finally allows to use source-hash for dynamic loadbalancing, eg. "rdr-to <hosts> source-hash", instead of just round-robin and least-states. An older pre-siphash version of this diff was tested by many people. OK tedu@ benno@
2014-12-19Comment is no longer true, remove it.Ryan Thomas McBride
2014-12-19remove hash.h. no longer needed. ok reykTed Unangst
2014-12-19Remove an unused sys/hash.h include from db_structinfo.cReyk Floeter
(this file is only compiled with "option DDB_STRUCT"). ok guenther@
2014-12-19lonely bcopy called me by nameTheo de Raadt
2014-12-19another handful of bcopy -> memcpy because there is no overlapTheo de Raadt
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
marker for which pools are not interrupt safe. ok dlg
2014-12-19if you really must look inside the pool to decide if you've calledTed Unangst
pool_init already, the pr_size field is the least worst field to peek at.
2014-12-19add messages to #error so we know what's what (and so unifdef doesn't poop)Ted Unangst
2014-12-19Rewrite the low-level UTF-8 parser from scratch.Ingo Schwarze
It accepted invalid byte sequences like 0xc080-c1bf, 0xe08080-e09fbf, 0xeda080-edbfbf, and 0xf0808080-f08fbfbf, produced valid roff Unicode escape sequences from them, and the algorithm contained strong defenses against any attempt to fix it. This cures an assertion failure in the terminal formatter caused by sneaking in ASCII 0x08 (backspace) by "encoding" it as an (invalid) multibyte UTF-8 sequence, found by jsg@ with afl. As a bonus, the new algorithm also reduces the code in the function by about 20%.
2014-12-19Make use of m_defrag() in re_encap().Brad Smith
2014-12-19rename buffer to digest, more clear. ok deraadtTed Unangst
2014-12-19CA.sh and CA.pl are goneLawrence Teo
2014-12-19Sync message digest algorithms with the ones actually implemented inLawrence Teo
"openssl dgst". feedback/ok jmc@
2014-12-19convert bcopy/zero to memcpy. ok deraadt djmTed Unangst
2014-12-19timestamp empty pages, and only free them if theyve been idle for at leastDavid Gwynne
a second. this basically brings back the functionality that was trimmed in r1.53, except this version uses ticks instead of very slow hardware clock reads. ok tedu@
2014-12-19the last commit changed LIST_INSERT_HEAD to TAILQ_INSERT_TAIL cos theDavid Gwynne
latter is cheaper, but i forgot to change the thing that pulls pages off those lists to match the change in direction. the page lists went from LIFO to FIFO. this changes pool_update_curpage to use TAILQ_LAST so we go back to LIFO. pointed out by and ok tedu@
2014-12-19Rearrange mostly vmxnet3_init() to look like other Ethernet drivers.Brad Smith
ok reyk@
2014-12-19sha512 produces enough output, we can simplify extraction by not looping.Ted Unangst
ok deraadt djm
2014-12-19replace the page LISTS with page TAILQs. this will let me pull pages fromDavid Gwynne
either end of the lists cheaply. ok kettenis@ tedu@
2014-12-18remove two useless and unused hash penalty definesTed Unangst
2014-12-18don't count partial authentication success as a failure againstDamien Miller
MaxAuthTries; ok deraadt@
2014-12-18Merge in some commits from upstream..Brad Smith
- Fix that failure to add tcp to tcp base does not leak the socket. - Fixes for wildcard addition and deletion, speedup for some cases. - Fix that queries for noname CH TXT are REFUSED instead of nodata. - Fix #616: retry xfer for zones with no content after command. - Fix that expired zones stay expired after a server restart. - RFC 7344: CDS and CDNSKEY (read in). ok sthen@
2014-12-18an hex -> a hex;Jason McIntyre
2014-12-18obvious non-overlap bcopy -> memcpyTheo de Raadt
2014-12-18convert one hot looking bcopy to memcpyTed Unangst
2014-12-18delete a whole mess of unnecessary caddr_t castsTed Unangst
2014-12-18Update test - the hashkey log message disappeared.Reyk Floeter
2014-12-18Don't let .Ta creep into an already-closed list; same as for .It.Ingo Schwarze
Fixes an assertion found by jsg@ with afl.
2014-12-18Update relayd to use siphash instead of sys/hash. The source-hash,Reyk Floeter
loadbalance and hash modes use a random key by default that can be forced to be a static key with a new configuration argument. With input from Max Fillinger. ok tedu@
2014-12-18update usage() and the list of non-standard (i.e. non-posix) options;Jason McIntyre
ok schwarze
2014-12-18document power capacity units. from david higgsTed Unangst
then change everything from mu to u, as more traditional. ok deraadt
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
naddy found sparc64 gets a little slower when unrolled. ok deraadt
2014-12-18Only keep leading .Sm inside a list when it immediately precedesIngo Schwarze
the first .It. Otherwise, move it out together with whatever follows. Fixing an assertion failure found by jsg@ with afl.
2014-12-18use suspend_randomness() and resume_randomness()Theo de Raadt
2014-12-18Wrap more of these long lines.Reyk Floeter
2014-12-18two more uses of siphash. better hash for ipv4. maybe not needed for rbtreeTed Unangst
hint, but still pretty. ok deraadt
2014-12-18simple to use siphash here. ok deraadtTed Unangst
2014-12-18When the head of a list item is extended with a partial explicitIngo Schwarze
macro (for example .Xo) and never closed again, the item ends up without a body block. This can even happen for list types that usually don't have heads in the first place. So even in this case, check for the existence of the body before accessing it. NULL pointer access found by jsg@ with afl.
2014-12-18wrap unreasonably long linesTheo de Raadt
2014-12-18The VM host might send multiple messages at once but vmt(4) onlyReyk Floeter
processed one of time per second. Change the code to process all queued messages without delay immediately. This fixes two things: a) the vmt time sensor is available on boot when ntpd -s is loaded and b) the random seeding on resume (OS_Resume message) is executed almost immediately and not delayed by about 20 seconds. ok deraadt@
2014-12-18use siphash for pf_lb. for ipv6, we stretch it out a bit, but good enough.Ted Unangst
ok reyk