ƒµ!255692 166 222 273 273 205 495 169 170 262 181 206 273 196 205 358 196 362 1129 126 268 145 206 300 895 253 1053 154 332 486 237 150 362 161 383 395 2347 144 180 211 219 140 537 125 176 145 221 144 377 308 315 315 106 141 1280 728 221 495 334 823 385 329 256 302 184 215 182 259 290 317 235 208 178 2790 270 334 317 133 458 461 602 236 304 989 267 814 337 279 186 153 137 245 279 371 357 110 353 138 435 148 128 162 230 309 136 322 385 475 438 144 188 147 223 106 975 189 357 376 133 1191 106 281 277 141 128 216 256 281 404 174 238 162 151 278 263 158 477 241 146 431 1121 268 109 225 170 629 106 246 189 229 130 194 108 176 370 289 239 213 213 371 172 131 152 843 276 288 149 301 K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-19T05:07:51.277875Z K 7 svn:log V 126 Reconnect the hyperv drivers back into GENERIC now that the disengage driver issue has been resolved. Approved by: re@ (gjb) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-19T05:40:49.900073Z K 7 svn:log V 175 MFC r255488: Don't issue USB resume signalling in USB device mode, if the USB power mode is ON and suspend is detected. This confuses iPads running in USB host mode at least. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-19T05:43:23.649711Z K 7 svn:log V 175 MFC r255488: Don't issue USB resume signalling in USB device mode, if the USB power mode is ON and suspend is detected. This confuses iPads running in USB host mode at least. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-09-19T06:19:24.960227Z K 7 svn:log V 109 Remove an unused variable and fix a memory leak in sctp_connectx(). Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-09-19T06:31:03.121878Z K 7 svn:log V 402 Make svnlite (actually libapr) work correctly on big-endian arches. Otherwise, you would get errors similar to: $ svn co svn://svn.freebsd.org/base/head test A test/lib A test/lib/libutil svn: E200014: Checksum mismatch for '/home/dim/test/lib/libutil/kinfo_getproc.3': expected: 0882097a545210d88edff8f63b328602 actual: b378eb08a0f4d4c97c513c4b17207f59 Approved by: re (gjb, marius) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-19T07:39:08.457028Z K 7 svn:log V 77 Added msync(2) regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-19T08:04:50.497879Z K 7 svn:log V 78 Added timeout to kevent(2) call. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-09-19T10:56:36.649491Z K 7 svn:log V 164 cap_new(2) and cap_getrights2) were replaced with cap_rights_limit(2) and cap_rights_get(2) in r247602 Reviewed by: pjd Approved by: gjb Approved by: re (rodrigc) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-19T11:06:58.609613Z K 7 svn:log V 89 Use getpwnam() get switch to user "nobody". Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-19T12:10:47.800371Z K 7 svn:log V 113 Check syscall argument against ignore list. Added support for LP64. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-19T12:28:59.887113Z K 7 svn:log V 180 Only run svn cleanup + svn update if the source directory has a .svn subdirectory. The source directory might already exist but be empty; for instance, it could be a tmpfs mount. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-19T13:01:31.435745Z K 7 svn:log V 103 Limit run time to 2 minutes. ftsoptions must be non zero. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-19T13:49:55.452846Z K 7 svn:log V 112 Make it possible to configure sleep time for single syscall tests. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-19T14:41:10.928972Z K 7 svn:log V 263 sys/i386/xen_mp_machdep.c: Set a 'fake' acpi_id for the i386 PV port, it is needed in order to use VIRQs or IPI event channels. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-19T16:22:05.859986Z K 7 svn:log V 102 Fold in check for 'pg_ps_enabled' under 'pmap_ps_enabled()'. Requested by: kib@ Discussed with: alc@ END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-09-19T18:00:05.608082Z K 7 svn:log V 265 1. Properly clean pid files in the case of the error. 2. Write the supervisor pid before the restart loop, so we don't uselessly rewrite it after every child restart. 3. Remove duplicate ppfh and pfh initialization. Approved by: re (glebius) MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-09-19T18:53:42.368015Z K 7 svn:log V 1035 Extend the support for exempting processes from being killed when swap is exhausted. - Add a new protect(1) command that can be used to set or revoke protection from arbitrary processes. Similar to ktrace it can apply a change to all existing descendants of a process as well as future descendants. - Add a new procctl(2) system call that provides a generic interface for control operations on processes (as opposed to the debugger-specific operations provided by ptrace(2)). procctl(2) uses a combination of idtype_t and an id to identify the set of processes on which to operate similar to wait6(). - Add a PROC_SPROTECT control operation to manage the protection status of a set of processes. MADV_PROTECT still works for backwards compatability. - Add a p_flag2 to struct proc (and a corresponding ki_flag2 to kinfo_proc) the first bit of which is used to track if P_PROTECT should be inherited by new child processes. Reviewed by: kib, jilles (earlier version) Approved by: re (delphij) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-09-19T18:56:00.407020Z K 7 svn:log V 34 Regen. Approved by: re (delphij) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-09-19T19:43:29.055278Z K 7 svn:log V 171 Merge from r245741 from head: If lagg(4) can't forward a packet due to underlying port problems, return much more meaningful ENETDOWN to the stack, instead of EBUSY. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-09-19T19:43:38.679689Z K 7 svn:log V 52 Minor mdoc improvements. Approved by: re (blanket) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-19T19:49:31.481562Z K 7 svn:log V 113 Remove extra 'MAKE_FLAGS' line. Submitted by: jhb Approved by: re (marius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-19T20:09:56.246887Z K 7 svn:log V 204 Further refinement to bmake bootstrapping Include PROGNAME and DESTDIR in ${MMAKE} so that it doesn't need to be passed to each make invocation. Suggested by: hrs Reviewed by: hrs Approved by: re (gjb) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-09-19T20:15:24.816950Z K 7 svn:log V 798 Use cv_broadcast() instead of cv_signal() when waking up threads waiting on an empty queue as the queue may have several consumers. Before the fix the following scenario was possible: 2 threads are waiting on empty queue, 2 threads are inserting simultaneously. The first inserting thread detects that the queue is empty and is going to send the signal, but before it sends the second thread inserts too. When the first sends the signal only one of the waiting threads receive it while the other one may wait forever. The scenario above is is believed to be the cause of the observed cases, when ggate_recv_thread() was getting stuck on taking free request, while the free queue was not empty. Reviewed by: pjd Tested by: Yamagi Burmeister yamagi.org Approved by: re (marius) MFC after: 2 weeks END K 10 svn:author V 2 db K 8 svn:date V 27 2013-09-19T20:17:50.382306Z K 7 svn:log V 161 - calendar uses cpp internally, this diff removes this usage and substitutes a limited subset cpp processor internally. PR: src/178463 Approved by: re (gjb) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-09-19T20:19:08.921724Z K 7 svn:log V 956 When updating the map of dirty extents, most recently used extents are kept dirty to reduce the number of on-disk metadata updates. The sequence of operations is: 1) acquire the activemap lock; 2) update in-memory map; 3) if the list of keepdirty extents is changed, update on-disk metadata; 4) release the lock. On-disk updates are not frequent in comparison with in-memory updates, while require much more time. So situations are possible when one thread is updating on-disk metadata and another one is waiting for the activemap lock just to update the in-memory map. Improve this by introducing additional, on-disk map lock: when in-memory map is updated and it is detected that the on-disk map needs update too, the on-disk map lock is acquired and the on-memory lock is released before flushing the map. Reported by: Yamagi Burmeister yamagi.org Tested by: Yamagi Burmeister yamagi.org Reviewed by: pjd Approved by: re (marius) MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-09-19T20:20:59.279494Z K 7 svn:log V 58 Fix comments. Approved by: re (marius) MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-19T20:30:35.857820Z K 7 svn:log V 235 Update arcmsr(4) driver to 1.20.00.28 which fixes mutex recursion in CCB abort codepath. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 MFC after: 2 weeks Approved by: re (?) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-09-19T22:06:28.242836Z K 7 svn:log V 390 MFC r255340: Long URLs don't always appear even with autosizing and other tricks. So, add some whitespace to put the URL on a line by itself, maximizing view. MFC r255341: Remove unnecessary mediaClose (FTP operations are done with either ftp(1) or fetch(1), neither of which are stateful, compared to how sysinstall(8) did FTP operations, maintaining an open session until mediaClose). END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-20T00:46:29.009477Z K 7 svn:log V 141 IFC @ r255692 Comment out IA32_MISC_ENABLE MSR access - this doesn't exist on AMD. Need to sort out how arch-specific MSRs will be handled. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-20T01:18:50.711836Z K 7 svn:log V 55 Disable LLDB OSX ABI plugin Approved by: re (blanket) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-20T01:52:02.947719Z K 7 svn:log V 266 Add LLDB bmake infrastructure This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it. Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC. Approved by: re (gjb) Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-09-20T01:55:37.232502Z K 7 svn:log V 66 Regenerate after addition of WITH_LLDB Approved by: re (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-09-20T04:30:18.957831Z K 7 svn:log V 290 The pmap function pmap_clear_reference() is no longer used. Remove it. pmap_clear_reference() has had exactly one caller in the kernel for several years, more precisely, since FreeBSD 8. Now, that call no longer exists. Approved by: re (kib) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-20T04:35:09.841163Z K 7 svn:log V 300 sys/i386/xen/mp_machdep.c: sys/i386/xen/mptable.c: Set PCPU apic_id and acpi_id fields in a fasion compatible with both UP and SMP configurations. Suggested by: jhb Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-20T05:06:03.552382Z K 7 svn:log V 2251 Add support for suspend/resume/migration operations when running as a Xen PVHVM guest. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks sys/amd64/amd64/mp_machdep.c: sys/i386/i386/mp_machdep.c: - Make sure that are no MMU related IPIs pending on migration. - Reset pending IPI_BITMAP on resume. - Init vcpu_info on resume. sys/amd64/include/intr_machdep.h: sys/i386/include/intr_machdep.h: sys/x86/acpica/acpi_wakeup.c: sys/x86/x86/intr_machdep.c: sys/x86/isa/atpic.c: sys/x86/x86/io_apic.c: sys/x86/x86/local_apic.c: - Add a "suspend_cancelled" parameter to pic_resume(). For the Xen PIC, restoration of interrupt services differs between the aborted suspend and normal resume cases, so we must provide this information. sys/dev/acpica/acpi_timer.c: sys/dev/xen/timer/timer.c: sys/timetc.h: - Don't swap out "suspend safe" timers across a suspend/resume cycle. This includes the Xen PV and ACPI timers. sys/dev/xen/control/control.c: - Perform proper suspend/resume process for PVHVM: - Suspend all APs before going into suspension, this allows us to reset the vcpu_info on resume for each AP. - Reset shared info page and callback on resume. sys/dev/xen/timer/timer.c: - Implement suspend/resume support for the PV timer. Since FreeBSD doesn't perform a per-cpu resume of the timer, we need to call smp_rendezvous in order to correctly resume the timer on each CPU. sys/dev/xen/xenpci/xenpci.c: - Don't reset the PCI interrupt on each suspend/resume. sys/kern/subr_smp.c: - When suspending a PVHVM domain make sure there are no MMU IPIs in-flight, or we will get a lockup on resume due to the fact that pending event channels are not carried over on migration. - Implement a generic version of restart_cpus that can be used by suspended and stopped cpus. sys/x86/xen/hvm.c: - Implement resume support for the hypercall page and shared info. - Clear vcpu_info so it can be reset by APs when resuming from suspension. sys/dev/xen/xenpci/xenpci.c: sys/x86/xen/hvm.c: sys/x86/xen/xen_intr.c: - Support UP kernel configurations. sys/x86/xen/xen_intr.c: - Properly rebind per-cpus VIRQs and IPIs on resume. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-20T07:31:32.886537Z K 7 svn:log V 52 MFC r255509: Reduce the scope of the proctree_lock. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-20T07:35:08.229361Z K 7 svn:log V 88 MFC r255510: When opening or closing fifo, ensure that the vnode is locked exclusively. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-20T07:45:37.734148Z K 7 svn:log V 118 MFC r255527: Use TAILQ instead of STAILQ for kqeueue filedescriptors to ensure constant time removal on kqueue close. END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-09-20T15:57:50.653108Z K 7 svn:log V 124 Fix a range check and a display string. Reviewed by: loos Approved by: sbruno (mentor, implicit) Approved by: re (glebius) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-09-20T16:05:09.109529Z K 7 svn:log V 48 Correct stale comments. Approved by: re (joel) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-20T17:06:49.201050Z K 7 svn:log V 443 Merge the following changes from projects/bhyve_npt_pmap: - add fields to 'struct pmap' that are required to manage nested page tables. - add a parameter to 'vmspace_alloc()' that can be used to override the default pmap initialization routine 'pmap_pinit()'. These changes are pushed ahead of the remaining changes in 'bhyve_npt_pmap' in anticipation of the upcoming KBI freeze for 10.0. Reviewed by: kib@, alc@ Approved by: re (glebius) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-20T18:03:01.377991Z K 7 svn:log V 30 Release hiren from mentorship END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-09-20T19:25:01.233539Z K 7 svn:log V 82 Improve grammar and readability. Reviewed by: sbruno, loos Approved by: re (gjb) END K 10 svn:author V 7 davidch K 8 svn:date V 27 2013-09-20T20:04:29.357869Z K 7 svn:log V 49 Temporary size limit increase for bxe(4) update. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2013-09-20T20:18:49.464974Z K 7 svn:log V 124 Substantial rewrite of bxe(4) to add support for the BCM57712 and BCM578XX controllers. Approved by: re MFC after: 4 weeks END K 10 svn:author V 7 davidch K 8 svn:date V 27 2013-09-20T20:26:15.447551Z K 7 svn:log V 48 Removed my name after completing bxe(4) update. END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-09-20T20:44:32.540814Z K 7 svn:log V 284 Fix GCC build for all ARMs. Revert bug introduced in r255613. Previous change applied in r255613 fixed build for ARMv6 but broke it for previous architecture revisions. This commit eventually fixes GCC build for all ARM revisions. Approved by: cognet (mentor) Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-20T21:26:51.113151Z K 7 svn:log V 213 Add some spare fields to structs used by the new iSCSI stack - some just in case, some for future MC/S support. This requires kernel and world rebuild. Approved by: re (blanket) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-20T21:51:38.988396Z K 7 svn:log V 220 MFC r254742: Hold mfi_io_lock across calls to xpt_rescan() and xpt_alloc_ccb_nowait(). xpt_rescan() expects the SIM lock to be held, and we trip a mtx_assert if the driver initiates multiple rescans in quick succession. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-20T21:52:33.008936Z K 7 svn:log V 220 MFC r254742: Hold mfi_io_lock across calls to xpt_rescan() and xpt_alloc_ccb_nowait(). xpt_rescan() expects the SIM lock to be held, and we trip a mtx_assert if the driver initiates multiple rescans in quick succession. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-20T21:53:08.733779Z K 7 svn:log V 13 IFC @r255724 END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-20T22:00:07.821934Z K 7 svn:log V 47 MFC r254467: Remove a couple of unused macros. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-20T22:59:22.340093Z K 7 svn:log V 1184 Merge Xen PVHVM support into the GENERIC kernel config for both amd64 and i386. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks sys/amd64/amd64/mp_machdep.c: sys/amd64/include/cpu.h: sys/i386/i386/mp_machdep.c: sys/i386/include/cpu.h: - Introduce two new CPU hooks for initialization and resume purposes. This allows us to get rid of the XENHVM ifdefs in mp_machdep, and also sets some hooks into common code that can be used by other hypervisor implementations. sys/amd64/conf/XENHVM: sys/i386/conf/XENHVM: - Remove these configs now that GENERIC has builtin support for Xen HVM. sys/kern/subr_smp.c: - Make sure there are no pending IPIs when suspending a system. sys/x86/xen/hvm.c: - Add cpu init and resume vectors that are called from mp_machdep using the new hooks. - Only clear the vcpu_info mapping data on resume. It is already clear for the BSP on a cold boot and is set correctly as APs are started. - Gate xen_hvm_init_cpu only to systems running under Xen. sys/x86/xen/xen_intr.c: - Gate the setup of event channels only to systems running under Xen. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-09-20T23:06:21.824642Z K 7 svn:log V 632 Fix lc_lock/lc_unlock() support for rmlocks held in shared mode. With current lock classes KPI it was really difficult because there was no way to pass an rmtracker object to the lock/unlock routines. In order to accomplish the task, modify the aforementioned functions so that they can return (or pass as argument) an uinptr_t, which is in the rm case used to hold a pointer to struct rm_priotracker for current thread. As an added bonus, this fixes rm_sleep() in the rm shared case, which right now can communicate priotracker structure between lc_unlock()/lc_lock(). Suggested by: jhb Reviewed by: jhb Approved by: re (delphij) END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-09-20T23:10:52.244825Z K 7 svn:log V 125 Remove local change leftover, this should never have been part of r255745. Pointy-hat to: davide Approved by: re (implicit) END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-09-20T23:16:15.397521Z K 7 svn:log V 399 Fix callout_init_rm() in the shared case, allocating storage for 'struct rm_priotracker' directly in the softclock thread. Now consumers can pass CALLOUT_SHAREDLOCK flag to callout initialization routine safely. The choice of the already existing flags instead of special casing shared rmlocks is done to prevent consumer footshooting. Suggested by: jhb Reviewed by: jhb Approved by: re (delphij) END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-09-20T23:22:00.963932Z K 7 svn:log V 238 Fixup cross-device rename checks in ZFS. Add a check for the case where 'fdvp' is a directory, 'tvp' is an already existing directory and they have different mount points. Reported by: avg, pjd Reviewed by: pjd Approved by: re (rodrigc) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-20T23:50:14.641442Z K 7 svn:log V 728 MFC r250953: The fasttrap provider cleans up probes asynchronously when a process with USDT probes exits. This was previously done with a callout; however, it is possible to sleep while holding the DTrace mutexes, so a panic will occur on INVARIANTS kernels if the callout handler can't immediately acquire one of these mutexes. This panic will be frequently triggered on systems where a USDT-enabled program (perl, for instance) is often run. This revision changes the fasttrap cleanup mechanism so that a dedicated thread is used instead of a callout. The old behaviour is otherwise preserved. MFC r252493: Be sure to destory the fasttrap cleanup mutex when unloading the fasttrap module. This should be MFCed with r250953. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-21T00:17:26.807807Z K 7 svn:log V 288 MFV r254750: Add support of Illumos dumps on zvol over RAID-Z. Note that this only adds the features. FreeBSD would still need more work to support dumping on zvols. Illumos ZFS issues: 2932 support crash dumps to raidz, etc. pools MFC after: 1 month Approved by: re (ZFS blanket) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-21T00:27:53.556251Z K 7 svn:log V 233 Reorder/regroup the vmm ioctl api definitions to allow some semblance of API stability and growth during the 10.* timeframe. Userland/kernel bhyve will have to be recompiled after this. Reviewed by: neel Approved by: re@ (blanket) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-21T01:07:27.140856Z K 7 svn:log V 163 Put 'device hyperv' back in amd64/GENERIC, incorrectly removed with r255736. Pointed out by: gibbs Approved by: re (delphij) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-21T03:52:08.015569Z K 7 svn:log V 207 Optimize the block size used on ZFS cache devices as is already done for data and log devices. Reported by: Dmitryy Makarov Submitted by: smh Reviewed by: gibbs Approved by: re (delphij) MFC after: 2 weeks END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-09-21T03:57:56.265549Z K 7 svn:log V 93 Remove additional non-FreeBSD code. Approved by: glebius (mentor) Approved by: re (blanket) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-09-21T04:05:38.671398Z K 7 svn:log V 123 Convert ipfilter from timeout(9) to callout(9). Submitted by: jhb Approved by: glebius (mentor) Approved by: re (blanket) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-09-21T04:08:52.082306Z K 7 svn:log V 91 Enable main ipfilter sysctl MIBs. Approved by: glebius (mentor) Approved by: re (blanket) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-09-21T04:11:51.973340Z K 7 svn:log V 167 Address double init of ip_log mutex, fixing a panic after ipfilter is re-enabled following it being disabled. Approved by: glebius (mentor) Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T09:17:14.360720Z K 7 svn:log V 197 %INITIAL_CONFIG contains arrayrefs, so we need to deep-clone it into %CONFIG; otherwise, modifying e.g. %CONFIG{ENV} will actually modify %INITIAL_CONFIG{ENV} and thereby contaminate the next job. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-09-21T10:01:51.232223Z K 7 svn:log V 225 Introduce spares in the TCP syncache and timewait structures so that fixed TCP_SIGNATURE handling can later be merged. This is derived from follow-up work to SVN r183001 posted to net@ on Sep 13 2008. Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T11:10:09.534843Z K 7 svn:log V 142 Replace claims that DES is a strong cryptosystem with a warning stating that it should no longer be considered secure. Approved by: re (gjb) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-09-21T14:22:07.147251Z K 7 svn:log V 116 Check return code from inet_pton. Discovered by: Coverity. Approved by: glebius (mentor) Approved by: re (blanket) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-09-21T14:23:20.459424Z K 7 svn:log V 87 Remove redundant files. Approved by: glebius (mentor) Approved by: re (blanket) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-21T16:46:34.457486Z K 7 svn:log V 2694 MFC r252894: Add SDT_PROBE_DEFINE0 for consistency with SDT_PROBE0. MFC r253022: Also define SDT_PROBE_DEFINE0 for the !KDTRACE_HOOKS case. MFC r254266: Add event handlers for module load and unload events. The load handlers are called after the module has been loaded, and the unload handlers are called before the module is unloaded. Moreover, the module unload handlers may return an error to prevent the unload from proceeding. MFC r254267: Remove some unused fields from struct linker_file. They were added in r172862 for use by the DTrace SDT framework but don't seem to have ever been used. MFC r254268: FreeBSD's DTrace implementation has a few problems with respect to handling probes declared in a kernel module when that module is unloaded. In particular, * Unloading a module with active SDT probes will cause a panic. [1] * A module's (FBT/SDT) probes aren't destroyed when the module is unloaded; trying to use them after the fact will generally cause a panic. This change fixes both problems by porting the DTrace module load/unload handlers from illumos and registering them with the corresponding EVENTHANDLER(9) handlers. This allows the DTrace framework to destroy all probes defined in a module when that module is unloaded, and to prevent a module unload from proceeding if some of its probes are active. The latter problem has already been fixed for FBT probes by checking lf->nenabled in kern_kldunload(), but moving the check into the DTrace framework generalizes it to all kernel providers and also fixes a race in the current implementation (since a probe may be activated between the check and the call to linker_file_unload()). Additionally, the SDT implementation has been reworked to define SDT providers/probes/argtypes in linker sets rather than using SYSINIT/SYSUNINIT to create and destroy SDT probes when a module is loaded or unloaded. This simplifies things quite a bit since it means that pretty much all of the SDT code can live in sdt.ko, and since it becomes easier to integrate SDT with the DTrace framework. Furthermore, this allows FreeBSD to be quite flexible in that SDT providers spanning multiple modules can be created on the fly when a module is loaded; at the moment it looks like illumos' SDT implementation requires all SDT probes to be statically defined in a single kernel table. MFC r254309: Use kld_{load,unload} instead of mod_{load,unload} for the linker file load and unload event handlers added in r254266. MFC r254350: Specify SDT probe argument types in the probe definition itself rather than using SDT_PROBE_ARGTYPE(). This will make it easy to extend the SDT(9) API to allow probes with dynamically-translated types. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-09-21T19:42:37.193200Z K 7 svn:log V 174 Fix the AR933x CPU UART support by using the correct clock when calculating the UART frequency. Tested: * AR933x (carambola 2 board), UART now works again Approved by: re END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T21:03:52.686305Z K 7 svn:log V 241 Make the directory mapping functionality, which was previously only available in 32-bit compatibility mode, unconditional. Overhaul the man page, which had evolved more by accretion than by design. Approved by: re (gjb) MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T21:34:22.218533Z K 7 svn:log V 224 Ditch the random seeding code, which never really worked as intended. Add config variables to enable / disable individual host key algorithms. Clean up the host key generation code. Approved by: re (gjb) MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T21:36:09.420533Z K 7 svn:log V 41 Upgrade to 6.3p1. Approved by: re (gjb) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-09-21T21:40:57.323704Z K 7 svn:log V 360 Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port routing if we get certain errors. Poll for command completion upon command timeouts. The XHCI error events might not generate interrupts. MFC after: 1 week Reported by: Daniel Gerzo , Antonis Anastasiadis PR: usb/181159 Approved by: re (gjb) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-09-21T22:07:24.203469Z K 7 svn:log V 363 MFC: r255216 Crashes have been observed for NFSv4.1 mounts when the system is being shut down which were caused by the nfscbd_pool being destroyed before the backchannel is disabled. This patch is believed to fix the problem, by simply avoiding ever destroying the nfscbd_pool. Since the NFS client module cannot be unloaded, this should not cause a memory leak. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-09-21T22:10:02.987034Z K 7 svn:log V 504 MFC: r255284 It was reported via email that the cu_sent field used by the krpc client side UDP was observed as way out of range and caused the rpc.lockd daemon to hang trying to do an RPC. Inspection of the code found two places where the RPC request is re-queued, but the value of cu_sent was not incremented. Since cu_sent is always decremented when the RPC request is dequeued, I think this could have caused cu_sent to go out of range. This patch adds lines to increment cu_sent for these two cases. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T22:11:09.598157Z K 7 svn:log V 143 Support variant builds, where everything after the first hyphen in the config name (except for an optional -build suffix) indicates a variant. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T22:12:09.091407Z K 7 svn:log V 211 It makes a lot more sense to read site.rc after the config than before it. This allows site.rc to override existing settings, e.g. disable email reports by clearing RECIPIENTS. Also bump version and copyright. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-09-21T22:13:17.392435Z K 7 svn:log V 891 MFC: r255333 Intermittent crashes in the NLM (rpc.lockd) code during system shutdown was reporetd via email. The crashes occurred because the client side NLM would attempt to use its socket after it had been destroyed. Looking at the code, it would soclose() once the reference count on the socket handling structure went to 0. Unfortunately, nlm_host_get_rpc() will simply allocate a new socket handling structure when none exists and use the now soclose()d socket. Since there doesn't seem to be a safe way to determine when the socket is no longer needed, this patch modifies the code so that it never soclose()es the socket. Since there is only one socket ever created, this does not introduce a leak when the rpc.lockd is stopped/restarted. The patch also disables unloading of the nfslockd module, since it is not safe to do so (and has never been safe to do so, from what I can see). END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T22:24:10.576356Z K 7 svn:log V 174 Pull in all the OpenSSH bits that we'd previously left out because we didn't use them. This will make future merges from the vendor tree much easier. Approved by: re (gjb) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-09-21T22:36:07.569080Z K 7 svn:log V 721 Create a separate script to generate osreldate.h rather than sourcing newvers.sh into a temporary subshell with inline make rules. Using a separate script fixes a variety of problems, including establishing the correct dependencies in the makefiles. It also eliminates a problem with the way newvers.sh uses `realpath $0`, because $0 expands differently within a script sourced into a rule in a makefile depending on the version of make and of /bin/sh being used. The latter can cause build breakage in a cross-build environment, and can also make it difficult to compile 10.0 on older pre-10.0 systems. PR: 160646 174422 Submitted by: Garrett Cooper Approved by: re (gjb) MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-21T22:43:50.185298Z K 7 svn:log V 242 Give argtype struct names a different prefix than probe struct names. Otherwise it's possible to declare SDT probes in such a way that a name collision occurs, causing an unexpected compilation error. Approved by: re (gjb) MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-21T23:05:44.492912Z K 7 svn:log V 184 Omit "__restrict" when generating syscall argument strings. DTrace doesn't handle it and cannot determine the argument type when it's present. Approved by: re (gjb) MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-09-21T23:06:36.984932Z K 7 svn:log V 92 Regenerate syscall argument strings after r255777. Approved by: re (gjb) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T23:29:02.874321Z K 7 svn:log V 61 Set props and correct RCS ID tag. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-21T23:30:32.182567Z K 7 svn:log V 45 Remove autoprops. Approved by: re (blanket) END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-22T00:54:22.933184Z K 7 svn:log V 150 Fix compilation of the i386 PAE kernel config. sys/i386/include/xen/xenvar.h: Provide vtomach() when PAE is defined. Approved by: re (blanket Xen) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-22T02:14:54.950117Z K 7 svn:log V 185 Add a tunable "hw.vmm.ept.use_superpages" to allow superpages to be disabled for EPT mappings. Add a sysctl "hw.vmm.ept.pmap_flags" to display the flags used for PT_EPT type of pmaps. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-22T02:46:13.756025Z K 7 svn:log V 276 Fix ia64 and mips kernel builds due to XENHVM=>GENERIC integration in revision 255744. sys/kern/subr_smp.c: IPI_SUSPEND is only available on amd64 and i386. Protect new uses of this constant with #ifdefs to avoid impacting other platforms. Approved by: re (blanket Xen) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-09-22T07:30:17.745133Z K 7 svn:log V 261 Remove the armv6eb architecture as it is unused, and almost certainly broken. None of our kernels can boot armv6eb. The little-endian kernels do not have the required code to be able to switch endian when running a big-endian executable. Approved by: re (gjb) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-09-22T10:41:01.899429Z K 7 svn:log V 15 MFC to r255784 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-09-22T13:36:52.437391Z K 7 svn:log V 256 - Create kern.ipc.sendfile namespace, and put the new "readhead" OID there as "kern.ipc.sendfile.readahead". - Push all nsfbuf related tunables into MD code. Don't move them to new namespace in favor of POLA. Reviewed by: scottl Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T13:54:08.119824Z K 7 svn:log V 46 Include the config name in the process title. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-09-22T14:09:07.257566Z K 7 svn:log V 339 Consistently use the same value to indicate exclusively-held and shared-held locks for all the primitives in lc_lock/lc_unlock routines. This fixes the problems introduced in r255747, which indeed introduced an inversion in the logic. Reported by: many Tested by: bdrewery, pho, lme, Adam McDougall, O. Hartmann Approved by: re (glebius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T14:21:40.531494Z K 7 svn:log V 56 Allow lower-case letters in environment variable names. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T14:22:28.738231Z K 7 svn:log V 36 Add support for include statements. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T14:23:22.746385Z K 7 svn:log V 70 Add variant configurations for building head without clang and bmake. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-09-22T14:53:07.029450Z K 7 svn:log V 138 Update comment from draft to RFC number. Submitted by: Loganaden Velvindron (logan elandsys.com) Approved by: re (gjb) MFC after: 6 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-09-22T17:48:10.736879Z K 7 svn:log V 216 Both the vm_map and vmspace zones are defined as "no free". So, there is no point in defining a fini function for these zones. Reviewed by: kib Approved by: re (glebius) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T18:31:49.607582Z K 7 svn:log V 44 Fix indentation. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T19:09:43.235451Z K 7 svn:log V 229 Due to a missing command-line argument, yacc regenerated the parser but not its header file, resulting in a mismatch between the lexer and parser and strange errors when reading the configuration file. Approved by: re (blanket) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-09-22T19:15:24.538691Z K 7 svn:log V 292 Launch the shell, passing it the path to the mk-osreldate script, rather than launching the script directly and relying on #! to launch the shell. This avoids problems when the source is mounted with the noexec flag. MFC this together with r255775. Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-22T19:23:48.449511Z K 7 svn:log V 382 Increase the chance of the buffer write from the bufdaemon helper context to succeed. If the locked vnode which owns the buffer to be written is shared locked, try the non-blocking upgrade of the lock to exclusive. PR: kern/178997 Reported and tested by: Klaus Weber Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (marius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-22T19:54:47.336772Z K 7 svn:log V 345 Pre-acquire the filedesc sx when a possibility exists that the later code could need to remove a kqueue from the filedesc list. Global lock is already locked, which causes sleepable after non-sleepable lock acquisition. Reported and tested by: pho Reviewed by: jmg Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Approved by: re (gjb) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-22T20:22:08.325491Z K 7 svn:log V 52 MFC r255174: Add missing opt_* header dependencies. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-22T20:29:03.967544Z K 7 svn:log V 96 Revert r255797. The LK_UPGRADE | LK_NOWAIT drops the lock. Approved by: re (marius, implicit) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T20:30:55.591362Z K 7 svn:log V 55 Build and install drill(1). Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T20:32:28.216252Z K 7 svn:log V 130 Remove drill(1) if MK_LDNS_UTILS is false. Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false. Approved by: re (blanket) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-22T21:58:59.465968Z K 7 svn:log V 14 MFC @ r255802 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-09-22T22:03:30.608057Z K 7 svn:log V 882 Pull in r191165 from upstream llvm trunk: ISelDAG: spot chain cycles involving MachineNodes Previously, the DAGISel function WalkChainUsers was spotting that it had entered already-selected territory by whether a node was a MachineNode (amongst other things). Since it's fairly common practice to insert MachineNodes during ISelLowering, this was not the correct check. Looking around, it seems that other nodes get their NodeId set to -1 upon selection, so this makes sure the same thing happens to all MachineNodes and uses that characteristic to determine whether we should stop looking for a loop during selection. This should fix PR15840. Specifically, this fixes the long-standing assertion failure when compiling the multimedia/gstreamer port on i386. Thanks to Tijl Coosemans for his help in getting upstream to fix it. Approved by: re (marius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-22T23:47:56.063982Z K 7 svn:log V 97 Always request zeroed memory, in case we're dumb enough to leak it later. Approved by: re (gjb) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-09-22T23:48:41.486147Z K 7 svn:log V 261 Export two new DCMD enums. These allow set/get of the mfi_ctrl_properties structure in the driver. Having these in 10.0 means that mfiutil can be modified to take adavantage of new updates without a kernel recompile. Approved by: re (gjb) MFC after: 2 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-09-23T00:04:36.543591Z K 7 svn:log V 283 Launch the bourne shell using "sh" rather than "${SHELL}", as the latter may come in from the environment and reflect the user's interactive shell. Using bare "sh" is the dominant pattern in existing makefiles. MFC this together with r255775. Approved by: re () MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-23T00:16:19.957316Z K 7 svn:log V 41 WITHOUT_CLANG also requires WITH_GNUCXX. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-23T04:36:51.064761Z K 7 svn:log V 1097 Add a setup script for unbound(8) called local-unbound-setup. It generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line. To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless. Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one. Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc. Approved by: re (blanket) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-23T07:20:13.139496Z K 7 svn:log V 14 MFC @ r255809 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-23T07:53:58.850716Z K 7 svn:log V 188 MFC r255607: In pmap_copy(), when the copied region is mapped with superpage but does not cover entire superpage, avoid copying. MFC r255620: Merge the change r255607 from amd64 to i386. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-23T10:36:03.193356Z K 7 svn:log V 182 Prevent "lock (iscsi) sx does not match earlier (sleep mutex) lock" panic triggered by "kldload iscsi_initiator; kldunload iscsi_initiator; kldload iscsi". Approved by: re (marius) END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-09-23T11:35:49.998585Z K 7 svn:log V 44 Imported newer libcxxrt into vendor branch. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-09-23T11:36:38.198111Z K 7 svn:log V 31 Tagged libcxxrt vendor import. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-09-23T13:16:21.668414Z K 7 svn:log V 118 Import a new libcxxrt. This fixes some potential crashing in the demangler. Approved by: re (gjb) MFC after: 1 week END K 10 svn:author V 4 loos K 8 svn:date V 27 2013-09-23T14:00:18.571815Z K 7 svn:log V 162 Fix DELAY() on RPi, the wrong math was making it take twice it should. Reported by: Alexander Approved by: adrian (mentor) Approved by: re (gjb) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-23T14:18:34.671661Z K 7 svn:log V 180 Add installer support for CHRP/PAPR PowerPC systems that use MBR+BSD formatting, like x86, but with an additional MBR slice containing a raw boot partition. Approved by: re (gjb) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-09-23T16:47:52.957879Z K 7 svn:log V 308 Fix a bug in HTTP checking/fetching. Fix a bug in HTTP checking/fetching. Add Main Site to HTTP menu. Add new example script browse_packages_http.sh and move existing example script browse_packages.sh -> browse_packages_ftp.sh Reviewed by: gjb, brd Approved by: re (gjb), clusteradm (brd) MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-23T17:35:23.006545Z K 7 svn:log V 82 Ensure that resolvconf(8) preserves the edns0 setting. Approved by: re (blanket) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-09-23T18:12:19.772716Z K 7 svn:log V 140 Turn off clocks on the Radeon when the backlight is off. Also, add suspend/resume methods, for properly suspending and resuming the video. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-09-23T18:12:25.293902Z K 7 svn:log V 66 Fix coredump on 'arp -d'. Submitted by: az Approved by: re (kib) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-09-23T18:50:47.826635Z K 7 svn:log V 54 Reduce the diff on mp_machdep.c against the original. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-09-23T18:53:48.852236Z K 7 svn:log V 180 Improve PMU-based cpufreq. This simplifies the logic in the pmufreq code, and simplifies the code in the low-level sleep code, to not depend on the external ap_timebase variable. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-23T19:54:44.396676Z K 7 svn:log V 168 Don't use M_WAITOK when running from context where sleeping is prohibited, such as callout or a geom thread. Approved by: re (marius) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-23T20:03:23.662497Z K 7 svn:log V 66 Move local_unbound up in the rc order. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-23T20:06:59.400103Z K 7 svn:log V 384 Prevent resolvconf from updating /etc/resolv.conf. As Jakob Schlyter pointed out, having additional nameservers listed in /etc/resolv.conf can break DNSSEC verification by providing a false positive if unbound returns SERVFAIL due to an invalid signature. The downside is that the domain / search path won't get updated either, but we can live with that. Approved by: re (blanket) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-23T20:14:15.808280Z K 7 svn:log V 148 Free both KVA and backing pages when freeing TSS memory. Reported and tested by: pho Sponsored by: The FreeBSD Foundation Approved by: re (marius) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-09-23T20:30:25.049631Z K 7 svn:log V 52 Correcting EXAMPLES section. Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-23T20:35:54.947695Z K 7 svn:log V 338 Unbreak the WITHOUT_KERBEROS build and try to reduce the odds of a repeat performance by introducing a script that runs configure with and without Kerberos, diffs the result and generates krb5_config.h, which contains the preprocessor macros that need to be defined in the Kerberos case and undefined otherwise. Approved by: re (marius) END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-09-23T21:52:07.298446Z K 7 svn:log V 1027 MFC r255501 This is slightly modified from the FreeBSD/head version, to include version checks for the scanning changes for not only FreeBSD/head (1000039 and higher) but also stable/9 (902502 and higher). ------------------------------------------------------------------------ r255501 | ken | 2013-09-12 16:06:12 -0600 (Thu, 12 Sep 2013) | 18 lines Fix an issue that caused Integrated RAID volumes on LSI mps(4) controllers to not get scanned on boot. The problem originated in change 253549. With the change to the mps(4) driver to scan only targets that it knows it has (as opposed to scanning the entire bus), scanning RAID volumes on boot was omitted. So, for versions of FreeBSD that have the scanning changes (__FreeBSD_version 1000039 and higher), scan RAID volumes that are added whether or not we're booting. PR: kern/181784 Reported by: Xiguang Wang Tested by: Dennis Glatting Sponsored by: Spectra Logic PR: kern/181784 END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-09-23T22:04:20.253884Z K 7 svn:log V 175 Add missing mergeinfo that should have gone in revision 255830, which was a MFC of 255501. This was caused by committing from sys/dev/mps instead of sys. Pointy hat to: ken END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-09-24T02:47:18.558595Z K 7 svn:log V 12 MFC@255831. END K 10 svn:author V 6 danilo K 8 svn:date V 27 2013-09-24T04:00:49.247243Z K 7 svn:log V 129 - Add myself as port commiter and my mentors relationship. - Add myself to calendar.freebsd. Approved by: re (gjb), wg (mentor) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-24T06:48:28.554024Z K 7 svn:log V 78 Added kevent(2) regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-24T07:03:16.179547Z K 7 svn:log V 536 Make load average sampling asynchronous to hardclock ticks. This improves measurement of load caused by time-related events still using hardclock. For example, without this change dummynet, scheduling events each hardclock tick, was always miscounted as load of 1. There is still aliasing with events delayed by the new precision mechanism, but it probably can't be avoided without moving this sampling from using callout to some lower-level code or handling it in some other special way. Reviewed by: davide Approved by: re (marius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-09-24T08:40:41.786667Z K 7 svn:log V 14 MFC @ r255835 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-24T09:33:31.219981Z K 7 svn:log V 151 Fix a few instances of M_WAITOK in threads marked as prohibited from sleep, missed in r255824. Approved by: re (kib) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T09:54:07.831918Z K 7 svn:log V 97 Don't include the build date or command-line arguments in the binary. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T09:56:10.899851Z K 7 svn:log V 136 Regenerate the configure script before running it. Set the default config file to /var/unbound/unbound.conf. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T09:56:58.762666Z K 7 svn:log V 38 Regenerate Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T10:04:51.891681Z K 7 svn:log V 101 Replace the unused /etc/unbound directory with a symlink to /var/unbound. Approved by: re (blanket) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-09-24T10:57:44.474306Z K 7 svn:log V 13 MFC @ 254064 END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T11:49:04.382720Z K 7 svn:log V 84 Forgotten in r255825: NETWORKING requires local_unbound. Approved by: re (blanket) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-24T12:24:48.424391Z K 7 svn:log V 277 Ensure that the ERESTART return from the syscall reloads the registers, to make the restarted syscall instruction pass the correct arguments. PR: kern/182161 Reported by: Russ Cox Sponsored by: The FreeBSD Foundation MFC after: 3 days Approved by: re (marius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-24T12:26:43.677565Z K 7 svn:log V 196 Use the pv lists generation count to read-lock the pvh_global_lock in pmap_clear_modify(). Noted and reviewed by: alc Tested by: pho Sponsored by: The FreeBSD Foundation Approved by: re (marius) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-24T12:48:02.673890Z K 7 svn:log V 144 MFC r254135: Don't dereference null pointer should acl_alloc() be passed M_NOWAIT and allocation failed. Nothing in the tree passed M_NOWAIT. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-24T12:50:04.012870Z K 7 svn:log V 118 MFC r254215: In su(1), fix option ordering and clarify that the login class specified must be defined in login.conf. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-24T13:46:13.953109Z K 7 svn:log V 118 Properly ignore PDUs with CmdSN outside of allowed range. Approved by: re (glebius) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-24T13:52:47.480063Z K 7 svn:log V 278 In pmap_clear_modify(), initialize pvh even for fictitious managed page, otherwise the small mappings loop would use uninitialized value. Note that currently pmap_clear_modify() is not called for fictitious pages. Sponsored by: The FreeBSD Foundation Approved by: re (glebius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T14:33:31.416952Z K 7 svn:log V 80 Flip the switch: disable BIND and enable LDNS_UTILS. Approved by: re (blanket) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T14:46:10.691017Z K 7 svn:log V 39 Regenerate. Approved by: re (blanket) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-09-24T14:52:43.080444Z K 7 svn:log V 57 Update dialog to 1.2-20130923. Approved by: re (marius) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-09-24T16:50:53.104490Z K 7 svn:log V 747 Update the CAM API for FreeBSD 10: - Remove the timeout_ch field. It's been deprecated since FreeBSD 7.0; MPSAFE drivers should be managing their own timeout storage. The remaining non-MPSAFE drivers have been modified to also manage their own storage, and should be considered for updating to MPSAFE (or removal) during the FreeBSD 10.x lifecycle. - Add fields related to soft timeouts and quality of service, to be used in upcoming work. - Add room for more flags in the CCB header and path_inq structures. - Begin support for extended 64-bit LUNs. - Bump the CAM version number to 0x18, but add compat shims. Tested with camcontrol and smartctl. Reviewed by: nathanw, ken, kib Approved by: re Obtained from: Netflix END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-24T16:59:28.768789Z K 7 svn:log V 183 Update head/ to -ALPHA3. This commit marks the point the final KBI change was made as part of the 10.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-24T17:01:29.957156Z K 7 svn:log V 193 Improve error handling in the old initiator, preventing panic on attempt to load iscsi_initiator.ko when iscsi.ko is already loaded. Approved by: re (glebius) Sponsored by: FreeBSD Foundation END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-09-24T17:09:28.642216Z K 7 svn:log V 58 MFC r250706: A library function shall not set errno to 0. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-09-24T18:24:01.800219Z K 7 svn:log V 206 As it turns out, when MOD_LOAD handler returns error, kernel calls MOD_UNLOAD handler. Make the new iSCSI initiator not panic when this happens. Approved by: re (glebius) Sponsored by: FreeBSD Foundation END