Ħ 195794 163 535 113 143 143 409 682 212 523 283 290 158 295 283 255 648 293 161 148 583 201 537 439 417 497 518 603 723 351 442 205 184 351 301 484 316 395 232 432 184 107 107 154 266 1497 775 471 532 285 104 364 193 239 351 261 338 233 402 460 176 450 881 219 98 266 99 1133 871 871 224 317 144 134 136 136 213 274 395 397 158 412 168 183 285 633 188 106 272 664 211 207 182 116 185 156 212 212 406 753 678 323 232 276 197 218 177 145 328 553 124 115 230 284 206 212 382 637 121 322 249 155 686 158 219 463 637 236 235 808 253 270 138 598 396 231 125 119 125 119 162 563 582 248 600 115 1263 545 496 476 314 448 442 402 121 267 322 273 157 292 181 118 176 293 323 K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-07-21T02:13:57.730436Z K 7 svn:log V 440 Vendor import of tzcode2009k zic.c: Do not end a binary file with a POSIX-style time zone string for locations that end up in permanent DST (thanks to Andreas Schwab). tz-art.htm Add notes on "A Matter of Life and Death" (thanks to Dave Cantor). tz-link.htm Remove seemingly obsolete public.planetmirror.com/pub/timezone link (thanks to Nathan Stratton Treadway). Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-07-21T02:14:39.839845Z K 7 svn:log V 19 Tag of tzcode2009k END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-21T04:04:35.084509Z K 7 svn:log V 47 MFC all recent gzip(1) changes, up to r194916. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-21T04:25:03.616389Z K 7 svn:log V 47 MFC all recent gzip(1) changes, up to r194916. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-07-21T08:29:19.900335Z K 7 svn:log V 316 Make dcache_inv_range() point to the proper routines on ARM9 and ARM9E/ARM10. On some ARM variations CPU func dispatcher has the D-cache invalidate method point to write-back invalidate, which is wrong, and can lead to a crash/panic on affected platforms. Spotted by: HPS Reviewed by: cognet Approved by: re (kib) END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-07-21T08:38:45.435443Z K 7 svn:log V 589 Do not use OCP85XX_LBC_OFF twice when accessing LBC registers on MPC85XX. It turns LBC control registers were not programmed correctly on MPC85XX. We were accessing bogus addresses as the base offset (OCP85XX_LBC_OFF) was erroneously added during offset calculations. Effectively the state of LBC control registers was not altered by the kernel initialization code, but everything worked as long as we coincided to use the same settings (LBC decode windows) as firmware has initialized. Submitted by: Lukasz Wojcik Reviewed by: marcel Approved by: re (kensmith) Obtained from: Semihalf END K 10 svn:author V 5 yzlin K 8 svn:date V 27 2009-07-21T09:54:04.040887Z K 7 svn:log V 117 - Add my birthday - Add myself to ports committers and to lwhsu's mentee list Approved by: re (kib), lwhsu (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-21T12:32:46.761276Z K 7 svn:log V 430 Add `siis` CAM driver for SiliconImage SiI3124/3132/3531 SATA2 controllers. Driver supports Serial ATA and ATAPI devices, Port Multipliers (including FIS-based switching), hardware command queues (31 command per port) and Native Command Queuing. This is probably the second on popularity, after AHCI, type of SATA2 controllers, that benefits from using CAM, because of hardware command queuing support. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-21T13:45:40.465747Z K 7 svn:log V 190 Revert to using the userland closefrom() stub instead of the system call to give a longer grace time where newer ssh binaries work with older kernels. Requested by: obrien Approved by: des END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-21T14:18:25.918949Z K 7 svn:log V 194 Improve the printf message when a module failed to load. This gives the user some clue about the possibility of a __FreeBSD_version mismatch. Discussed with: rwatson, jhb Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-21T14:23:05.589023Z K 7 svn:log V 63 Enable mesh support. Submitted by: jkim Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T15:06:10.180385Z K 7 svn:log V 202 Fix the logic to count the number of "live interfaces". With this change dhclient now terminates when the underlying ifnet is destroyed (e.g. on card eject). Reviewed by: brooks Approved by: re (kib) END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-07-21T16:54:11.830633Z K 7 svn:log V 190 Catch up with r195249, "Improve the handling of cpuset with interrupts." Specifically, update the return type of xenpic_assign_cpu() so that this file compiles again. Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T19:01:04.324284Z K 7 svn:log V 162 track whether any mesh vaps are present to correctly setup the rx filter when, for example, an ap vap is created first Reviewed by: rpaulo Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-07-21T19:06:39.414655Z K 7 svn:log V 552 Add a MD __PCI_BAR_ZERO_VALID which denotes that BARs containing 0 actually specify valid bases that should be treated just as normal. The PCI specifications have no indication that 0 would be a magic value indicating a disabled BAR as commonly used on at least amd64 and i386 but not sparc64. It's unclear what to do in pci_delete_resource() instead of writing 0 to a BAR though as there's no (other) way do disable individual BARs so its decoding is left enabled in case of __PCI_BAR_ZERO_VALID for now. Approved by: re (kib), jhb MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T19:23:34.956246Z K 7 svn:log V 200 Fix handling of AR_RX_FILTER_BSSID: write the shadow value for AR_MISC_MODE so other register writes preserve the setting of AR_MISC_MODE_BSSID_MATCH_FORCE. Reviewed by: rpaulo Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T19:24:53.375515Z K 7 svn:log V 69 correct setup of opt_ddb.h Submitted by: jkim Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T19:25:25.218099Z K 7 svn:log V 56 update for recent mesh additions Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T19:36:32.572263Z K 7 svn:log V 490 Correct handling of keys that already have a hardware/device key index: this was broken in r183248 when the check of wk_keyix was replaced by a check of IEEE80211_KEY_DEVKEY (because the flag was clobbered). Define IEEE80211_KEY_DEVICE to specify flags that are owned by net80211/driver and use this to preserve IEEE80211_KEY_DEVKEY so we don't ask the driver for another key index when we already have one. Testing by: Daniel Thiele, Wes Morgan Reviewed by: rpaulo Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-21T19:38:22.640507Z K 7 svn:log V 108 store mesh timers as ticks and sysctls for changing the defaults Reviewed by: rpaulo Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-07-21T21:58:55.273480Z K 7 svn:log V 445 sysctl_msec_to_ticks is used with both virtualized and non-vrtiualized sysctls so we cannot used one common function. Add a macro to convert the arg1 in the virtualized case to vnet.h to not expose the maths to all over the code. Add a wrapper for the single virtualized call, properly handling arg1 and call the default implementation from there. Convert the two over places to use the new macro. Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-07-22T01:07:11.461069Z K 7 svn:log V 346 Output DWARF debug information for global 'using' declarations, instead of just blowing up. A very similar change to this exists which is GPLv3 licensed, this is my own change. This problem was triggered by running the Boost regression tests. See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31899 Reviewed by: luigi Approved by: re (kib) END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-07-22T01:07:49.955470Z K 7 svn:log V 324 Output DWARF debug information for global 'using' declarations, instead of just blowing up. A very similar change to this exists which is GPLv3 licensed, this is my own change. This problem was triggered by running the Boost regression tests. See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31899 Reviewed by: luigi END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-07-22T03:50:54.351459Z K 7 svn:log V 399 Remove the "dedicated disk mode" partitioning option from sysinstall, in both the disk partitioning screen (the 'F' key) and via install.cfg (the VAR_DEDICATED_DISK option). This functionality is currently broken in 8.x due to libdisk and geom generating different partition names; this commit merely acts to help steer users away from the breakage. Submitted by: randi Approved by: re (kensmith) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-07-22T11:57:34.041577Z K 7 svn:log V 420 mxge's tunable hw.mxge.rss_hash_type cannot be set from the loader, because it uses a reserved suffix (_type). Fix this by removing the "_" and renaming the tunable to hw.mxge.rss_hashtype. The old (rss_hash_type) tunable is still fetched, in case people load the driver via scripts. When both are present in the kernel environment, the new value (hw.mxge.rss_hashtype) overrides the old value. Approved by: re (kib) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-22T14:32:28.033498Z K 7 svn:log V 505 When using an NFSv4 mount in the experimental nfs client with delegations being issued from the server, there was a case where an Open issued locally based on the delegation would be released before the associated vnode became inactive. If the delegation was recalled after the open was released, an Open against the server would not have been acquired and subsequent I/O operations would need to use the special stateid of all zeros. This patch fixes that case. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-22T14:32:38.739380Z K 7 svn:log V 630 When the page caching attributes are changed, after new mapping is established, OS shall flush the caches on all processors that may have used the mapping previously. This operation is not needed if processors support self-snooping. If not, but clflush instruction is implemented on the CPU, series of the clflush can be used on the mapping region. Otherwise, we have to flush the whole cache. The later operation is very expensive, and AMD-made CPUs do not have self-snooping. Implement cache flush for remapped region by using clflush for amd64, when supported by CPU. Proposed and reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-22T14:37:53.018141Z K 7 svn:log V 253 Add changes to the experimental nfs client to use the PBDRY flag for msleep(9) when a vnode lock or similar may be held. The changes are just a clone of the changes applied to the regular nfs client by r195703. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-22T15:15:58.725288Z K 7 svn:log V 347 Fix extattr_list_file(2) on ZFS in case the attribute directory doesn't exist and user doesn't have write access to the file. Without this fix, it returns bogus value instead of 0. For some reason this didn't manifest on my kernel compiled with -O0. PR: kern/136601 Submitted by: Jaakko Heinonen Approved by: re (kib) END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-07-22T15:26:19.669701Z K 7 svn:log V 112 Mark the dwarf2out.c bug fix, r195815 as integrated; using --record-only. Pointy hat to: bms Requested by: kib END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-07-22T15:41:37.621060Z K 7 svn:log V 92 MFC 195710: dtrace_gethrtime: improve scaling of TSC ticks to nanoseconds PR: kern/127441 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-22T18:10:44.794713Z K 7 svn:log V 253 When vfs.newnfs.callback_addr is set to an IPv4 address, the experimental NFSv4 client might try and use it as an IPv6 address, breaking callbacks. The fix simply initializes the isinet6 variable for this case. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-07-22T18:25:51.092764Z K 7 svn:log V 203 Fold struct sackhint into struct tcpcb. Having the details in a separate struct provided no real benefit, and we now have a simplified ABI with respect to struct tcpcb. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-07-22T20:46:17.778566Z K 7 svn:log V 386 It is believed the last subsystem that limited ID sizes to something other than the current system-wide size (32-bits) has been updated so for now just cautiously turn the check off. While here fix the check for IDs being too large which doesn't work due to type mis-matches. Reviewed by: jhb (previous version) Approved by: re (kib) MFC after: 1 month (type mis-match fixes only) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-07-22T22:13:42.625498Z K 7 svn:log V 218 It is believed the last of the base system that could have an issue with IDs larger than 16-bits has been updated so adjust sysinstall to allow IDs up to the current system-wide size of 32-bits. Approved by: re (kib) END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-07-23T01:35:13.758778Z K 7 svn:log V 302 MFC r182138: Greatly expand the devices listed as being supported. This list was taken from PR/121184 which was mechanically generated from similar lists in the Linux ipaq driver. I then took the numbers we had in usbdevs and filled in the right symbols and eliminated duplicates. PR: usb/121184 END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-07-23T10:20:12.328817Z K 7 svn:log V 137 Add the -d switch to the usage message. Submitted by: Emil Mikulic - emil at dmr dot ath dot cx Approved by: re (kib) MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-23T12:51:27.353328Z K 7 svn:log V 331 Fix serial console on Apple Xserve G5 by falling back to input-device-1 if input-device is unavailable. The Xserve G5 defaults to using screen/keyboard for output-device/input-device even if these are not installed, and then falls back to serial ports at boot time. Reviewed by: marcel Hardware from: grehan Approved by: re (kib) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-07-23T16:00:37.914936Z K 7 svn:log V 89 MFC r163917 by ru: Unbreak compile with ELF_VERBOSE defined, and fix format warnings. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-23T16:21:01.716307Z K 7 svn:log V 14 - Fix a typo. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-23T18:38:28.373058Z K 7 svn:log V 14 - Fix a typo. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-07-23T19:03:04.344892Z K 7 svn:log V 62 Update mergeinfo for merge of r182138 to sys/dev/usb/uipaq.c. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-07-23T19:43:23.335443Z K 7 svn:log V 173 Eliminate unnecessary cache and TLB flushes by pmap_change_attr(). (This optimization was implemented in the amd64 version roughly 1 year ago.) Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-23T20:46:49.419967Z K 7 svn:log V 1399 Introduce and use a sysinit-based initialization scheme for virtual network stacks, VNET_SYSINIT: - Add VNET_SYSINIT and VNET_SYSUNINIT macros to declare events that will occur each time a network stack is instantiated and destroyed. In the !VIMAGE case, these are simply mapped into regular SYSINIT/SYSUNINIT. For the VIMAGE case, we instead use SYSINIT's to track their order and properties on registration, using them for each vnet when created/ destroyed, or immediately on module load for already-started vnets. - Remove vnet_modinfo mechanism that existed to serve this purpose previously, as well as its dependency scheme: we now just use the SYSINIT ordering scheme. - Implement VNET_DOMAIN_SET() to allow protocol domains to declare that they want init functions to be called for each virtual network stack rather than just once at boot, compiling down to DOMAIN_SET() in the non-VIMAGE case. - Walk all virtualized kernel subsystems and make use of these instead of modinfo or DOMAIN_SET() for init/uninit events. In some cases, convert modular components from using modevent to using sysinit (where appropriate). In some cases, do minor rejuggling of SYSINIT ordering to make room for or better manage events. Portions submitted by: jhb (VNET_SYSINIT), bz (cleanup) Discussed with: jhb, bz, julian, zec Reviewed by: bz Approved by: re (VIMAGE blanket) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-07-23T21:12:21.979517Z K 7 svn:log V 683 Make libkvm work on live systems and crashdumps with and without VIMAGE virtualization in the kernel. If we cannot resolve a symbol try to see if we can find it with prefix of the virtualized subsystem, currently only "vnet_entry" by identifying either the vnet of the current process for a live system or the vnet of proc0 (or of dumptid if compiled in a non-default way). The way this is done currently allows us to only touch libkvm but no single application. Once we are going to virtualize more subsystems we will have to review this decision for better scaling. Submitted by: rwatson (initial version of kvm_vnet.c, lots of ideas) Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-24T13:40:25.153064Z K 7 svn:log V 378 Move the check to ensure the locate database has the minimum required size when using mmap() before invoking mmap(). This avoids a confusing error message when locate is invoked against a zero-size database after the recent change to make mmap() fail requests to map 0 bytes. Submitted by: Jaakko Heinonen jh of saunalahti dot fi Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-24T13:50:29.450495Z K 7 svn:log V 439 Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to a device pager (OBJT_DEVICE) object in that it uses fictitious pages to provide aliases to other memory addresses. The primary difference is that it uses an sglist(9) to determine the physical addresses for a given offset into the object instead of invoking the d_mmap() method in a device driver. Reviewed by: alc Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-24T14:48:59.537563Z K 7 svn:log V 191 - Add fields required for fstat to kinfo_file structure and code to initialize them. It appears that the size of spare memory in the end of struct isn't enough so I expanded it for now. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-24T14:57:02.722695Z K 7 svn:log V 11 - Cleanup. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-07-24T15:03:10.196240Z K 7 svn:log V 268 Revert the changes to struct kinfo_proc in r194498. Instead, fill in up to 16 (KI_NGROUPS) values and steal a bit from ki_cr_flags (all bits currently unused) to indicate overflow with the new flag KI_CRF_GRP_OVERFLOW. This fixes procstat -s. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-24T15:06:49.321955Z K 7 svn:log V 100 Remove debugging that crept in with previous commit. Reported by: nwhitehorn Approved by: re (kib) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-24T15:22:12.480982Z K 7 svn:log V 146 o kill old code no longer needed after r193312 o count output packets+errors for frames sent through ieee80211_output Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-24T15:27:02.591919Z K 7 svn:log V 258 monitor mode vaps are meant to be read-only so they can operate on any frequency w/o regulatory issues, do this by hooking if_transmit and if_output with routines that discard all transmits Reviewed by: thompsa, cbzimmer (intent) Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-24T15:28:29.400429Z K 7 svn:log V 168 correct handling of IFF_PROMISC; this should not be pushed to the parent device except for monitor and ahdemo mode vaps Reviewed by: rpaulo Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-24T15:31:22.021491Z K 7 svn:log V 245 Update for vaps: o do not force monitor mode; the wlanX ifnet must be an ahdemo mode vap o move channel change work before marking ifnet up to avoid churning the state machine o change default ifnet name to "wlan0" Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-07-24T15:37:02.014412Z K 7 svn:log V 140 revert OACTIVE part of r195845; instead fix the comment so it does not refer to the old hack removed in r193312 Approved by: re (implicit) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-07-24T16:54:22.723335Z K 7 svn:log V 309 A small number of systems in the ICH9/10 family have a flash part that is made up of 8K banks rather than 4K, if these systems are using bank 1 then the last change in this code breaks the bank read, resulting in an invalid checksum of the eeprom during driver load. This change fixes this. Approved by: re END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-07-24T16:57:49.983506Z K 7 svn:log V 367 This delta fixes two bugs: - When a vlan event occurs a check was not made that the event was actually for the interface, thus resulting in a panic. All three drivers have this vulnerability. Add a check for this condition. - Secondly, there was a duplicate buf_ring free in the em driver resulting in a panic on unload. Remove. Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-24T18:31:04.939815Z K 7 svn:log V 84 Bump __FreeBSD_version for the introduction of OBJT_SG. Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-07-24T19:12:19.860403Z K 7 svn:log V 354 Introduce a new sysctl process mib, kern.proc.groups which adds the ability to retrieve the group list of each process. Modify procstat's -s option to query this mib when the kinfo_proc reports that the field has been truncated. If the mib does not exist, fall back to the truncated list. Reviewed by: rwatson Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-24T19:35:06.191168Z K 7 svn:log V 788 MFC: Several cleanups to the syscall tables: - Add explicit prototypes for lkmnosys() and lkmressys() in and remove hacks for those routines from makesyscalls.sh. - Change the LKM syscall entries in the freebsd32 table to use lkmnosys rather than nosys. - Use NOPROTO for __syscall() to remove more magic logic from makesyscalls.sh. - Retire the unused nfsclnt() system call and mark it as UNIMPL rather than NOIMPL. - Remove the NOIMPL system call type. - Allow multiple flags in the type system call type field. Use this to retire CPT_NOA. - Update the comment descriptions for COMPAT[45] system calls in various generated files. - Update comments in syscalls.master. - Include defintions for audit identifiers for compat system calls in . END K 10 svn:author V 3 gad K 8 svn:date V 27 2009-07-24T20:35:44.622762Z K 7 svn:log V 126 MFC: Fix end-of-line issues that can come up when `lpq' reads information about a queue from a remote host. PR: bin/104731 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-24T21:30:10.160813Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-07-24T21:35:52.141433Z K 7 svn:log V 173 Improvement on the last change, this gives a precise way to tell the one and only interface that a vlan event is for. Thanks to John Baldwin for the patch. Approved by: re END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-24T21:38:51.529638Z K 7 svn:log V 7 - MFH. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-07-24T21:42:10.747631Z K 7 svn:log V 1036 MFC r194494 to improve support for 7.x worlds on >=8.0 kernels: In preparation for raising NGROUPS and NGROUPS_MAX, change base system callers of getgroups(), getgrouplist(), and setgroups() to allocate buffers dynamically. Specifically, allocate a buffer of size sysconf(_SC_NGROUPS_MAX)+1 (+2 in a few cases to allow for overflow). This (or similar gymnastics) is required for the code to actually follow the POSIX.1-2008 specification where {NGROUPS_MAX} may differ at runtime and where getgroups may return {NGROUPS_MAX}+1 results on systems like FreeBSD which include the primary group. In id(1), don't pointlessly add the primary group to the list of all groups, it is always the first result from getgroups(). In principle the old code was more portable, but this was only done in one of the two places where getgroups() was called to the overall effect was pointless. Document the actual POSIX requirements in the getgroups(2) and setgroups(2) manpages. We do not yet support a dynamic NGROUPS, but we may in the future. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-07-25T02:22:10.265691Z K 7 svn:log V 775 MFC r179825 by olli: Implement a workaround for a long-standing problem in libi386's time(), caused by a qemu bug. The bug might be present in other BIOSes, too. qemu either does not simulate the AT RTC correctly or has a broken BIOS 1A/02 implementation, and will return an incorrect value if the RTC is read while it is being updated. The effect is worsened by the fact that qemu's INT 15/86 function ("wait" a.k.a. usleep) is non-implmeneted or broken and returns immediately, causing beastie.4th to spin in a tight loop calling the "read RTC" function millions of times, triggering the problem quickly. Therefore, we keep reading the BIOS value until we get the same result twice. This change fixes beastie.4th's countdown under qemu. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-07-25T02:37:59.098800Z K 7 svn:log V 775 MFC r179825 by olli: Implement a workaround for a long-standing problem in libi386's time(), caused by a qemu bug. The bug might be present in other BIOSes, too. qemu either does not simulate the AT RTC correctly or has a broken BIOS 1A/02 implementation, and will return an incorrect value if the RTC is read while it is being updated. The effect is worsened by the fact that qemu's INT 15/86 function ("wait" a.k.a. usleep) is non-implmeneted or broken and returns immediately, causing beastie.4th to spin in a tight loop calling the "read RTC" function millions of times, triggering the problem quickly. Therefore, we keep reading the BIOS value until we get the same result twice. This change fixes beastie.4th's countdown under qemu. END K 10 svn:author V 6 julian K 8 svn:date V 27 2009-07-25T06:42:42.175125Z K 7 svn:log V 128 Catch ipfw up to the rest of the vimage code. It got left behind when it moved to its new location. Approved by: re (kensmith) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-07-25T08:36:28.390888Z K 7 svn:log V 222 Change the name displayed in sysinstall(8) from 'Wizard Mode' to 'Expert Mode', to make it less confusing to new users, to whom a 'wizard' is a set of simple dialogs with the 'next >>>' button. Approved by: re (kensmith) END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-07-25T10:22:08.873004Z K 7 svn:log V 52 Added test scenario for NFS intr mount and SIGSTOP. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-07-25T10:22:51.283945Z K 7 svn:log V 42 Added new test scenario based on nfs4.sh. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-07-25T11:10:01.737478Z K 7 svn:log V 43 MFC: r190126 Reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-07-25T11:10:51.385235Z K 7 svn:log V 43 MFC: r190126 Reduce diffs against i386. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-25T14:31:24.394853Z K 7 svn:log V 112 Before I get too far, rename the architecture from 'ppc64' to 'powerpc64'. This seems to be a more common name. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-25T14:33:21.422235Z K 7 svn:log V 173 Add some #ifdefs to powerpc _types to set LP64 types if we are compiling for 64-bit PowerPC. The goal here is to share machine/*.h completely between powerpc and powerpc64. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-07-25T14:48:57.197063Z K 7 svn:log V 300 Some jail parameters (in particular, "ip4" and "ip6" for IP address restrictions) were found to be inadequately described by a boolean. Define a new parameter type with three values (disable, new, inherit) to handle these and future cases. Approved by: re (kib), bz (mentor) Discussed with: rwatson END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-25T15:47:57.107600Z K 7 svn:log V 296 Add in some more type-dependent definitions and define 64-bit atomic functions on powerpc64. This (a) manages to not break a 32-bit kernel and (b) gets all of the MI stuff in the 64-bit kernel compiling. The elf.h changes are a hack and should be revisited after a closer look at the 64-bit ABI. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-25T17:40:49.943933Z K 7 svn:log V 66 Add ahci and siis drivers to NOTES. Approved by: re (implicitly) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-07-25T18:11:55.630128Z K 7 svn:log V 314 Libarchive recognizes hardlinked files on ISO images, but returned them incorrectly, causing tar to actually erase the resulting file while trying to restore the link. This one-line fix corrects the hardlink descriptions to avoid this problem. Thanks to Jung-uk Kim for pointing this out. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-25T18:19:31.666447Z K 7 svn:log V 76 PMP provides 16 targets (15 drives + itself). Approved by: re (implicitly) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-25T18:45:09.544198Z K 7 svn:log V 91 Add note, that ahci(4) and siis(4) supersede ata(4) drivers. Approved by: re (implicitly) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-25T19:43:46.963543Z K 7 svn:log V 184 Add separate powerpc64 conf files for now and remove an extraneous include of opt_psim.h from aim's nexus. I'm a little torn on how much architecture unification there should be here. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-25T20:26:54.699575Z K 7 svn:log V 539 - Locking bugfixes. - Organize new kinfo_file fields into the union to save space. Also use kf_path field for textual representation of sockets domain name. This allows to fit all new kinfo_fields into spare space thus keeping the sysctl compatible with 7x world. - Use uint64_t to store pointers to allow i386 fstat to be used with amd64 kernels and vice versa. - Correctly initialize kf_vnode_type field. - Implement missing sysctl-mode access routines in libprocstat. Now sysctl version of fstat should be fully functional. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-25T21:07:56.592614Z K 7 svn:log V 96 Fix syntax error, makefile comments start with #. Submitted by: bde Approved by: re (kensmith) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-25T21:51:12.241087Z K 7 svn:log V 13 - Fix fuser. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-26T00:16:43.981366Z K 7 svn:log V 171 This gets the rest of the shared AIM code building for AIM64. Most of the changes are adjusting printf formats and setting things that should be register_t to register_t. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-26T03:20:12.578437Z K 7 svn:log V 563 Checkpoint current status: everything currently compiles except aim/copyinout.c, powerpc/elf_machdep.c, and powerpc/in_cksum.c. Hopefully, I will see some hello world boot messages soon. Changes are: - Create a new powerpc/aim64 directory to hold a small number of aim64-specific files. Depending on whether we need to have a sys/powerpc64 in the end, this could be moved there. - Move aim/mmu_oea64.c to aim64 - Pacify the compiler about changed types, update trap_subr.S, etc. - Remove device options for devices that don't exist on any PPC64 machines. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-07-26T06:38:56.762115Z K 7 svn:log V 118 Eliminate a stale paragraph from the BUGS section. This "bug" was eliminated in r195693. Approved by: re (kensmith) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-26T07:48:22.106167Z K 7 svn:log V 113 - Install with setgid mode (required for sysctl access). - Discard setgid privilegies after file list retrieval. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-26T08:06:38.050390Z K 7 svn:log V 89 - Move translation tables to places where they used instead of exposing them globally. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-26T08:14:01.208609Z K 7 svn:log V 23 - Style(9) nitpicking. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-26T08:18:40.093885Z K 7 svn:log V 92 - Use getvnodemount and getvnodedata wrapper functions instead of direct access to vnode. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-26T08:47:00.520402Z K 7 svn:log V 63 - Add ntfs, nwfs, smbfs and udf support. Obtained from: fuser END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-26T09:00:37.557346Z K 7 svn:log V 115 Implement %z for strptime. PR: kern/63064 Submitted by: Stefan `Sec` Zehl (with some small changes) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-26T09:01:15.639828Z K 7 svn:log V 115 Implement %z for strptime. PR: kern/63064 Submitted by: Stefan `Sec` Zehl (with some small changes) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-07-26T11:25:57.698453Z K 7 svn:log V 314 Make ifconfig ifN -vnet actually work: - fix ifconfig to ignore the non-existent interface in the current network stack in case of '-vnet'. - in ifconfig: actually use the local variables defined for the vnet functions rather than modifying the global. Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-07-26T11:29:26.718668Z K 7 svn:log V 661 Make the in-kernel logic for the SIOCSIFVNET, SIOCSIFRVNET ioctls (ifconfig ifN (-)vnet ) work correctly. Move vi_if_move to if.c and split it up into two functions(*), one for each ioctl. In the reclaim case, correctly set the vnet before calling if_vmove. Instead of silently allowing a move of an interface from the current vnet to the current vnet, return an error. (*) There is some duplicate interface name checking before actually moving the interface between network stacks without locking and thus race prone. Ideally if_vmove will correctly and automagically handle these in the future. Suggested by: rwatson (*) Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-07-26T12:20:07.034950Z K 7 svn:log V 586 Update epair(4) to the new netisr implementation and polish things a bit: - use dpcpu data to track the ifps with packets queued up, - per-cpu locking and driver flags - along with .nh_drainedcpu and NETISR_POLICY_CPU. - Put the mbufs in flight reference count, preventing interfaces from going away, under INVARIANTS as this is a general problem of the stack and should be solved in if.c/netisr but still good to verify the internal queuing logic. - Permit changing the MTU to virtually everythinkg like we do for loopback. Hook epair(4) up to the build. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-07-26T14:04:48.074458Z K 7 svn:log V 230 Restore PATA device probe order, broken by PMP support implementation, requesting IDENTIFY from slave device first. This order is important for proper cable type detection by master device. PR: kern/136438 Approved by: re (kib) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-07-26T15:06:59.484830Z K 7 svn:log V 136 Add a missing unlock for the inp lock when returning early from sctp_add_to_readq(). Approved by: re, rrs (mentor) MFC after: 2 weeks. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-07-26T18:11:44.482227Z K 7 svn:log V 178 The parser for Rockridge symlinks tended to insert extra slashes at the beginning of absolute targets. Thanks to Jung-uk Kim for pointing this out to me. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-26T20:12:06.130969Z K 7 svn:log V 104 Note that COMPAT_43 requires COMPAT_FREEBSD7 too. Submitted by: Steve Kargl Approved by: re (kensmith) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-26T20:35:47.820208Z K 7 svn:log V 117 Fix a segfault in ld when the PLT is defined but not used. This follows a similar change in 2006 made by Alan Modra. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-26T20:47:14.301192Z K 7 svn:log V 77 Add powerpc64 bits for xlint. This allows make kernel-toolchain to complete. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-26T20:47:48.469690Z K 7 svn:log V 45 Add bits for generating 32-bit PPC binaries. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-26T20:52:12.914227Z K 7 svn:log V 227 Add in some more missing bits, and a few beginning corrections for the dot symbol function descriptor business in the PowerPC64 ABI. This produces a kernel that compiles, links, and even manages to make it into powerpc_init(). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-27T04:41:04.602513Z K 7 svn:log V 452 Add the various OFW machdep bits to be able to talk to a 32-bit Open Firmware from a 64-bit environment, and also to handle calling locations in memory from C. This involved hacking a PPC64 ABI function descriptor structure to wrap the plain pointer to the OFW entry point. With this, the kernel starts, prints Hello World, starts KDB, informs me it has no platform module because the Mambo support is uncommitted, politely panics, and stops. Huzzah! END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-27T07:05:08.152261Z K 7 svn:log V 28 Vendor import of less v436. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-27T07:07:56.039327Z K 7 svn:log V 19 Tag for less v436. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-07-27T12:09:32.538001Z K 7 svn:log V 134 Get rid of unused field. This will also be deleted in the official speciication of the SCTP socket API. Approved by:re, rrs (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-27T13:36:35.629330Z K 7 svn:log V 188 * Document the dev.asmc.N.light.control sysctl. [1] * Add more models that have the SMC. PR: 137168 [1] Submitted by: Patrick Lamaiziere Approved by: re (kib) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-07-27T13:41:45.953366Z K 7 svn:log V 110 Fix the handling of unordered messages when using PR-SCTP. Approved by: re, rrs (mentor) MFC after: 3 weeks. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-27T13:51:55.004382Z K 7 svn:log V 116 Refine the MacBook hack to only match early models that have Intel ICH. Discussed with: kjim Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-07-27T14:22:09.241677Z K 7 svn:log V 286 Mesh fixes, namely: * don't clobber proxy entries * HWMP seq number processing, including discard of old frames * flush routing table entries based on nexthop * print route flags in ifconfig * more debugging messages and comments Proxy changes submitted by sam. Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-07-27T14:52:34.249470Z K 7 svn:log V 544 We don't support ephemeral IDs in FreeBSD and without this fix ZFS can panic when in zfs_fuid_create_cred() when userid is negative. It is converted to unsigned value which makes IS_EPHEMERAL() macro to incorrectly report that this is ephemeral ID. The most reasonable solution for now is to always report that the given ID is not ephemeral. PR: kern/132337 Submitted by: Matthew West Tested by: Thomas Backman , Michael Reifenberger Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-27T15:32:18.009525Z K 7 svn:log V 21 Fix a missing space. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-27T16:03:04.521909Z K 7 svn:log V 229 Fix the freebsd32 versions of semsys(), shmsys(), and msgsys() to use the old ABI versions of the relevant control system call (e.g. freebsd7_freebsd32_msgctl() instead of freebsd32_msgctl() for msgsys()). Approved by: re (kib) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-07-27T16:05:51.659338Z K 7 svn:log V 152 MFC r194741,194745-194746,194748-194749,194759,194960,194963,194965-194966,194969,194986,194996 This pulls in numerous vblank related fixes from HEAD. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-07-27T16:11:44.074726Z K 7 svn:log V 59 MFC r195501 Add support for Radeon HD 4770 (RV740) chips. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-07-27T17:08:06.989694Z K 7 svn:log V 590 This patch does the following: - Allow loopback route to be installed for address assigned to interface of IFF_POINTOPOINT type. - Install loopback route for an IPv4 interface addreess when the "useloopback" sysctl variable is enabled. Similarly, install loopback route for an IPv6 interface address when the sysctl variable "nd6_useloopback" is enabled. Deleting loopback routes for interface addresses is unconditional in case these sysctl variables were disabled after an interface address has been assigned. Reviewed by: bz Approved by: re END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-07-27T18:07:44.677640Z K 7 svn:log V 62 urtw(4) supports RTL8187B chipset now. Approved by: re (kib) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-07-27T20:17:20.192564Z K 7 svn:log V 122 adds DLINK2 DWA120 device. PR: usb/136950 Reported by: Alexander Kuznetsov Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-07-27T20:24:00.611306Z K 7 svn:log V 365 Add INDEX-8 to the default portsnap configuration file, and remove INDEX-5. The Portsnap buildbox now generates teh bits needed for portsnap to produce INDEX-8; and it hasn't built INDEX-5 for a long time, although the bits are still distributed for an INDEX-5 from when FreeBSD 5.x reached its EoL. Approved by: re (kib) MFC after: 3 days (INDEX-8 addition only) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-07-28T14:09:06.892452Z K 7 svn:log V 544 Turns out that when a receiver forwards through its TNS's the processing code holds the read lock (when processing a FWD-TSN for pr-sctp). If it finds stranded data that can be given to the application, it calls sctp_add_to_readq(). The readq function also grabs this lock. So if INVAR is on we get a double recurse on a non-recursive lock and panic. This fix will change it so that readq() function gets a flag to tell if the lock is held, if so then it does not get the lock. Approved by: re@freebsd.org (Kostik Belousov) MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-07-28T15:07:41.541360Z K 7 svn:log V 140 Fix a bug where wrong initialization value in used for an SCTP specific sysctl variable. Approved by: re, rrs(mentor). MFC after: 2 weeks. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-28T15:57:53.813370Z K 7 svn:log V 134 Bring up the system a little more, with some initial SLB management. We now boot into after the PMAP layer is up and the MMU enabled. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-07-28T17:16:54.937755Z K 7 svn:log V 712 The new flow table caches both the routing table entry as well as the L2 information. For an indirect route the cached L2 entry contains the MAC address of the gateway. Typically the default route is used to transmit multicast packets when explicit multicast routes are not available. The ether_output() function bypasses L2 resolution function if it verifies the L2 cache is valid, because the cached L2 address (a unicast MAC address) is copied into the packets as the destination MAC address. This validation, however, does not apply to broadcast and multicast packets because the destination MAC address is mapped according to a standard method instead. Submitted by: Xin Li Reviewed by: bz Approved by: re END K 10 svn:author V 6 julian K 8 svn:date V 27 2009-07-28T19:43:27.626405Z K 7 svn:log V 157 Somewhere along the line accept sockets stopped honoring the FIB selected for them. Fix this. Reviewed by: ambrisko Approved by: re (kib) MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2009-07-28T19:58:07.301266Z K 7 svn:log V 174 Startup the vnet part of initialization a bit after the global part. Fixes crash on boot if ipfw compiled in. Submitted by: tegge@ Reviewed by: tegge@ Approved by: re (kib) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-28T21:18:26.600255Z K 7 svn:log V 45 - Imeplement mmaped files access via sysctl. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-28T21:39:58.461660Z K 7 svn:log V 501 Audit file descriptors passed to fooat(2) system calls, which are used instead of the root/current working directory as the starting point for lookups. Up to two such descriptors can be audited. Add audit record BSM encoding for fooat(2). Note: due to an error in the OpenBSM 1.1p1 configuration file, a further change is required to that file in order to fix openat(2) auditing. Approved by: re (kib) Reviewed by: rdivacky (fooat(2) portions) Obtained from: TrustedBSD Project MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-28T21:52:24.011018Z K 7 svn:log V 299 Rework vnode argument auditing to follow the same structure, in order to avoid exposing ARG_ macros/flag values outside of the audit code in order to name which one of two possible vnodes will be audited for a system call. Approved by: re (kib) Obtained from: TrustedBSD Project MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-28T22:17:34.385216Z K 7 svn:log V 134 Revise header comments for vnet.h as we now implement VNET_SYSINIT, not just VNET_DEFINE in vnet.h. Approved by: re (vimage blanket) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-28T22:58:40.165354Z K 7 svn:log V 31 Vendor import of BIND 9.6.1-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-28T22:59:11.275056Z K 7 svn:log V 25 Tag the 9.6.1-P1 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-28T23:23:48.710724Z K 7 svn:log V 31 Vendor import of BIND 9.4.3-P3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-28T23:24:45.759445Z K 7 svn:log V 25 Tag the 9.4.3-P3 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-28T23:42:39.416659Z K 7 svn:log V 68 These files don't belong in contrib at all anymore, so remove them. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-28T23:59:22.361808Z K 7 svn:log V 468 Update to version 9.4.3-P3 which addresses a remote DoS vulnerability: Receipt of a specially-crafted dynamic update message may cause BIND 9 servers to exit. This vulnerability affects all servers -- it is not limited to those that are configured to allow dynamic updates. Access controls will not provide an effective workaround. More details can be found here: https://www.isc.org/node/474 All BIND users are encouraged to update to a patched version ASAP. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-29T00:13:47.015185Z K 7 svn:log V 487 Apply the patch derived from version 9.6.1-P1 which addresses a remote DoS vulnerability: Receipt of a specially-crafted dynamic update message may cause BIND 9 servers to exit. This vulnerability affects all servers -- it is not limited to those that are configured to allow dynamic updates. Access controls will not provide an effective workaround. More details can be found here: https://www.isc.org/node/474 All BIND users are encouraged to update to a patched version ASAP. END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-07-29T00:14:14.432012Z K 7 svn:log V 153 Fix BIND named(8) dynamic update message remote DoS. Obtained from: ISC Security: FreeBSD-SA-09:12.bind Security: CVE-2009-0696 Approved by: so (simon) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-07-29T00:15:39.339944Z K 7 svn:log V 505 Update to version 9.6.1-P1 which addresses a remote DoS vulnerability: Receipt of a specially-crafted dynamic update message may cause BIND 9 servers to exit. This vulnerability affects all servers -- it is not limited to those that are configured to allow dynamic updates. Access controls will not provide an effective workaround. More details can be found here: https://www.isc.org/node/474 All BIND users are encouraged to update to a patched version ASAP. Approved by: re (re -> SO -> dougb) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-07-29T00:39:46.078052Z K 7 svn:log V 21 fix SCTP compilation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-07-29T05:23:52.584876Z K 7 svn:log V 1169 Currently there is a problem with fscking UFS file systems created on top of ZVOLs. The problem is that rc.d/fsck runs before rc.d/zfs. The latter makes ZVOLs to appear in /dev/. In such case rc.d/fsck cannot find devfs entry and aborts. We cannot simply move rc.d/zfs before rc.d/fsck, because we first want kern.hostid to be configured (by rc.d/hostid). If we won't wait (hostid will be 0) we can reuse disks which are in use by different systems (eg. in SAN/NAS environment). We also cannot move rc.d/hostid before rc.d/fsck, because rc.d/hostid on first system start stores generated kern.hostuuid in /etc/hostid file, so it needs root file system to be mounted read-write. The fix is to split rc.d/hostid so that rc.d/hostid (which will now run before rc.d/fsck) only generates hostid and sets up sysctls, but doesn't touch root file system and rc.d/hostid_save (which is run after rc.d/root) and only creates /etc/hostid file. With that in place, we can move ZVOL initialization to dedicated rc.d/zvol script which runs before rc.d/fsck. PR: conf/120194 Reported by: James Snow Reviewed by: brooks Approved by: re (kib) MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-07-29T07:44:43.986662Z K 7 svn:log V 448 Eliminate ARG_UPATH[12] arguments to AUDIT_ARG_UPATH() and instead provide specific macros, AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() to capture path information for audit records. This allows us to move the definitions of ARG_* out of the public audit header file, as they are an implementation detail of our current kernel-internal audit record, which may change. Approved by: re (kensmith) Obtained from: TrustedBSD Project MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-29T08:49:58.408428Z K 7 svn:log V 403 As was done in r195820 for amd64, use clflush for flushing cache lines when memory page caching attributes changed, and CPU does not support self-snoop, but implemented clflush, for i386. Take care of possible mappings of the page by sf buffer by utilizing the mapping for clflush, otherwise map the page transiently. Amd64 used direct map. Proposed and reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-07-29T09:20:32.220881Z K 7 svn:log V 379 Update less to v436. This is considered as a bugfix release from vendor. Major changes from v429: * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-". * Allow a fraction as the argument to the -# (--shift) option. * Fix highlight bug when underlined/overstruck text matches at end of line. * Fix non-regex searches with ctrl-R. Approved by: re (kensmith, kib) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-29T14:44:09.212763Z K 7 svn:log V 216 Delete the descriptions of the gssname and allgssname optionss from mount_nfs.8 since these options are not implemented in FreeBSD8. This is content change for the man page. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-07-29T14:50:31.571447Z K 7 svn:log V 350 Fix the experimental nfs client so that it only calls ncl_vinvalbuf() for NFSv2 and not NFSv4 when nfscl_mustflush() returns 0. Since nfscl_mustflush() only returns 0 when there is a valid write delegation issued to the client, it only affects the case of an NFSv4 mount with callbacks/delegations enabled. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-07-29T16:41:02.121207Z K 7 svn:log V 347 Change the default value of the "ip4" and "ip6" jail parameters to "disable", which only allows access to the parent/physical system's IP addresses when specifically directed. Change the default value of "host" to "new", and don't copy the parent host values, to insulate jails from the parent hostname et al. Approved by: re (kib), bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-07-29T16:46:59.311660Z K 7 svn:log V 307 Don't allow mixing the "vnet" and "ip4/6" jail parameters, since vnet jails have their own IP stack and don't have access to the parent IP addresses anyway. Note that a virtual network stack forms a break between prisons with regard to the list of allowed IP addresses. Approved by: re (kib), bz (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-07-29T18:42:14.168092Z K 7 svn:log V 30 Free jilles@ from mentorship! END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-07-29T19:07:24.527552Z K 7 svn:log V 174 Parse the System Resource Affinity Table ('SRAT') used to describe affinity relationships between CPUs and memory. Reviewed by: jkim Approved by: re (kib) MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-29T19:19:13.214071Z K 7 svn:log V 221 Virtual memory now really works, and the kernel boots to the point of running through device detection and complaining about not being able to find a PIC. Trap handling (especially for user-space) still has a ways to go. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-07-29T19:38:33.415396Z K 7 svn:log V 180 Fix XEN build breakage, by implementing pmap_invalidate_cache_range() and using it when appropriate. Merge analogue of the r195836 optimization to XEN. Approved by: re (kensmith) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-29T20:32:28.096869Z K 7 svn:log V 57 The correct opcode for reading the console is 60, not 0. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-07-29T21:09:03.263911Z K 7 svn:log V 198 - Rearrange kf_un fields to eliminate possible architecture-dependent paddings. Also name fields more consistently. - Pad all kf_un elements explicitly to avoid confusion. Suggested by: rwatson END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-29T21:36:40.210458Z K 7 svn:log V 81 Fix physical memory map detection on IBM-style machines like the Cell simulator. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-29T21:47:38.943641Z K 7 svn:log V 18 Fix 32-bit build. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-07-29T21:54:34.619277Z K 7 svn:log V 82 Add small tool to convert UTF-8 encoded strings back into CLDR "markup" language. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-07-29T22:02:13.250784Z K 7 svn:log V 198 Add support for the (FreeBSD specific) alternative month. Since it is not defined in the CLDR, we have to keep track of the information ourselves as long it differs from the normal long month name. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-07-29T22:19:52.074528Z K 7 svn:log V 222 Make 32-bit kernels operational again by not storing DAR and R31 in the same part of the register cache for traps, and by dealing with some stupidity in the way Apple stores the available physical memory list in firmware. END