ƒ³#249395 183 157 226 149 162 414 140 574 253 161 306 217 425 296 538 257 453 161 171 164 241 759 286 230 200 414 208 358 246 399 221 150 556 660 197 107 195 237 132 355 150 226 421 106 196 212 255 340 179 186 949 149 211 151 153 371 218 446 508 196 131 191 181 102 113 117 205 205 190 192 181 705 891 106 482 105 164 192 146 124 236 142 416 156 1457 232 255 167 105 158 312 292 890 431 217 222 271 211 395 182 145 145 152 125 591 347 154 167 989 213 199 655 558 183 345 329 254 128 595 132 433 320 190 156 750 154 140 142 150 522 645 856 438 99 403 99 149 210 153 153 787 787 787 150 254 222 188 269 288 118 114 177 178 166 317 155 367 287 118 326 223 215 417 367 608 220 439 375 211 471 359 320 325 135 546 399 295 158 236 754 166 199 201 242 K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-12T00:34:19.735445Z K 7 svn:log V 65 If doing buildworld -DWITH_BMAKE make sure bmake does the build. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-12T01:16:52.814982Z K 7 svn:log V 132 If vmm.ko could not be initialized correctly then prevent the creation of virtual machines subsequently. Submitted by: Chris Torek END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-12T02:01:17.715915Z K 7 svn:log V 53 Fix a few typos. Reviewed by: gjb MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-12T07:59:54.344464Z K 7 svn:log V 71 Free memory after deleting an address policy entry. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-04-12T08:39:18.846899Z K 7 svn:log V 319 Update with several early mentor/mentee relationships and dates commit bits were granted. Relationships have been provided by the mentees, dates have been sourced from either the mentees or the CVS mailing list archives. Obtained from: mux, wilko, msmith, peter, schweikh Obtained from: gallatin, dfr, murray, jkoshy END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-12T08:52:19.875000Z K 7 svn:log V 44 Attempt to clean up spacing and long lines. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-12T11:37:24.075416Z K 7 svn:log V 478 MFC r232385 by ru: Remove 3 syscalls from opendir(). Finally removed the stat() and fstat() calls from the opendir() code. They were made excessive in r205424 by opening with O_DIRECTORY. Also eliminated the fcntl() call used to set FD_CLOEXEC by opening with O_CLOEXEC. (fdopendir() still checks that the passed descriptor is a directory, and sets FD_CLOEXEC on it.) The necessary kernel support for O_DIRECTORY and O_CLOEXEC was already in 9.0-RELEASE. Discussed with: ru END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-12T13:04:23.234667Z K 7 svn:log V 160 MFC r249163: If filter of the interrupt event is not null, print it, in addition to the handler address. Add a mark to distinguish between filter and handler. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-04-12T13:56:21.220731Z K 7 svn:log V 70 isa_if.h is indirectly included. Depend on it to unbreak pc98 builds. END K 10 svn:author V 4 gahr K 8 svn:date V 27 2013-04-12T14:19:44.196545Z K 7 svn:log V 212 - Switch order of setting real uid and gid. If we set uid first, then we don't have enough privileges to set gid. This looks like a long standing bug, just recently revealed by r241852. Approved by: cognet END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-04-12T14:23:21.145092Z K 7 svn:log V 124 MFC r241628: zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget Reviewed by: avg Approved by: avg (co-mentor) END K 10 svn:author V 4 gahr K 8 svn:date V 27 2013-04-12T14:32:16.685984Z K 7 svn:log V 331 - Do not bail out if stat(2) fails with ENOENT in the spool directory. This happens if another atrm process removes a job while we're scanning through the directory. - While at it, optimize a bit the directory scanning, so that we quit looping as soon as all jobs specified in argv have been dealt with. Approved by: cognet END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-12T15:19:35.806623Z K 7 svn:log V 200 sh: Don't modify exit status when break/continue/return passes !. This matches what would happen if ! P were to be replaced with if P; then false; else true; fi. Example: f() { ! return 0; }; f END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2013-04-12T15:58:53.907577Z K 7 svn:log V 440 Fix kenv behavior when there is no static environment In case where there are no static kernel environment entries, the function init_dynamic_kenv() adds an incorrect entry at position 0 of the dynamic kernel environment. This in turn causes kenv(1) to print and empty list even though there are dynamic entries added later. Fix this by checking env_pos in init_dynamic_kenv() and adding dynamic entries only if there are static entries. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2013-04-12T16:03:22.511129Z K 7 svn:log V 159 Fix incorrect KASSERTs in xlpge Fix for crash in Netlogic XLP network accelerator driver when invariants are enabled - use correct the condition for KASSERT. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-12T16:25:03.277711Z K 7 svn:log V 358 Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE' and kern.cam.ctl.disable tunable; those were introduced as a workaround to make it possible to boot GENERIC on low memory machines. With ctl(4) being built as a module and automatically loaded by ctladm(8), this makes CTL work out of the box. Reviewed by: ken Sponsored by: FreeBSD Foundation END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-12T16:29:15.170984Z K 7 svn:log V 70 Reflect removing of the counter_u64_subtract() function in the macro. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-12T16:36:18.470249Z K 7 svn:log V 77 Fix usage for soreceive(9) - uio must always be non-NULL. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-04-12T17:01:07.327763Z K 7 svn:log V 70 Add some more dates and relationships. Submitted by: jkoshy, gj, dfr END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-12T17:15:47.243431Z K 7 svn:log V 148 MFC r249161: Following r241022, replace iteration over the provider list on media events by taking first one and asserting that there is no others. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2013-04-12T17:22:12.392537Z K 7 svn:log V 661 Move MIPS_MAX_TLB_ENTRIES definition from cpuregs.h to tlb.c Having MIPS_MAX_TLB_ENTRIES defined to 128 is misleading, since it used to be 64 in older releases of MIPS architecture (where it could be read from Config1) and can be much more than 128 for the newer processors. For now, move the definition to the only file using it (mips/mips/tlb.c) and define MIPS_MAX_TLB_ENTRIES depending on the MIPS cpu defined. Also add few checks so that we do not write beyond the end of the tlb_state array. This fixes a kernel data corruption seen in Netlogic XLP, which was casued by tlb_save() writing beyond the end of tlb_state array when breaking into debugger. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:34:49.292922Z K 7 svn:log V 187 Do not panic when a busdma mapping operation fails. Instead, print an error message and fail the associated command with DATA_TRANSFER_ERROR NVMe completion status. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:36:48.354806Z K 7 svn:log V 131 Rename the controller's fail_req_lock, so that it can be used for other locking operations on the controller. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:41:24.176728Z K 7 svn:log V 101 Add a mutex to each namespace, for general locking operations on the namespace. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:44:55.882337Z K 7 svn:log V 315 Remove the NVMe-specific physio and associated routines. These were added early on for benchmarking purposes to avoid the mapped I/O penalties incurred in kern_physio. Now that FreeBSD (including kern_physio) supports unmapped I/O, the need for these NVMe-specific routines no longer exists. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:48:45.110156Z K 7 svn:log V 109 Move the busdma mapping functions to nvme_qpair.c. This removes nvme_uio.c completely. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:52:17.223632Z K 7 svn:log V 259 Add support for passthrough NVMe commands. This includes a new IOCTL to support a generic method for nvmecontrol(8) to pass IDENTIFY, GET_LOG_PAGE, GET_FEATURES and other commands to the controller, rather than separate IOCTLs for each. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-12T17:56:47.788947Z K 7 svn:log V 147 Remove the NVME_IDENTIFY_CONTROLLER and NVME_IDENTIFY_NAMESPACE IOCTLs and replace them with the NVMe passthrough equivalent. Sponsored by: Intel END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-12T17:57:40.174838Z K 7 svn:log V 306 Upgrade our copy of llvm/clang to trunk r178860, in preparation of the upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: An MFC is planned once the actual 3.3 release is finished. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-04-12T19:36:53.960557Z K 7 svn:log V 128 MFC r243520, r243521: zfs: overhaul zfs-vfs glue for vnode life-cycle management Reviewed by: avg Approved by: avg (co-mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-12T19:47:32.169153Z K 7 svn:log V 55 libthr: Remove _thr_rtld_fini(), unused since r245630. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-12T20:10:27.853987Z K 7 svn:log V 463 Dtrace: resolve const types from fbt and other fixes. Merge change from illumos: 3519 DTrace fails to resolve const types from fbt 3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests Illumos Revision: e98f46c Reference: https://www.illumos.org/issues/3519 https://www.illumos.org/issues/3520 https://www.illumos.org/issues/3521 Tested by: Fabian Keil Obtained from: Illumos MFC after: 1 month END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-12T20:21:28.051206Z K 7 svn:log V 567 Although we perform path compression to reduce the height of the trie and the number of interior nodes, we always create a level zero interior node at the root of every non-empty trie, even when that node is not strictly necessary, i.e., it has only one child. This change is the first step in eliminating those unnecessary level zero interior nodes. Specifically, it updates all of the lookup functions so that they do not require a level zero interior node at the root. Reviewed by: attilio, jeff (an earlier version) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 rstone K 8 svn:date V 27 2013-04-12T20:43:14.041341Z K 7 svn:log V 101 Cosmetic change: make a comment reference Sandy Bridge *Xeon* Reviewed by: sbruno MFC after: 1 week END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-12T20:48:55.629691Z K 7 svn:log V 15 sync from head END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-04-12T21:29:37.243468Z K 7 svn:log V 99 Fix build. - pass a format string to printf - catch up with constifying uz_name MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-12T22:05:15.087846Z K 7 svn:log V 144 Use the CONNECT method to proxy HTTPS connections through HTTP proxies. PR: bin/80176 Submitted by: Yuichiro NAITO END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-12T23:10:56.380647Z K 7 svn:log V 39 Unbreak tinderbox build after r249420. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-13T01:46:40.211005Z K 7 svn:log V 259 Please welcome a new Yahoo! commiter, Hiren Panchasara. He has been slaving away on hwpmc(4) for us and I am tired of doing his commits! I will be his official mentor during this time period and will be assisted by numerous other people. Approved by: core END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-13T02:15:59.873240Z K 7 svn:log V 55 Document the mentee/mentor relationship: hiren/sbruno END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-13T05:11:21.276405Z K 7 svn:log V 132 Use the MAKEDEV_CHECKNAME flag to check for an invalid device name and return an error instead of panicking. Obtained from: NetApp END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2013-04-13T07:23:37.422586Z K 7 svn:log V 323 Fix changes made in r249408. In some cases, kern_envp is set by the architecture code and env_pos does not contain the length of the static kernel environment. In these cases r249408 causes the kernel to discard the environment. Fix this by updating the check for empty static env to *kern_envp != '\0' Reported by: np@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-13T10:31:45.055973Z K 7 svn:log V 14 MFC @ r249436 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-13T14:03:44.065920Z K 7 svn:log V 103 MFprojects/camlock r248894: Use full freeze while PMP does hard reset. This is only cosmetical change. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-13T15:20:33.063234Z K 7 svn:log V 119 Fix the name of the pcb member in the comments. Submitted by: Oliver Pinter MFC after: 3 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-04-13T19:02:58.009551Z K 7 svn:log V 162 move the error report to a lower log level... Now you can see when it returns an error without getting every single io that went through it.. MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-04-13T19:58:24.750359Z K 7 svn:log V 243 Slightly rewrite the VDSO symbols lookup and relocation: - to be a less strictly when relocating symbols to allow adjust all of them; - split the LINUX_VDSO_SYM_DEFINE macro on two counterparts and declare the vdso symbol to allow direct use. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-04-13T19:59:54.949898Z K 7 svn:log V 83 Put linux_platform into the vdso to avoid copying it onto the stack at every exec. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-04-13T20:01:07.378592Z K 7 svn:log V 90 Remove stale comment about a signal trampoline which moved to the shared page at r219609. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-13T21:04:06.580697Z K 7 svn:log V 854 MFC r242139: Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu". It was implemented by Rudolf Tomori during Google Summer of Code 2012. MFC r242957: Don't divide by zero. MFC r243070: Fix kassert that's not really valid for %CPU accounting. The problem here is race between decaying the resource usage in containers, and updating per-process usage; basically, the former may cause per-container usage to get smaller than per-process usage. MFC r243088: Improve KASSERT messages in racct, to make it clear which resource caused the problem. MFC r248298: Accessing td_state requires thread lock to be held. MFC r248300: When throttling a process to enforce RACCT limits, do not use neither PBDRY (which simply doesn't make any sense) nor PCATCH (which could be used by a malicious process to work around the PCPU limit). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-13T21:11:18.892932Z K 7 svn:log V 55 MFC r242140: Add pcpu to the the rctl(8) manual page. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-13T21:14:51.604544Z K 7 svn:log V 116 MFC r243849 by bdrewery@: - Move EXAMPLES descriptions to before the actual command - Add mdoc macros for EXAMPLES END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-13T21:16:15.852297Z K 7 svn:log V 57 MFC r249375 by joel@: Minor spelling and grammar fixes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-13T21:17:43.846554Z K 7 svn:log V 59 MFC r243856 by joel@: Remove superfluous paragraph macro. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-13T21:21:13.277700Z K 7 svn:log V 278 Fix undefined behaviour in several gpio_pin_setflags() routines (under sys/arm and sys/mips), squelching the clang 3.3 warnings about this. Noticed by: tinderbox and many irate spectators Submitted by: Luiz Otavio O Souza PR: kern/177759 MFC after: 3 days END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-13T21:41:51.841537Z K 7 svn:log V 124 Create sysctl node 'hw.vmm.vmx' and populate it with oids that expose the VMX hardware capabilities. Obtained from: NetApp END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-04-13T22:29:13.422443Z K 7 svn:log V 350 MFC r225846, r225853, r225854, r226121, r226320, r226351, r226942, r228991, r229164, r230876, r231274, r231516, r232105, r232353, r234221, r234320, r234446, r234600, r236392, r236733, r238058, r238976, r239498, r240362, r240548, r242549, r242849, r242900, r245447, r247752, r249113 Merge all outstanding calendars commits. Discussed with: gjb, des END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-04-13T22:30:02.251188Z K 7 svn:log V 412 MFC r219937, r220094, r221383, r222307, r222817, r222994, r223545, r223638, r225846, r225853, r225854, r226121, r226320, r226351, r228991, r229164, r230876, r231274, r231516, r232105, r232353, r234221, r234320, r234446, r234600, r236392, r236733, r238058, r238976, r239498, r240362, r240548, r242549, r242849, r242900, r245447, r247752, r249113 Merge all outstanding calendar commits. Discussed with: gjb, des END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-13T22:44:48.922132Z K 7 svn:log V 103 Clean up the ntop / pton code. Part of a patch which has been submitted upstream but not yet adopted. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-13T22:45:41.408969Z K 7 svn:log V 39 Include ldns's b{32,64}_{ntop,pton}(). END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-14T00:20:32.908131Z K 7 svn:log V 96 MFC r248824 & r248826 Fix compile with CISS_DEBUG defined Fix DDB hook to actually work again END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-04-14T00:49:08.350633Z K 7 svn:log V 86 MFC r249359: fuser(1) requires a filename. Approved by: cperciva (mentor, implicit) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-14T00:59:56.867436Z K 7 svn:log V 10 Clean up. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-14T01:21:20.638824Z K 7 svn:log V 21 Sync latest versions END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-14T01:22:39.314143Z K 7 svn:log V 25 New/updated dependencies END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-04-14T02:26:12.281415Z K 7 svn:log V 110 Improve/correct a comment. We now support a lot more cpu types. PR: kern/177496 Approved by: sbruno (mentor) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-04-14T02:42:40.503659Z K 7 svn:log V 110 Fixing a clang warning indicating uninitialized variable usage. PR: kern/177164 Approved by: sbruno (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-14T08:40:24.527056Z K 7 svn:log V 97 Correct spelling is "Christiaan Huygens". Submitted by: James J. Lippard Obtained from: OpenBSD END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-14T08:47:01.955292Z K 7 svn:log V 99 LSD first synthesised 16/11/38, not 7/4/43. Submitted by: James J. Lippard Obtained from: OpenBSD END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-14T08:49:35.194088Z K 7 svn:log V 88 Fix typo from previous commit. Submitted by: Ronald Klop END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-14T09:05:40.155075Z K 7 svn:log V 609 pmap.c: - Bump copyright year. - Fill in further pmap stubs, mainly pmap_enter()/pmap_remove() - Refine the use of managed and unmanaged pages. pmap_pv.c: - Improve support to free pv entries - Remove responsibility for locking the pmap to pmap.c cpufunc.h: - invltlb() should work on xen too. machdep.c: - Copy exec_setregs() implementation from native, sans debug register support. mmu_map.c: - flush the mmu update queue after pml4 entry update. conf/XEN: - revert VERBOSE_SYSINIT. This was re-enabled by mistake in r248719, contrary to the status message, which claimed to disable it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T09:28:14.496567Z K 7 svn:log V 798 MFprojects/camlock r248890, r248897, r248898, r248900, r248903, r248905, r248917, r248918, r248978, r249001, r249014, r249030: Remove multilevel freezing mechanism, implemented to handle specifics of the ATA/SATA error recovery, when post-reset recovery commands should be allocated when queues are already full of payload requests. Instead of removing frozen CCBs with specified range of priorities from the queue to provide free openings, use simple hack, allowing explicit CCBs over- allocation for requests with priority higher (numerically lower) then CAM_PRIORITY_OOB threshold. Simplify CCB allocation logic by removing SIM-level allocation queue. After that SIM-level queue manages only CCBs execution, while allocation logic is localized within each single device. Suggested by: gibbs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T09:38:28.384477Z K 7 svn:log V 14 MFC @ r249466 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T09:55:48.114041Z K 7 svn:log V 389 MFprojects/camlock r248982: Stop abusing xpt_periph in random plases that really have no periph related to CCB, for example, bus scanning. NULL value is fine in such cases and it is correctly logged in debug messages as "noperiph". If at some point we need some real XPT periphs (alike to pmpX now), quite likely they will be per-bus, and not a single global instance as xpt_periph now. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T09:59:41.219231Z K 7 svn:log V 13 MFC @ 249468 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T10:14:26.693622Z K 7 svn:log V 72 Remove owner field from struct cam_ed, unused at least since FreeBSD 7. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-14T11:44:47.786779Z K 7 svn:log V 97 libc: Fix typo in French translation. PR: kern/177704 Submitted by: martymac MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-14T11:51:25.121419Z K 7 svn:log V 54 MFH (r247285): always bootstrap liby along with yacc. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-04-14T12:20:13.493323Z K 7 svn:log V 28 Add one more obsolete file. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-14T12:55:39.347563Z K 7 svn:log V 143 Apply a patch from OpenSSH bugzilla #2057 to silence "received disconnect" errors in the common case (i.e. client intentionally disconnected). END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-14T13:06:07.567149Z K 7 svn:log V 50 Silence "received disconnect" in the common case. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-14T14:02:34.504490Z K 7 svn:log V 323 Usnure that PCI bus BIS_GET_DMA_TAG() method sees the actual PCI device which makes the request for dma tag, instead of some descendant of the PCI device, by creating a pass-through trampoline for vga_pci and ata_pci buses. Sponsored by: The FreeBSD Foundation Suggested by: jhb Discussed with: jhb, mav MFC after: 1 week END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-04-14T16:20:25.391384Z K 7 svn:log V 64 update information about debugging sysctl... MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-04-14T16:25:37.704846Z K 7 svn:log V 1359 FreeBSD 8.0 introduced inpcb reference counting, and FreeBSD 8.1 began using that reference count to protect inpcb stability in udp_pcblist() and other monitoring functions, preventing the inpcb from being garbage collected across potentially sleeping copyout() operations despite the inpcb zone becoming shrinkable. However, this introduced a race condition in which inp->inp_socket() might become NULL as a result of the socket being freed, but before the inpcb we removed from the global list of connections, allowing it to be exposed to a third thread invoking udp_input() or udp6_input() which would try to indirect through inp_socket without testing it for NULL. This might occur with particular regularity on systems that frequently run netstat, or which use SNMP for connection monitoring. Later FreeBSD releases use a different reference/destruction model, but stable/8 remained affected in FreeBSD 8.2 and 8.3; the problem could be spotted on very high-load UDP services, such as top-level name servers. An Errata Note for 8.x branches under continuing support might be appropriate. Regardless, this fix should be merged to releng/8.4 prior to 8.4-RELEASE. PR: 172963 Submitted by: Vincent Miller Submitted by: Julien Charbon Submitted by: Marc De La Gueronniere END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-14T16:49:27.513192Z K 7 svn:log V 139 Backport upstream r684 (OPENPAM_DEBUG enables debugging macros but does not turn debugging on by default) and add OPENPAM_DEBUG to CFLAGS. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-04-14T17:08:34.563854Z K 7 svn:log V 162 Add fdallocn function and use it when passing fds over unix socket. This gets rid of "unp_externalize fdalloc failed" panic. Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T18:09:08.429986Z K 7 svn:log V 75 Remove some more pieces of multilevel freeze mechanism, missed in r249466. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-14T18:12:40.178313Z K 7 svn:log V 13 MFC @ 249481 END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-14T18:36:30.000210Z K 7 svn:log V 63 Fix return to usermode codepath. Approved by: gibbs(implicit) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-04-14T19:13:51.912821Z K 7 svn:log V 214 Install a symlink /usr/lib/include ==> /usr/include This fixes -print-file-name=include in clang (and is arguably a better way to fix the same issue in GCC than the change I made in r231336). MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-04-14T19:21:43.637715Z K 7 svn:log V 199 Print MB and GB instead of MiB and GiB mislabeled as MB and GB. SD cards are sold in GB not GiB, this will result in less confusion. Also, cache parent device pointer to save a few cycles for loops. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-14T19:59:38.456728Z K 7 svn:log V 793 Re-factor coredump routines. For each type of notes an output function is provided, which is used either to calculate the note size or output it to sbuf. On the first pass the notes are registered in a list and the resulting size is found, on the second pass the list is traversed outputing notes to sbuf. For the sbuf a drain routine is provided that writes data to a core file. The main goal of the change is to make coredump to write notes directly to the core file, without preliminary preparing them all in a memory buffer. Storing notes in memory is not a problem for the current, rather small, set of notes we write to the core, but it may becomes an issue when we start to store procstat notes. Reviewed by: jhb (initial version), kib Discussed with: jhb, kib MFC after: 3 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-14T20:01:36.745191Z K 7 svn:log V 334 Re-factor the code to provide kern_proc_filedesc_out(), kern_proc_out(), and kern_proc_vmmap_out() functions to output process kinfo structures to sbuf, to make the code reusable. The functions are going to be used in the coredump routine to store procstat info in the core program header notes. Reviewed by: kib MFC after: 3 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-14T20:03:48.387042Z K 7 svn:log V 120 Similarly to proc_getargv() and proc_getenvv(), export proc_getauxv() to be able to reuse the code. MFC after: 3 weeks END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-04-14T21:11:19.965969Z K 7 svn:log V 124 Run configtest before restarting so that the system is not left without a running sshd. Approved by: des MFC after: 1 week END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2013-04-14T22:38:28.335823Z K 7 svn:log V 173 MFC 234223: Update to version 2.3.1.0 MFC 234284, 234425, 234481: Unbreak the build caused by 234233 PR: kern/157770 Obtained from: Daniel Braniss END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-04-15T03:02:55.327094Z K 7 svn:log V 116 Fixing a typo. Submitted by: Benedikt Steinbusch (benedikt.steinbusch@googlemail.com) Approved by: sbruno (mentor) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-04-15T03:09:59.820940Z K 7 svn:log V 300 MFC: r246166 Update hwpmc to support the Xeon class of Ivybridge processors. case 0x3E: /* Per Intel document 325462-045US 01/2013. */ Add manpage to document all the goodness that is available in this processor model. No support for uncore events at this time. Approved by: sbruno (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-15T04:16:12.789600Z K 7 svn:log V 89 Add a Cliff Notes version of the purpose and contents of the VMCB. Requested by: julian END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:00:41.436383Z K 7 svn:log V 49 MFC r249397: Fix a few typos. Reviewed by: gjb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:01:12.590220Z K 7 svn:log V 49 MFC r249397: Fix a few typos. Reviewed by: gjb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:18:49.288240Z K 7 svn:log V 56 Vendor import from OpenBSD tag OPENBSD_5_3 as of today. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:19:56.848065Z K 7 svn:log V 29 Tag netcat from OpenBSD 5.3. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:24:43.790024Z K 7 svn:log V 494 Integrate two OpenBSD commits to nc(1): date: 2013/03/12 02:57:37; author: deraadt; All accept() errors are considered fatal, until someone gives a different reason. No code changed, just documenting it... date: 2013/03/20 09:27:56; author: sthen; Don't shutdown nc(1)'s network socket when stdin closes. Matches *Hobbit*'s original netcat and GNU netcat; revert to old behaviour with the new -N flag if needed. After much discussion with otto deraadt tedu and Martin Pelikan. ok deraadt@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:31:59.593347Z K 7 svn:log V 250 MFV r249496,249498. The most visible change is that we no longer shuts down the connection when stdin closes, by default. This matches Hobbit's original netcat and GNU netcat. Old behavior can be restored with the new -N flag. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:39:21.812777Z K 7 svn:log V 58 Use arc4random() instead of random(). MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T05:50:09.706115Z K 7 svn:log V 71 MFS r249495: Fix a few typos. Reviewed by: gjb Approved by: re (hrs) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-15T06:12:00.473849Z K 7 svn:log V 896 Although we perform path compression to reduce the height of the trie and the number of interior nodes, we have previously created a level zero interior node at the root of every non-empty trie, even when that node is not strictly necessary, i.e., it has only one child. This change is the second (and final) step in eliminating those unnecessary level zero interior nodes. Specifically, it updates the deletion and insertion functions so that they do not require a level zero interior node at the root of the trie. For a "buildworld" workload, this change results in a 16.8% reduction in the number of interior nodes allocated and a similar reduction in the average execution time for lookup functions. For example, the average execution time for a call to vm_radix_lookup_ge() is reduced by 22.9%. Reviewed by: attilio, jeff (an earlier version) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-04-15T07:01:20.918177Z K 7 svn:log V 119 MFC: r248151, r248168 Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-04-15T11:49:16.967015Z K 7 svn:log V 104 fix a bug in the computation of the userspace offset for a give netmap buffer. Submitted by: Hugh Nhan END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-15T12:16:24.328289Z K 7 svn:log V 562 Change CCB queue resize logic to be able safely handle overallocations: - (re)allocate queue space in power of 2 chunks with 64 elements minimum and never shrink it; with only 4/8 bytes per element size is insignificant. - automatically reallocate the queue to double size if it is overflowed. - if queue reallocation failed, store extra CCBs in unsorted TAILQ, fetching them back as soon as some queue element is freed. To free space in CCB for TAILQ linking, change highpowerq from keeping high-power CCBs to keeping devices frozen due to high-power CCBs. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-15T13:00:42.277495Z K 7 svn:log V 461 Switch lagg(4) statistics to counter(9). The lagg(4) is often used to bond high speed links, so basic per-packet += on statistics cause cache misses and statistics loss. Perfect solution would be to convert ifnet(9) to counters(9), but this requires much more work, and unfortunately ABI change, so temporarily patch lagg(4) manually. We store counters in the softc, and once per second push their values to legacy ifnet counters. Sponsored by: Nginx, Inc. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2013-04-15T15:55:40.333156Z K 7 svn:log V 88 Introduce a symbol for the GEOM class name instead of using the ad-hoc string constant. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2013-04-15T16:09:24.589852Z K 7 svn:log V 249 Introduce glabel labels based on GEOM ident attributes. In this initial implementation, error on the side of conservatism and only create labels for GEOMs of classes DISK and MULTIPATH. Discussed with: trasz Approved by: silence from freebsd-geom@ END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-04-15T17:01:42.340210Z K 7 svn:log V 236 Corrections to the RX checksum code, make sure its disabled as well as enabled when necessary. And simplify the checksum routine itself, adding UDP bit to the test. Thanks to Kevin Lo for pointing out the problems and code suggestions. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-15T17:16:12.312461Z K 7 svn:log V 159 MFC r249009: Make it possible to build CTL as a module. MFC r249022 by glebius@: - Remove extra $FreeBSD$ - Touch options headers to make module buildable. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-15T17:19:28.832117Z K 7 svn:log V 34 MFC r249012: Remove unused code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-15T17:19:57.452628Z K 7 svn:log V 502 Make cam_periph_getccb() to simply allocate CCBs and consume device openings neither checking their availability nor bothering with periph scheduling. Consumers of this KPI are normally waiting on the CCB completion and so number of CCBs there can't be infinite. Finite number of CCBs can now be correctly handled by the modified CCB queue code. This allows to remove duplicated code needed to schedule allocation of these immediate CCBs from many periph drivers, simplifying them and their locking. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-15T17:20:44.071014Z K 7 svn:log V 38 MFC r249019: Fix comment formatting. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2013-04-15T17:21:02.261432Z K 7 svn:log V 340 Point args[0] not at the thread that is ending but at the one that is starting. This is in line with practice in OpenSolaris. Note that this change is only in ULE and not in the 4BSD scheduler. Once this change settles in (MFC timeout has expired) we'll try it out on 4BSD as well. PR: 177706 Submitted by: Tiwei Bie MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-15T17:35:14.128000Z K 7 svn:log V 225 MFC r249026: Don't directly dereference userland pointer; instead use kernel pointer copied in from userspace. This fixes instant panic when creating CTL LUN on sparc64. Not a security problem, since the API is root-only. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-15T17:58:11.566714Z K 7 svn:log V 95 Bring over some AR9271 register definitions from the QCA HAL. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-15T17:59:06.448903Z K 7 svn:log V 61 Now that the register definitions are in -HEAD, enable this. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-15T18:30:00.904886Z K 7 svn:log V 657 Pull in r178636 from upstream llvm trunk: Second pass at addressing PR15351 by explicitly checking for AVX support when getting the host processor information. It emits a .byte sequence on GNUC compilers to work around lack of xgetbv support with older assemblers, and resolves a comment typo found in the previous patch. This should fix crashes due to emitting of AVX instructions on certain processors, which do not support then, when using -march=native. This is a direct commit to stable/9, since head has a complete import of llvm/clang trunk, and there is no single commit to merge. Reported by: Kubilay Kocak END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-15T18:32:35.977079Z K 7 svn:log V 60 MFC r249011: Fix dates in manual pages modified in 249009. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-15T18:35:09.148433Z K 7 svn:log V 44 Reflect version update. MFC after: 13 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-04-15T18:38:21.795476Z K 7 svn:log V 49 Fix mergeinfo after r249503 Submitted by: gavin END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-15T18:56:03.197930Z K 7 svn:log V 54 MFC r249240: Use pget(9) to reduce code duplication. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-04-15T19:32:14.553516Z K 7 svn:log V 429 Fix N32/N64 register saving by ensuring that all registers resolve to unique values. There's some confusion about what the n32 assembler API really is (since on page 9 of the spec they say that t0-t3 don't exist, then turn around on page 22 and say that t4-t7 don't exist), and this doesn't touch that. NetBSD's version of this file follows the convention I used here, and is likely to be correct. This should fix gdb/ptrace. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-04-15T19:45:09.569064Z K 7 svn:log V 552 MFC three change sets (details below) which fix system shutdown and reboots hanging at "All buffers synced" when using ZFS. MFC r241556: Add a KPI to allow to reserve some amount of space in the numvnodes counter, without actually allocating the vnodes. For KBI stability, the td_vp_reserv was moved to the end of struct thread MFC r241628: zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget MFC r243520, r243521: zfs: overhaul zfs-vfs glue for vnode life-cycle management Reviewed by: avg Approved by: re (jpaetzel), avg (co-mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-15T20:06:56.640816Z K 7 svn:log V 763 The origin_subst_one() function limits the length of the string to PATH_MAX after the token substitution. This is wrong, because origin_subst_one() performs the substitution on the whole rpath and similar strings, which contain several pathes separated by colon. As result, long (but correct) rpath consisting of many path elements is rejected by the function. Correct the problem by rewriting the origin_subst_one() to perform two passes, first pass to calculate the number of substitutions to be performed, and second pass to generate the resulting string. Second pass allocates the memory for the result based on the count from the first pass, without enforcing a limit. Reported and tested by: pgj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-15T20:16:31.767376Z K 7 svn:log V 345 DTrace: NFS translators should be split into client/server pieces Merge change from illumos: 1731 DTrace NFS translators should be split into client/server pieces Illumos Revision: 13523:6763769941d2 This code seems to be currently unused on FreeBSD. Reference: https://www.illumos.org/issues/1731 Obtained from: Illumos MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-15T20:57:55.986248Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-15T21:02:40.101139Z K 7 svn:log V 311 The source address selection algorithm tries to apply several rules for the set of IPv6 addresses. Now each attempt goes into IPv6 statistics, even if given rule did not won. Change this and take into account only those rules, that won. Also add accounting for cases, when algorithm fails to select an address. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-15T21:58:47.875682Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-16T05:57:16.398810Z K 7 svn:log V 55 Disconnect the CTL module for now; it breaks i386 XEN. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-16T06:17:15.392599Z K 7 svn:log V 117 MFC r249303: Fix the assertions for the state of the object under the map entry with the MAP_ENTRY_VN_WRITECNT flag. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-16T06:20:35.647246Z K 7 svn:log V 61 MFC r249439: Fix the name of the pcb member in the comments. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-16T06:21:57.827372Z K 7 svn:log V 61 MFC r249439: Fix the name of the pcb member in the comments. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-16T06:51:07.043438Z K 7 svn:log V 694 MFC r249316: Ensure make -j N universe works correctly, by checking for an up-to-date make before starting the universe targets themselves. Otherwise, all of the targets would attempt to build make simultaneously, overwriting each other's copies of the make object files and executable. This could lead to strange errors, for example when partially-written make executables are invoked. Also amend r216620, to make the rest of universe wait properly until the upgrade_checks target is finished, by adding universe_${target}_prologue to the .ORDER target. Otherwise, make will be too smart for its own good, and start building the universe targets simultaneously with the prologues anyway. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-16T06:52:32.197629Z K 7 svn:log V 694 MFC r249316: Ensure make -j N universe works correctly, by checking for an up-to-date make before starting the universe targets themselves. Otherwise, all of the targets would attempt to build make simultaneously, overwriting each other's copies of the make object files and executable. This could lead to strange errors, for example when partially-written make executables are invoked. Also amend r216620, to make the rest of universe wait properly until the upgrade_checks target is finished, by adding universe_${target}_prologue to the .ORDER target. Otherwise, make will be too smart for its own good, and start building the universe targets simultaneously with the prologues anyway. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-16T06:53:20.591529Z K 7 svn:log V 694 MFC r249316: Ensure make -j N universe works correctly, by checking for an up-to-date make before starting the universe targets themselves. Otherwise, all of the targets would attempt to build make simultaneously, overwriting each other's copies of the make object files and executable. This could lead to strange errors, for example when partially-written make executables are invoked. Also amend r216620, to make the rest of universe wait properly until the upgrade_checks target is finished, by adding universe_${target}_prologue to the .ORDER target. Otherwise, make will be too smart for its own good, and start building the universe targets simultaneously with the prologues anyway. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-16T07:02:13.074437Z K 7 svn:log V 58 Remove ccb_list from struct periph, unused after r249512. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-16T07:11:52.732871Z K 7 svn:log V 161 Some compilers issue a warning when wider integer is casted to narrow pointer. Supposedly shut down the warning by casting through uintptr_t. Reported by: ian END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-16T07:45:27.529373Z K 7 svn:log V 126 - change pmap_put_pv_entry() to return false on duplicates. - Do not track kernel pv entries. Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-16T07:48:49.381533Z K 7 svn:log V 93 Fill in further stubs. We are now able to execute in usermode. Approved by: gibbs(implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-16T08:49:27.719016Z K 7 svn:log V 176 Give periph validity flag own periph reference. That slightly simplifies the release logic and covers hypothetical case if lock is dropped inside the periph_oninval() method. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-16T08:54:50.709726Z K 7 svn:log V 195 Remove ADA_FLAG_PACK_INVALID flag. Since ATA disks have no concept of media change it only duplicates CAM_PERIPH_INVALID flag, so we can use last one. Slightly cleanup DA_FLAG_PACK_INVALID use. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-16T11:12:58.741118Z K 7 svn:log V 27 Replace hardcoded numbers. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-16T11:19:13.426450Z K 7 svn:log V 23 Use IP6S_M2MMAX macro. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-16T11:25:45.973464Z K 7 svn:log V 86 Replace hardcoded numbers. Also use interface-local scope name instead of node-local. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-16T11:31:26.587305Z K 7 svn:log V 87 Fix accounting after the r249528, also add several another counters to the statistics. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-04-16T12:31:16.065746Z K 7 svn:log V 74 Correct error message. Reported by: Dirk Engling END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-04-16T14:22:16.854907Z K 7 svn:log V 219 Allow the vnode to be unlocked for the weird case of LK_EXCLOTHER. LK_EXCLOTHER is only used to acquire a usecount on a vnode during NFSv4 recovery from an expired lease. Reported and tested by: pho MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-16T16:09:27.754349Z K 7 svn:log V 60 MFC (much delayed) 234504: Enable DTrace hooks in GENERIC. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-16T16:35:48.125698Z K 7 svn:log V 274 MFC r249449: Fix undefined behaviour in several gpio_pin_setflags() routines (under sys/arm and sys/mips), squelching the clang 3.3 warnings about this. Noticed by: tinderbox and many irate spectators Submitted by: Luiz Otavio O Souza PR: kern/177759 END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-04-16T16:54:37.306092Z K 7 svn:log V 194 Point to regdef.h. May need to dig up references to the N32 standard that support this usage (which may be a bit rough, since different parts of the standard say mutually contradictory things). END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-04-16T16:59:29.369655Z K 7 svn:log V 25 Fix build after r249543. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-04-16T17:03:35.575703Z K 7 svn:log V 229 Adapt libstand's setjmp/longjmp MIPS support to be portable across 32-bit and 64-bit MIPS. Don't use the floating-point coprocessor in the libstand context for MIPS. Reviewed by: imp MFC after: 3 days Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-04-16T17:20:52.025875Z K 7 svn:log V 126 Use a suitable code generation when building libstand for MIPS. Reviewed by: imp Sponsored by: DARPA, AFRL MFC after: 3 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-04-16T17:30:13.411264Z K 7 svn:log V 117 Also call configtest before reload to ensure working config. Approved by: jhb MFC after: 1 week X-MFC-With: r249489 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-16T17:47:13.337459Z K 7 svn:log V 321 Partial MFP4 of 222836: Only look for FDT partitions if our potential parent is a DISK device. Excluding direct recursion on the flashmap geoms was insufficient because it did not prevent the underlying device from being retrieved if flashmap geoms were further partitioned. Reviewed by: imp Sponsored by: DARPA, AFRL END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-16T17:50:20.409557Z K 7 svn:log V 274 MFC r249449: Fix undefined behaviour in several gpio_pin_setflags() routines (under sys/arm and sys/mips), squelching the clang 3.3 warnings about this. Noticed by: tinderbox and many irate spectators Submitted by: Luiz Otavio O Souza PR: kern/177759 END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-16T19:19:14.742472Z K 7 svn:log V 511 Add a new set of notes to a process core dump to store procstat data. The notes format is a header of sizeof(int), which stores the size of the corresponding data structure to provide some versioning, and data in the format as it is returned by a related sysctl call. The userland tools (procstat(1)) will be taught to extract this data, providing additional info for postmortem analysis. PR: kern/173723 Suggested by: jhb Discussed with: jhb, kib Reviewed by: jhb (initial version), kib MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-16T19:25:41.937111Z K 7 svn:log V 123 Don't leak lock when returning. PR: kern/177888 Submitted by: Sven-Thorsten Dietrich MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-16T19:27:09.543083Z K 7 svn:log V 343 MFC r248302: Update to the latest (un)vis(3) sources from NetBSD. This adds multibyte support[0] and the new functions strenvisx and strsenvisx. Add MLINKS for vis(3) functions add by this and the initial import from NetBSD[1]. PR: bin/166364, bin/175418 Submitted by: "J.R. Oldroyd" [0] stefanf[1] Obtained from: NetBSD END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-16T19:28:00.674424Z K 7 svn:log V 279 MFC r248303: Replace our (un)vis(1) commands with implementations from NetBSD to match our import of the (un)vis(3) APIs. This adds support for multibyte encoding and the -h and -m flags which support HTTP and MIME encoding respectively. PR: bin/175418 Obtained from: NetBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-16T19:32:12.926504Z K 7 svn:log V 114 Fix incomplete printf. PR: kern/177889 Submitted by: Sven-Thorsten Dietrich MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-16T19:39:27.539693Z K 7 svn:log V 378 DTrace: print() should try to resolve function pointers Merge changes from illumos: 3675 DTrace print() should try to resolve function pointers 3676 dt_print_enum hardcodes a value of zero Illumos Revision: b1fa6326238973aeaf12c34fcda75985b6c06be1 Reference: https://www.illumos.org/issues/3675 https://www.illumos.org/issues/3676 Obtained from: Illumos MFC after: 1 month END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2013-04-16T19:58:24.042332Z K 7 svn:log V 263 Fix the buffer-overflow-fixing fixes. Pointy-hat to: me, for not realizing snprintf() is available in kernel. Thanks to: jh, for bringing me the good news of snprintf(), Pawel Worach, for noting that the panic can be provoked in i386 and not in amd64 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-16T20:21:02.122378Z K 7 svn:log V 224 Use a per-RX-queue deferred list, rather than a single deferred list for both queues. Since ath_rx_pkt() does multi-mbuf frame recombining based on the RX queue, this needs to occur. Tested: * AR9380 (XB112), hostap mode END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-04-16T20:26:31.285014Z K 7 svn:log V 232 - Document that sem_wait() can fail with EINTR if it is interrupted by a signal. - Fix the old ksem implementation for POSIX semaphores to not restart sem_wait() or sem_timedwait() if interrupted by a signal. MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-16T20:31:15.053437Z K 7 svn:log V 42 mdoc: remove superfluous paragraph macro. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-16T20:36:32.252766Z K 7 svn:log V 450 Implement a utility function to return the current TX power cap for the given node. This takes into account the per-node cap, the ic cap and the per-channel regulatory caps. This is designed to replace references to ni_txpower in various net80211 drivers - ni_txpower doesn't necessarily reflect the actual cap for the given node (eg if the node has the default value of 50dBm (100) and the administrator has manually configured a lower TX power.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-16T21:26:44.584198Z K 7 svn:log V 303 Use the new net80211 method to fetch the node TX power, rather than directly referencing ni->ni_txpower. This provides the hardware with a slightly more accurate idea of the maximum TX power to be using. This is part of a series to get per-packet TPC to work (better). Tested: * AR5416, hostap mode END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-04-16T22:09:08.464916Z K 7 svn:log V 202 r249408 and r249436 cause a NULL pointer dereference on the CUBIEBOARD since it doesn't set the kernel envrionment at all. Work around this by making sure kern_envp is non-NULL before dereferencing it. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2013-04-16T22:42:40.807920Z K 7 svn:log V 63 Comment typo fix. Is aware of the importance of comments: dim END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-17T02:03:12.667343Z K 7 svn:log V 142 Setup accesses to the memory hole below 4GB to return all 1's on read and consume all writes without any side effects. Obtained from: NetApp END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-17T02:20:17.095325Z K 7 svn:log V 661 DTrace: Revert r249367 The following change from illumos brought caused DTrace to pause in an interactive environment: 3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid provider This was not detected during testing because it doesn't affect scripts. We shouldn't be changing the environment, especially since the LD_NOLAZYLOAD option doesn't apply to our (GNU) ld. Unfortunately the change from upstream was made in such a way that it is very difficult to separate this change from the others so, at least for now, it's better to just revert everything. Reference: https://www.illumos.org/issues/3026 Reported by: Navdeep Parhar and Mark Johnston END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-17T02:33:56.891804Z K 7 svn:log V 73 Correct misleading bootverbose output: ahc_isa_probe -> ahc_isa_identify END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-17T02:40:07.846782Z K 7 svn:log V 106 DTrace: Revert r249426 This change actually depends on r249367 which had to be reverted Pointy Hat: pfg END K 10 svn:author V 5 danfe K 8 svn:date V 27 2013-04-17T05:56:59.296611Z K 7 svn:log V 106 MFC r247910: Plug a memory leak. Reviewed by: mav Sponsored by: Nginx, Inc. Approved by: glebius END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-17T06:51:17.422208Z K 7 svn:log V 146 Print more bits from the standard extended features CPUID which will be available in the Haswell architecture (c.f. Intel Document #319433-012A). END