summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/src/mutex_unix.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-19Do not match Uninorth bridges until we have a working KMS with AGPmpi1-1/+3
support for G4 machines. This allows us to enable agp(4) again for G5 machines. ok kettenis@
2015-12-19Make carp_output() mpsafe.mpi1-5/+12
This is needed in order to fully unlock ARP processing with carp(4) interfaces as found the hardway by sthen@. ok sthen@, dlg@
2015-12-19Tidy up _rc_wait().ajacoutot1-11/+8
ok sthen@ robert@
2015-12-19UTF-8 support:schwarze2-9/+38
Let -f recognize non-ASCII blank characters and let -s count characters rather than bytes. OK zhuk@ bentley@
2015-12-19Tweak pexp.ajacoutot1-2/+2
2015-12-19Add xs_setprop to set device propertiesmikeb2-2/+32
2015-12-19Fixup a few bugs in xen_intr_{establish,disestablish}mikeb1-10/+6
xen_intr_establish was using a variable that hasn't got its value updated in the supplementary check for event channel port unmasking. xen_intr_disestablish didn't save and correctly check the return value of xen_lookup_intsrc call and was incorrectly indexing into the pending event channel port bitmap.
2015-12-19Make input off flag (selectp -d) apply to synchronize-panes too.nicm1-2/+4
2015-12-19Delete superfluous "continue;" just before end of loop.krw1-2/+1
2015-12-19More style improvement and removal of NULL/allocation casts.mmcc2-47/+26
ok tb@
2015-12-19Delete superfluous "close(s);return" just before "close(s);<functionkrw1-3/+1
exit>".
2015-12-18Remove code for unimplemented ElGamel support that's been disabled formmcc1-20/+1
sixteen years. ok millert@, tb@, sthen@
2015-12-18Make ix(4) mpsafer. Take advantage of intr_barrier() to eliminate the mutexkettenis1-73/+52
introduced in the previous step, and use atomic instructions to make the tx completion path mpsafe as well. ok claudio@, mpi@
2015-12-18Fix SO_REUSE* flags effects when binding multicast addresses. Novgross2-4/+4
regression observed on avahi. ok benno@
2015-12-18Check ioctl() result with == -1, not < 0. Break long line.krw1-3/+4
2015-12-18Fix urtw(4) on big-endian architectures. Patch by Cedric Tessier.stsp1-1/+6
Tested by Cedric on macppc/i386, and by myself on macppc.
2015-12-18Make ix(4) mpsafer. Take advantage of intr_barrier() to eliminate the mutexkettenis2-7/+6
introduced in the previous step, and use atomic instructions to make the tx completion path mpsafe as well. ok claudio@, mpi@
2015-12-18KNF: add a missing space after an 'if'.tb1-2/+2
2015-12-18A few more NULL casts and style tweaks. No functional change.mmcc1-20/+16
2015-12-18Cleanup and modernization. No functional change. Discussed with halex@.mmcc1-51/+34
2015-12-18Remove two error-on-NULL conditions for allocations that can't fail.mmcc2-11/+2
ok visa@
2015-12-18Add library-based __sync functions for mips64.visa2-1/+321
Help with testing and ok kettenis@
2015-12-18Introduce a new function disk_has() to inspect a disk if it has arpe11-78/+98
partition-table of a certain type and optionally if it has a partition of a certain type. Use disk_has() in the install.md script to replace all the various "fdisk <disk> | grep <pattern>" commands greatly simplifying things. positive feedback from sthen@ "time to get it really tested" deraadt@ OK krw@
2015-12-18pledge "stdio rpath wpath cpath dpath fattr", as long as the -m optionderaadt1-2/+6
wasn't used
2015-12-18Remove leftover prototype.visa1-2/+1
ok mpi@
2015-12-18A store to FPA does not need splnet(). The operation is atomic.visa1-7/+1
2015-12-18unnoccupied->unoccupiedsthen1-2/+2
2015-12-18Fix wrong answer if the imaginary part is zero.shadchin3-3/+9
NetBSD also turn off this piece of code. ok tb@
2015-12-18Fix behavior csqrt, should beshadchin3-6/+6
csqrt(conj(z)) == conj(csqrt(z)) Before csqrt(-4.0 + -0.0i) = 0.0 + 2.0j but should be csqrt(-4.0 + -0.0i) = 0.0 - 2.0j ok tb@, also discussed with daniel@
2015-12-18Convert arc4random() to arc4random_uniorm(). Diff by Matthew Martin.tb2-4/+4
Ensure that arc4random_uniform() doesn't loop by redefining ND6_MAX_DESYNC_FACTOR to be 512, the largest power of two smaller than the RFC-specified 600 seconds. Suggested by florian@ and deraadt@ ok florian@, sthen@ in this form, arc4random change ok djm@, tedu@
2015-12-18Simplify return call of rand() and rand_r() to make it easier to read.tb1-2/+2
This is slightly less robust, but RAND_MAX must be one below a power of two in both variants anyway. Based on a suggestion by Matthew Martin. ok tedu@
2015-12-18Drop the now useless multicast setup comment.ajacoutot1-7/+1
prodded by tim@, ok mpi@
2015-12-18Prevent uvm_fault() when hitting a breakpoint by restoring the originalgerhard1-2/+2
page protection bits. Go ahead, mlarkin@
2015-12-18Fix out of bounds array access in ieee80211_setbasicrates().stsp1-1/+2
found by + ok jsg@
2015-12-18Remove an error-on-NULL condition after a mallocarray() call that cannotmmcc1-6/+1
fail. This codepath doesn't exist upstream, so it's fine to change. ok jsg@
2015-12-17Simplify multicast option handling (10 less lines) by matching /etc/rc behaviorajacoutot1-12/+2
towards other YES|NO options and drop the error warning. with and ok tim@, ok rpe@ on an earlier diff
2015-12-17As well as setting up the state, actually use it in cmd_find_target.nicm1-3/+4
2015-12-17Make the cost of moving a process to the primary cpu a bit higher. This iskettenis1-1/+10
the CPU that handles most hardware interrupts but we don't account for that in any way in the scheduler. So processes (and kernel threads) that are unlucky enough to end up on this CPU will get less CPU cycles than those running on other CPUs. This is especially true for the softnet taskq. There network interrupts will prevent the softnet taskq from running. This means that the more packets we receive, the less packets we can actually process and/or forward. This is why "unlocking" network drivers actually decreases the forwarding performance. This diff restores most of the lost performance by making it less likely that the softnet taskq ends up on the same CPU that handles network interrupts. Tested by Hrvoje Popovski ok mpi@, deraadt@
2015-12-17sprinkling ifndef __linux__ around two variable declarations could nottedu3-14/+4
possibly make this driver portable
2015-12-17Add missing colon after "Peer name" in verbose output. Mentioned on themmcc1-2/+2
lists recently.
2015-12-17s/expresion/expression/gmmcc1-2/+2
2015-12-17s/failes/failed/gmmcc3-10/+10
2015-12-17add return code to newrequest to distinguish between cache hit and error.tedu1-10/+15
we want to keep looping for more requests after a hit, not stop. (though i'm reconsidering if the looping is worthwhile. maybe should just return to kevent() after each request.)
2015-12-17add a size to free. from Mathieutedu2-6/+12
2015-12-17arrays decay to pointers without needing &tedu1-5/+5
2015-12-17no need to check null before freetedu1-5/+3
2015-12-17add ktrace to kevent. ok guenthertedu2-3/+18
2015-12-17add size to free. from Mathieutedu1-2/+2
2015-12-17rm a bit more trailers code. no longer accept them as alias for ethernet.tedu1-9/+1
ok mpi
2015-12-17If CORB/RIRB are not running, log error message unconditonnalyratchov1-7/+3
and return error. From Alexey Suslikov <alexey.suslikov at gmail.com>