ƒ¬:171000 181 231 188 167 166 179 556 217 203 212 318 137 211 218 170 531 334 288 255 160 186 552 158 238 252 1320 165 175 297 355 878 246 417 309 230 331 195 194 406 194 220 185 563 468 357 395 501 183 350 269 287 496 356 637 724 467 368 212 171 266 316 290 274 202 257 309 275 1178 241 221 213 177 200 209 579 490 196 340 419 406 164 208 168 169 153 217 116 187 488 280 208 271 411 282 182 351 462 178 144 156 190 397 216 190 154 195 203 212 223 197 205 141 176 151 148 191 205 187 209 227 358 638 398 320 340 516 621 260 256 356 140 251 314 183 311 286 273 229 256 254 180 438 507 195 194 342 303 165 186 224 239 1038 236 362 263 241 193 291 206 851 1114 111 175 671 275 122 240 181 293 179 181 240 177 188 233 223 229 178 201 342 307 110 K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T05:52:12.000000Z K 7 svn:log V 138 Merge some device IDs from OpenBSD for aue. Minor sorting of usbdevs to fix disorder. Obtained from: OpenBSD Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T05:59:53.000000Z K 7 svn:log V 96 Remove duplicate ID and recall that I comes after E in alphabetical listings. Approved by: re@ END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-06-23T06:19:39.000000Z K 7 svn:log V 73 MFC rev. 1.56: an example how to create /etc/mtree style mtree(8) files. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-06-23T06:22:24.000000Z K 7 svn:log V 72 MFC rev. 1.17: do not warn if the process exits before we get its name. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T06:29:19.000000Z K 7 svn:log V 87 Note the Belkin F5U111 Adapter is covered by NETMATE entry. Approved by: re (blanket) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-23T06:42:40.000000Z K 7 svn:log V 461 - Remove the warning about NULL filesystem. It is stable and safe to use in both 6.x and 7.x. This is based on feedbacks on this thread http://docs.freebsd.org/cgi/getmsg.cgi?fetch=81818+0+current/freebsd-stable and my use it on 6.x. MFC after: 3 days - Update the warning about UNION filesystem. It is now actively maintained, although there are still some issues being resolved. Reviewed by: freebsd-stable@, kris, bmah Approved by: re (bmah) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T06:47:43.000000Z K 7 svn:log V 124 Add a boatload of devices from OpenBSD and NetBSD to kue and cdce. Obtained From: OpenBSD/NetBSD Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T06:52:56.000000Z K 7 svn:log V 110 Drag in another device: The Surecom RT2570. Obtained from: OpenBSD Approved by: re@ (blanket for device IDs) END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-06-23T14:34:30.000000Z K 7 svn:log V 118 Document two new sysctls: hw.snd.compat_linux_mmap and hw.snd.default_auto. Reviewed by: ariff Approved by: re (hrs) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-23T15:28:00.000000Z K 7 svn:log V 221 In more(1) mode, restore the historical behavior where curses init and deinit characters are not delivered. Instead of hacking screen.c, we set no_init to implement the behavior. Reported by: mnag Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-23T15:37:34.000000Z K 7 svn:log V 40 MFC: rev. 1.11 Catch up with the code. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T16:50:46.000000Z K 7 svn:log V 118 For USBVERBOSE case, we can't have " in any of the names. Submitted by: Flemming Jacobsen Approved by: re (blanket) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-06-23T19:18:50.000000Z K 7 svn:log V 122 MFC compat32 argument to do_wait() to make it use fuword32() for readling longs from 32 bit processes. Submitted by: jhb END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-23T21:52:05.000000Z K 7 svn:log V 78 Include usb_port.h Approved by: re@ (blanket and/or cleanup commit approval) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-24T01:41:16.000000Z K 7 svn:log V 435 If we're going to (for 23XX and 24XX cards) DMA firmware from the request queues rather than shove it down a word at a time, we have to remember to put it into little endian format. Use the macros ISP_IOXPUT_{16,32} for this purpose. Otherwise, on sparc the firmware is loaded garbled and we get a (not surprisingly) firmware checksum failure and the card won't start and we don't attach it. Approved by: re (bruce) MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-24T01:57:20.000000Z K 7 svn:log V 241 Process tx callbacks when draining the tx q; this fixes a problem where a device timeout that occurs with a mgt frame on the tx q will leave the net80211 layer w/o any way to make progress. Reviewed by: thompsa, sephe Approved by: re (hrs) END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-06-24T06:14:18.000000Z K 7 svn:log V 191 - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed. Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor) END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-06-24T16:39:12.000000Z K 7 svn:log V 158 ipfstat should parse "any" when used with -D/-S command line options PR: bin/113879 Submitted by: kabe@sra-tohoku.co.jp Reviewed by: darrenr Approved by: re END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-24T18:36:07.000000Z K 7 svn:log V 63 Document hw.bce.msi_enable tunable. Approved by: re (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-24T18:40:30.000000Z K 7 svn:log V 94 Eliminate GIANT_REQUIRED from swap_pager_putpages(). Approved by: re (mux) MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-24T20:35:59.000000Z K 7 svn:log V 459 The viapm module build had what appear to be some debugging CFLAGS left around to force the IO port to a fixed address. They were only turned on in the module build and were present since the original import. This breaks soft power-off on the Asus A7V since it reprograms the SMBus base address to a different one than the BIOS expects. A similar issue was found in the alpm(4) module build. PR: kern/113986, i386/97468 MFC after: 3 days Approved by: re END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-24T20:36:51.000000Z K 7 svn:log V 66 Make acpica include path relative, not absolute. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-25T03:26:10.000000Z K 7 svn:log V 145 Correct msecs_to_ticks macro. This fixes problems when hz is not the default 1000 setting. Reviewed by: thompsa, rpaulo Approved by: re (bmah) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-25T05:06:57.000000Z K 7 svn:log V 157 - Remove UMAP filesystem. It was disconnected from build three years ago, and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-25T06:40:20.000000Z K 7 svn:log V 1226 Starting in version 1.56, ucomstop started calling ucomstart to work around an output freezing problem (see the CVS log for details). This is the same approach that sio takes to solve that problem. However, ucom has a problem that sio doesn't have. Consider the case where output is pending, and the device is closed. ttyclose calls tt_close (which indirects to ucomclose) and then calls ttyflush which calls tt_stop (which indirects to ucomstop). Since ucomclose removed all the usb transfer points, sc_oxfer will be NULL when ucomstop calls ucomstart. This results in a null pointer dereference. Since calling ucomstart in ucomstart solves other problems, we need to work with this calling sequence. The easiest way to do that is to bail early if sc_oxfer is NULL. Kazuaki ODA-san came up with this patch, and filed a PR. I had seen this bug at work and this patch does seem to solve it. He had no idea why it worked, but knew that either this patch, or backing out ucom.c 1.56 fixed his panic. I just did the legwork of chasing down the code paths that would cause this, and added a comment. This is obscure enough to warrant a comment, I think. Submitted by: Kazuaki ODA-san PR: 113964 Approved by: re (bmah) END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-06-25T08:21:21.000000Z K 7 svn:log V 73 Add support for the nVidia MCP61 series chipset. Approved by: re (mux@) END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-06-25T14:28:12.000000Z K 7 svn:log V 83 Add myself as a src committer. Approved by: wes (mentor) Approved by: re (bmah) END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-06-25T16:37:17.000000Z K 7 svn:log V 201 Fix a number of documentation-lags-behind-reality bugs in sysinstall(8). While here, fix a couple of comments too. Submitted by: Oliver Fromme Approved by: re (kensmith) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-25T17:21:16.000000Z K 7 svn:log V 259 Yet another bug- when we have 2k login firmware, we need to put out a ispreqt3e_t structure onto the request queue- not a ispreqt3_t structure. We weren't. This turns out only to really matter for big endian machines. Approved by: re (ken) MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-25T18:46:13.000000Z K 7 svn:log V 781 MFp4: Several clean-ups and improvements over tmpfs: - Remove tmpfs_zone_xxx KPI, the uma(9) wrapper, since they does not bring any value now. - Use |= instead of = when applying VV_ROOT flag. - Remove tm_avariable_nodes list. Use uma to hold the released nodes. - init/destory interlock mutex of node when init/fini instead of ctor/dtor. - Change memory computing using u_int to fix negative value in 2G mem machine. - Remove unnecessary bzero's - Rely uma logic to make file id allocation harder to guess. - Fix some unsigned/signed related things. Make sure we respect -o size=xxxx - Use wire instead of hold a page. - Pass allocate_zero to obtain zeroed pages upon first use. Submitted by: Howard Su Approved by: re (tmpfs blanket, kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-25T18:47:09.000000Z K 7 svn:log V 149 id generation is now handled by uma(9) subsystem, so remove the (now) irrevelent test case. Requested by: Howard Su Approved by: re (tmpfs blanket) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-25T18:58:27.000000Z K 7 svn:log V 324 - Fix wrong error return (the errno was being returned and not placed in errno) - Found by Weongyo Jeong - Remove two extra un-needed memset() after calloc()'s - Found by Weongyo Jeong - Tightened up parameter requirement checking on input to bindx/connectx per socket api spec. Approved by: re@freebsd.org(Ken Smith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-25T19:05:26.000000Z K 7 svn:log V 216 - Update bindx address checking to properly screen out address per the socket api, adding port validation. We allow port 0 or the already bound port number and no others. Approved by: re@freebsd.org (Ken Smith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-25T20:51:58.000000Z K 7 svn:log V 137 LINKSYS4 is going to be going away. Migrate to CISCOLINKSYS instead. There is no md5 delta for this change. Approved by: re@ (blanket) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-25T20:56:33.000000Z K 7 svn:log V 234 The config.use_protection option can not be used in 802.11b mode and causes a firmware reset. Also zero out struct iwi_rateset although its not strictly necessary. Reported by: Maxim Konovalov Reviewed by: sam Approved by: re (bmah) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-25T23:58:46.000000Z K 7 svn:log V 102 MFC 1.306: Conditionally acquire Giant when dropping a reference on the ktrace vnode during execve(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-26T00:05:36.000000Z K 7 svn:log V 101 MFC 1.11 - 1.14: Add a new counter for SACK retransmits and expand TCP counters from 9 digits to 12. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-26T01:11:03.000000Z K 7 svn:log V 311 MFC rev 1.1435 (nullfs part) - Remove the warning about NULL filesystem. It is stable and safe to use in both 6.x and 7.x. This is based on feedbacks on this thread http://docs.freebsd.org/cgi/getmsg.cgi?fetch=81818+0+current/freebsd-stable and my use it on 6.x. Discussed on: freebsd-stable@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-26T02:07:08.000000Z K 7 svn:log V 98 - Sync with NetBSD's RCSID (HEAD preferred). - Correct a typo. Approved by: re (tmpfs blanket) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-26T02:07:47.000000Z K 7 svn:log V 124 Add missing semi-colon. Approved by: re (not really, but it's better to have things compile than not for right now. Sorry) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-26T02:08:29.000000Z K 7 svn:log V 89 Remove two function prototypes that are no longer used. Approved by: re (tmpfs blanket) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-06-26T03:06:48.000000Z K 7 svn:log V 465 Fix 'bsdtar -t' on tape drives. Libarchive uses the skip() callback to skip over data when reading uncompressed archives. This gets invoked, for example, during tar -t or tar -x with a filename argument. The revised code only calls [lf]seek() on regular files, instead of depending on the kernel to return an error. Thanks to: bde for explaining the implementation of lseek() Thanks to: Daniel O'Connor for testing Approved by: re (Ken Smith) MFC after: 5 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-26T05:29:27.000000Z K 7 svn:log V 375 Partially updated usbdevs from OpenBSD's usbdevs. Also, some sorting of the file numerically for vendors and then each product numerically by vendor (with all the foo2's sorting after the foo's). Someday, all the usbdevs will be merged, I hope, but until then, we have these mega-merges. This also finishes the LINKSYS4 -> CISCOLINKSYS rename. Approved by: re@ (blanket) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-26T06:59:24.000000Z K 7 svn:log V 262 MFC v 1.66 udf_vnops.c Correct corrupt read when the read starts at a non-aligned offset. PR: kern/77234 Approved by: imp (mentor) Requested by: many many people Submitted by: Andriy Gapon Approved by: imp (implicit, mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-26T07:00:39.000000Z K 7 svn:log V 300 MFC v 1.66 udf_vnops.c Correct corrupt read when the read starts at a non-aligned offset. PR: kern/77234 Approved by: imp (mentor) Requested by: many many people Submitted by: Andriy Gapon Approved by: imp (implicit, mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-26T13:50:48.000000Z K 7 svn:log V 406 Fix Rocketport so that it does not crash the system when a device pointer changes for example: (From Craig Leres): tip to a rocketport line run "/etc/rc.d/devfs restart" exit tip (wait for the system to reboot) Thanks to Robert Watson for poking me to fix this. PR: kern/109152 Approved by: imp (mentor) Approved by: re (kensmith) Reviewed by: jhb Submitted by: Craig Leres END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-26T13:51:53.000000Z K 7 svn:log V 87 Fix a obsecure coredump while testing with tmpfs on amd64. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-26T14:14:01.000000Z K 7 svn:log V 253 Add a new MAC framework and policy entry point, mpo_check_proc_setaudit_addr to be used when controlling use of setaudit_addr(), rather than mpo_check_proc_setaudit(), which takes a different argument type. Reviewed by: csjp Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-06-26T18:24:05.000000Z K 7 svn:log V 176 Eliminate the use of Giant from vm_daemon(). Replace the unconditional use of Giant in vm_pageout_scan() with VFS_LOCK_GIANT(). Approved by: re (kensmith) MFC after: 3 weeks END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-06-26T19:10:20.000000Z K 7 svn:log V 193 This is temp workaround of nasty gcc 4.2.0 -O2 bug which may skip the rest of the loop when arrays used inside. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500 Approved by: re (kensmith) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-26T19:40:03.000000Z K 7 svn:log V 401 Make zoneinfo optional so that a filesystem upgrade/update does not overwrite possibly installed thirdparte zoneinfo databases (from ports for example). PR: bin/104713 Submitted by: Mark Andrews (original patch rewritten by me to be more consistent with the new practise). Approved by: re (kensmith) Approved by: imp (mentor) Reviewed by: ru (some time ago already) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-26T20:53:07.000000Z K 7 svn:log V 260 Extension of previous commit- when we have 2k login firmware, we need to put out a ispreqt2e_t structure onto the request queue- not a ispreqt2_t structure. I forgot that the 23XX can use a t2 structure. Approved by: re (ken, implicitly) MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-26T21:31:56.000000Z K 7 svn:log V 540 Introduce a new rwlocks initialization function: rw_init_flags. This is very similar to sx_init_flags: it initializes the rwlock using special flags passed as third argument (RW_DUPOK, RW_NOPROFILE, RW_NOWITNESS, RW_QUIET, RW_RECURSE). Among these, the most important new feature is probabilly that rwlocks can be acquired recursively now (for both shared and exclusive paths). Because of the recursion counter, the ABI is changed. Tested by: Timothy Redaelli Reviewed by: jhb Approved by: jeff (mentor) Approved by: re END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-06-26T21:42:01.000000Z K 7 svn:log V 627 Fix an old standing LOR between callout_lock and sleepqueues chain (which could lead to a deadlock). - sleepq_set_timeout acquires callout_lock (via callout_reset()) only with sleepq chain lock held - msleep_spin in _callout_stop_safe lock the sleepqueue chain with callout_lock held In order to solve this don't use msleep_spin in _callout_stop_safe() but use directly sleepqueues as inline msleep_spin code. Rearrange the wakeup path in order to have it consistent too. Reported by: kris (via stress2 test suite) Tested by: Timothy Redaelli Reviewed by: jhb Approved by: jeff (mentor) Approved by: re END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-26T22:13:43.000000Z K 7 svn:log V 372 Add Viking Interworks 256MB as an ata device; this might give some false positives but at this moment it is better to add support then to dont have it at all (comment from Soren). PR: kern/111516 Submitted by: Thomas Nystrom Approved by: re (kensmith) Approved by: imp (mentor) OK'ed by: sos (With the comment noted above about false positives). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-26T22:42:37.000000Z K 7 svn:log V 271 MFp4: Bugfixes for truss(1): - Fix logic handling execve(). We will not be able to obtain information otherwise. - truss coredump [1]. - truss does not work against itself [2]. PR: bin/58970 [1], bin/45193 [2] Submitted by: Howard Su Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-26T23:01:01.000000Z K 7 svn:log V 115 Sync comments to code: we now use priv_check() rather than suser() to determine privilege. Approved by: re (bmah) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-06-26T23:08:57.000000Z K 7 svn:log V 76 Pointy hat to me. Committed with building. Approved by: re (ken, implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-26T23:12:05.000000Z K 7 svn:log V 169 Update suser(9) and priv(9) to document that the 'flags' argument is now unused -- SUSER_RUID and SUSER_ALLOWJAIL are no longer defined or used. Approved by: re (bmah) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-27T02:34:22.000000Z K 7 svn:log V 221 Force commit to note in rev. 1.1435 the correct discussion for removing warning about nullfs is http://docs.freebsd.org/cgi/mid.cgi?6eb82e0706182246q6563ba03x31038082125b50ae Approved by: re (implicit) Reminded by: des END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-06-27T02:37:54.000000Z K 7 svn:log V 195 Force commit to note in previous MFC the correct discussion for removing warning about nullfs is http://docs.freebsd.org/cgi/mid.cgi?6eb82e0706182246q6563ba03x31038082125b50ae Reminded by: des END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-06-27T02:45:37.000000Z K 7 svn:log V 181 Fix sbrk.S to use _end symbol the same way brk.s was fixed some time ago. sbrk.S should have gotten the same change then but was forgotten. Approved by: re (bmah) PR: kern/114049 END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-06-27T09:32:50.000000Z K 7 svn:log V 107 Remove a section on the area of the debugging sysctls used to tune enforcement. Approved by: re (rwatson) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2007-06-27T12:00:24.000000Z K 7 svn:log V 164 In zfs_vget, if we fail to translate an inode number to the corresponding vnode, make sure we return an error code to the caller. Reviewed by: pjd Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-27T13:39:38.000000Z K 7 svn:log V 212 Use vm_offset_t for kmembase and kmemlimit rather than char *, avoiding unnecessary casts, and making it possible to compile kern_malloc.c with strict aliasing. Submitted by: rdivacky Approved by: re (kensmith) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-06-27T15:14:06.000000Z K 7 svn:log V 180 Fix reference within TIOCNOTTY from TIOSCTTY to TIOCSCTTY. PR: docs/114058 Submitted by: David Sanderson Approved by: re (bmah) MFC After: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-06-27T17:01:15.000000Z K 7 svn:log V 1083 - Add audit_arg_audinfo_addr() for auditing the arguments for setaudit_addr(2) - In audit_bsm.c, make sure all the arguments: ARG_AUID, ARG_ASID, ARG_AMASK, and ARG_TERMID{_ADDR} are valid before auditing their arguments. (This is done for both setaudit and setaudit_addr. - Audit the arguments passed to setaudit_addr(2) - AF_INET6 does not equate to AU_IPv6. Change this in au_to_in_addr_ex() so the audit token is created with the correct type. This fixes the processing of the in_addr_ex token in users pace. - Change the size of the token (as generated by the kernel) from 5*4 bytes to 4*4 bytes (the correct size of an ip6 address) - Correct regression from ucred work which resulted in getaudit() not returning E2BIG if the subject had an ip6 termid - Correct slight regression in getaudit(2) which resulted in the size of a pointer being passed instead of the size of the structure. (This resulted in invalid auditinfo data being returned via getaudit(2)) Reviewed by: rwatson Approved by: re@ (kensmith) Obtained from: TrustedBSD Project MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-28T02:32:44.000000Z K 7 svn:log V 144 Reorder tf_gen and tf_id in struct tmpfs_fid. This saves 8 bytes on amd64 architecture. Obtained from: NetBSD Approved by: re (tmpfs blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-28T02:34:32.000000Z K 7 svn:log V 124 Use vfs_timestamp instead of nanotime when obtaining a timestamp for use with timekeeping. Approved by: re (tmpfs blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-28T02:36:41.000000Z K 7 svn:log V 116 Staticify most of fifo/vn operations, they should not be directly exposed outside. Approved by: re (tmpfs blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-28T02:39:31.000000Z K 7 svn:log V 81 Space/style cleanups after last set of commits. Approved by: re (tmpfs blanket) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-28T03:28:28.000000Z K 7 svn:log V 107 MFC 1.131: Fix for a race between the thread transmitting the request and the thread processing the reply. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-28T04:51:19.000000Z K 7 svn:log V 116 Quirk for Denver MP3 player usb. Submitted by: Ed Schouten PR: 107101 Approved by: re (blanket for device supprot) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-28T05:15:33.000000Z K 7 svn:log V 486 For both interrupt and isochronous (the patch was unclear which one it applied to, but I'd think both), honor the timeout that's been set. Return 0 bytes to be consistant with what libusb expects. By default, the timeout will be zero, so only applications that change the default will see a change. The patch only seems to apply to the interrupt end points, but it should also apply to isochronous endpoints as well. Submitted by: Maurice Castro PR: 110122 Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-28T05:50:14.000000Z K 7 svn:log V 397 With the advent of G3/CDMA modems, the old buffer sizes are no longer adequate. Increase them to 1k. The referenced PR made this a sysctl, but that seems like overkill to me. The difference between 320 and 2048 bytes in modern systems, even embedded ones, seems to be in the noise to be worth the extra hair to make it settable. PR: 74609 Submitted by: Divacky Roman Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-28T06:12:55.000000Z K 7 svn:log V 103 Support for iRiver U10 USB connection PR: 92306 Submitted by: Soren Dossing Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-28T06:22:40.000000Z K 7 svn:log V 247 The timeout is in milliseconds, not in hz. Only the portion of the patch that converts ms to ticks was used. Another PR states that a return code of 0 is the right one for libusb. Submitted by: Lonnie Mendez PR: 94311 Approved by: re (blanket) END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-06-28T09:25:47.000000Z K 7 svn:log V 325 Back out gcc workaround per re@ request. Details: "There seems to be some continuing discussion about how this is best fixed, and we'd like to get Alexander (as our gcc guru) to opine on a final solution before picking one. In the mean time, could you back out the original commit (sys.mk:1.89)?" Approved by: re (rwatson) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-06-28T12:54:58.000000Z K 7 svn:log V 309 Mark wire data structures in netatalk as __packed so that they are properly (un)padded on the arm platform. With this change, FreeBSD/arm boxes are able to route AppleTalk properly. Submitted/tested by: Nathan Whitehorn Tested on: arm, i386, amd64 Approved by: re (kensmith) END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-06-28T17:42:20.000000Z K 7 svn:log V 72 - Add new virtual category kld MFC after: 3 days Approved by: re (mux) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-28T18:26:35.000000Z K 7 svn:log V 115 Teach the 'src-install' script about the 'scddl' source dist that holds /usr/src/cddl. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-28T18:27:29.000000Z K 7 svn:log V 76 Teach sysinstall about the 'scddl' source dist. Approved by: re (kensmith) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-28T21:23:56.000000Z K 7 svn:log V 77 MFC: makefile cleanups and remove hard-coded SMBus port from alpm and viapm. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-28T21:26:11.000000Z K 7 svn:log V 61 MFC: use busdma to get a page for activating speedstep mode. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-29T00:35:37.000000Z K 7 svn:log V 120 MFC r1.37 Check the correct port to see if synced is true. PR: misc/113958 Submitted by: Aaron Needles END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-29T01:45:18.000000Z K 7 svn:log V 20 MFC: Add -k option. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-06-29T02:43:13.000000Z K 7 svn:log V 93 Don't use 64-byte header on each packet in radiotap. Reviewed by: sam Approved by: re(bmah) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-06-29T05:23:15.000000Z K 7 svn:log V 391 MFp4: - Remove unnecessary NULL checks after M_WAITOK allocations. - Use VOP_ACCESS instead of hand-rolled suser_cred() calls. [1] - Use malloc(9) KPI to allocate memory for string. The optimization taken from NetBSD is not valid for FreeBSD because our malloc(9) already act that way. [2] Requested by: rwatson [1] Submitted by: Howard Su [2] Approved by: re (tmpfs blanket) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-06-29T15:14:23.000000Z K 7 svn:log V 187 - When a SCTP socket is closed, but the last data SACK is lost, we would incorrectly abort the association instead of retransmitting the SACK. Approved by: re@freebsd.org (Ken Smith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-29T19:52:31.000000Z K 7 svn:log V 115 import opt_ah.h for newer hal's that optionally include 11n support Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 6 murray K 8 svn:date V 27 2007-06-29T20:24:57.000000Z K 7 svn:log V 175 Remove reference to 'phosphor' in the screensaver menu as this is less meaningful in the LCD world. Submitted by: Ben Kaduk Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-29T20:34:42.000000Z K 7 svn:log V 318 Change uhub to dynamic status size for status change endpoint. From a pr, the submitter says: Found this while running freebsd as guest in qemu with -usb parameter. The patch implements the missing dynamic size based on number of ports a hub has. Submitted by: Lonnie Mendez PR: 94946 Approved by: re@ (blanket) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-29T21:04:22.000000Z K 7 svn:log V 189 Properly initialize the address value in siginfo for Linux binaries on amd64. amd64 has a separate tf_addr in the trapframe unlike i386 which reuses tf_err to pass the address to signals. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-06-29T21:05:28.000000Z K 7 svn:log V 90 MFC: Use the tsc to implement DELAY() if it is usable and calibrated. Reviewed by: peter END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-29T21:07:41.000000Z K 7 svn:log V 258 Add support for various MS Wirless usb mice. the patch is from Hellmuth with some refinements by myself and flz@. It works for me with my non-MS mice, so nothing should be broken by it. Submitted by: Hellmuth Michaelis PR: 90162 Approved by: re (blanket) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-29T22:47:18.000000Z K 7 svn:log V 369 Neterion Xframe 10GbE Server/Storage adapter driver. The nxge driver provides support for Neterion Xframe-I and Xframe-II adapters. The driver supports TCP Segmentation Offload (TSO/LSO), Jumbo frames (5 buffer mode), Header separation (2 and 3 Receive buffer modes), VLAN, and Promiscuous mode. Submitted by: Neterion Reviewed by: rwatson Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T02:35:42.000000Z K 7 svn:log V 86 Update to merged names for things. No functional changes. Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T02:40:21.000000Z K 7 svn:log V 52 Add definition for UIPROTO_MOUSE. Approved by: re@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T02:41:29.000000Z K 7 svn:log V 64 Remove duplicate USBDEVUNIT #define Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T02:42:36.000000Z K 7 svn:log V 98 Reduce diffs to OtherBSD by using usb_lookup. No functional changes. Approved by: re@ (Blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T02:50:57.000000Z K 7 svn:log V 304 Expand the transform API to allow transports to return 'success' for the command. Make UFI devices return 'success' when asked to do a SYNC_CACHE. There's no support for write caching in the UFI spec, so this is the most appropriate action to undertake. Reviewed by: scottl Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T03:58:01.000000Z K 7 svn:log V 123 Add support using an alternate table file to usbhidaction(1). Submitted by: Michael Haro PR: 61234 Approved by: re (bmah) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T04:34:45.000000Z K 7 svn:log V 98 Philips USB Key Audio KEY013 Submitted by: Arnoud Engelfriet PR: 68412 Approved by: re (blanket) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-06-30T04:35:34.000000Z K 7 svn:log V 62 fix ia64 build Approved by: re (followup to previous commit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T04:42:29.000000Z K 7 svn:log V 102 Fix cheapy Myson USB-IDE adapter Submitted by: Arno J. Klaassen PR: 88939 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T04:58:35.000000Z K 7 svn:log V 110 quirk for CENTURY EX35QUAT disk enclosure Submitted by: Daniel Hartmeier PR: 94132 Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T05:03:03.000000Z K 7 svn:log V 119 Add support for JNC MP3 Player Submitted by: User & PR: 94439 Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T05:07:51.000000Z K 7 svn:log V 130 uhid.4: correct structure field names to match dev/usb/usb.h Submitted by: Dmitry Marakasov PR: 101757 Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T05:21:18.000000Z K 7 svn:log V 104 Samsung MP0402H quirk Submitted by: Gipsy PR: 108427 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T05:24:25.000000Z K 7 svn:log V 112 quirk for I/O Magic USB flash drive "Giga Bank" Submitted by: Jeff Anton PR: 108810 Approved by: re@ (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-30T07:28:39.000000Z K 7 svn:log V 44 General cleanup. Approved by: re (blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-30T07:46:26.000000Z K 7 svn:log V 79 Autogenerate hardware notes for nfe(4) and nxge(4). Approved by: re (blanket) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2007-06-30T07:47:45.000000Z K 7 svn:log V 59 Merge fixes back from heimdal. Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-06-30T13:36:33.000000Z K 7 svn:log V 51 Capitalize a few terms. Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T14:36:37.000000Z K 7 svn:log V 99 Note the change in /dev name Submitted By: Kay Abendroth PR: usb/106070 Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T14:41:30.000000Z K 7 svn:log V 112 Add quirk for JoyFly 128mb USB Flash Drive submitted by: Toni Schmidbauer PR: 96133 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T14:44:09.000000Z K 7 svn:log V 95 Quirk for ChipsBnk usb stick Submitted by: Mark Andrews PR: 103702 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T14:53:44.000000Z K 7 svn:log V 116 umass quirk: Samsung YP-U2 USB MP3/Ogg Player Submitted by: Ulrich Spoerlein PR: 114154 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T14:58:56.000000Z K 7 svn:log V 134 Quirk for WD Mybook. Seems they do not like serial number queries. Submitted by: Jason Harris PR: 107495 Approved by: re@ (blanket) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-06-30T17:27:31.000000Z K 7 svn:log V 265 My previous commit introduced a spurious warning for the case where a switch (i.e. lid) is set to have an action of NONE. This is not an invalid state, so silently return. This fixes the warning: "acpi: request to enter state S6 failed (err 22)" Approved by: re END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-06-30T19:48:28.000000Z K 7 svn:log V 540 Add support for HTTP/1.0 Persistent Connections to phttpget. Requests are be marked as HTTP/1.1 but "Connection: Keep-Alive" is added; this convinces HTTP/1.0 servers and proxies to hold the TCP connection open despite not being able to use HTTP pipelining. This dramatically cuts down on the number of TCP connections (and thus port numbers) used by portsnap when talking to an HTTP/1.0 proxy (e.g., squid), and has the side benefit of improving performance in those cases. Tested by: simon Approved by: re (kensmith) MFC After: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T20:08:08.000000Z K 7 svn:log V 305 Additional devices from NetBSD and OpenBSD. This includes devices not yet supported by this driver. Support will be committed soon, or a filter on all the 'newer' devices will be installed before the release. Approved by: re@ (blanket) Obtained from: NetBSD, OpenBSD Small Furry Animals by: Pink Floyd END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-06-30T20:18:44.000000Z K 7 svn:log V 227 Fix two more PRs: (1) Add size parameter to usbd_get_string() (2) Properly limit speed when a full speed hub is plugged into a high speed hub. Submitted by: Hans Petter Selasky PR: 80773, 79725 Approved by: re@ (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-30T21:12:41.000000Z K 7 svn:log V 243 Fix the channel reporting when the card is associated. The channel array used to be index by IEEE channel number but that is no longer the case and it needs to be searched for. Submitted by: avatar Reviewed by: sam Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-30T21:23:23.000000Z K 7 svn:log V 419 Change the channel number in the scan results struct to be a pointer to the operating channel and use this in the scan cache rather than directly using ic_curchan. Some firmware cards can only do a full scan and so ic_curchan does not have the correct value. Also add IEEE80211_CHAN2IEEE to directly dereference ic_ieee from the channel to be used in the fast path. Reviewed by: sam, sephe Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-06-30T21:39:21.000000Z K 7 svn:log V 524 Fix scanning issues since the new net80211 code went in - provide dummy routines for ic_scan_curchan and ic_scan_mindwell, we do not support those operations. - add ieee80211_scan_done() to tell the scanning module that all channels have been scanned. - pass IEEE80211_S_SCAN state off to net80211 so it can initiate scanning - fix overflow in the rates array - scale the rate value passed back from the firmware scan to the units that net80211 uses. Submitted by: Token Reviewed by: sam, avatar Approved by: re (kensmith) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-01T00:17:59.000000Z K 7 svn:log V 166 - Use rufetchcalc() rather than calcru() in ttyinfo so that we get correct system and user time stats. Approved by: re Reported by: kris Discussed with: Attilio END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-01T06:59:30.000000Z K 7 svn:log V 159 Move the XCHANNEL radiotap definition to a free slot. NetBSD defined some additional values causing a conflict. Submitted by: sam Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-07-01T07:08:26.000000Z K 7 svn:log V 263 Pages that do belong to an object and page queue can now be freed without holding the page queues lock. Thus, the page table pages released by pmap_remove() and pmap_remove_pages() can be freed after the page queues lock is released. Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-07-01T08:14:54.000000Z K 7 svn:log V 45 Add my ports heritage. Approved by: re(KEN) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-07-01T09:42:47.000000Z K 7 svn:log V 153 The driver will also first appear in 6.3. While here, fix some grammar issues and capitalize Jumbo Frames. Approved by: re (blanket) MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-01T10:25:07.000000Z K 7 svn:log V 217 Remove wicontrol(8) from the base system. Using wicontrol to configure an interface has been deprecated since 5.1, wi(4) wireless interfaces are managed via the net80211 stack and ifconfig. Approved by: re (rwatson) END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-07-01T10:37:16.000000Z K 7 svn:log V 91 MFC rev. 1.114: Add new x11-drivers category. MFC rev. 1.115: Add new virtual category kld END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-01T11:41:27.000000Z K 7 svn:log V 218 Commit IPv6 support for FAST_IPSEC to the tree. This commit includes only the kernel files, the rest of the files will follow in a second commit. Reviewed by: bz Approved by: re Supported by: Secure Computing END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-07-01T11:51:06.000000Z K 7 svn:log V 192 Switch to "-O1 -pipe" as cross-build compatible gcc workaround. "Looks like Alexander chimed in with "I'm comfortable with that until we can import a fixed GCC"." Approved by: re (kensmith) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-01T12:08:08.000000Z K 7 svn:log V 180 Commit IPv6 support for FAST_IPSEC to the tree. This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-01T12:31:01.000000Z K 7 svn:log V 136 Follow on cleanup and removal of two unnecessary include files. Reviewed by: bz Approved by: re Supported by: Secure Computing END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-07-01T12:31:27.000000Z K 7 svn:log V 164 As part of KAME IPsec removal: change the date to today instead of leaving the date when the patch was done. Move the block to the top. Approved by: re (kensmith) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-01T12:42:37.000000Z K 7 svn:log V 161 Remove a dangling file reference that is no longer needed with the removal of KAME IPsec Reviewed by: bz Approved by: re Supported by: Secure Computing END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-01T14:18:20.000000Z K 7 svn:log V 88 Fix a dangling netinet6 to netipsec transition for SCTP include files. Approved by: re END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-07-01T17:28:58.000000Z K 7 svn:log V 343 Fix no-sound issues with ASUS A9T notebook. Note: The offending quirk should have been made model/codec specific, but since there were no records / log which model requires it, the quirk logic had to be inverted (blacklist instead of whitelist). Tested by: Arkadiy Dudevitch Approved by: re (hrs) MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-07-01T17:31:20.000000Z K 7 svn:log V 412 - Fix input/microphone support for ASUS A8N-VMCSM series. Submitted by: Simon Schubert - Defer flushing unsolicited response into taskqueue thread rather than handle it directly in interrupt handler, since few of its operations (like measuring/calibrating jack impedance) are quite expensive. - Misc. debugging cleanups. Tested by: joel Approved by: re (hrs) MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-01T17:42:07.000000Z K 7 svn:log V 102 After talking with njl@, change this wildcard entry to be a bit less wild. Approved by: re (blanket) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-01T20:05:19.000000Z K 7 svn:log V 98 The wicontrol(8) manpage is obsolete too. Pointed out by: Pawel Worach Approved by: re (rwatson) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-01T20:51:30.000000Z K 7 svn:log V 245 Remove two boot printfs generated by Audit to announce it's presence, and replace with software-testable sysctl node (security.audit) that can be used to detect kernel audit support. Obtained from: TrustedBSD Project Approved by: re (kensmith) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-07-01T21:47:45.000000Z K 7 svn:log V 210 Add cpufreq(4) to GENERIC. It does not change the frequency by default, so systems should be relatively unaffected. Users can then simply enable powerd(8) in rc.conf to take advantage of it. Approved by: re END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-07-01T22:19:20.000000Z K 7 svn:log V 73 Revert previous commit, retaining cpufreq. Approved by: re (implicitly) END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-07-02T01:31:43.000000Z K 7 svn:log V 92 Fix an annoying pointer/int cast warning that shows up on 64 bit systems. Approved by: re END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-02T04:02:21.000000Z K 7 svn:log V 131 Removing old, dead, KAME IPsec files as part of the move to the new FAST_IPSEC based IPsec stack. Approved by: re Reviewed by: bz END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-02T04:55:56.000000Z K 7 svn:log V 146 WD Firewire/USB Combo hangs under load on USB interface. Fix with these quirks. Submitted by: John Pettitt PR: 79140 Approved by: re@ (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-07-02T06:56:37.000000Z K 7 svn:log V 945 In the previous revision, when I replaced the unconditional acquisition of Giant in vm_pageout_scan() with VFS_LOCK_GIANT(), I had to eliminate the acquisition of the vnode interlock before releasing the vm object's lock because the vnode interlock cannot be held when VFS_LOCK_GIANT() is performed. Unfortunately, this allows the vnode to be recycled between the release of the vm object's lock and the vget() on the vnode. In this revision, I prevent the vnode from being recycled by acquiring another reference to the vm object and underlying vnode before releasing the vm object's lock. This change also addresses another preexisting but trivial problem. By acquiring another reference to the vm object, I also prevent the vm object from being recycled. Previously, the "vnodes skipped" counter could be wrong because if it examined a recycled vm object. Reported by: kib Reviewed by: kib Approved by: re (kensmith) MFC after: 3 weeks END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-07-02T08:05:34.000000Z K 7 svn:log V 143 MFC 1.12: Replace rather inefficient bubble sort with a recursive depth-first search. This speeds up registration of packages considerably. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-07-02T10:52:34.000000Z K 7 svn:log V 269 - Removes some incorrect error returns (errno was being overriden in one of the functions) - Fixes the error return of sctp_get_opt, it was returning the errno not -1. Approved by: re@freebsd.org (Robert Watson) Obtained from: Weongyo Jeong (weongyo.jeong@gmail.com) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-07-02T12:50:53.000000Z K 7 svn:log V 170 - Add some needed error checking on bad fd passing in the sctp syscalls. Approved by: re@freebsd.org (Ken Smith) Obtained from: Weongyo Jeong (weongyo.jeong@gmail.com) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-07-02T14:00:25.000000Z K 7 svn:log V 143 Don't include encryption features of ed(1) when building for the "rescue media" bundled with releases. Suggested by: ru Approved by: re (hrs) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-07-02T14:01:43.000000Z K 7 svn:log V 96 ed(1) no longer relies on crypto library when built for the fixit media. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-02T14:03:29.000000Z K 7 svn:log V 194 Continue kernel privilege cleanup for 7.0: unstaticize suser_enabled and stop declaring it in systm.h -- it's used only in kern_priv.c and is not required elsewhere. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-02T15:44:30.000000Z K 7 svn:log V 109 Continue pre-7.0 privilege cleanup: update suser(9) comments to be priv(9) comments. Approved by: re (bmah) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-07-02T19:22:22.000000Z K 7 svn:log V 758 - Consolidate the code that free's chunks to actually also call the sctp_free_remote_address() function. - Assure that when we allocate a chunk the whoTo is NULL, also when we free it and place it into the cache we NULL it (that way the consolidation code will always work). - Fix a small race, when a empty data holder is left on the stream out queue, and both sides do a shutdown, the empty data holder would prevent us from sending a SHUTDOWN-ACK and at the same time we never would cleanup the empty holder (since nothing was ever in queue). We now add a utility function that a) cleans up empty holders and b) properly determines if there are still pending data chunks on the stream out wheel. Approved by: re@freebsd.org (Ken Smith) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-07-02T20:08:20.000000Z K 7 svn:log V 1017 Recover from some major omissions/problems with the 24XX port. First, we were never correctly checking for a 24XX Status Type 0 response- that cased us to fall through to evaluate status for commands as if this were a 2100/2200/2300 Status Type 0 response. This is *close*, but not quite the same. This has been reported to be apparent with some wierd lun configuration problems with some arrays. It became glaringly apparent on sparc64 where none of the correct byte swap things were done. Fixing this omission then caused a whole universe shifting debug cycle of endian issues for the 2400. The manual for 24XX f/w turns out to be wrong about the endianness of a couple of entities. The lun and cdb fields for the type 7 request are *not* unconditionally big endian- they happen to be opposite of whatever the endian of the current machine type is. Same with the sense data for the 24XX type 0 response. While we're at it investigate and resolve some NVRAM endian issues. Approved by: re (ken) MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-03T05:12:43.000000Z K 7 svn:log V 15 MFC: less v406 END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-07-03T07:20:20.000000Z K 7 svn:log V 80 Fixing !INET6 + FAST_IPSEC builds. Reviewed by: gnn Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-03T10:14:13.000000Z K 7 svn:log V 574 Fix a bug in sblock() that has existed since revision 1.1 from BSD: correctly return an error if M_NOWAIT is passed to sblock() and the operation might block. This remarkably subtle macro bug appears to be responsible for quite a few undiagnosed socket buffer corruption and mbuf-related kernel panics. This bug has already been fixed in 7-CURRENT as part of the move to using sx(9) locks to serialize simultaneous socket I/O, but is an MFC candidate for all earlier FreeBSD -STABLE branches. MFC after: 2 weeks Found by: Isilon Submitted by: jeff Tested by: jhb, Yahoo! END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T11:50:02.000000Z K 7 svn:log V 179 Fix hardware checksum verification on fragments. MFC after: 7 days Reported/tested by: Hugo Koji Kobayashi, Vadym Chepkov Reviewed/help by: yongari Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:06:01.000000Z K 7 svn:log V 27 Import pf from OpenBSD 4.1 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:06:01.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171164, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-07-03T12:06:02.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'pf-vendor-sys-pf_openbsd_4_1'. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-07-03T12:13:45.000000Z K 7 svn:log V 200 Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC option is now deprecated, as well as the KAME IPsec code. What was FAST_IPSEC is now IPSEC. Approved by: re Sponsored by: Secure Computing END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:16:07.000000Z K 7 svn:log V 84 Commit resolved import of OpenBSD 4.1 pf from perforce. Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:22:02.000000Z K 7 svn:log V 86 Import pf userland from OpenBSD 4.1 and (for ftp-proxy) libevent 1.3b as a local lib. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:22:02.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171169, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-07-03T12:22:03.000000Z K 7 svn:log V 81 This commit was manufactured by cvs2svn to create tag 'pf-vendor-pf_openbsd_4_1'. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:30:03.000000Z K 7 svn:log V 93 Commit resolved import of OpenBSD 4.1 pf userland from perforce. Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:46:08.000000Z K 7 svn:log V 137 Link pf 4.1 to the build: - move ftp-proxy from libexec to usr.sbin - add tftp-proxy - new altq mtag link Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T12:58:33.000000Z K 7 svn:log V 127 Add two place holders in struct pf_rule for future netgraph integration. Submitted by: Ermal Luçi Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T13:06:45.000000Z K 7 svn:log V 133 Add a note about the pf update, mark libexec/ftp-proxy as obsolete and bump __FreeBSD_version for ports. Approved by: re (implicit) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-07-03T14:08:49.000000Z K 7 svn:log V 83 Lost these during the import. Hand me the pointy hat. Approved by: re (implicit) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-07-03T14:17:11.000000Z K 7 svn:log V 107 New release note: gjournal(8). PR: docs/114070 Reminded by: Adam McDougall Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-07-03T15:34:00.000000Z K 7 svn:log V 248 New release notes: uark(4), nxge(4), KAME IPsec removal and FAST_IPSEC promotion, wicontrol(8) gone, PF 4.1. Modified release notes: netstat(1) IPsec stats (modified for KAME IPsec removal). MFC noted: less v406. Approved by: re (implicitly) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-07-03T15:58:47.000000Z K 7 svn:log V 214 Relock the sema_mtxp unconditionally after copyin() for SETALL case in kern_semctl. Otherwise, later mtx_unlock() can operate on unlocked mutex. Submitted by: rdivacky MFC after: 3 days Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-07-03T16:01:10.000000Z K 7 svn:log V 17 MFC: less v406. END