summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/src/tclsqlite.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-11Convert to if_input(), tested by jasper@, thanks!mpi1-13/+5
2015-03-11Convert to if_input().mpi1-13/+7
Tested and ok armani@
2015-03-11adjust for removal of expr (and while here, sort all these lists, with thederaadt21-83/+116
goal of eventually refactoring them)
2015-03-11expr no longer needed on media, because the scripts always use ksh builtins.deraadt2-9/+2
halex, rpe, and todd cleared the way for this.
2015-03-11If this is going to use sync, it should use the sync + sleep idiom.deraadt1-2/+2
Yes, this is stupid, but MI installboot later will make the problem go away. Until then..
2015-03-11Remove setgid kmem support. As a result, -d and -v will require you toderaadt2-17/+6
run this as root. ok millert, also discussed with guenther
2015-03-11'rc.firstime' -> 'rc.firsttime' in comment.krw1-2/+2
Diff from Navan Carson via tech@
2015-03-11When interpreting the -O argument as a macro name fails,schwarze1-3/+4
fall back to showing Nd rather than not showing anything. Issue reported by jmc@.
2015-03-11Fix previous: size_t is often narrower than off_t.schwarze1-2/+2
Cluestick applied by joerg at NetBSD.
2015-03-11Match on 3160. Untested but should work.jsg1-1/+3
ok stsp@ kettenis@
2015-03-11Point people to local-zone and stub-zone in unbound.conf and explainflorian1-4/+14
when this can be used. tweaks ian@ OK ratchov@, sthen@ seems more useful to millert@
2015-03-11set-titles-string now uses formats, not the status bits (so no #() fornicm1-5/+5
now). Reported by landry.
2015-03-11tweak wording; "a value different to 1" -> "...other than 1", from Sevan Janiyansthen1-3/+3
2015-03-11Remove unused type definitions.mpi1-7/+1
ok miod@
2015-03-11port the idea of using clock_gettime(CLOCK_MONOTONIC) for measuringdlg1-6/+18
intervals from src/sbin/ping/ping.c r1.115. > use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the > interval between sending a ping and getting a reply for it. > > this makes it resistant against local wall clock changes, which can > skew the intervals reported or make them go negative. this version puts clock_getting in a local gettime() function that converts to a struct timeval that all the previous callers of gettimeofday expect to get. requested by deraadt@ florian@
2015-03-11port src/sbin/ping/ping.c r1.115.dlg1-3/+9
> use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the > interval between sending a ping and getting a reply for it. > > this makes it resistant against local wall clock changes, which can > skew the intervals reported or make them go negative. requested by deraadt@ florian@
2015-03-11use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure thedlg1-3/+9
interval between sending a ping and getting a reply for it. this makes it resistant against local wall clock changes, which can skew the intervals reported or make them go negative. ok deraadt@ florian@ makes sense to lots of others
2015-03-11add back the changes from rev 1.206, djm reverted this by mistake injsg1-2/+5
rev 1.207
2015-03-10Set verbosity to 1 (the default is 0) so we log incoming notifiesmillert1-1/+2
and zone xfers. OK florian@ deraadt@
2015-03-10Remove unused static local variable; mickey@miod1-3/+1
2015-03-10Invoke va_end() before returning, rather than in an unreachable place; mickey@miod1-3/+4
2015-03-10Make the amd64 pmap (more) mpsafe by protecting both the pmap itself and thekettenis2-31/+52
pv lists with a mutex. Rearange some code to avoid sleeping/spinning with one of these locks held, and also take care that we don't allocate/free any memory in that case. This should make pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) safe to use without holding the kernel lock. Other architectures will follow. ok mlarkin@, deraadt@
2015-03-10Disable db file. It is believed to be a saner default for the commonflorian1-1/+2
use case. sthen@ noticed a problem with missing records on shutdown. OK sthen@
2015-03-10Convert to if_input().mpi1-15/+5
Tested and ok sthen@, ok dlg@
2015-03-10The st_size member of struct stat is off_t, which is signed,schwarze1-2/+2
all required by POSIX. So don't compare it against against an unsigned constant.
2015-03-10We can keep track of the pager PID without additional complexity.schwarze1-27/+23
No functional change for now, but more robust in case anybody should ever add additional child processes.
2015-03-10Convert to if_input().mpi1-8/+5
ok dlg@, kettenis@
2015-03-10Convert to if_input(), tested an ok kettenis@.mpi1-15/+9
2015-03-10Fix a regression caused in rev. 1.118, reported by kristaps@:schwarze1-4/+22
When using a pager and the first manual shown is gzip'ed, the gunzip(1) process ended up as a child of the pager process such that the man(1) process couldn't wait for it, preventing proper display of the manual. Solve this by making the pager a child of the man(1) process (instead of the other way round), which requires being a bit more careful about properly closing file descriptors after use and waiting for the pager before exiting man(1).
2015-03-10Display "Search wrapped" even when searching from the end of the file.bentley1-3/+4
From Zhihao Yuan. ok millert@ miod@
2015-03-09Explicitly cast when assigning from char * to unsigned char * and vice versa.schwarze2-5/+5
For example, gcc 4.7 wants this with -Wall. Patch from kristaps@.
2015-03-09If my calculations are correct, when this baby hits 5.8... you're gonna seemiod1-3/+3
some serious shit.
2015-03-09make the worm grow faster on larger terminals. this is more fun thantedu2-6/+12
starting with an enormous pile of worm at the start.
2015-03-09In wdcintr, do not attempt to read the status register unless WDCF_IRQ_WAITmiod1-10/+10
is not set; this used to be the case but got broken in 1.113. Fixes pciide0 at pci0 dev 2 function 0 "Acard ATP865-R" rev 0x07: DMA on armish (I/O Data).
2015-03-09Avoid doing IPv6 SLAAC for prefixes with preferred lifetime of zeromikeb1-4/+5
RFC 4941 says in 3.3.5: "In particular, an implementation MUST NOT create a temporary address with a zero Preferred Lifetime." OK sthen, henning, benno
2015-03-09Fix vertical spacing at the beginning of tables.schwarze3-12/+7
man(7) always prints a blank line, mdoc(7) doesn't. Problem in mdoc(7) reported by kristaps@. mdoc(7) part of the patch tested by kristaps@.
2015-03-09In mdoc(7), don't mistreat negative .sp arguments as large positive ones.schwarze1-4/+7
Instead, use the same logic as for man(7).
2015-03-09prevent the skipvsp flag from creeping past actual textschwarze2-1/+3
2015-03-09Flush the line preceding a table before clearing the right margin,schwarze1-3/+4
such that that line isn't output with unlimited width. Problem reported and fix OK by kristaps@.
2015-03-09Make relayd TLSv1.2-only by default.reyk2-10/+9
OK krw@ benno@ Based on revision 1.66 of usr.sbin/httpd/parse.y: Make httpd TLSv1.2-only by default. Some older browsers, like IE 10, will be incompatible with this change. We do this early in the release cycle, so there is a good chance to get more experience with the impact of it and the upcoming restricted cipher modes. OK jsing@ deraadt@ benno@ bmercer@ krw@ florian@
2015-03-09Document the TLSv1.2-only change.reyk1-5/+5
Figured out sthen@
2015-03-09Make httpd TLSv1.2-only by default. Some older browsers, like IE 10,reyk1-2/+2
will be incompatible with this change. We do this early in the release cycle, so there is a good chance to get more experience with the impact of it and the upcoming restricted cipher modes. OK jsing@ deraadt@ benno@ bmercer@ krw@ florian@
2015-03-09make -DSHORTENED the default: don't update unless there is an actualespie2-7/+7
change in dependencies: shared library versions, and explicit version requirements in dependencies. as discussed with aja@ before the lock.
2015-03-09Switch pv entries over to a pool in preparation for making the i386 (more)kettenis1-302/+42
mpsafe. Most (all?) other architectures now use pools for this, including non-direct pmap architetcures like sparc and sparc64. Use a special back-end allocator for pool pages to solve bootstrapping problems. This back-end allocator allocates the initial pages from kernel_map, switching to the uvm_km_page allocator once the pmap has been fully initialized. The old pv entry allocator allocated pages from kmem_map. Using the uvm_km_page allocator avoids certain locking issues, but might change behaviour under kva pressure. Time will tell if that's a good or a bad thing. ok mlarkin@, deraadt@
2015-03-09Fix comment grammarguenther1-2/+2
2015-03-09Unrevert post-unlock:guenther10-127/+700
* Prevent an archive from esacaping the current directory by itself: when extracting a symlink whose value is absolute or contains ".." components, just create a zero-length normal file (with additional tracking of the mode and hardlinks to the symlink) until everything else is extracted, then go back and replace it with the requested link (if it's still that zero-length placeholder). * For tar without -P, if a path in the archive has any ".." components then strip everything up to and including the last of them (if it ends in ".." then it becomes ".") This mostly follows GNU tar's behavior, except for 'tar tf' and 'tar xvf' we report the modified path that would be/was actually created instead of the raw path from the archive Above two fixes prompted by a report from Daniel Cegielka (daniel.cegielka (at) gmail.com) * For directories whose times or mode will be fixed up in the clean-up pass, record their dev+ino and then use open(O_DIRECTORY)+fstat() to verify that we're updating the correct directory before using futimens() and fchmod(). * Correct buffer overflow in handling of pax extension headers, caught by the memcpy() overlap check. previously ok millert@ deraadt@
2015-03-08use new "make -C" to avoid extra shells.espie1-7/+7
okay millert@ miod@
2015-03-08Fix some format specifiers in debug code.krw2-4/+4
Pointed out by Kor son of Rynar (sic) when trying to test some debug code. ok matthew@
2015-03-08Reject DH keys sent by a server if they are considered too small; inspiredmiod3-40/+28
by a similar BoringSSL change, but raising the limit to 1024 bits. ok jsing@ markus@ guenther@ deraadt@
2015-03-08significant typo; andreas zeilmeierderaadt1-3/+3