summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-19multiline string literals aren't really a thing. just smush a few stringsTed Unangst
together.
2014-12-19remove ipw. it wasn't included in generic, but nobody complained,Ted Unangst
indicating probably nobody has one of these in amd64 capable hardware. spotted by krw. ok kettenis krw
2014-12-19make the code look more like libc by changing Transform to take the stateTed Unangst
ok millert
2014-12-19bcopy to memcpy. ok deraadt millertTed Unangst
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
long live the one true internet. ok henning mikeb
2014-12-19Enforcing an arbitrary, implementation dependent, undocumented limitIngo Schwarze
by calling assert() when valid user input exceeds it is a bad idea. Allocate the terminal font stack dynamically instead of crashing above 10 entries. Issue found by jsg@ with afl.
2014-12-19Fix tree breakage due to unused variable after last commit.Kenneth R Westerback
2014-12-19Change scan and auth+assoc workq entries to taskq entries.Kenneth R Westerback
Identical diff originally and independently developed by blambert@.
2014-12-19shuffle function declarations a bit; stylistic changes only.Reyk Floeter
2014-12-19be like the kernel and only unroll if not smallTed Unangst
2014-12-19No need to include sys/types.h when sys/param.h is already included.Reyk Floeter
While here, sort includes a bit. No functional change.
2014-12-19syncTheo de Raadt
2014-12-19i386 unrolling blows up the media in a big way, due to -Os forTheo de Raadt
ramdisk libc builds. there has to be a better way without #ifdef's in gross places, but I don't see it yet.
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.