ƒ³6199805 182 961 125 153 183 230 230 230 181 746 296 670 339 188 187 1353 288 138 415 179 170 205 196 420 206 194 234 270 270 455 709 404 415 415 415 203 405 194 617 232 420 129 190 184 158 710 264 157 201 291 333 378 149 157 115 154 219 149 555 244 245 234 242 568 283 306 134 173 136 201 187 473 137 311 211 190 217 236 316 243 151 207 432 510 253 206 387 983 539 448 126 603 221 129 921 470 257 222 222 103 152 192 537 182 155 155 200 200 213 213 256 256 562 562 186 186 285 285 138 138 579 579 229 229 130 130 725 725 552 552 261 261 159 159 159 146 146 298 541 541 180 682 282 153 418 235 143 209 144 822 347 275 125 119 359 190 172 141 767 163 145 142 231 231 244 508 171 314 170 148 441 273 135 125 122 192 140 140 150 693 216 455 216 K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-25T15:23:14.999534Z K 7 svn:log V 864 Change gcore in order to get rid of the procfs accesses and use FreeBSD's specific sysctls and ptrace interfaces. This change switches a bit gcore POLA that is summarized here: - now gcore can recognize threads within the process and handle dumps on thread-scope - the process to be analyzed will be stopped during its gcore run - gcore may not work with processes which are actively being analyzed by gdb or truss - the ptrace interface may cause syscalls to return EINTR, thus interferring with signals handling within the process Side note: the interface can be further lifted in order to get rid of the very last procfs interfaces remnants and made more suitable for copying with sysctl/ptrace interface . Obtained from: Sandvine Incorporated Reviewed by: emaste, rwatson Sponsored by: Sandvine Incorporated MFC: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-11-25T16:36:07.276567Z K 7 svn:log V 31 Be nice, don't use the f-word. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-25T17:30:38.358169Z K 7 svn:log V 57 Make sure one shot MSI is enabled. Submitted by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-25T17:51:14.802247Z K 7 svn:log V 87 Fix typo which inversed the logic which in turn disabled MSI. Pointy hat to: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-11-25T18:31:34.233722Z K 7 svn:log V 134 MFC: r198502 Sync with the other archs and wrap the prototype of in_cksum_skip(9) in #ifdef _KERNEL. Submitted by: Ulrich Spoerlein END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-11-25T18:31:58.959147Z K 7 svn:log V 134 MFC: r198502 Sync with the other archs and wrap the prototype of in_cksum_skip(9) in #ifdef _KERNEL. Submitted by: Ulrich Spoerlein END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-11-25T18:39:26.507227Z K 7 svn:log V 134 MFC: r198502 Sync with the other archs and wrap the prototype of in_cksum_skip(9) in #ifdef _KERNEL. Submitted by: Ulrich Spoerlein END K 10 svn:author V 6 julian K 8 svn:date V 27 2009-11-25T19:00:30.694435Z K 7 svn:log V 86 exit if "make distribition" fails Submitted by: patrick tracanelli MFC after: 1 week END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-11-25T20:23:18.238257Z K 7 svn:log V 652 Update unifdef to my upstream version 1.188 Main highlights: (A) The new -B option compresses blank lines around a deleted section so that blank lines around "paragraphs" of code don't get doubled. (B) Lenient evaluation of && and || so that #if expressions can be evaluated even when some of their sub-expressions cannot be. (C) The evaluator can now handle macros with arguments. (D) Portability fixes, especially for unifdefall. Contributions from: Ben Hutchings at Solarflare Communications (A and B) Anders H Kaseorg (A and C) Jonathan Nieder (D) Obtained from: http://dotat.at/prog/unifdef/ END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-25T20:50:43.626578Z K 7 svn:log V 199 Disable interrupts after doing early takeover of the usb controller in case usb isnt actually compiled in (or kldloaded) as the controller could cause spurious interrupts. Tested by: Florian Smeets END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-11-26T00:38:13.557118Z K 7 svn:log V 576 Fix a performance bug in factor(6). Check if large factor is prime before applying Pollard's algorithm; fixes "factor 2147483647111311". Increase base if p-1 algorithm reaches 1; fixes "factor 99999999999991". Testcases from David A Bagley . Fixes from Joseph Myers . Problem rediscovered by an attempt to factor my phone number. A few other incidental fixes: correct a couple of factually incorrect comments; use ident string macros; move from 4-clause to 3-clause BSD licence (University of California copyright). Obtained from: NetBSD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-26T00:43:17.164134Z K 7 svn:log V 242 Remove overuse of exclamation marks in kernel printfs, there mere fact a message has been printed is enough to get someones attention. Also remove the line number for DPRINTF/DPRINTFN, it already prints the funtion name and a unique message. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-11-26T02:14:08.163372Z K 7 svn:log V 95 Remove debugging remnants from unifdefall. Submitted by: Jonathan Nieder END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2009-11-26T03:26:59.530044Z K 7 svn:log V 90 - New style of jail(8) usage requires "-c" argument to create a jail. Reviewed by: jamie END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-11-26T05:16:07.822078Z K 7 svn:log V 1259 Replace VM_PROT_OVERRIDE_WRITE by VM_PROT_COPY. VM_PROT_OVERRIDE_WRITE has represented a write access that is allowed to override write protection. Until now, VM_PROT_OVERRIDE_WRITE has been used to write breakpoints into text pages. Text pages are not just write protected but they are also copy-on-write. VM_PROT_OVERRIDE_WRITE overrides the write protection on the text page and triggers the replication of the page so that the breakpoint will be written to a private copy. However, here is where things become confused. It is the debugger, not the process being debugged that requires write access to the copied page. Nonetheless, the copied page is being mapped into the process with write access enabled. In other words, once the debugger sets a breakpoint within a text page, the program can write to its private copy of that text page. Whereas prior to setting the breakpoint, a SIGSEGV would have occurred upon a write access. VM_PROT_COPY addresses this problem. The combination of VM_PROT_READ and VM_PROT_COPY forces the replication of a copy-on-write page even though the access is only for read. Moreover, the replicated page is only mapped into the process with read access, and not write access. Reviewed by: kib MFC after: 4 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T08:29:02.419599Z K 7 svn:log V 195 MFC r199717: Do not attach JMicrons with single PCI function. They are not working as AHCI for some reason, even when declaring so. Let atajmicron configure them for us and provide PATA support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T08:49:46.545242Z K 7 svn:log V 46 MFp4: Improve ATA mode/SATA revision control. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T12:41:43.113568Z K 7 svn:log V 322 Drop USB mass storage devices support from ata(4). It is out of the build as long as I remember, and completely superseded by better maintained umass(4). It's main idea was to optionally avoid CAM dependency for such devices, but with move ATA to CAM, it is not actual any more. No objections: hselasky@, thompsa@, arch@ END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-11-26T13:18:38.087697Z K 7 svn:log V 86 MFC: revision 178945 Add the ed and remove the vi. This fixes a disk-full error. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-11-26T13:22:00.785119Z K 7 svn:log V 77 MFC: revision 178974 Replace the ee with the ed to resolve disk overflow. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-26T13:25:07.926662Z K 7 svn:log V 107 Add IBM ServeRAID-MR10i to the hardware list. Submitted by: pluknet MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-26T13:41:15.295422Z K 7 svn:log V 103 sigset() is the name of function specified by SUSv4. Replace it to avoid conflict. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-26T13:49:37.981782Z K 7 svn:log V 327 Implement sighold, sigignore, sigpause, sigrelse, sigset functions from SUSv4 XSI. Note that the functions are obsoleted, and only provided to ease porting from System V-like systems. Since sigpause already exists in compat with different interface, XSI sigpause is named xsi_sigpause. Reviewed by: davidxu MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-26T13:55:49.417690Z K 7 svn:log V 113 Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN. Reviewed by: kan MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-26T13:57:20.120437Z K 7 svn:log V 101 Implement rtld part of the support for -z nodlopen (see ld(1)). Reviewed by: kan MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-26T14:01:14.479910Z K 7 svn:log V 141 Libthr cannot be dynamically loaded into the running process. Mark it with -z nodlopen for now. Discussed with: jhb, kan MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T14:50:01.523974Z K 7 svn:log V 177 MFC r199749: Use only lower byte of sectors_intr IDENTIFY word as sector count. This fixes SET_MULTI error during boot on devices supporting less then 16 sectors per interrupt. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T14:52:14.313137Z K 7 svn:log V 177 MFC r199749: Use only lower byte of sectors_intr IDENTIFY word as sector count. This fixes SET_MULTI error during boot on devices supporting less then 16 sectors per interrupt. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T14:56:58.936801Z K 7 svn:log V 362 MFC r199645, r199646: Fix Intel PATA UDMA timings setting, affecting write performance. Binary divider value 10 specified in datasheet is not a hex 0x10. UDMA2 should be 33/2 instead of 66/4, which is documented as reverved, UDMA4 should be 66/2 instead of 66/4, which is definitely wrong. Release over-agressive WDMA0 mode timings as close to spec as chip can. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T15:11:19.208911Z K 7 svn:log V 616 MFC r199268, r199269, r199273: Core2Duo/Core2Quad CPUs are unable to control frequency of single CPU core, only pair of them. As result, both cores are running on highest one of requested frequencies, and that is reported by status register. Such behavior confuses frequency validation logic, as it runs on only one core, as SMP is not yet launched, making EIST completely unusable. Disable frequency validation by default, for systems with more then one CPU, until we can implement it properly. It looks like making more harm now then benefits. Add 'hw.est.strict' loader tunable to control it. PR: amd64/140506 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T15:16:03.358912Z K 7 svn:log V 311 MFC r199043: Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver attach chips with generic Marvell (non-HighPoint) PCI identification. These chips are also supported by ata(4). Some vendors, like Supermicro, are using same chips without providing HPT RAID BIOS. PR: kern/120842, kern/136750 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T15:18:05.138889Z K 7 svn:log V 322 MFC r199043: Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver attach chips with generic Marvell (non-HighPoint) PCI identification. These chips are also supported by ata(4). Some vendors, like Supermicro, are using same chips without providing HPT RAID BIOS. PR: kern/120842, kern/136750 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T15:22:42.984901Z K 7 svn:log V 322 MFC r199043: Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver attach chips with generic Marvell (non-HighPoint) PCI identification. These chips are also supported by ata(4). Some vendors, like Supermicro, are using same chips without providing HPT RAID BIOS. PR: kern/120842, kern/136750 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T15:23:25.335955Z K 7 svn:log V 322 MFC r199043: Introduce hw.hptrr.attach_generic loader tunable to deny hptrr driver attach chips with generic Marvell (non-HighPoint) PCI identification. These chips are also supported by ata(4). Some vendors, like Supermicro, are using same chips without providing HPT RAID BIOS. PR: kern/120842, kern/136750 END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-26T15:50:52.204104Z K 7 svn:log V 110 This file is OBE and should have been removed when we renamed things to OCTEON1.hints. Submitted by: jmallet END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-11-26T18:14:03.089093Z K 7 svn:log V 313 MFC r198491: Fix parsing of mount options specified with -o in case an option with value is preceded by an option without value (for example -o option1,option2=value). Options must be separated before searching for '='. Also compare pnextopt explicitly against NULL. PR: bin/134069 Approved by: trasz (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-26T19:01:19.596879Z K 7 svn:log V 102 MFC this branch, so I can run this on my MacBook. This means I can finally hack while on the road... END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-11-26T19:08:33.809407Z K 7 svn:log V 523 unifdefall: optimise the loop that builds the unifdef command. The old code used a shell loop to convert each controlling macro definition into a command-line argument, reading the macro definitions file each time. The new code converts the list of controlling macros into a sed script which can run through the list of macro definitions in one go. Add some explanatory comments, since the code is quite meta. Use {} instead of () for redirecting a group of commands. Submitted by: Jonathan Nieder END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-11-26T19:09:10.344939Z K 7 svn:log V 140 Clarify that the value of the fts_info field is different in post-order. Discussed with: das Approved by: trasz (mentor) MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-11-26T19:11:44.624205Z K 7 svn:log V 328 Reset path name back to original correctly in fts_build() when FTS_NOCHDIR option is used. fts_build() could strip a trailing slash from path name in post-order visit if a path pointing to an empty directory was given for fts_open(). PR: bin/133907, kern/134513 Reviewed by: das Approved by: trasz (mentor) MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-26T19:35:19.631916Z K 7 svn:log V 38 Make the cursor a little less bright. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-26T20:25:57.638737Z K 7 svn:log V 98 Add two Cirrus Logic codec IDs. Add GPIO setting quirk for Apple MacBookPro5,5. Submitted by: ed END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-11-26T20:55:44.000337Z K 7 svn:log V 92 Add entries of Release Notes for 8.0R temporarily. Reviewed by: thompsa, linimon, and brd. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-11-26T21:14:09.760458Z K 7 svn:log V 66 Remove newbus MPSAFE entry; it was reverted. Spotted by: attilio END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-11-26T22:09:37.233924Z K 7 svn:log V 617 More items: - U-Boot support library for loader(8) (ARM, PowerPC) - multiprocessor (SMP) (PowerPC) - E500 (Book-E) embedded CPU support (PowerPC) - Freescale PowerQUICCIII MPC85xx system-on-chip support (single- and dual-core) (PowerPC) - Feroceon, Sheeva embedded CPU support - Marvell Orion (88F5281), Kirkwood (88F6281) and Discovery Innovation (MV-78100) systems-on-chip support (ARM) - DS133x and DS1553 RTC support - tsec(4) Gigabit Ethernet driver - mge(4) Gigabit Ethernet driver - kernel core dump support (PowerPC) - mini dump support (ARM) - gdbserver(1) support for (ARM, PowerPC) Submitted by: raj END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-11-26T22:35:26.204237Z K 7 svn:log V 171 MFC r199534: Provide an effective (relocated) address when building modules metadata. This lets modules loaded dynamically in loader(8) work for U-Boot-based platforms. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-11-27T00:21:17.599747Z K 7 svn:log V 60 8.0-RELEASE is done, shift stable/8 to -STABLE designation. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-27T01:02:17.692372Z K 7 svn:log V 104 i386 has not (yet) any DEV_ATPIC conditional than axe it out from Xen version. No objections by: kmacy END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-27T02:45:50.493835Z K 7 svn:log V 194 MFC r199227: Add the possibility for vfs.root.mountfrom tunable to accept a list of items rather than a single one. While there fix also a nit in a comment. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-27T02:47:49.678863Z K 7 svn:log V 236 MFC r199260: Add sysctls in ahd(4) in order to keep track of different classes of errors. So far 3 different classes are present (correctable, uncorrectable and fatal) but more can be added easilly. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2009-11-27T03:55:42.755779Z K 7 svn:log V 281 Add new loader console type: "spinconsole". This console selects the video console which doesn't take any input from keyboard and hides all output replacing it with ``spinning'' character (useful for embedded products and custom installations). Sponsored by: Sippy Software, Inc. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2009-11-27T03:58:21.308551Z K 7 svn:log V 53 Whitespace on: use tabs for identation consistently. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2009-11-27T04:00:52.221168Z K 7 svn:log V 61 Whitespace-only: another instance of identation with spaces. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-11-27T06:23:47.545382Z K 7 svn:log V 21 o FreeBSD 8.0 added. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-11-27T07:55:39.830278Z K 7 svn:log V 60 o HEAD is FreeBSD 9-current now. Submitted by: Alex Kozlov END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-27T10:53:46.682911Z K 7 svn:log V 121 MFC r199582: Fix minor resource leak in a function which was introduced by changing an err() to a return in r106254. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-27T10:55:28.035803Z K 7 svn:log V 52 MFC r199584: Fix minor memory leak in a function. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-27T13:05:14.125966Z K 7 svn:log V 463 Properly use the envp argument in execvPe(). execvPe() is called by _execvpe(), which we added to implement posix_spawnp(). We just took execvP() and added the envp argument. Unfortunately we forgot to change the implementation to use envp over environ. This fixes the following piece of code: | char * const arg[2] = { "env", NULL }; | char * const env[2] = { "FOO=BAR", NULL }; | posix_spawnp(NULL, "/usr/bin/env", NULL, NULL, arg, env); MFC after: 2 weeks END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-27T13:08:25.044836Z K 7 svn:log V 150 Fix the cross-reference to sctp_opt_info in the text - section 3, not 2. PR: 140938 Submitted by: Bruce Cran MFC after: 2 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2009-11-27T13:19:06.831301Z K 7 svn:log V 148 Remove spinconsole from pc98, some parts seem to be missed and it's too late (early?) to figure out what exactly. Reported by: TAKAHASHI Yoshihiro END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-11-27T13:38:59.904618Z K 7 svn:log V 141 MFC r199580: tsec: Use IFQ_DRV macros for managing interface packet queue. This lets tsec(4) work with ALTQ. Submitted by: Marcin Ligenza END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-27T17:25:19.231792Z K 7 svn:log V 146 Use the default stack size for the iterator thread. This fixes a crash reported by Irene Ruengeler. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-11-27T17:53:49.067274Z K 7 svn:log V 474 unifdef: fix invalid array access when nesting limit exceeded If the number of nested #if blocks exceeds 64, nest() increments the nesting depth and then reports an error. The message includes the line number for the start of the current #if block, which is read from past the end of the relevant array. Avoid the out-of-bounds read by reporting the error and exiting before the nesting depth has a chance to increase. Submitted by: Jonathan Nieder END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-11-27T20:24:11.329412Z K 7 svn:log V 190 Simplify the invocation of vm_fault(). Specifically, eliminate the flag VM_FAULT_DIRTY. The information provided by this flag can be trivially inferred by vm_fault(). Discussed with: kib END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-11-27T22:08:29.083891Z K 7 svn:log V 213 Support the new VM_PROT_COPY option on wired pages. The effect of which is that a debugger can now set a breakpoint in a program that uses mlock(2) on its text segment or mlockall(2) on its entire address space. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-11-28T00:50:09.077416Z K 7 svn:log V 42 Properly synchronize the previous change. END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-11-28T11:05:22.612773Z K 7 svn:log V 78 - correctly render the provided example PR: docs/140962 Submitted by: mharo END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-28T11:13:50.614923Z K 7 svn:log V 45 Remove unneeded includes of . END K 10 svn:author V 6 danger K 8 svn:date V 27 2009-11-28T11:27:37.195169Z K 7 svn:log V 105 - correct xref sections PR: docs/140940 Submitted by: Bruce Cran MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-28T11:57:25.782567Z K 7 svn:log V 96 Use instead of . only works on FreeBSD by accident. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-11-28T11:57:43.579972Z K 7 svn:log V 378 Provide a set of sysctls and tunables to disable device node creation for specific "kinds" of disk labels - for example, GPT UUIDs. Reason for this is that sometimes, other GEOM classes attach to these device nodes instead of the proper ones - e.g. they attach to /dev/gptid/XXX instead of /dev/ada0p2, which is annoying. Reviewed by: pjd (earlier version) MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-28T13:20:29.000402Z K 7 svn:log V 46 Remove unneeded inclusion of . END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-28T14:29:32.332720Z K 7 svn:log V 218 Allow to load not-openable dso when tracing. This fixes ldd on such dso or dso linked to non-openable object. Remove '\n' at the end of error message. End comments with dot. MFC after: 3 weeks (together with r199829) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-28T14:34:28.598018Z K 7 svn:log V 118 Revert r199830 for now. Too many ports dlopen() libraries linked with libthr, but forgot to link main binary with it. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T14:52:45.432286Z K 7 svn:log V 99 Try to cleanup mergeinfo from r199811. I am sure jhb will either be glad or mad at me on Monday;-) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T15:23:53.352779Z K 7 svn:log V 125 Also purge the superfluous mergeinfo for r198502 itself. svn propget -R svn:mergeinfo sys/ thinks it should be ok again now. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-28T16:25:55.556729Z K 7 svn:log V 144 Include , instead of doing it through . I want to prevent the header polution of eventually. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-28T16:30:06.464526Z K 7 svn:log V 224 Include instead of . Right now includes , which provides the TTY ioctls to the svr4 code. We need both struct termios and the ioctls, so include for now. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T16:47:42.181621Z K 7 svn:log V 151 Add SDT_PROBE[1-5] in the same way we have SDT_PROBE_DEFINE[1-5] to avoid having to add all the unused trailing arguments as zeros. MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T16:54:18.485706Z K 7 svn:log V 60 Define an SDT provider for "opencrypto". MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T17:20:41.498654Z K 7 svn:log V 115 Add SDT probes for opencrypto:deflate:deflate_gobal:*. They are not nice but they were helpful. MFC after: 6 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-28T17:33:19.428767Z K 7 svn:log V 331 Add a CPU features framework on PowerPC and simplify CPU setup a little more. This provides three new sysctls to user space: hw.cpu_features - A bitmask of available CPU features hw.floatingpoint - Whether or not there is hardware FP support hw.altivec - Whether or not Altivec is available PR: powerpc/139154 MFC after: 10 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T17:44:57.930303Z K 7 svn:log V 418 Z_PARTIAL_FLUSH is marked deprecated. Z_SYNC_FLUSH is the suggested replacement but only use it for inflate. For deflate use Z_FINISH as Z_SYNC_FLUSH adds a trailing marker in some cases that inflate(), despite the comment in zlib, does npt seem to cope well with, resulting in errors when uncompressing exactly fills the outbut buffer without a Z_STREAM_END and a successive call returns an error. MFC after: 6 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-28T17:48:25.087437Z K 7 svn:log V 152 Add support for interpreting taps on ADB touchpads as a button click. Submitted by: Andreas Tobler MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-28T18:34:35.317782Z K 7 svn:log V 105 MFC r197961,197962: Fix two typos that caused DSISR and CR not to be preserved across context switches. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-28T18:36:58.199351Z K 7 svn:log V 286 MFC r198400: Do not map the trap vectors into the kernel's address space. They are only used in real mode and keeping them mapped only serves to make NULL a valid address, which results in silent NULL pointer deferences. Suggested by: Patrick Kerharo Obtained from: projects/ppc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-28T19:37:58.066894Z K 7 svn:log V 882 MFC r198212,198378,198427,198428,198723,198724,198725,198731: SMP support for PowerPC G5 systems. r198724: Fix a race in casuword() exposed by csup. casuword() non-atomically read the current value of its argument before atomically replacing it, which could occasionally return the wrong value on an SMP system. This resulted in user mutex operations hanging when using threaded applications. r198723,198725,198731: Loop on blocked threads when using ULE scheduler, removing an XXX MP comment. r198427: Add some more paranoia to setting HID registers, and update the AIM clock routines to work better with SMP. r198378: Add SMP support on U3-based G5 systems. While here, correct the 64-bit tlbie function to set the CPU to 64-bit mode correctly. r198212: Don't assume that physical addresses are identity mapped. This allows the second processor on G5 systems to start. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-28T20:02:45.257311Z K 7 svn:log V 438 MFC r199226: Provide a real fix to the too-many-translations problem when booting from CD on 64-bit hardware to replace existing band-aids. This occurred when the preloaded mdroot required too many mappings for the static buffer. Since we only use the translations buffer once, allocate a dynamic buffer on the stack. This early in the boot process, the call chain is quite short and we can be assured of having sufficient stack space. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-28T21:01:15.199902Z K 7 svn:log V 352 Eliminate teh use of MAXCPU in static arrays of interrupt counters by adding statistics counters to the PCPU structure. Export the counters through sysctl by giving each PCPU structure its own sysctl context. While here, fix cnt.v_intr by not just having it count clock interrupts, but every interrupt and add more counters for each interrupt source. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T21:01:26.473552Z K 7 svn:log V 35 Correct a typo. MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T21:08:19.057034Z K 7 svn:log V 511 Change memory managment from a fixed size array to a list. This is needed to avoid running into out of buffer situations where we cannot alloc a new buffer because we hit the array size limit (ZBUF). Use a combined allocation for the struct and the actual data buffer to not increase the number of malloc calls. [1] Defer initialization of zbuf until we actually need it. Make sure the output buffer will be large enough in all cases. Details discussed with: kib [1] Reviewed by: kib [1] MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T21:40:57.652743Z K 7 svn:log V 129 Directly send data uncompressed if the packet payload size is lower than the compression algorithm threshold. MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-28T21:42:39.664921Z K 7 svn:log V 38 Remove whitespace. MFC after: 6 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-28T23:50:48.769127Z K 7 svn:log V 829 Decompose . The header file is hardlinked to . It contains both the structures and the flag definitions, but also the C library interface that's implemented by the C library. This header file has the typical problem of including too many random things and being badly ordered. Instead of trying to fix this, decompose it into two header files: - , which contains struct termios and the flags. - , which includes and contains the C library interface. This means userspace has to include for struct termios, while kernelspace code has to include . Also add a , which prints a warning message before including . I am aware that there are some applications that use this header file as well. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T10:53:34.079550Z K 7 svn:log V 378 Only add the IPcomp header if crypto reported success and we have a lower payload size. Before we had always added the header, no matter if we actually send out compressed data or not. With this, after the opencrypto/deflate changes, IPcomp starts to work apart from edge cases. Leave it disabled by default until those are fixed as well. PR: kern/123587 MFC after: 5 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-29T17:25:32.913751Z K 7 svn:log V 156 Add TLS support for 64-bit binaries and move both TLS setting and syscall returns to powerpc/exec_machdep.c, which is meant to handle userland ABI details. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T17:27:58.697198Z K 7 svn:log V 130 MFC r179785, r180496: Remove obselete PECOFF image activator support. Discussed with: secteam, kib Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T17:35:31.145278Z K 7 svn:log V 130 MFC r179785, r180496: Remove obselete PECOFF image activator support. Discussed with: secteam, kib Approved by: re (kensmith) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-29T17:44:44.995128Z K 7 svn:log V 4 IFC END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T17:46:40.274230Z K 7 svn:log V 61 Add SDT iter probes forgotten in r199885. MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T17:47:49.169507Z K 7 svn:log V 100 Assimilate very similar input and output code paths (no real functional change). MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T17:53:57.366255Z K 7 svn:log V 445 In case the compression result is the same size as the orignal version, the compression was useless as well. Make sure to not update the data and return, else we would waste resources when decompressing. This also avoids the copyback() changing data other consumers like xform_ipcomp.c would have ignored because of no win and sent out without noting that compression was used, resulting in invalid packets at the receiver. MFC after: 5 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-29T18:03:49.750077Z K 7 svn:log V 90 MFC r199828: Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T18:51:58.001249Z K 7 svn:log V 59 MFC r197585. Remove unnecessary device reinitialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T18:54:21.030239Z K 7 svn:log V 59 MFC r197585. Remove unnecessary device reinitialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T18:59:43.373109Z K 7 svn:log V 103 MFC 197587. Don't encode model id twice. Reported by: Kristof Provost sigsegv dot be> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:01:21.884472Z K 7 svn:log V 103 MFC 197587. Don't encode model id twice. Reported by: Kristof Provost sigsegv dot be> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:03:20.519556Z K 7 svn:log V 116 MFC 197588. Some fiber PHY(88E1112) does not seem to set resolved speed so always assume we've got IFM_1000_SX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:04:42.029407Z K 7 svn:log V 116 MFC 197588. Some fiber PHY(88E1112) does not seem to set resolved speed so always assume we've got IFM_1000_SX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:06:33.392195Z K 7 svn:log V 159 MFC 197589. Fix MIB statistics clear routine. This should fix alignment errors on sparc64. Reported by: Garrett Damore < gdamore <> opensolaris dot org > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:07:38.556002Z K 7 svn:log V 159 MFC 197589. Fix MIB statistics clear routine. This should fix alignment errors on sparc64. Reported by: Garrett Damore < gdamore <> opensolaris dot org > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:11:03.055832Z K 7 svn:log V 465 MFC 197590. Add hack to pass controller specific information to phy driver. Unlike most other PHYs there is no easy way to know which media type the PHY supports on Marvell PHYs. MIIF_HAVEFIBER flags is now passed via bus-specific instance variable of a device. While I'm here add 88E1112 specific work around to set SIGDET polarity low. Many thanks "Eugene Perevyazko dnepro dot net>" who kindly gave remote access to system with DGE-560SX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:12:41.560326Z K 7 svn:log V 465 MFC 197590. Add hack to pass controller specific information to phy driver. Unlike most other PHYs there is no easy way to know which media type the PHY supports on Marvell PHYs. MIIF_HAVEFIBER flags is now passed via bus-specific instance variable of a device. While I'm here add 88E1112 specific work around to set SIGDET polarity low. Many thanks "Eugene Perevyazko dnepro dot net>" who kindly gave remote access to system with DGE-560SX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:15:08.982596Z K 7 svn:log V 90 MFC 197591. Add workaround for Yukon XL which has hardware bug that can't flush FIFO. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:16:16.308018Z K 7 svn:log V 90 MFC 197591. Add workaround for Yukon XL which has hardware bug that can't flush FIFO. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:18:22.458597Z K 7 svn:log V 188 MFC 197592. Add DGE-560SX(Yukon XL) to the supported device list. Many thanks to "Eugene Perevyazko dnepro dot net>" who kindly gave remote access to system with DGE-560SX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:19:23.252618Z K 7 svn:log V 188 MFC 197592. Add DGE-560SX(Yukon XL) to the supported device list. Many thanks to "Eugene Perevyazko dnepro dot net>" who kindly gave remote access to system with DGE-560SX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:22:44.279431Z K 7 svn:log V 42 MFC 197593. DGE-560SX is now supported. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:23:25.802657Z K 7 svn:log V 42 MFC 197593. DGE-560SX is now supported. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:25:15.195262Z K 7 svn:log V 482 MFC 197600. For AR8132 fast ethernet controller, do not report 1000baseT capability to mii(4). Even though AR8132 uses the same model/ revision number of F1 gigabit PHY, the PHY has no ability to establish 1000baseT link. I have no idea why Atheros use the same device/model id for this PHY. With this change atphy(4) does not report 1000baseT media capability and manual 1000baseT configuration is also disabled which is more desirable behavior for 10/100Mbps PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:26:31.883936Z K 7 svn:log V 482 MFC 197600. For AR8132 fast ethernet controller, do not report 1000baseT capability to mii(4). Even though AR8132 uses the same model/ revision number of F1 gigabit PHY, the PHY has no ability to establish 1000baseT link. I have no idea why Atheros use the same device/model id for this PHY. With this change atphy(4) does not report 1000baseT media capability and manual 1000baseT configuration is also disabled which is more desirable behavior for 10/100Mbps PHY. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:29:11.082525Z K 7 svn:log V 132 MFC 197627. Fix multicast handling. All Atheros controllers use big-endian form in computing multicast hash. PR: kern/139137 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:30:54.759445Z K 7 svn:log V 132 MFC 197627. Fix multicast handling. All Atheros controllers use big-endian form in computing multicast hash. PR: kern/139137 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:46:15.656745Z K 7 svn:log V 34 MFC 198813. Add BCM5761 PHY id. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:47:31.603952Z K 7 svn:log V 34 MFC 198813. Add BCM5761 PHY id. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:49:21.469316Z K 7 svn:log V 628 MFC 198814. Add a check to know whether driver is still running after reacquiring driver lock in Rx handler. re(4) drops a driver lock before passing received frame to upper stack and reacquire the lock. During the time window ioctl calls could be executed and if the ioctl was interface down request, driver will stop the controller and free allocated mbufs. After that when driver comes back to Rx handler again it does not know what was happend so it could access free mbufs which in turn cause panic. Reported by: Norbert Papke < npapk <> acm dot org > Tested by: Norbert Papke < npapk <> acm dot org > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:50:39.109308Z K 7 svn:log V 628 MFC 198814. Add a check to know whether driver is still running after reacquiring driver lock in Rx handler. re(4) drops a driver lock before passing received frame to upper stack and reacquire the lock. During the time window ioctl calls could be executed and if the ioctl was interface down request, driver will stop the controller and free allocated mbufs. After that when driver comes back to Rx handler again it does not know what was happend so it could access free mbufs which in turn cause panic. Reported by: Norbert Papke < npapk <> acm dot org > Tested by: Norbert Papke < npapk <> acm dot org > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:54:32.123481Z K 7 svn:log V 455 MFC 198996-198997. r198996: Remove unnecessary header file. r198997: It's normal to see Rx FIFO overruns under high network load and showing the message creates other side-effects. Remove the Rx FIFO overrun message in interrupt handler. msk(4) should recover from the FIFO overruns without any user intervention. Users can still check the Rx FIFO overrun counter from MAC MIB statistics maintained in driver(dev.msk.0.stats.rx.overflows). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:56:49.389393Z K 7 svn:log V 455 MFC 198996-198997. r198996: Remove unnecessary header file. r198997: It's normal to see Rx FIFO overruns under high network load and showing the message creates other side-effects. Remove the Rx FIFO overrun message in interrupt handler. msk(4) should recover from the FIFO overruns without any user intervention. Users can still check the Rx FIFO overrun counter from MAC MIB statistics maintained in driver(dev.msk.0.stats.rx.overflows). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:58:35.399890Z K 7 svn:log V 164 MFC r199012: Add preliminary Yukon Ultra 2 support(88E8057). The controller looks very similar to Yukon EC Ultra. Tested by: kalin m ( kalin <> el dot net ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T19:59:40.210570Z K 7 svn:log V 164 MFC r199012: Add preliminary Yukon Ultra 2 support(88E8057). The controller looks very similar to Yukon EC Ultra. Tested by: kalin m ( kalin <> el dot net ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:06:57.417348Z K 7 svn:log V 63 MFC r198475: - Add support for Marvell Yukon 88E8042 device. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:09:35.934849Z K 7 svn:log V 63 MFC r198475: - Add support for Marvell Yukon 88E8042 device. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:10:35.027784Z K 7 svn:log V 63 MFC r198475: - Add support for Marvell Yukon 88E8042 device. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:11:38.176738Z K 7 svn:log V 50 MFC r199013: 88E8057(Ultra 2) is now supported. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:12:07.302790Z K 7 svn:log V 50 MFC r199013: 88E8057(Ultra 2) is now supported. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-29T20:17:50.571066Z K 7 svn:log V 202 Move the sysctl related fields to the end of the structure and make them conditional upon _KERNEL. libkvm includes and does not expose the structure definitions to userland. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:19:24.125651Z K 7 svn:log V 444 MFC r199413: It seems generation of link state change of e1000phy(4) is not reliable on some Marvell PHYs. If msk(4) know it still does not have established link check whether msk(4) missed the link state change by looking into polled link state. Reported by: Mel Flynn < mel.flynn+fbsd.current <> mailing.thruhere dot net >, Gleb Kurtsou gmail dot com > Tested by: Gleb Kurtsou gmail dot com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:20:34.495452Z K 7 svn:log V 444 MFC r199413: It seems generation of link state change of e1000phy(4) is not reliable on some Marvell PHYs. If msk(4) know it still does not have established link check whether msk(4) missed the link state change by looking into polled link state. Reported by: Mel Flynn < mel.flynn+fbsd.current <> mailing.thruhere dot net >, Gleb Kurtsou gmail dot com > Tested by: Gleb Kurtsou gmail dot com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:31:09.271581Z K 7 svn:log V 84 MFC r195675: Adding hardware ID for RTL810x PCIe found on HP Pavilion DV2-1022AX. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-29T20:34:41.321731Z K 7 svn:log V 585 MFC r191301: For RTL8139C+ controllers, have controller handle padding short checksum offload frames. Software workaround used for broken controllers(RTL8169, RTL8168, RTL8168B) seem to cause watchdog timeouts on RTL8139C+. Introduce a new flag RL_FLAG_AUTOPAD to mark automatic padding feature of controller and set it for RTL8139C+ and controllers that use new descriptor format. This fixes watchdog timeouts seen on RTL8139C+. Reported by: Dimitri Rodis < DimitriR <> integritasystems dot com > Tested by: Dimitri Rodis < DimitriR <> integritasystems dot com > END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T20:37:30.389541Z K 7 svn:log V 190 Add more statistics variables for IPcomp. Try to version the struct in a backward compatible way. People asked for the versioning of the stats structs in general before. MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T20:47:43.796880Z K 7 svn:log V 62 Enable IPcomp by default. PR: kern/123587 MFC after: 5 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-29T20:48:19.969876Z K 7 svn:log V 317 Early-generation touchpads do not send periodic calibration frames for baseline subtraction, and are very temperature sensitive, so would slowly drift out of a calibrated state when under load. Escape this by taking the last frame before we decide that the pad is idle as a finger-free baseline. Tested on: iBook G4 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-29T20:51:23.259787Z K 7 svn:log V 134 Add atp(4) to powerpc GENERIC. Most late-generation Apple PowerPC laptops have trackpads that do not work at all without this driver. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-29T21:03:54.804310Z K 7 svn:log V 52 Correct typo. Reported by: gabor MFC after: 5 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-29T21:29:25.447113Z K 7 svn:log V 114 add ability to handle minimum segment size in busdma to cope with highly defective devices (virtual or otherwise) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-29T21:34:52.339206Z K 7 svn:log V 50 create branch for merging multiple zlib instances END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-29T22:33:59.045137Z K 7 svn:log V 726 Fix some cases where file descriptors from redirections leak to programs. - Redirecting fds that were not open before kept two copies of the redirected file. sh -c '{ :; } 7>/dev/null; fstat -p $$; true' (both fd 7 and 10 remained open) - File descriptors used to restore things after redirection were not set close-on-exec, instead they were explicitly closed before executing a program normally and before executing a shell procedure. The latter must remain but the former is replaced by close-on-exec. sh -c 'exec 7/dev/null; true' (fd 10 remained open) The examples above are simpler than the testsuite because I do not want to use fstat or procstat in the testsuite. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-29T22:43:51.960385Z K 7 svn:log V 252 - update zlib to 1.2.3 - move files in to libkern - point all of the kernel at updated zlib - bz needs to integrate his ng_deflate fixes (currently disabled in the build) - zfs needs to now be marked as depending on zlib (add MODULE_DEPEND to zmod.c) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-29T22:58:10.421791Z K 7 svn:log V 179 Disable job control when running 'sh -i' in the testsuite. Job control tty manipulations sometimes cause the tests to stop (SIGTTOU and the like) when run from the 'prove' tool. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-30T02:59:30.473449Z K 7 svn:log V 31 Vendor import of BIND 9.6.1-P2 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-30T03:00:41.300992Z K 7 svn:log V 25 Tag the 9.6.1-P2 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-30T03:38:34.212856Z K 7 svn:log V 264 Update to BIND 9.6.1-P2. The vulnerability this is designed to fix is related to DNSSEC validation on a resolving name server that allows access to untrusted users. If your system does not fall into all 3 of these categories you do not need to update immediately. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-30T04:20:43.297274Z K 7 svn:log V 96 Update license to reflect terms in xen 2.0 as of the time when the driver was ported to FreeBSD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-30T04:32:34.804040Z K 7 svn:log V 78 Merge Scott Long's latest blkfront now that the licensing issues are resolved END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-30T05:36:40.223890Z K 7 svn:log V 47 arcs_lsize only has two fields - undo breakage END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-30T06:49:41.684912Z K 7 svn:log V 672 Add a new option, --always-fetch If that option is NOT used, check the local file system for the package we're looking for. If it's not available, or the option IS used, fetch it. Move the code for package fetching into a function If we don't get a rational value from grep'ing the list of available package versions, and/or the "newest" available port seems to be older than the latest version from the ports tree, try fetching the exact version of $new_port by name. This solves the issue of (for example) autoconf-2.1.3 vs. autoconf-2.6.2. The latter appears never to have a current package if the former exists. Move a comment to the section it directly applies to END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-30T07:00:24.022379Z K 7 svn:log V 69 Failure to fetch should not be fatal if we're trying the exact match END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-30T07:23:27.210508Z K 7 svn:log V 51 Remove redundant test around package fetching code END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-30T07:51:37.386629Z K 7 svn:log V 45 MFC: r199748 Grammar and mdoc improvements. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-30T07:54:22.338555Z K 7 svn:log V 133 MFC: r199739, r199825 - LSI MegaRAID 9260 works, sort the hardware list while here. - Add IBM ServeRAID-MR10i to the hardware list. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-30T08:01:18.683359Z K 7 svn:log V 133 MFC: r199739, r199825 - LSI MegaRAID 9260 works, sort the hardware list while here. - Add IBM ServeRAID-MR10i to the hardware list. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-11-30T11:11:08.179602Z K 7 svn:log V 151 x86 cpu features: add MOVBE reporting and flag The check is glimpsed from Linux and OpenSolaris. MOVBE instruction is found in Intel Atom processors. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-11-30T11:44:03.459262Z K 7 svn:log V 415 amdsbwd: new driver for AMD SB600/SB7xx watchdog timer The hardware is compliant with WDRT specification, so I originally considered including generic WDRT watchdog support, but decided against it, because I couldn't find anyone to the code for me. WDRT seems to be not very popular. Besides, generic WDRT porbably requires a slightly different driver approach. Reviewed by: des, gavin, rpaulo MFC after: 3 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-11-30T18:26:46.183249Z K 7 svn:log V 76 Free pointer from getenv() when done with it. Submitted by: Phil Longstaff END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-30T18:48:07.661174Z K 7 svn:log V 222 Optimize vtfont_bisearch() for the common case (ASCII). More than 90% of the time we'll probably just display ASCII characters. In almost all cases this is stored in entry 0 of the map, so validate the first map by hand. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-11-30T20:41:30.496129Z K 7 svn:log V 75 Use switch out (SWO) instead of switch in (SWI) debug log mask in csw_out. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-30T21:00:42.123348Z K 7 svn:log V 56 Fixup mergeinfo and move sys/conf mergeinfo up to sys/. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-30T21:03:44.966398Z K 7 svn:log V 348 Remove extra parantheses from usb_ethernet.c and usb_serial.c lines. config(8) doesn't parse parantheses and instead treated them as being part of the device driver name (e.g. '(u3g' vs 'u3g'). While here, fix the style of these long lines to match the wrapping used for other long lines in this file. Submitted by: Brett Glass MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-30T21:25:57.731302Z K 7 svn:log V 180 Remove if_timer/if_watchdog now that they are no longer used. The space used by if_timer is reserved for expanding if_index to an int in the future. Reviewed by: rwatson, brooks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-30T23:52:21.607824Z K 7 svn:log V 41 rename branch to make room for a new one END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-30T23:54:16.278330Z K 7 svn:log V 31 create new releng_8_fcs branch END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-01T00:42:17.614867Z K 7 svn:log V 28 - merge updated FCS changes END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-12-01T02:57:06.916342Z K 7 svn:log V 95 Fix local root vulnerability. Security: Advisory will be coming soon. X-MFC-After: 30 seconds END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-12-01T02:59:22.333420Z K 7 svn:log V 43 MFC r199979: Fix local root vulnerability. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-12-01T03:00:16.452106Z K 7 svn:log V 43 MFC r199979: Fix local root vulnerability. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-01T03:52:50.939160Z K 7 svn:log V 56 reduce I/O priorities to avoid starving network threads END K 10 svn:author V 5 green K 8 svn:date V 27 2009-12-01T05:04:31.633085Z K 7 svn:log V 598 Do not gratuitously fail *env(3) operations due to corrupt ('='-less) **environ entries. This puts non-getenv(3) operations in line with getenv(3) in that bad environ entries do not cause all operations to fail. There is still some inconsistency in that getenv(3) in the absence of any environment-modifying operation does not emit corrupt environ entry warnings. I also fixed another inconsistency in getenv(3) where updating the global environ pointer would not be reflected in the return values. It would have taken an intermediary setenv(3)/putenv(3)/unsetenv(3) in order to see the change. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-01T06:11:42.042054Z K 7 svn:log V 123 MFC r199016: acpi: remove 'magic' ivar Note that the ivar itself is kept in the stable branches, only its use is dropped. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-12-01T06:12:31.341085Z K 7 svn:log V 357 Describe what setpgid(2) does when pgid=0. The text has been copied from NetBSD's manpage, and it also matches the behavior described by the Open Group's online copy of setpgid.2 at http://www.opengroup.org/onlinepubs/009695399/functions/setpgid.html Obtained from: NetBSD Submitted by: Petros Barbayiannis MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-01T06:15:19.602395Z K 7 svn:log V 123 MFC r199016: acpi: remove 'magic' ivar Note that the ivar itself is kept in the stable branches, only its use is dropped. END