ƒ²c201206 194 351 513 221 681 118 130 116 143 171 648 196 192 194 252 252 363 362 413 119 119 120 360 336 242 148 206 517 123 370 618 205 220 126 478 171 190 545 466 157 785 459 262 224 181 149 312 137 145 273 108 151 247 144 187 295 120 140 398 147 178 178 289 622 1536 254 140 140 428 427 185 478 138 131 435 388 191 1022 392 794 365 235 240 132 303 204 853 369 276 134 175 186 143 203 167 687 268 379 127 433 431 205 128 133 133 262 171 152 148 205 188 225 170 175 189 119 118 223 203 317 319 263 143 236 153 349 394 1100 152 120 120 120 500 200 160 177 243 466 163 176 301 128 506 202 184 429 251 203 180 176 158 123 134 154 340 119 120 233 233 198 198 511 644 290 317 293 232 1613 232 238 109 536 146 132 221 686 402 258 133 222 273 183 221 154 116 150 182 179 179 179 439 463 193 290 183 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-29T17:31:52.823015Z K 7 svn:log V 254 Merge r187666 from head to stable/7: Begin to add SDT tracing of the MAC Framework: add policy modevent, register, and unregister hooks that give access to the mac_policy_conf for the policy. Obtained from: TrustedBSD Project Requested by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-29T17:35:56.589715Z K 7 svn:log V 416 Merge r189311 from head to stable/7: Reduce the verbosity of SDT trace points for DTrace by defining several wrapper macros that allow trace points and arguments to be declared using a single macro rather than several. This means a lot less repetition and vertical space for each trace point. Use these macros when defining privilege and MAC Framework trace points. Reviewed by: jb Requested by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-29T17:38:50.472021Z K 7 svn:log V 124 Merge r189314 from head to stable/7: Adding missing ";"'s required by some SDT_PROBE_DEFINEx() macros. Requested by: bz END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-12-29T19:47:34.377905Z K 7 svn:log V 585 iwn(4) update. Notable changes: * new firmware * untested support for 1000 and 6000 series * bgscan support * remove unnecessary RXON changes * allow setting of country/regdomain by enforcing channel flags read from the EEPROM * suspend/resume fixes * RF kill switch fixes * LED adjustments * several bus_dma*() related fixes * addressed some LORs * many other bug fixes Submitted by: Bernhard Schmidt Obtained from: Brandon Gooch (LED related changes), Benjamin Kaduk (LOR fixes), OpenBSD END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-29T20:14:39.354031Z K 7 svn:log V 24 Remove pppd, it's gone. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-29T20:15:23.086687Z K 7 svn:log V 36 Remove pppd and SLIP-related stuff. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-12-29T20:15:52.750094Z K 7 svn:log V 21 Delete old firmware. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-29T20:20:51.123672Z K 7 svn:log V 49 Remove examples for pppd and SLIP-related stuff. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-29T20:30:50.768284Z K 7 svn:log V 77 Remove extra space introduced by the previous commit. Submitted by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-29T21:03:36.563459Z K 7 svn:log V 555 Add support for configuring vlan(4) interfaces as child devices similar to wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '.'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_ in the description of cloned_interfaces. Reviewed by: brooks MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-29T21:06:49.751299Z K 7 svn:log V 103 Remove a trailing reference to the obsolete vaps_ variable. Reviewed by: brooks MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-29T21:07:17.782121Z K 7 svn:log V 100 ANSIfy ldconfig and the aout bits it still uses from rtld-aout. (Why is aout support still there?) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-29T21:19:52.705559Z K 7 svn:log V 101 Partial MFC of 178527: Add support for create_args_ to interfaces created via cloned_interfaces. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-29T21:23:18.931935Z K 7 svn:log V 159 MFC r200821: Make graid3 fallback to malloc() when component request size is bigger then maximal prepared UMA zone size. This fixes crash with MAXPHYS > 128K. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-29T21:41:51.315572Z K 7 svn:log V 159 MFC r200821: Make graid3 fallback to malloc() when component request size is bigger then maximal prepared UMA zone size. This fixes crash with MAXPHYS > 128K. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-29T21:41:55.276113Z K 7 svn:log V 268 For the printing of status information to the terminal title bar: 1. Collect the information in update_port(). This is both simpler and more thorough. 2. Make the counts global so that per parent port they will count all of the dependencies all the way down the tree. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-29T21:49:11.802446Z K 7 svn:log V 269 Usually these controllers are able to automatically decode command code to get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As soon as this info any way provided by CAM, give controller specific instructions. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-12-29T21:51:28.438293Z K 7 svn:log V 316 Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime... END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-29T22:32:43.954470Z K 7 svn:log V 28 Add missing `void' keyword. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-29T22:33:07.778172Z K 7 svn:log V 28 Add missing `void' keyword. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-29T22:33:53.553161Z K 7 svn:log V 29 Add missing `void' keywords. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-29T22:53:27.516672Z K 7 svn:log V 268 ANSIfy almost all applications that use WARNS=6. I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:15:55.485711Z K 7 svn:log V 244 "Merge" a single file out of r184205 by des@ w/o placing mergeinfo to be able to keep files in sync between branches and still allow a possible of the entire commit: Retire the MALLOC and FREE macros. They are an abomination unto style(9). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:19:28.603220Z K 7 svn:log V 150 MFC r199883: 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. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:21:07.037471Z K 7 svn:log V 57 MFC r199884: Define an SDT provider for "opencrypto". END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:23:05.908391Z K 7 svn:log V 114 MFC r199885: Add SDT probes for opencrypto:deflate:deflate_gobal:*. They are not nice but they were helpful. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:25:45.342876Z K 7 svn:log V 425 MFC r199887: 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 not seem to cope well with, resulting in errors when uncompressing exactly fills the output buffer without a Z_STREAM_END and a successive call returns an error. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:27:15.531976Z K 7 svn:log V 32 MFC r199894: Correct a typo. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2009-12-29T23:28:13.767855Z K 7 svn:log V 275 Correct bug introduced while purging the -ERRNO Linuxism from the grant table API. Valid grant refs are in the range of positive 32bit integers. ENOSPACE, being 29, is also a positive integer. Return GNTTAB_LIST_END (-1) instead when gnttab_claim_grant_reference() fails. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:30:16.093492Z K 7 svn:log V 526 MFC r199895: 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] END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2009-12-29T23:31:21.217796Z K 7 svn:log V 110 In blkif_queue_cb(), test the return value from gnttab_claim_grant_reference() for >= 0 instead of != ENOSPC. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:33:20.096485Z K 7 svn:log V 128 MFC r199896: Directly send data uncompressed if the packet payload size is lower than the compression algorithm threshold. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:35:05.620733Z K 7 svn:log V 35 MFC r199897: Remove whitespace. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:40:57.997755Z K 7 svn:log V 386 MFC r199899: 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 END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:42:54.251988Z K 7 svn:log V 80 MFC r199904: Add SDT iter probes forgotten in r199885 (r201231 in stable/7). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:44:32.887204Z K 7 svn:log V 99 MFC r199905: Assimilate very similar input and output code paths (no real functional change). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:47:21.916129Z K 7 svn:log V 453 MFC r199906: 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. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-29T23:58:32.482565Z K 7 svn:log V 374 MFC r199946: 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. Note: old netstat binaries, as only consumer, continue to work as they are still using kvm but will not display the new stats. [1] Discussed with: rwatson [1] (for stable/8) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-30T00:03:36.910601Z K 7 svn:log V 66 MFC r199947, 199950: Enable IPcomp by default. PR: kern/123587 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T03:59:45.116715Z K 7 svn:log V 690 Bug fix: ======== PM_BUILD_ONLY_LIST should only be set to pm_bol in the command line parser if we are in the parent. Feature expansion: ================== Do a more thorough job of tracking things that should fall into the --packages-build/--delete-build-only category. I.e., if something is a run dependency of a port or ports that themselves are only build dependencies, add it to the build_only_dl_g anyway. New internal: ============= Add a uniquify_list function so that internal lists of variables can be made unique. Start using it for some of the new stuff, and in clean_build_only_list(). Cleanup: ======== Factor out one line of common code for the rundep list in dep_check() END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-30T05:30:35.581301Z K 7 svn:log V 361 Merge Michihiro NAKAJIMA's significant work on the ISO9660 reader from googlecode: * Support for zisofs compressed entries * Support for relocated deep directories * Direct calculation of link counts for accurate nlink values even on images that lack Rockridge extensions * Faster handling of the internal file lists. * Better detection of ISO variants END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-30T05:59:21.683994Z K 7 svn:log V 164 A raft of test changes and improvements from the Googlecode repository. In particular, this includes tests for the new features I've merged over the last few days. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-30T06:12:03.915338Z K 7 svn:log V 126 UU decoder. Now that libarchive can recursively taste input streams, you can do things like this: tar xvf archive.tar.gz.uu END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-30T06:25:19.836544Z K 7 svn:log V 84 Libarchive in FreeBSD is now synced up with 2.7.901a from libarchive.googlecode.com END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-30T06:28:30.295254Z K 7 svn:log V 52 Reserve constants for RPM unwrapper and XAR reader. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-12-30T06:28:47.697352Z K 7 svn:log V 214 Add undocumented 'portsnap alfred' command, which runs (fetch|cron) based on whether fd 0 is a terminal, and then runs (extract|update) based on whether ${PORTSDIR} exists. Requested by: alfred MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-30T06:36:42.149490Z K 7 svn:log V 46 Let umount build with -Wold-style-definition. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-30T06:37:58.985989Z K 7 svn:log V 48 Remove some test files that are no longer used. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-30T08:52:13.522099Z K 7 svn:log V 177 Make sure the multicast forwarding cache entry's stall queue is properly initialized before trying to insert an entry into it. PR: kern/142052 Reviewed by: bms MFC after: now END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-30T10:44:39.141520Z K 7 svn:log V 14 Add licenses. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-30T11:46:38.944722Z K 7 svn:log V 57 Be able to process dayofweek of a month with a modifier. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2009-12-30T14:41:02.067227Z K 7 svn:log V 151 Removing pre-commit review on isp(4). It's time to let people have their way with it, if they so choose. I've been fooling with it since 1997. Enough. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-30T15:44:36.731516Z K 7 svn:log V 49 Remove the current directory from _PATH_STDPATH. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-30T15:59:40.804757Z K 7 svn:log V 92 sh: arith: Return only 0 and 1 from && and ||. This agrees with C, POSIX and other shells. END K 10 svn:author V 6 markus K 8 svn:date V 27 2009-12-30T16:37:58.436404Z K 7 svn:log V 199 MFC r200992: Use a local copy of entry_d for finding matches. Otherwise, if entry_d pointed to an entry of 'acl', all ACL entries starting with entry_d would be deleted. Approved by: emax (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-30T16:56:50.307233Z K 7 svn:log V 29 Add missing `void' keywords. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-30T17:16:49.201282Z K 7 svn:log V 45 Fix memory leak when parsing backticks (``). END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-30T17:22:00.512897Z K 7 svn:log V 306 MFC r199844: 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 Approved by: trasz (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-30T17:23:27.761097Z K 7 svn:log V 55 Call wakeup() only for the first request on the queue. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T17:42:41.533717Z K 7 svn:log V 86 MFC 200872: Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T17:45:35.998432Z K 7 svn:log V 86 MFC 200872: Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T17:53:07.167618Z K 7 svn:log V 196 MFC 200919: Fix a bug in gzipfs that prevented lseek() from working and add lseek() support to bzip2fs. This fixes problems with loading compressed amd64 kernel modules containing debug symbols. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T17:55:20.918032Z K 7 svn:log V 529 MFC 174741,200919: - Fix logical bug in the bzip2 reading code, which results in bogus EIO returned on a perfectly valid bzip2 stream whose decompressed size is multiple of read-ahead buffer size. - Add a similar fix to the gzipfs code to be safe (along with a subsequent bugfix to un-break seeking of gzip streams). - Add some ifdef'ed code to enable testing bzipfs.c from witin normal FreeBSD environment as opposed to the restricted loader one, so that one can use gdb and whatnot. - Add lseek() support to bzip2fs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-30T18:15:25.907310Z K 7 svn:log V 1439 Revamp bus_space access functions: o Optimize for memory mapped I/O by making all I/O port acceses function calls and marking the test for the IA64_BUS_SPACE_IO tag with __predict_false(). Implement the I/O port access functions in a new file, called bus_machdep.c. o Change the bus_space_handle_t for memory mapped I/O to the virtual address rather than the physical address. This eliminates the PA->VA translation for every I/O access. The handle for I/O port access is still the port number. o Move inb(), outb(), inw(), outw(), inl(), outl(), and their string variants from cpufunc.h and define them in bus.h. On ia64 these are not CPU functions at all. In bus.h they are merely aliases for the new I/O port access functions defined in bus_machdep.h. o Handle the ACPI resource bug in nexus_set_resource(). There we can do it once so that we don't have to worry about it whenever we need to write to an I/O port that is really a memory mapped address. The upshot of this change is that the KBI is better defined and that I/O port access always involves a function call, allowing us to change the actual implementation without breaking the KBI. For memory mapped I/O the virtual address is abstracted, so that we can change the VA->PA mapping in the kernel without causing an KBI breakage. The exception at this time is for bus_space_map() and bus_space_unmap(). MFC after: 1 week. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T19:06:16.929665Z K 7 svn:log V 161 Use _once() to initialize the pthread key for thread-local storage to hold the results of gmtime() instead of using a pthread mutex directly. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T19:25:40.046140Z K 7 svn:log V 46 MFC r201036: Delete some trailing whitespace END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T19:26:46.125201Z K 7 svn:log V 46 MFC r201036: Delete some trailing whitespace END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T19:36:40.076299Z K 7 svn:log V 333 MFC r200743: The service command is an easy interface to the rc.d system. Its primary purpose is to start and stop services provided by the rc.d scripts, however it can also be used to list the scripts using various criteria. MFC r200809, r200980, r201035, r201069, 201070: Updates/fixes suggested after the initial introducition END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T19:38:57.415792Z K 7 svn:log V 332 MFC r200743: The service command is an easy interface to the rc.d system. Its primary purpose is to start and stop services provided by the rc.d scripts, however it can also be used to list the scripts using various criteria. MFC r200809, r200980, r201035, r201069, 201070: Updates/fixes suggested after the initial introduction END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T19:42:27.433396Z K 7 svn:log V 93 Use a constant instead of a magic number for the flag that enables decoding of a device ROM. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T19:44:31.164006Z K 7 svn:log V 385 - Assert that a reserved resource returned via resource_list_alloc() is not active. - Fix bus_generic_rl_(alloc|release)_resource() to not attempt to fetch a resource list for grandchild devices, but just pass those requests up to the parent directly. This worked by accident previously, but it is better to not let bus drivers try to operate on devices they do not manage. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T19:46:09.862374Z K 7 svn:log V 46 Remove no longer used pci_release_resource(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T20:42:07.582770Z K 7 svn:log V 39 Use bus_*() rather than bus_space_*(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T20:47:14.066769Z K 7 svn:log V 342 Teach the PCI bus driver to handle PCIR_BIOS BARs properly and remove special handling for the PCIR_BIOS decoding enable bit from the cardbus driver. The PCIR_BIOS BAR does include type bits like other BARs. Instead, it is always a 32-bit non-prefetchable memory BAR where the low bit is used as a flag to enable decoding. Reviewed by: imp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T20:49:13.079648Z K 7 svn:log V 295 Delete the CIS resource after releasing it. This is needed when the CIS is stored in a BAR since the CIS BAR is mapped before the PCI bus driver enumerates all the BARs. Without this change, the PCI bus driver would attempt to initialize a BAR that was already allocated resulting in a panic. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-30T21:00:54.099713Z K 7 svn:log V 96 MFC rev 201032: Use unordered memory loads and stores for the in* and out* family of functions. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-12-30T21:35:34.797433Z K 7 svn:log V 926 The proxy arp entries could not be added into the system over the IFF_POINTOPOINT link types. The reason was due to the routing entry returned from the kernel covering the remote end is of an interface type that does not support ARP. This patch fixes this problem by providing a hint to the kernel routing code, which indicates the prefix route instead of the PPP host route should be returned to the caller. Since a host route to the local end point is also added into the routing table, and there could be multiple such instantiations due to multiple PPP links can be created with the same local end IP address, this patch also fixes the loopback route installation failure problem observed prior to this patch. The reference count of loopback route to local end would be either incremented or decremented. The first instantiation would create the entry and the last removal would delete the route entry. MFC after: 5 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-30T21:46:33.029474Z K 7 svn:log V 296 sh: Ensure funcnest is decremented if there was an error in the function. This will be important when things like 'command eval f' will be possible. Currently, the funcnest = 0 assignment in RESET (called when returning to the top level after an error in interactive mode) is really sufficient. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-12-30T21:51:23.016941Z K 7 svn:log V 698 Multiple IPv6 addresses of the same prefix can be installed on the same interface. The first address will install the prefix route into the kernel routing table and that prefix will be marked as on-link. Without RADIX_MPATH enabled, the other address aliases of the same prefix will update the prefix reference count but no other routes will be installed. Consequently the prefixes associated with these addresses would not be marked as on-link. As such, incoming packets destined to these address aliases will fail the ND6 on-link check on input. This patch fixes the above problem by searching the kernel routing table and try to find an on-link prefix on the given interface. MFC after: 5 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-12-30T22:13:01.563771Z K 7 svn:log V 269 Consolidate the route message generation code for when address aliases were added or deleted. The announced route entry for an address alias is no longer empty because this empty route entry was causing some route daemon to fail and exit abnormally. MFC after: 5 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T22:34:26.854232Z K 7 svn:log V 142 Fix an error case I missed in the previous change so that the CIS resource is fully cleaned up if we fail to find the CIS in the devices ROM. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T22:37:28.068460Z K 7 svn:log V 147 Actually set RLE_ALLOCATED when allocating a reserved resource so that resource_list_release() will later release the resource instead of failing. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-30T22:40:30.105740Z K 7 svn:log V 40 Remove duplicate include of bsd.own.mk. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-30T22:46:08.889645Z K 7 svn:log V 211 Let both yacc and lex generate code that passes -Wold-style-definition. Both these tools emit code where several functions have no `void' keyword placed in the arugment list when the function has no arguments. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-12-30T23:01:49.625375Z K 7 svn:log V 112 Treat an empty argument as an error, instead of fetching the contents of the root directory. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T23:14:03.889751Z K 7 svn:log V 758 Add some patches contributed by jhb: 1. Don't prompt the user for "-U but no db" error if we're using -a 2. Add an option to delete stale rc.d files automatically if the user has DELETE_STALE_RC_FILES in their rc file. Lack of command line option for this is not an oversight. 3. Add []'s around the terminal $ for the $FreeBSD$ test for -F For one bug raised by jhb I did a more thorough solution: There were a lot of things that "snuck in" between the end of the test for -r and the start of the comparison. One of them is the creation of the mtree db, as pointed out by jhb. Fix this problem more thoroughly by moving the end of the test down to where it should/used to be, right before the comparison. As a result, indent the interloping code to match. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T23:16:14.960282Z K 7 svn:log V 274 Document the DELETE_STALE_RC_FILES option introduced in r201291. This is an "rc file only" option by design. While I'm here, update the comments in the example rc file to indicate which command line options they relate to, and correct the defaults for a couple of options. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-30T23:26:29.779245Z K 7 svn:log V 181 It's not necessary to include both Op and Fl for command line options included in the text, so use only the latter. Clarify that using -U doesn't make sense in combination with -a END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:03:29.017983Z K 7 svn:log V 38 MFC r199332 Sort ID list by vendor. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:04:05.809867Z K 7 svn:log V 79 MFC r200087 Add uhci/ehci controller ids. Submitted by: mitya_cabletv.dp.ua END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:04:48.880107Z K 7 svn:log V 90 MFC r200304 If the ID byte is non zero then we allow descriptors having multiple sizes. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:05:28.031384Z K 7 svn:log V 47 MFC r200305 Correct name, 82801IJ -> 82801JI END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:06:12.420121Z K 7 svn:log V 106 MFC r200306 Add new device ids. PR: usb/140951, usb/140923 Submitted by: Romain Tartiere, Brett Glass END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:06:52.742493Z K 7 svn:log V 71 MFC r200307 Fix dwSignature for NCM mode and add extra debug output. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-31T00:07:26.762389Z K 7 svn:log V 595 Disable K&R style function definitions for WARNS=6. Unfortunately there are two slight problems with that: - Yacc and lex might generate code that generates warnings because of this. Require yacc and lex to be rebuilt during bootstrap. I'm not incrementing __FreeBSD_version here, because I assume someone else will do this eventually. - When running `make buildkernel', it uses share/mk from the source treeo to build aicasm. Because aicasm also depends on lex, this would break. Lower WARNS to 5 for now. We should just increment it to 6 again somewhere in the very far future. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:07:37.104712Z K 7 svn:log V 171 MFC r200308 Fix hardware issue with FTDI chips: avoid sending a zero length packet due to hardware sending garbage on ZLPs. Reported by: Corey Smith Submitted by: HPS END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:08:17.728995Z K 7 svn:log V 282 MFC r200395 Add a quirk for the Curitel UM175 where setting multiplexing for call management over the data endpoint causes communication to die. Take this one step further and model it on the existing NetBSD quirk and import other device IDs from them. Obtained from: NetBSD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:08:59.481394Z K 7 svn:log V 31 MFC r200396 Wrap long lines. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:09:47.466885Z K 7 svn:log V 336 MFC r200652 If the runcount is non-zero in eventhandler_deregister() then one or more threads are executing the eventhandler, sleep in this case to make it safe for module unload. If the runcount was up then an entry would have been marked EHE_DEAD_PRIORITY so use this as a trigger to do the wakeup in eventhandler_prune_list(). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:10:26.491382Z K 7 svn:log V 334 MFC r200653 Use the EVENTHANDLER system to hook into the usb device configuration and perform a function such as ejecting a 3G autoinstaller disk. The eventhandler system properly tracks threads and is safe to unload, remove the setting/clearing of a function pointer in the kernel by u3g(4) which included a tsleep for safety. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:12:38.713055Z K 7 svn:log V 108 MFC r200657 Add a bunch of new 3G ids obtained from from various operating systems and Internet sources. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:13:24.840916Z K 7 svn:log V 32 MFC r200658 Keep list sorted. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:14:02.089812Z K 7 svn:log V 37 MFC r200822 Add more EHCI pci ids. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:14:37.096860Z K 7 svn:log V 37 MFC r200823 Add more OHCI pci ids. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:15:36.526896Z K 7 svn:log V 165 MFC r200825 - add support for more than 2 audio channels. [1] - add support for more sample rates Submitted by: [1] ariff (earlier version), Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:17:09.914436Z K 7 svn:log V 75 MFC r200826 add new ID to UFTDI driver. Submitted by: YAMAMOTO, Shigeru END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:17:59.929344Z K 7 svn:log V 56 MFC r200827 Add missed usb product define in r200826. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:18:38.423264Z K 7 svn:log V 52 MFC r200885 Sync usb vendor/product defines to p4 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:19:16.787327Z K 7 svn:log V 108 MFC r200886 Move all Mass Storage Quirks over to the USB quirk module. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:19:52.641979Z K 7 svn:log V 92 MFC r200887 Shorten the USB_QUIRK_ENTRY macro and undef it at the end, its only internal. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:20:54.341764Z K 7 svn:log V 128 MFC r201028 Use macros to strip off USB_VENDOR_ and USB_PRODUCT_ from some id tables to make them more compact and readable. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:30:45.709329Z K 7 svn:log V 74 MFC r201071 Compact USB_VENDOR_X and USB_PRODUCT_Y in the quirk tables. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T00:55:50.213608Z K 7 svn:log V 79 Add new device ID to uipaq driver PR: usb/141936 Submitted by: HASHI Hiroaki END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-12-31T01:09:16.137495Z K 7 svn:log V 94 Remove a deleted comment line that was brought back by my previous commit. MFC after: 5 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-31T01:37:26.192026Z K 7 svn:log V 28 Add missing `void' keyword. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-31T01:38:12.969441Z K 7 svn:log V 27 Remove an unused variable. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-31T03:25:27.574852Z K 7 svn:log V 128 The options needed for pkg_add were not introduced until version 6.4, so check for that if the appropriate options are enabled. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-31T04:07:13.868098Z K 7 svn:log V 108 If we are using -p it does not make any sense to even create the MTREENEW file since it will never be used. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-31T04:16:13.578513Z K 7 svn:log V 222 Restore command line flags for pkg_add as they are in the ports version (long options) ala 2.16. The problem with FreeBSD older than 6.4 is not the option format, it's the existince of the option itself (or lack thereof). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2009-12-31T04:16:18.492859Z K 7 svn:log V 223 Create a Node WWN from the *Port* WWN, not vice versa, for 2400s. If the NAA is type 2, the Node WWN is the Port WWN with the 12 bits of port (48..60) cleared. This iff a wwn fetched from NVRAM is zero. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-31T06:09:32.895027Z K 7 svn:log V 168 Now that the bugfix has been committed, remove the XXX Even though it's probably already obvious, add a hint as to what the non-default option is for the y/n prompts. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-31T06:59:15.604239Z K 7 svn:log V 47 Sync usbdevs to fix the build. Pointy hat: me END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-12-31T07:28:13.742470Z K 7 svn:log V 141 As requested by Robert Watson: - Properly assign copyright for locale.c, since it came from day.c - Non-pseuonymous dates.c and parsedata.c END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-31T07:28:43.935521Z K 7 svn:log V 62 MFC r198289: Fix comment typos. Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-31T07:32:04.711663Z K 7 svn:log V 257 MFC r198290: Fix ordering of nfscl_modevent() and ncl_uninit(). nfscl_modevent() must be called after ncl_uninit() when unloading the nfscl module because ncl_uninit() uses ncl_iod_mutex which is destroyed in nfscl_modevent(). Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-31T07:34:38.997359Z K 7 svn:log V 302 MFC r198291: Unloading of the nfscl module is unsupported because newnfslock doesn't support unloading. It's not trivial to implement newnfslock unloading so for now just admit that unloading is unsupported and refuse to attempt unload in all nfscl module event handlers. Approved by: trasz (mentor) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-31T07:58:08.165008Z K 7 svn:log V 1004 New Feature: ============ At the end of the config phase print the list of what is about to be done, and prompt the user on whether to proceed or not. This requires some infrastructure in update_port() to keep the list of what to do, and in post_config() to do the printing and prompting. This needs refinement for multiports. Internal Cleanups: ================== 1. Instead of saving some of the new variables unconditionally in safe_exit(), move the things that are only done in the config phase to that section, and move build_deps_il to the !config section. 2. Do a more thorough job with the terminal escape sequences. It now works in -a mode (although not thoroughly tested). This required some annoying twiddling of spaces and such with PM_DEPTH, but so far it seems "ok." 3. Rename init_parent_port to init_term_printf which is more accurate and less confusing. 4. Since $new_port may be set as a side effect of the new feature above, conditionalize it when we get there in the "main" process. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-12-31T09:33:18.779525Z K 7 svn:log V 57 Delete the svn:mime-type property from these text files. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-12-31T10:00:37.873915Z K 7 svn:log V 25 Happy New Year 2010! :-) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-12-31T10:00:49.237812Z K 7 svn:log V 25 Happy New Year 2010! :-) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-12-31T10:00:55.063916Z K 7 svn:log V 25 Happy New Year 2010! :-) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-31T10:53:04.953375Z K 7 svn:log V 408 MFC r198185: Print backspaces after echoing an EOF. Applications like shells expect EOF to give no graphical output, while our implementation prints ^D by default (tunable with stty echoctl). Make the new implementation behave like the old TTY code. Print two backspaces afterwards. I totally forgot to MFC this, because the 8.0 freeze took a little longer than I expected. Reminded by: koitsu END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-31T11:49:13.558089Z K 7 svn:log V 107 MFC r201134: Add a knob to allow reclaim of the directory vnodes that are source of the namecache records. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-31T12:05:48.219460Z K 7 svn:log V 67 Add setting machine type support to the loader. MFC after: 2 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-31T12:17:38.868562Z K 7 svn:log V 84 Don't use 15M-16M area on pc98. It's reserved for some devices. MFC after: 2 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2009-12-31T12:58:08.229420Z K 7 svn:log V 148 MFC 200637: Don't panic due to unlocking an unowned mutex if we fail during attach. PR: kern/139053 Reviewed by: scottl Approved by: ed (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-31T15:03:33.243489Z K 7 svn:log V 372 Reimplement the boot2 for pc98 completely. It's based on the newest i386's one and has the advantage of: - ELF binary support. - UFS2 filesystem support. - Many FreeBSD slices support on a disk. Tested by: SATOU Tomokazu ( tomo1770 _ maple _ ocn _ ne _ jp ), WATANABE Kazuhiro ( CQG00620 _ nifty _ ne _ jp ) and nyan MFC after: 2 week Happy New Year in Japan!! END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-31T16:13:33.417620Z K 7 svn:log V 68 sh: Allow command -pv and command -pV (lookup using _PATH_STDPATH). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-31T17:44:24.036543Z K 7 svn:log V 81 sh: Use PATH= assignment in type. Example: PATH=/var/empty; PATH=/bin type ls END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-12-31T18:02:48.266361Z K 7 svn:log V 203 Fix the experimental NFS client so that it can create Unix domain sockets on an NFSv4 mount point. It was generating incorrect XDR in the request for this case. Tested by: infofarmer MFC after: 2 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-31T18:28:40.083856Z K 7 svn:log V 34 snapshot (probably not compiling) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-31T18:52:58.844198Z K 7 svn:log V 413 Allow swap out of the kernel stack for the thread with priority greater or equial then PSOCK, not less or equial. Higher priority has lesser numerical value. Existing test does not allow for swapout of the thread waiting for advisory lock, for exiting child or sleeping for timeout. On the other hand, high-priority waiters of VFS/VM events can be swapped out. Tested by: pho Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-12-31T19:36:51.097877Z K 7 svn:log V 107 o Correct URL to announcements collection. PR: docs/142204 Submitted by: Jason Helfman MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T19:40:51.352524Z K 7 svn:log V 89 Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T20:29:58.833752Z K 7 svn:log V 333 The devices that supported EVFILT_NETDEV kqueue filters were removed in r195175. Remove all definitions, documentation, and usage. fifo_misc.c: Remove all kqueue tests as fifo_io.c performs all those that would have remained. Reviewed by: rwatson MFC after: 3 weeks X-MFC note: don't change vlan_link_state() function signature END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-31T20:44:38.719079Z K 7 svn:log V 158 Use stricter checking to match possible vlan clones by not allowing extra garbage characters around or within the tag. Reviewed by: brooks MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T20:56:28.622766Z K 7 svn:log V 107 If a filter has already been added, actually return EEXIST when trying at add it again. MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T21:08:13.626788Z K 7 svn:log V 85 Checkpoint the replacement of the static NGROUPS value with a tunable ngroups_max+1. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-31T22:01:17.776344Z K 7 svn:log V 81 sh(1): Correct two places where "$@" lacked necessary quotes. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-12-31T22:33:58.493291Z K 7 svn:log V 63 sh(1): document ulimit -w (swapuse rlimit). MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T22:47:17.183895Z K 7 svn:log V 28 Merge up to the latest head END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T23:50:45.720382Z K 7 svn:log V 39 s/NGROUPS/ngroups_max+1/ in a KASSERT. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-31T23:52:19.841540Z K 7 svn:log V 59 Remove a couple comment references to NGROUPS/NGROUPS_MAX. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-01T03:58:21.988718Z K 7 svn:log V 245 - fix tailq usage sa that each tailq usage uses a different tailq entry - decrement page wire count before freeing - re-map buffer kva when swapping out pages - skip over validating reads in to non-VMIO buffers - fix zio_cache_valid usage check END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-01-01T10:31:22.315662Z K 7 svn:log V 22 Update LLVM to 92395. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-01-01T10:34:51.429570Z K 7 svn:log V 23 Updaet clang to 92395. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-01T11:43:09.254498Z K 7 svn:log V 140 MFC r201201: Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2). MFC r201204: Document _FAST and _PRECISE clocks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-01-01T11:51:40.840829Z K 7 svn:log V 140 MFC r201201: Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2). MFC r201204: Document _FAST and _PRECISE clocks. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-01T17:30:42.134152Z K 7 svn:log V 102 MFC: r201126 Account for firmware versions which include the CDMA interrupts in the OFW device tree. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-01T17:30:58.693168Z K 7 svn:log V 102 MFC: r201126 Account for firmware versions which include the CDMA interrupts in the OFW device tree. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-01-01T18:17:46.488302Z K 7 svn:log V 415 sh: Fix some bugs with backquoted builtins: - correctly handle error output in $(builtin 2>&1), clarify out1/out2 vs output/errout in the code - treat all builtins as regular builtins so errors do not abort the shell and variable assignments do not persist - respect the caller's INTOFF Some bugs still exist: - expansion errors may still abort the shell - some side effects of expansions and builtins persist END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-01T19:06:00.310599Z K 7 svn:log V 549 The script hard-coded the assumption that the "configuration directory" would be "/etc/namedb" in a number of places. Since the user may make a different choice, introduce a new internal variable, named_confdir that is generated relative to the location of $named_conf. While this will work for some things (especially a highly customized build from ISC source) there are still a number of places where /etc/namedb is assumed that it is not easily virtualized (E.g., mtree). If you deviate from the defaults you'd better know what you're doing. :) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-01T19:09:40.342076Z K 7 svn:log V 195 With the introduction of named_conf the -c example in named_flags is no longer necessary or desirable. Update the comment to indicate that _flags should be used for options other than -u and -c. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-01-01T20:55:11.206850Z K 7 svn:log V 221 Quiet variable "shadows" warning: sys/vmmeter.h: warning: shadowed declaration is here machine/cpufunc.h: In function 'insw': machine/cpufunc.h: warning: declaration of 'cnt' shadows a global declaration ..snip.. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-01T22:10:07.825598Z K 7 svn:log V 198 s/named_confidr/named_confdir/ in the rndc.key check. The line in the command to create it was right, but the check was wrong, so it was getting created every time. Mea culpa. Submitted by: oliver END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-01T22:47:53.194792Z K 7 svn:log V 136 Fix botches in r201005: - Actually use the newly introduced sc_res in the front-end. - Remove a whitespace glitch in mk48txx_gettime(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-01T23:45:50.849669Z K 7 svn:log V 1517 1. Welcome in 2010 :) 2. In safe_exit() when doing multiports and we interrupt the process the attempt to print the INSTALLED_LIST was not successeful. So move all of the related code into a test for INSTALLED_LIST's existence, and just print the whole list (even if it has only one item) in both the -a (as it was already) and multiport cases. 3. Add a pm_cd_pd() which will cd into the port directory or error out with an appropriate message. 4. Start using pm_cd_pd() where appropriate, including in a couple of new places where we have to go back to the port directory after cd'ing around elsewhere due to the new update_build_l(). 5. Make some other cd/pm_cd invocations consistent 6. Add update_build_l, a more generic (and correct) way to update the list of things that we will build (or install) to display to the user. This function is now called in all the places where the list needs to be updated, except in the "main" area when we know for sure there is no installed version. 7. In post_config() we can now simplify the code to print the build_l, but we have to change a local variable to not be the same as one used in multiport. 8. Rearrange some things in update_port() to make it easier to read after all the new stuff has gone in. 9. Continue tweaking the term_printf stuff so that now it should work in all 3 cases, one port, multiports, and -a. 10. In init_term_printf() we only want to set *_of_deps to 0 if they don't already exist. Otherwise we lose the work we've done already in multiport(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-02T00:37:00.992837Z K 7 svn:log V 136 Change BUS_SPACE_MAXADDR from 2^32-1 to 2^64-1. 2^32-1 is representative for its origin, more than for its accuracy. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-02T01:02:59.084470Z K 7 svn:log V 142 Properly return the UUID represented by the alias. PR: 142174 Submitted by: Przemyslaw Laczynski Pointy hat to: rpaulo END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-01-02T01:12:10.435755Z K 7 svn:log V 17 Welcome to 2010. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-02T04:20:41.891482Z K 7 svn:log V 441 - don't allocate bufs for buffers less than 128k - they tend to not be for page aligned access - don't mark page as managed until immediately before freeing - mark buffer as valid at all places where we trust the data - mark buffer invalid before freeing so that vfs_bio will release the pages - move page to inactive queue immediately before freeing - fix overlap chacks - set bufobj for vmio / clear when pages are removed from the object END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-02T05:29:07.055894Z K 7 svn:log V 52 create branch for porting NetBSD's "rump" framework END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-02T06:12:04.169658Z K 7 svn:log V 38 import NetBSD's most recent rump bits END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T09:45:59.526649Z K 7 svn:log V 129 Fix several warnings. - Add __unused keywords. - Don't shadow a global variable called cr. - Make the global cr variable const. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T09:50:19.528519Z K 7 svn:log V 594 Make WARNS=6 the default for libexec/. Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T09:58:07.614395Z K 7 svn:log V 310 Build lib/ with WARNS=6 by default. Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T10:09:20.912459Z K 7 svn:log V 166 ANSIfy various tools in usr.bin/. Most of these tools properly build at WARNS=6, except for their K&R function declarations. Fix this, so we can bump WARNS as well. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T10:12:12.882930Z K 7 svn:log V 42 Add missing #include for string routines. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T10:13:21.169297Z K 7 svn:log V 130 Remove a warning by adding extra parentheses. GCC generates warnings when using "if (foo = bar)". In this case its use is valid. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T10:14:35.707319Z K 7 svn:log V 181 Mute some warnings on uninitialized variables. The code does the right thing, but the compiler is unable to figure it out. All paths that use that variable use the same invariant. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T10:27:05.713591Z K 7 svn:log V 92 Build usr.bin/ with WARNS=6 by default. Also add some missing $FreeBSD$ to keep svn happy. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T11:05:34.389907Z K 7 svn:log V 129 ANSIfy some more tools in usr.sbin/. Most of these tools build with WARNS=6, except for their use of K&R function declarations. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T11:06:11.612825Z K 7 svn:log V 63 Mark ftwv as __unused. This compare function does not need it. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T11:06:39.374137Z K 7 svn:log V 25 Remove unused variables. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-02T11:07:44.030415Z K 7 svn:log V 59 The last big commit: let usr.sbin/ use WARNS=6 by default. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-01-02T12:37:54.336001Z K 7 svn:log V 89 Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF. MFC after: 2 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-01-02T12:42:33.946281Z K 7 svn:log V 86 Use UFS2 as default filesystem. Now pc98's boot2 works for UFS2. MFC after: 2 week. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-02T13:07:14.494300Z K 7 svn:log V 85 MFC r200993: Small spelling fix, "Ethetnet" -> "Ethernet" Approved by: ed (mentor) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-01-02T13:07:51.902514Z K 7 svn:log V 85 MFC r200993: Small spelling fix, "Ethetnet" -> "Ethernet" Approved by: ed (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-02T15:19:33.823893Z K 7 svn:log V 343 - Preserve the PROM IOMMU in order to allow OFW drivers to continue to work. - Sanity check the parameters passed to the implementations of the pcib_{read,write}_config() methods. Using illegal values can cause no real harm but it doesn't hurt to avoid unnecessary data error traps requiring to flush and re-enable the level 1 caches. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-02T15:44:16.145889Z K 7 svn:log V 367 - Demapping unused kernel TLB slots has proven to work reliably so move the associated debugging under bootverbose. - Remove freebsd4_sigreturn(); given that FreeBSD 4 didn't supported sparc64 this only ever served as a transition aid prior to FreeBSD 5.0 and is unused by default since COMPAT_FREEBSD4 was removed from GENERIC in r143072 nearly 5 years ago. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-02T16:27:25.277778Z K 7 svn:log V 96 Add one more supported controller. Submitted by: pluknet MFC after: 1 week END K 10 svn:author V 3 mbr K 8 svn:date V 27 2010-01-02T17:29:13.138679Z K 7 svn:log V 197 Make it clear that "interface" is one out of possibly many interface of the local machine (s/the network interface/a network interface). Submitted by: Marc Balmer MFC after: 3 days END K 10 svn:author V 3 mbr K 8 svn:date V 27 2010-01-02T17:32:40.044638Z K 7 svn:log V 91 Fix typo: s/partion/partition/ Submitted by: Marc Balmer MFC after: 3 days END