‚ŽA210875 125 417 161 780 206 230 148 205 171 460 330 200 451 201 526 526 213 213 165 372 346 372 346 213 167 167 135 325 325 694 335 169 683 504 201 256 224 239 160 278 709 453 453 180 233 167 167 264 426 381 168 197 180 180 673 639 160 273 307 126 297 375 363 518 140 557 170 205 166 239 117 114 148 200 198 456 198 181 126 119 143 145 149 163 339 252 133 367 170 168 107 212 277 231 187 132 162 200 132 139 178 242 116 308 135 145 149 150 175 163 155 579 404 216 244 240 581 231 170 129 196 299 386 1113 114 149 K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T18:26:38.067455Z K 7 svn:log V 324 Problem with assertion is that it logs on stderr. Add two macros: PJDLOG_ASSERT() and PJDLOG_VERIFY() that will check the given condition and log the problem where appropriate. The difference between those two is that PJDLOG_VERIFY() always work and PJDLOG_ASSERT() can be turned off by defining NDEBUG. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T18:27:41.180640Z K 7 svn:log V 69 Assert that various buffers we are large enough. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-05T18:48:30.392794Z K 7 svn:log V 686 Implement a simple native VM86 backend for X86BIOS. Now i386 uses native VM86 calls instead of the real mode emulator as a backend. VM86 has been proven reliable for very long time and it is actually few times faster than emulation. Increase maximum number of page table entries per VM86 context from 3 to 8 pages. It was (ridiculously) low and insufficient for new VM86 backend, which shares one context globally. Slighly rearrange and clean up the emulator backend to accommodate new code. The only visible change here is stack size, which is decreased from 64K to 4K bytes to sync. with VM86. Actually, it seems there is no need for big stack in real mode. MFC after: 1 month END K 10 svn:author V 4 csjp K 8 svn:date V 27 2010-08-05T18:49:06.462829Z K 7 svn:log V 112 Enable closefrom(2) here, as we have supported it for some time now. Discussed with: mlaier MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T18:56:24.845440Z K 7 svn:log V 137 - Use pjdlog_exitx() to log errors and exit instead of errx(). - Use 'unable to' (instead of 'cannot') consistently. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T18:58:00.733008Z K 7 svn:log V 56 Reset signal handlers after fork(). MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T19:01:57.528531Z K 7 svn:log V 112 Allow to use 'none' keywork as remote address in case second cluster node is not setup yet. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T19:04:29.011613Z K 7 svn:log V 79 Make control_set_role() more public. We will need it soon. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T19:08:54.715589Z K 7 svn:log V 367 Prepare configuration parsing code to be called multiple times: - Don't exit on errors if not requested. - Don't keep configuration in global variable, but allocate memory for configuration. - Call yyrestart() before yyparse() so that on error in configuration file we will start from the begining next time and not from the place we left of. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T19:11:13.720371Z K 7 svn:log V 237 MFC 210135: Move attribute cache flushes from VOP_OPEN() to VOP_LOOKUP() to provide more graceful recovery for stale filehandles and eliminate the need for conditionally clearing the attribute cache in the !NMODIFIED case in VOP_OPEN(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-05T19:12:35.949173Z K 7 svn:log V 106 Do not copy stack pointer and flags. These registers are unconditionally destroyed from vm86_prepcall(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T19:16:31.141091Z K 7 svn:log V 358 Implement configuration reload on SIGHUP. This includes: - Load added resources. - Stop and forget removed resources. - Update modified resources in least intrusive way, ie. don't touch /dev/hast/ unless path to local component or provider name were modified. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-05T19:30:57.373850Z K 7 svn:log V 107 Re-add flag register for output. Some BIOS calls actually use it to return success/failure status. Oops. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T19:40:48.717878Z K 7 svn:log V 433 MFC 210136: Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() to avoid sending multiple ACCESS/GETATTR RPCs during a single open() between VOP_LOOKUP() and VOP_OPEN(). Now we always send the RPC in VOP_LOOKUP() and not VOP_OPEN() in the cases that multiple RPCs could be sent. To preserve the ABI I have left the structure in place, but renamed it to 'n_unused' and just removed the code that updates it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T19:41:43.227113Z K 7 svn:log V 433 MFC 210136: Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() to avoid sending multiple ACCESS/GETATTR RPCs during a single open() between VOP_LOOKUP() and VOP_OPEN(). Now we always send the RPC in VOP_LOOKUP() and not VOP_OPEN() in the cases that multiple RPCs could be sent. To preserve the ABI I have left the structure in place, but renamed it to 'n_unused' and just removed the code that updates it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T19:43:19.005642Z K 7 svn:log V 120 MFC 210604: Fix test for double-nul characters that terminate the string table at the end of each SMBIOS/DMI structure. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T19:43:32.274005Z K 7 svn:log V 120 MFC 210604: Fix test for double-nul characters that terminate the string table at the end of each SMBIOS/DMI structure. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-05T19:54:57.759138Z K 7 svn:log V 73 Document 'none' value for remote. Reviewed by: dougb MFC after: 1 month END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-08-05T20:02:59.243132Z K 7 svn:log V 279 MFC: 210621 Make sure that we clear the correct bits when we turn off a PMC. It was possible that we could have turned a bit on but never cleared it. Extend the calls to rdmsr() to all necessary functions, not just those which previously caused a panic. Pointed out by: jhb@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T20:39:52.521618Z K 7 svn:log V 253 MFC 210505: - Change the warning about PCI-e links narrower than x8 to only apply to 10G cards. 1G cards are x4 only. - Use constants from pcireg.h for reading the current link width. - Use pci_set_max_read_req() rather than implementing it by hand. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-08-05T20:40:13.835974Z K 7 svn:log V 279 MFC: 210621 Make sure that we clear the correct bits when we turn off a PMC. It was possible that we could have turned a bit on but never cleared it. Extend the calls to rdmsr() to all necessary functions, not just those which previously caused a panic. Pointed out by: jhb@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T20:45:46.698638Z K 7 svn:log V 253 MFC 210505: - Change the warning about PCI-e links narrower than x8 to only apply to 10G cards. 1G cards are x4 only. - Use constants from pcireg.h for reading the current link width. - Use pci_set_max_read_req() rather than implementing it by hand. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T20:49:47.926860Z K 7 svn:log V 120 MFC 210604: Fix test for double-nul characters that terminate the string table at the end of each SMBIOS/DMI structure. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T21:01:15.795034Z K 7 svn:log V 75 MFC 210577: The corrected error count field is dependent on CMCI, not TES. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T21:01:35.322025Z K 7 svn:log V 75 MFC 210577: The corrected error count field is dependent on CMCI, not TES. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-08-05T21:31:29.918492Z K 7 svn:log V 41 - Add interrupts counter for PCI devices END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T22:01:14.115824Z K 7 svn:log V 232 MFC 210623: Mark the __curthread() functions as __pure2 and remove the volatile keyword from the inline assembly. This allows the compiler to cache invocations of curthread since it's value does not change within a thread context. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-05T22:04:07.724855Z K 7 svn:log V 232 MFC 210623: Mark the __curthread() functions as __pure2 and remove the volatile keyword from the inline assembly. This allows the compiler to cache invocations of curthread since it's value does not change within a thread context. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-05T22:25:09.990483Z K 7 svn:log V 599 Step 3 of the code whitespace cleanup: * Use a general rule of 100 columns to decide whether or not to unwrap some long lines (such as &&, ||, and | continued to the next line) but don't hesitate to line up really long messages to the users with their corresponding code * Begin applying a more consistent style to if/test/then blocks * Move the ;; for all case statements up to the line they terminate * Add comments to the fi at the end of some really long if's * Properly indent some older blocks that were wrapped in if [ $PACKAGES ]; then ... fi when package support was added END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-06T00:50:16.212341Z K 7 svn:log V 238 Reduce Tx interrupt moderation timer from 50ms to 1ms. The default value resulted in poor performance for UDP packets. With this change, UDP bulk transfer performance is more than 940Mbps. While I'm here fix a wrong register definition. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-06T00:52:23.098572Z K 7 svn:log V 73 Reflect default Tx interrupt moderation timer value change(50ms -> 1ms). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T01:08:12.061446Z K 7 svn:log V 588 1. Use a better, more generic method of signaling an abnormal exit 2. Call safe_exit with a status of 1 from more places. The specific problem the latter solves is when using -r/f but not -R, and PM_UPGRADE_DONE_FLAG files exist from a previous run. If an abnormal exit is not signaled when necessary in this situation the flags will get deleted even though we want to keep them. This is likely the cause of some of the vague problem reports I have received in the past that include complaints of, "I used -r/f and -R but portmaster still rebuilt certain ports a whole bunch of times." END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-06T02:17:32.458730Z K 7 svn:log V 410 - Add Linux kobj objects to the sysctl namespace in sys to mirror the /sysfs filesystem. All linux objects are treated as strings with a custom proc that calls the show and store interface methods. - Add all device attributes and class attributes. - Complete adding ktypes for classes and devices so they are now properly reference counted. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-06T02:17:58.123482Z K 7 svn:log V 107 - Linux atomic_set is really atomic_store in bsd. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T05:20:21.053810Z K 7 svn:log V 161 Update the arguments to yy_config_parse() to match r210883. Choose the more conservative option ('yes' to exit on error) to match the equivalent code in hastd. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-06T05:24:41.328508Z K 7 svn:log V 130 uint64_t is 'unsigned long' in n64 build, so compiler is unhappy if the format specifier in printf is "%llu". Use "%ju" instead. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-06T05:30:55.631959Z K 7 svn:log V 145 Use a signed integer to hold the address of a register. This does the right thing by sign extending the address when compiling for the n64 abi. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T06:04:27.470372Z K 7 svn:log V 68 Force commit to remind me about MFCing r210909. MFC after: 1 month END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-06T07:03:22.439127Z K 7 svn:log V 184 Remove redundant declaration of 'pcib_driver' class from sb_zbpci.c. This causes a compilation error. The declaration is provided by sys/dev/pci/pcib_private.h starting from r210864. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-06T07:32:33.560640Z K 7 svn:log V 611 Fix the issue reported by alc: pmap_page_wired_mappings() counts the number of pv entries for the specified page that have the pv entry wired flag set to TRUE. pmap_enter() correctly initializes this flag. However, pmap_change_wiring() doesn't update the corresponding pv entry flag, only the PTE. So, the count returned by pmap_page_wired_mappings() will sometimes be wrong. In the short term, the best fix would be to eliminate the pv entry flag and use only the PTE. That flag is wasting non-trivial memory. Remove pv_wired flag, and use PTE flag to count the wired mappings. Reviewed by: alc END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-06T08:17:44.130556Z K 7 svn:log V 358 MFC r209756: Log dhclient's reason for exiting and change the 10 second ignore-routing-messages dhclient-script timeout to be effective from script completion rather than from script start time. Ignore RTM_DELADDR and RTM_NEWADDR messages when the message contains no interface address (which should not happen) rather than exiting. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-06T08:21:03.038200Z K 7 svn:log V 358 MFC r209756: Log dhclient's reason for exiting and change the 10 second ignore-routing-messages dhclient-script timeout to be effective from script completion rather than from script start time. Ignore RTM_DELADDR and RTM_NEWADDR messages when the message contains no interface address (which should not happen) rather than exiting. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-06T08:59:54.346742Z K 7 svn:log V 88 MFC r210637: Fix typo in pom(6) manpage PR: docs/148825 Submitted by: Anatoly Borodin END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T09:06:55.997135Z K 7 svn:log V 140 Initialize VV_ISTTY vnode flag on the devfs vnode creation instead of doing it on each open. In collaboration with: pho MFC after: 1 month END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-06T09:08:18.553967Z K 7 svn:log V 75 MFC r210641: Fix a couple of typos. PR: docs/148891 Submitted by: olgeni END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-06T09:21:07.147227Z K 7 svn:log V 75 MFC r210641: Fix a couple of typos. PR: docs/148891 Submitted by: olgeni END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T09:23:47.691516Z K 7 svn:log V 171 Enable shared locks for the devfs vnodes. Honor the locking mode requested by lookup(). This should be a nop at the moment. In collaboration with: pho MFC after: 1 month END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-06T09:25:42.572295Z K 7 svn:log V 328 Fix issue reported by alc : MIPS doesn't really need to use atomic_cmpset_int() in situations like this because the software dirty bit emulation in trap.c acquires the pmap lock. Atomics like this appear to be a carryover from i386 where the hardware-managed TLB might concurrently set the modified bit. Reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T09:42:15.084876Z K 7 svn:log V 288 Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created cdev will never be destroyed. Propagate the flag to devfs vnodes as VV_ETERNVALDEV. Use the flags to avoid acquiring devmtx and taking a thread reference on such nodes. In collaboration with: pho MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T09:44:01.296264Z K 7 svn:log V 76 Add "show cdev" ddb command. In collaboration with: pho MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T09:46:53.502227Z K 7 svn:log V 104 Enable shared lookups and externed shared ops for devfs. In collaboration with: pho MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T09:47:48.053748Z K 7 svn:log V 88 Mark /dev/zero and /dev/null as eternal. In collaboration with: pho MFC after: 1 month END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-08-06T10:34:48.998428Z K 7 svn:log V 86 - Some fixes to Ukranian catalog Submitted by: avg, Alex Kozlov END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-06T11:49:52.131374Z K 7 svn:log V 581 MFC r210703: Document the mandatory argument to the arptimer() and nd6_llinfo_timer() functions with a KASSERT(). Note: there is no need to return after panic. In the legacy IP case, only assign the arg after the check, in the IPv6 case, remove the extra checks for the table and interface as they have to be there unless we freed and forgot to cancel the timer. It doesn't matter anyway as we would panic on the NULL pointer deref immediately and the bug is elsewhere. This unifies the code of both address families to some extend. Reviewed by: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-08-06T11:58:27.238521Z K 7 svn:log V 547 MFC r210350: Since r186119 IP6 input counters for octets and packets were not working anymore. In addition more checks and operations were missing. In case lla_lookup results in a match, get the ifaddr to update the statistics counters, and check that the address is neither tentative, duplicate or otherwise invalid before accepting the packet. If ok, record the address information in the mbuf. [ as is done in case lla_lookup does not return a result and we go through the FIB ]. Reported by: remko Tested by: remko END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-06T12:38:30.159947Z K 7 svn:log V 68 Typo fixes PR: docs/149314 Submitted by: olgeni MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-06T13:45:16.478946Z K 7 svn:log V 180 Disable sync cache for the Transcend Jetflash V90. It is more specific quirk over the general one for transcend sticks. Submitted by: Mykola Dzham MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-06T14:18:37.054757Z K 7 svn:log V 214 MFC 170866,176206: If busdma is being used to realign dynamic buffers and the alignment is set to PAGE_SIZE or less, the bounce page counting logic was flawed and wouldn't reserve any pages. Adjust to be correct. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-08-06T14:33:42.491348Z K 7 svn:log V 33 Fix typos and spelling mistakes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T15:04:01.716899Z K 7 svn:log V 203 Fix allocation of multiple pages, which forgot to increase page number. Particularly, it caused "vm86_addpage: overlap" panics under VirtualBox. Add a safety check before freeing memory while I am here. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2010-08-06T15:04:40.273223Z K 7 svn:log V 281 Add Xen to the list of virtual vendors. In the non PV (HVM) case this fixes the virtualization detection successfully disabling the clflush instruction. This fixes insta-panics for XEN hvm users when the hw.clflush_disable tunable is -1 or 0 (-1 by default). Discussed with: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-06T15:09:21.133480Z K 7 svn:log V 270 Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. Reviewed by: syrinx (bsnmpd) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-06T15:15:26.816382Z K 7 svn:log V 425 Adjust the interface type in the link layer socket address for vlan(4) interfaces to be a vlan (IFT_L2VLAN) rather than an Ethernet interface (IFT_ETHER). The code already fixed if_type in the ifnet causing some places to report the interface as a vlan (e.g. arp -a output) and other places to report the interface as Ethernet (getifaddrs(3)). Now they should all report IFT_L2VLAN. Reviewed by: brooks MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T15:24:37.254425Z K 7 svn:log V 47 Consistently use architecture specific macros. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-06T15:36:59.817303Z K 7 svn:log V 464 Add a new ipi_cpu() function to the MI IPI API that can be used to send an IPI to a specific CPU by its cpuid. Replace calls to ipi_selected() that constructed a mask for a single CPU with calls to ipi_cpu() instead. This will matter more in the future when we transition from cpumask_t to cpuset_t for CPU masks in which case building a CPU mask is more expensive. Submitted by: peter, sbruno Reviewed by: rookie Obtained from: Yahoo! (x86) MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T15:59:00.344333Z K 7 svn:log V 77 Correct argument order of acpi_restorecpu(), which was forgotten in r210804. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2010-08-06T16:50:48.967803Z K 7 svn:log V 108 Add links for destroy_dev_drain, destroy_dev_sched, destroy_dev_sched_cb, make_dev_cred and make_dev_credf. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T17:21:32.288764Z K 7 svn:log V 73 Remove unnecessary casting and simplify code. We are not there yet. ;-) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-08-06T17:27:00.361194Z K 7 svn:log V 143 Figure which is the IO and MEM bars- do not assume that they are in a fixed order. PR: 149220 Obtained from: John Baldwin MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T17:28:40.542590Z K 7 svn:log V 24 Import ACPICA 20100806. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T17:29:54.195777Z K 7 svn:log V 21 Tag ACPICA 20100806. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-06T18:44:07.637771Z K 7 svn:log V 52 Fix a typo introduced in r210936 which broke build. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-06T18:46:27.897122Z K 7 svn:log V 102 Fix whitespace nits. PR: conf/148989 Submitted by: pluknet MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-06T18:55:49.510644Z K 7 svn:log V 102 MFC r209058: sctp_recvmsg returns the number of bytes received, not sent. Approved by: rrs (mentor) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-06T18:57:09.695342Z K 7 svn:log V 358 MFC r182236,r182238,182250,182251: - Add recent ELSA additions to wi(4), plus make sure the list matches the driver for ELSA. - The APDL-325 is a Wireless LAN pcmcia adapter that sits inside some Billion Access Points. Fix wi(4) to recognise the adapter. - Remove opt_wi.h PR: kern/77913 Submitted by: Daan Vreeken [PA4DAN] END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-08-06T18:57:09.874270Z K 7 svn:log V 102 MFC r209058: sctp_recvmsg returns the number of bytes received, not sent. Approved by: rrs (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T19:16:20.702487Z K 7 svn:log V 89 Implement two new syscalls: bind(2) and connect(2) for operating on UNIX domain sockets. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T19:16:48.967702Z K 7 svn:log V 34 Add missing -U argument to usage. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T19:18:19.281012Z K 7 svn:log V 27 Make description readable. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T19:19:14.293553Z K 7 svn:log V 51 Test O_RDONLY|O_RDWR flags as potentially invalid. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T19:20:35.766056Z K 7 svn:log V 53 Test for EACCES also when opening FIFO or directory. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T19:22:42.666798Z K 7 svn:log V 57 open(2) returns EOPNOTSUPP when trying to open a socket. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-06T19:35:40.141125Z K 7 svn:log V 72 Remove stale reference to UT_NAMESIZE from . Spotted by: bde@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-06T20:13:36.117493Z K 7 svn:log V 247 Remove unneeded functions from libcompat. Erwin fired up a ports build a couple of weeks ago and it seems the following functions are not used by any of the 20k ports we have, which makes me believe they don't have any purpose. Just remove them. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-06T20:18:16.642376Z K 7 svn:log V 154 Obviously the option is known as COMPAT_LINUX32 on amd64. PR: docs/149182 Pointed out by: Fernando MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-08-06T20:18:27.348239Z K 7 svn:log V 40 MFC r210783. Fix typo PR: kern/140590 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-06T20:19:15.394916Z K 7 svn:log V 270 Cleanup file organization: - Add private functions prototype - Reorganize macros and variable in the right order - Re-organize the functions in the cascade order, dividing them into: * Sysctls * Network utilities * Dumping utilities * KLD managing * DDB knobs END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-06T20:21:05.922488Z K 7 svn:log V 74 Fix a wrong comment. Those functions don't appear in that implementation. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-06T20:46:06.816012Z K 7 svn:log V 72 'Pointer' is already expressed, no need to report the asterisk, fix it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T20:46:26.647331Z K 7 svn:log V 15 Sort includes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T20:48:10.458314Z K 7 svn:log V 119 Add mknod(2) support. Submitted by: Jan Senolt Submitted by: Milan Cermak END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-06T20:50:48.427399Z K 7 svn:log V 180 Some network functions replicate the behaviour of some network stack functions because they can't trust them. In order to stress out the dependency, improve the relative comments. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T20:51:39.055080Z K 7 svn:log V 138 Add tests for mknod(2). Submitted by: Jan Senolt Submitted by: Milan Cermak Polished by: pjd END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-08-06T20:55:49.589747Z K 7 svn:log V 95 Put the early setting of the MAC type back, its removal resulted in broken code in MSIX setup. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T21:02:53.971576Z K 7 svn:log V 40 Convert file system type to upper case. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T21:53:50.037932Z K 7 svn:log V 70 For FreeBSD and Linux use awk's toupper() function. Suggested by: ed END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T21:56:32.293944Z K 7 svn:log V 107 Check first todo() argument against operating system name and operating system name plus file system name. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T21:57:11.911538Z K 7 svn:log V 40 Don't use egrep directly - use ${GREP}. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T21:58:53.520872Z K 7 svn:log V 47 ${GREP} can only be used after loading 'conf'. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-06T22:04:18.551819Z K 7 svn:log V 84 Implicitly make a new jail persistent if it's set not to attach. MFC after: 3 days END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-08-06T22:06:12.307817Z K 7 svn:log V 147 Note that a jail without a command parameter will be persistent, instead of explicitly requiring one of "command" or "persist". MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T23:11:19.025062Z K 7 svn:log V 23 Merge ACPICA 20100806. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-06T23:35:33.220973Z K 7 svn:log V 214 When EC burst mode is activated and multiple bytes are accessed, do not disable and enable repeatedly, just do it once per call. It also reduces code duplication. Check all parameters early and fail immediately. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T23:37:29.274033Z K 7 svn:log V 41 Add a directory to hold auxilliary files END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T23:38:12.750502Z K 7 svn:log V 51 Move the man page into the new files/ subdirectory END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T23:41:39.470044Z K 7 svn:log V 55 Add version 1.9 from ports/ports-mgmt/portmaster/files END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T23:42:33.381038Z K 7 svn:log V 56 Add version 1.7 from ports/ports-mgmt/portmaster/files/ END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T23:50:52.903598Z K 7 svn:log V 81 Add the sample rc file as it exists in portmaster.8 r210979 (ports version 2.32) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-06T23:52:16.714532Z K 7 svn:log V 69 Sample rc file information moved to portmaster.rc.sample.in, r210982 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-06T23:58:54.055370Z K 7 svn:log V 63 Various cleanups, mostly to make the test work on FreeBSD/ZFS. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-08-07T01:05:02.436210Z K 7 svn:log V 481 MFC: r210455, r210456 Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate module that can be used by both the regular and experimental nfs clients. This fixes the problem reported by jh@ where /dev/nfslock would be registered twice when both nfs clients were used. I also defined the size of the lm_fh field to be the correct value, as it should be the maximum size of an NFSv3 file handle. Also fix the include path for nfs_lock.h for usr.sbin/rpc.lockd/kern.c. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-08-07T01:49:44.881418Z K 7 svn:log V 310 - Consolidate the the cache coherence attribute definitions in a single place. Adapted from Juli's changes to pte.h in the octeon branch: http://svn.freebsd.org/viewvc/base/user/jmallett/octeon/sys/mips/include/pte.h - Set the KX and UX bits in the status register for n64 kernels. Reviewed by: jmallett END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-07T02:07:40.933652Z K 7 svn:log V 122 - Don't call taskqueue_cancel if the queue hasn't been assigned. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-07T02:08:33.005598Z K 7 svn:log V 150 - Implement enough of vm_area_struct to support mmap. - Define a few page protection types. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-07T02:09:07.722852Z K 7 svn:log V 146 - Don't forget to pass SLEEPQ_INTERRUPTIBLE if we're going to call sleepq_wait_sig(). Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-07T02:11:41.855824Z K 7 svn:log V 487 - Implement device and file operations wrappers. Only read, write, poll, ioctl, open, and close are supported. Attempts to define other members in linux code will generate compiler errors. - Use selrecord via poll_wait(), however, the containing code needs selwakeup() added in appropriate places because our select can't wait on their native waitqueue structures. This still leaves very little code to change. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-07T02:19:19.255849Z K 7 svn:log V 136 Handle some of the long lines by introducing pm_v(), a function to echo messages conditionally based on $PM_VERBOSE, similar to pm_sv() END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-07T03:45:45.984245Z K 7 svn:log V 77 Optimize interrupt vector lookup. There is no need to check the page table. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-07T04:05:58.548828Z K 7 svn:log V 36 Do not block any I/O port on amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-08-07T05:46:04.327098Z K 7 svn:log V 102 Protect shared palette and state buffer with a mutex. Remove defunct spltty() calls while I am here. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-07T06:39:04.459408Z K 7 svn:log V 205 - Only allow probe to attach when the driver matches the correct linux driver. This keeps the device descriptions and unit numbers distinct. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-08-07T06:39:58.904424Z K 7 svn:log V 292 - Specify the HASH lookup method for the OFFPAGE uma zones used for pci dma allocations. For large allocations this was done automatically but for small ones we need to tell UMA what to do. This may be considered a UMA bug. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-08-07T08:08:14.036793Z K 7 svn:log V 1015 Properly bounds check ioctl/pioctl data arguments for Coda: 1. Use unsigned rather than signed lengths 2. Bound messages to/from Venus to VC_MAXMSGSIZE 3. Bound messages to/from general user processes to VC_MAXDATASIZE 4. Update comment regarding data limits for pioctl Without (1) and (3), it may be possible for unprivileged user processes to read sensitive portions of kernel memory. This issue is only present if the Coda kernel module is loaded and venus (the userspace Coda daemon) is running and has /coda mounted. As Coda is considered experimental and production use is warned against in the coda(4) man page, and because Coda must be explicitly configured for a configuration to be vulnerable, we won't be issuing a security advisory. However, if you are using Coda, then you are advised to apply these fixes. Reported by: Dan J. Rosenberg Obtained from: NetBSD (Christos Zoulas) Security: Kernel memory disclosure; no advisory as feature experimental MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-08-07T08:31:32.761670Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-07T10:23:54.201190Z K 7 svn:log V 57 In FreeBSD we use 'jailed' property. MFC after: 2 weeks END