ƒ´197682 179 809 297 190 142 388 847 307 204 132 401 332 205 145 444 392 288 407 374 198 290 149 348 283 409 144 111 108 141 300 804 221 243 324 648 213 99 193 211 200 412 122 327 427 162 236 225 134 550 281 272 124 197 194 307 263 133 323 236 271 167 147 212 283 115 179 242 315 403 250 803 562 155 208 102 131 159 342 337 337 235 386 468 272 277 190 142 186 119 333 169 307 606 329 1361 132 289 194 181 153 181 170 424 156 285 154 1284 195 391 190 291 218 418 195 576 169 219 274 213 191 863 109 1277 297 577 362 384 393 382 833 470 1527 398 304 188 247 154 198 165 486 200 176 176 661 196 145 192 192 221 181 373 498 304 138 200 321 233 204 148 437 302 129 318 386 240 147 173 142 151 271 112 547 505 649 232 174 210 143 185 167 K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-01T18:37:16.640908Z K 7 svn:log V 712 EHCI Hardware BUG workaround The EHCI HW can use the qtd_next field instead of qtd_altnext when a short packet is received. This contradicts what is stated in the EHCI datasheet. Also the total-bytes field in the status field of the following TD gets corrupted upon reception of a short packet! We work this around in software by not queueing more than one job/TD at a time of up to 16Kbytes! The bug has been seen on multiple INTEL based EHCI chips. Other vendors have not been tested yet. - Applications using /dev/usb/X.Y.Z, where Z is non-zero are affected, but not applications using LibUSB v0.1, v1.2 and v2.0. - Mass Storage (umass) is affected. Submitted by: Hans Petter Selasky MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-01T18:58:26.648151Z K 7 svn:log V 200 Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old format ZFS, as defined in the manual page. Submitted by: pjd (response of my original patch but bugs are mine) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-01T19:12:14.119931Z K 7 svn:log V 98 Put square backets ([]) around process names for system processes to patch the behavior of ps(1). END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-01T20:05:36.518041Z K 7 svn:log V 48 - Sync caches properly when dealing with sf_buf END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2009-10-01T20:11:42.587451Z K 7 svn:log V 292 Capture CAM enhancements from perforce via scottl instrument the callout function to indicate completion Avoid a racy condition in sbp where multiple targets could conflict with each other by giving each target it's own malloc and stop executing secondary targets via the callback handler. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-01T20:32:29.650601Z K 7 svn:log V 751 The flow-table associates TCP/UDP flows and IP destinations with specific routes. When the routing table changes, for example, when a new route with a more specific prefix is inserted into the routing table, the flow-table is not updated to reflect that change. As such existing connections cannot take advantage of the new path. In some cases the path is broken. This patch will update the affected flow-table entries when a more specific route is added. The route entry is properly marked when a route is deleted from the table. In this case, when the flow-table performs a search, the stale entry is updated automatically. Therefore this patch is not necessary for route deletion. Submitted by: simon, phk Reviewed by: bz, kmacy MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-01T20:56:15.043879Z K 7 svn:log V 213 Compile ACPI debugger and disassembler for kernel modules unconditionally. These files will generate almost empty object files without ACPI_DEBUG/DDB options. As a result, size of acpi.ko will increase slightly. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2009-10-01T21:01:11.487622Z K 7 svn:log V 108 Assign the SIMQ_FREEZED flag to the sbp_softc->flags field instead of stomping on the cam_sim->flags field. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2009-10-01T21:14:40.818828Z K 7 svn:log V 37 Merge from HEAD one last time today. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-01T21:40:08.140178Z K 7 svn:log V 305 sh: Disallow mismatched quotes in backticks (`...`). Due to the amount of code removed by this, it seems that allowing unmatched quotes was a deliberate imitation of System V sh and real ksh. Most other shells do not allow unmatched quotes (e.g. bash, zsh, pdksh, NetBSD /bin/sh, dash). PR: bin/137657 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-10-01T21:44:30.532279Z K 7 svn:log V 236 In fill_kinfo_thread, copy the thread's name into struct kinfo_proc even if it is empty. Otherwise the previous thread's name would remain in the struct and then be reported for this thread. Submitted by: Ryan Stone MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-01T22:05:38.445541Z K 7 svn:log V 110 make read_eflags and write_eflags accomplish the same effect on PVM as native, simplifying interrupt handling END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-02T01:07:28.660618Z K 7 svn:log V 48 Style tweaks. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-02T01:34:55.542616Z K 7 svn:log V 348 Previously, if an address alias is configured on an interface, and this address alias has a prefix matching that of another address configured on the same interface, then the ARP entry for the alias is not deleted from the ARP table when that address alias is removed. This patch fixes the aforementioned issue. PR: kern/139113 MFC after: 3 days END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-02T01:45:11.272094Z K 7 svn:log V 296 Remove a log message from production code. This log message can be triggered by a misconfigured host that is sending out gratuious ARPs. This log message can also be triggered during a network renumbering event when multiple prefixes co-exist on a single network segment. MFC after: immediately END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T02:24:25.519007Z K 7 svn:log V 195 - Add AF_IPX and AF_NATM to afexists(). - Add afexists() check to address family specific rc.d scripts. A script for an AF will be silently ignored if the kernel has no support for the AF. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T02:27:49.294765Z K 7 svn:log V 314 - Fix logic inversion bug of net.inet.tcp.rfc1323[*]. - Split netoptions_start() to netoptions_AF() and add afexists() check for each address family. - Display a message only if the user sets a non-default value, and set a sysctl explicitly even if it is the default value. Spotted by: Pegasus Mc Cleaft[*] END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T02:28:59.187339Z K 7 svn:log V 281 - Split routing_*() and option_*() to *_AF() and add afexists() check for each address family. Replace AF_static() with static_AF() for consistency. - Display a message only if the user sets a non-default value, and set a sysctl explicitly even if it is the default value. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-10-02T05:11:46.224949Z K 7 svn:log V 105 MFC r197580 Temporarily disable the use of 1GB page mappings by the direct map. Approved by: re (kib) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T06:19:34.190831Z K 7 svn:log V 197 Revert the previous afexists() change. Knobs configured explicitly by the user should not be ignored if possible even if the kernel does not support the prerequisite feature. Discussed with: ume END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T06:51:39.011324Z K 7 svn:log V 57 The net.inet.tcp.log_in_vain accepts 0, 1 or 2, not Y/N. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T07:00:20.076533Z K 7 svn:log V 255 Enable adding a link-local address even if ND6_IFF_IFDISABLED. Note that when the interface has ND6_IFF_IFDISABLED, a newly-added address is always marked as IN6_IFF_TENTATIVE so that the interface can perform DAD after the ND6_IFF_IFDISABLED is cleared. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-02T11:10:05.685205Z K 7 svn:log V 187 Remove performance counter headers. This code came from NetBSD, but our hardware perf. counter support is different, so we don't need these files. Reviewed by: freebsd-arm (no comments) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-02T11:10:51.607157Z K 7 svn:log V 312 Migrate a portion of TrustedBSD Capabilities development from Perforce to Subversion -- specifically, we will be maintaining a backport of the work to stable/8 in Subversion. This is the initial branch integration from stable/8 to the capabilities8 tree. Obtained from: TrustedBSD Project Sponsored by: Google END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-02T11:14:12.081563Z K 7 svn:log V 49 Reserve numbers for XScale. Reviewed by: jkoshy END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-02T11:17:51.325390Z K 7 svn:log V 16 merge from head END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-02T11:46:01.205468Z K 7 svn:log V 13 Build fixes. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-10-02T12:47:01.304354Z K 7 svn:log V 48 Fix build nfscl and/or nfsd. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-02T17:39:23.156312Z K 7 svn:log V 205 Welcome Jaakko Heinonen (jh@) as a src committer. Jaakko will start with bugbusting, mostly in kern and bin categories. I'll be his mentor, with Robert Watson (rwatson@) as co-mentor. Approved by: core END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-02T17:48:51.831882Z K 7 svn:log V 712 Add a mitigation feature that will prevent user mappings at virtual address 0, limiting the ability to convert a kernel NULL pointer dereference into a privilege escalation attack. If the sysctl is set to 0 a newly started process will not be able to map anything in the address range of the first page (0 to PAGE_SIZE). This is the default. Already running processes are not affected by this. You can either change the sysctl or the tunable from loader in case you need to map at a virtual address of 0, for example when running any of the extinct species of a set of a.out binaries, vm86 emulation, .. In that case set security.bsd.map_at_zero="1". Superseeds: r197537 In collaboration with: jhb, kib, alc END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-02T17:51:46.794972Z K 7 svn:log V 129 Back out the functional parts from r197537. After r197711, affecting all user mappings, mmap no longer needs special treatment. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-02T17:53:48.771447Z K 7 svn:log V 151 Replace the name of the sysctl to security.bsd.map_at_zero and to be consistent updated the name of the variable as well, after the change in r197711. END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-10-02T17:58:47.662043Z K 7 svn:log V 229 MFC r197711: Add no zero mapping feature. NOTE: Unlike in the other branches where this change will be "merged" to, the 'no zero mapping' is enabled by default in stable/8. Errata: FreeBSD-EN-09:05.null Approved by: re (kib) END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-10-02T18:09:56.509887Z K 7 svn:log V 553 MFC r197711 (partial) to 6.x and 7.x: - Add no zero mapping feature, disabled by default. [EN-09:05] MFC 178913,178914,179242,179243,180336,180340 to 6.x: - Fix kqueue pipe race conditions. [SA-09:13] MFC r192301 to 7.x; 6.x has slightly different fix: - Fix devfs / VFS NULL pointer race condition. [SA-09:14] Security: FreeBSD-SA-09:13.pipe Security: FreeBSD-SA-09:14.devfs Errata: FreeBSD-EN-09:05.null Submitted by: kib [SA-09:13] [SA-09:14] Submitted by: bz [EN-09:05] In collaboration with: jhb, kib, alc [EN-09:05] Approved by: so (simon) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-10-02T18:33:40.987592Z K 7 svn:log V 117 MFC: r197490 Merge r194204 from amd64/i386: Enable PRINTF_BUFR_SIZE by default. PR: 139134 Approved by: re (kib) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-02T19:51:03.463793Z K 7 svn:log V 6 - MFC END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-02T20:15:47.969993Z K 7 svn:log V 99 Add background sendfile for asynchrounous completion of non-blocking requests. Disable by default. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-02T20:19:53.335038Z K 7 svn:log V 118 - Enable an afexists() check only when no AF argument is specified. - Simplify helper functions. Discussed with: ume END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-02T21:31:15.620401Z K 7 svn:log V 103 Don't comment on stream socket handling in sosend_dgram, since that's not handled. MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-10-02T22:30:44.957622Z K 7 svn:log V 316 Fix RTS/CTS flow control, broken by the TTY overhaul. The new TTY interface is fairly simple WRT dealing with flow control, but needed 2 new RX buffer functions with "get-char-from-buf" separated from "advance-buf-pointer" so that the pointer could be advanced only when ttydisc_rint() succeeded. MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-02T23:18:40.270087Z K 7 svn:log V 28 fix interface compatibility END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-02T23:48:42.447356Z K 7 svn:log V 232 - Fix the problem presented by r196988. svn merge was erroneously interrupted and after re-run new files were not added to repo though respective revisions were marked as merged. This commit presents latest versions of these files. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-10-03T02:28:28.655951Z K 7 svn:log V 330 TRENDnet TEW-424UB has multiple revisions so clarify zyd(4) man page and adds a device to urtw(4). The revision informations are as follows: rev A ZD1211 V2 SiS163U V2.1R SiS163U V3.xR RTL8187B and bump date. Obtained from: OpenBSD Reported by: Albert Shih END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-03T02:37:21.992173Z K 7 svn:log V 68 The 6bone was decommissioned on 6/6/06, so remove references to it. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-03T10:50:00.638349Z K 7 svn:log V 144 Print a warning in case we cannot add more brandinfo because we would overflow the MAX_BRANDS sized array. Reviewed by: kib MFC After: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-03T10:56:03.394115Z K 7 svn:log V 133 Put #ifdef INET around parts of the FLOWTABLE code, to unbreak nooptions INET kernel builds. MFC after: 3 days X-MFC: with r197687 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-03T11:02:36.824291Z K 7 svn:log V 39 Add OpenVPN IANA assigned port number. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-10-03T11:57:21.546454Z K 7 svn:log V 458 Make sure that the primary native brandinfo always gets added first and the native ia32 compat as middle (before other things). o(ld)brandinfo as well as third party like linux, kfreebsd, etc. stays on SI_ORDER_ANY coming last. The reason for this is only to make sure that even in case we would overflow the MAX_BRANDS sized array, the native FreeBSD brandinfo would still be there and the system would be operational. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-10-03T12:22:12.973903Z K 7 svn:log V 187 unifdef NFSCLIENT because the nlm depends on the nfsclient even if NFSCLIENT is not defined. Now the nfslockd module works with the nfsclient module. Reviewed by: kib MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-03T12:51:28.390439Z K 7 svn:log V 177 Add C version of unicode2utf8. Perl version: 45 seconds for 92 conversions. Initial C version: 25 seconds for 92 conversions. Current C version: 12 seconds for 92 conversions. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-03T13:17:21.234877Z K 7 svn:log V 30 Remove obsolete instructions. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-03T13:59:15.274433Z K 7 svn:log V 101 Remove remaining bits of performance counter support. Submitted by: Tom Judge END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-10-03T14:38:22.104908Z K 7 svn:log V 100 MFC: revision 197657 MFi386: revision 197653 Improve 802.11s comment. Approved by: re (bz) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-03T15:02:55.009139Z K 7 svn:log V 210 When releasing a lockmgr held in shared way we need to use a write memory barrier in order to avoid, on architectures which doesn't have strong ordered writes, CPU instructions reordering. Diagnosed by: fabio END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-03T16:13:56.792621Z K 7 svn:log V 162 Fix world build on alpha, by adding an include now required but only added on other platforms. Note: this is not an MFC due to removal of alpha support in head. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-03T17:49:44.093982Z K 7 svn:log V 38 Checkpoint code. It no longer panics. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-04T09:07:29.862160Z K 7 svn:log V 226 MFC revision 197683: Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old format ZFS, as defined in the manual page. Submitted by: pjd (response of my original patch but bugs are mine) Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-04T09:57:39.921342Z K 7 svn:log V 139 This commit adds subdirectory mergeinfo which was intentionally ommitted from previous changeset. Requested by: kib Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-04T10:38:04.868528Z K 7 svn:log V 174 Fix a bug that causes the fsx test case of mmap'ed page being out of sync of read/write, inspired by ZFS's counterpart. PR: kern/139312 Submitted by: gk@ MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-04T10:54:20.099367Z K 7 svn:log V 72 Install x86 related man pages on x86 systems only. Reviewed by: jkoshy END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-04T12:11:44.262449Z K 7 svn:log V 55 MFC r197660: Fix typo. Approved by: re (bz, kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-04T12:14:49.391206Z K 7 svn:log V 119 MFC r197661: Move the annotation for vm_map_startup() immediately before the function. Approved by: re (bz, kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-04T12:20:59.541936Z K 7 svn:log V 190 MFC r197663: As a workaround, for Intel CPUs, do not use CLFLUSH in pmap_invalidate_cache_range() when self-snoop is apparently not reported in cpu features. Approved by: re (bz, kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-04T13:00:27.569956Z K 7 svn:log V 23 MFC r197660: Fix typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-04T13:03:07.313710Z K 7 svn:log V 87 MFC r197661: Move the annotation for vm_map_startup() immediately before the function. END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-10-04T16:30:33.136878Z K 7 svn:log V 147 In lists, if there is a Li command remove it. This fixes markup for uath(4). MFC after: 3 days Reported by: Warren Block END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-04T17:16:11.529543Z K 7 svn:log V 219 MFC r197371: Mention that NUL characters are not allowed in sh(1) input. I do not consider this a bug because POSIX permits it and argument strings and environment variables cannot contain '\0' anyway. PR: bin/25542 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-04T17:22:51.707313Z K 7 svn:log V 307 MFC r197363: Update find(1) man page for -L/-delete interaction. It is a bit unfortunate that the example to delete broken symlinks now uses rm(1), but allowing this with -delete would require fixing fts(3) to not imply FTS_NOCHDIR if FTS_LOGICAL is given (or hacks in the -delete option). PR: bin/90687 END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-10-04T18:53:10.310887Z K 7 svn:log V 157 Align and pad the page queue and free page queue locks so that the linker can't possibly place them together within the same cache line. MFC after: 3 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-10-04T19:03:32.557180Z K 7 svn:log V 706 MFC r197682 EHCI Hardware BUG workaround The EHCI HW can use the qtd_next field instead of qtd_altnext when a short packet is received. This contradicts what is stated in the EHCI datasheet. Also the total-bytes field in the status field of the following TD gets corrupted upon reception of a short packet! We work this around in software by not queueing more than one job/TD at a time of up to 16Kbytes! The bug has been seen on multiple INTEL based EHCI chips. Other vendors have not been tested yet. - Applications using /dev/usb/X.Y.Z, where Z is non-zero are affected, but not applications using LibUSB v0.1, v1.2 and v2.0. - Mass Storage (umass) is affected. Approved by: re (kib) END K 10 svn:author V 3 das K 8 svn:date V 27 2009-10-04T19:43:36.753308Z K 7 svn:log V 469 Better glibc compatibility for getline/getdelim: - Tolerate applications that pass a NULL pointer for the buffer and claim that the capacity of the buffer is nonzero. - If an application passes in a non-NULL buffer pointer and claims the buffer has zero capacity, we should free (well, realloc) it anyway. It could have been obtained from malloc(0), so failing to free it would be a small memory leak. MFC After: 2 weeks Reported by: naddy PR: ports/138320 END K 10 svn:author V 3 das K 8 svn:date V 27 2009-10-04T19:44:41.730680Z K 7 svn:log V 63 Regression tests for r197752 (handling of empty/NULL buffers). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-04T21:07:19.799236Z K 7 svn:log V 113 Add man-page for the unicode2utf8 utility. Fix wording of the examples, the ru_RU word was Saturday, not Sunday. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-04T21:07:48.135241Z K 7 svn:log V 9 Stylify. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-04T21:14:44.964464Z K 7 svn:log V 37 main system -> base operating system END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-04T21:22:19.746470Z K 7 svn:log V 65 Add warning about the output file being automatically generated. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-04T21:46:43.853293Z K 7 svn:log V 246 MFC: rev. 197681 Correct the pthread stub prototype for pthread_mutexattr_settype to allow for the type argument. This is known to fix some pthread_mutexattr_settype() invocations, especially when it comes to pulseaudio. Approved by: re (kib) END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-04T21:48:17.075336Z K 7 svn:log V 241 MFC: rev. 197681 Correct the pthread stub prototype for pthread_mutexattr_settype to allow for the type argument. This is known to fix some pthread_mutexattr_settype() invocations, especially when it comes to pulseaudio. Approved by: kib END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-04T21:50:29.971207Z K 7 svn:log V 241 MFC: rev. 197681 Correct the pthread stub prototype for pthread_mutexattr_settype to allow for the type argument. This is known to fix some pthread_mutexattr_settype() invocations, especially when it comes to pulseaudio. Approved by: kib END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-10-04T23:30:08.112311Z K 7 svn:log V 138 updates device entries supported with the product name not magic numbers and sorts entries. WUSB54GCV2 is added. Obtained from: OpenBSD END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-05T00:28:47.610414Z K 7 svn:log V 285 Change the fake top stack frame from 16 to 48 bytes to match the ABI, and use the dsitrap handler for data segment exceptions in order to record the DAR. Still weird crashing bugs associated with threading -- maybe the trap handlers are misbehaving in a way that completely eludes me. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2009-10-05T01:31:16.315469Z K 7 svn:log V 372 The cylinder group tag cg_initediblk needs to match the number of inodes actually initialized. In the growfs case for UFS2, no inodes were actually being initialized and the number of inodes noted as initialized was the number of inodes per group. This created a filesystem that was deemed corrupted because the inodes thus added were full of garbage. MFC after: 1 month END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-05T07:11:19.396212Z K 7 svn:log V 177 Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's. Also modify the "-k list" option to display only fields with a certain prefix. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-05T07:13:15.984449Z K 7 svn:log V 182 Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's. Also modify the "-k list" option to display only fields with a certain prefix. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-05T07:21:21.953068Z K 7 svn:log V 96 Backout changes for c_fmt, x_fmt and X_fmt, they were coming from the wrong patches. Apologies. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-10-05T08:44:31.520900Z K 7 svn:log V 49 - Improve error message consistency and wording. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-05T09:26:22.685740Z K 7 svn:log V 94 Change the pam_ssh examples: if you use it, you probably want want_agent. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-05T09:28:54.890930Z K 7 svn:log V 27 tabify MFC after: 3 weeks END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-05T10:08:58.641492Z K 7 svn:log V 239 - Drop unused pmap_use_l1 function and comment out currently unused pmap_dcache_wbinv_all/pmap_copy_page functions which we might want to take advatage of later. This fixes the build with PMAP_DEBUG defined. Discussed with: cognet END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-10-05T14:03:26.405617Z K 7 svn:log V 76 MFC: revision 197709 Fix build nfscl and/or nfsd. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-10-05T14:13:16.679765Z K 7 svn:log V 214 When the timeout backoff hits the maximum value, leave it capped at the maximum value rather than setting it to the result of a boolean expression that is always true. Submitted by: Joseph Kong MFC after: 1 month END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-10-05T14:28:23.771203Z K 7 svn:log V 508 MFC:197645 Two more mxge watchdog fixes 1) Restore the PCI Express control register after a watchdog reset. This is required because the device will come out of watchdog reset with the pectl reg at its default state, and important BIOS configuration (like max payload size) could be lost. 2) Call mxge_start_locked() for every tx queue before dropping the lock in the watchdog handler. This is required, as the queue's buf ring may have filled during the reset. Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-05T14:46:56.530247Z K 7 svn:log V 228 Shove boot errors further down the line. The 288 bytes below the stack frame are available as scratch space, so take care not to overwrite them in the trap handlers. Real hardware now boots to the point of trying to start init. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T14:49:16.541458Z K 7 svn:log V 1263 First cut at implementing SOCK_SEQPACKET support for UNIX (local) domain sockets. This allows for reliable bi-directional datagram communication over UNIX domain sockets, in contrast to SOCK_DGRAM (M:N, unreliable) or SOCK_STERAM (bi-directional bytestream). Largely, this reuses existing UNIX domain socket code. This allows applications requiring record- oriented semantics to do so reliably via local IPC. Some implementation notes (also present in XXX comments): - Currently we lack an sbappend variant able to do datagrams and control data without doing addresses, so we mark SOCK_SEQPACKET as PR_ADDR. Adding a new variant will solve this problem. - UNIX domain sockets on FreeBSD provide back-pressure/flow control notification for stream sockets by manipulating the send socket buffer's size during pru_send and pru_rcvd. This trick works less well for SOCK_SEQPACKET as sosend_generic() uses sb_hiwat not just to manage blocking, but also to determine maximum datagram size. Fixing this requires rethinking how back-pressure is done for SOCK_SEQPACKET; in the mean time, it's possible to get EMSGSIZE when buffers fill, instead of blocking. Discussed with: benl Reviewed by: bz, rpaulo MFC after: 3 months Sponsored by: Google END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-10-05T15:05:43.844107Z K 7 svn:log V 41 Add myself. Approved by: trasz (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T15:06:14.855479Z K 7 svn:log V 192 netstat(1) support for UNIX SOCK_SEQPACKET sockets -- changes were required only for the kvm case, as we supported SOCK_SEQPACKET via sysctl already. Sponsored by: Google MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T15:07:44.423403Z K 7 svn:log V 98 SOCK_SEQPACKET is now supported on UNIX domain sockets. Sponsored by: Google MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T15:15:13.566509Z K 7 svn:log V 85 Bump unix(4) man page date for SOCK_SEQPACKET. Suggested by: bz MFC after: 3 months END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-05T15:16:28.238590Z K 7 svn:log V 59 Make fetch(9) and store(9) manual pages closer to reality. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T15:27:01.289476Z K 7 svn:log V 85 A few regression tests for SOCK_SEQPACKET UNIX domain sockets. Sponsored by: Google END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-05T15:45:25.921159Z K 7 svn:log V 70 Set the location for stack-based arguments in an ABI-independent way. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-10-05T16:26:54.630548Z K 7 svn:log V 330 - Revert r191568 partially. Forcing AHCI mode by changing device subclass and progif is evil. It doesn't work reliably[1] and we should honor BIOS configuration by the user. - If the SATA controller is enbled but combined mode is disabled, mask off the emulated IDE channel on the legacy IDE controller. Pointed out by: mav[1] END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-10-05T18:20:36.096148Z K 7 svn:log V 64 Free Navdeep from membership and promote him to project status. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-05T18:55:13.756055Z K 7 svn:log V 192 Add more symbols that need to be masked: - initialized and uninitialized data - symbols from roaming_dummy.c which end up in pam_ssh Update the command line used to generate the #defines. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-05T18:56:18.095569Z K 7 svn:log V 62 pam_ssh needs roaming_dummy to link correctly against libssh. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-10-05T19:29:25.485260Z K 7 svn:log V 1186 MFC r197461: Use __NO_STRICT_ALIGNMENT to determine whether de(4) have to apply alignment fixup code for received frames on strict alignment architectures. MFC r197463: Consistently use bus_addr_t. MFC r197464: Destroy dmamap in dma cleanup. MFC r197465: Align Tx/Rx descriptors on 32 bytes boundary instead of PAGE_SIZE. Also align setup descriptor on 32 bytes boundary. Tx buffer have no alignment limitation so create dmamap without alignment restriction[1]. Rx buffer still seems to require 4 bytes alignment limitation but we can simply use MCLBYTES for size to map the buffer instead of TULIP_DATA_PER_DESC as the buffer is allocated with m_getcl(9). de(4) supports up to TULIP_MAX_TXSEG segments for Tx buffers, increase maximum dma segment size to TULIP_MAX_TXSEG * MCLBYTES. While I'm here remove TULIP_DATA_PER_DESC as it is not used anymore. This should fix de(4) breakage introduced after r176206. Submitted by: jhb [1] Reported by: WATANABE Kazuhiro < CQG00620 <> nifty dot ne dot jp > Tested by: WATANABE Kazuhiro < CQG00620 <> nifty dot ne dot jp >, Takahashi Yoshihiro < nyan <> jp dot freebsd dot org > Approved by: re (kib) END K 10 svn:author V 3 bcr K 8 svn:date V 27 2009-10-05T19:29:49.318383Z K 7 svn:log V 102 Belatedly add my calendar entry. Discussed with: remko Approved by: remko, jkois (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-05T19:56:56.198922Z K 7 svn:log V 296 Fix NFSv4 ACLs on sparc64. Turns out that fuword(9) fetches 64 bits instead of sizeof(int), and on sparc64 that resulted in fetching wrong value for acl_maxcnt, which in turn caused __acl_get_link(2) to fail with EINVAL. PR: sparc64/139304 Submitted by: Dmitry Afanasiev END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-10-05T20:11:33.236179Z K 7 svn:log V 98 Fix a case when both ${name}_program and ${command} are defined. Spotted by: Michio "Karl" Jinbo END K 10 svn:author V 2 np K 8 svn:date V 27 2009-10-05T20:21:41.020283Z K 7 svn:log V 199 cxgb(4) updates, including: - support for the new Gen-2, BT, and LP-CR cards. - T3 firmware 7.7.0 - shared "common code" updates. Approved by: gnn (mentor) Obtained from: Chelsio MFC after: 1 month END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-05T20:38:36.917946Z K 7 svn:log V 122 Add merginfo for the _pthread_stubs.c commit which merged r197681 to stable/8. Requested by: kib Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-05T21:11:04.894654Z K 7 svn:log V 321 fts_open() requires that the list passed as argument to contain at least one path. When the list is empty (contain only a NULL pointer), return EINVAL instead of pretending to succeed, which will cause a NULL pointer deference in a later fts_read() call. Noticed by: Christoph Mallon (via rdivacky@) MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T22:23:12.882301Z K 7 svn:log V 99 Fix build on amd64, where sysctl arg1 is a pointer. Reported by: Mr Tinderbox MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-05T22:24:13.964887Z K 7 svn:log V 479 In tcp_input(), we acquire a global write lock at first only if a segment is likely to trigger a TCP state change (i.e., FIN/RST/SYN). If we later have to upgrade the lock, we acquire an inpcb reference and drop both global/inpcb locks before reacquiring in-order. In that gap, the connection may transition into TIMEWAIT, so we need to loop back and reevaluate the inpcb after relocking. MFC after: 3 days Reported by: Kamigishi Rei Reviewed by: bz END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-05T23:19:51.001617Z K 7 svn:log V 75 - Revert part of r197685 because this change leads to wrong data in cache. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-06T02:13:32.387958Z K 7 svn:log V 124 "Potluck Pogo" was a collection of Walt Kelly's "Pogo" cartoons first published in 1955. "Putluck Pogo" seems to be a typo. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-06T03:53:29.667086Z K 7 svn:log V 173 Set up a stack for Open Firmware to use. Make it real-mode accessible, and use the 32-bit ABI for the stack. This should prevent stack frame corruption during the OF thunk. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-10-06T04:57:18.950256Z K 7 svn:log V 118 o Fix typo: "an in particular" -> "and in particular". PR: docs/139370 Submitted by: Kenyon Ralph MFC after: 1 week END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-10-06T06:35:52.023277Z K 7 svn:log V 97 - curbrk variable for sbrk and brk should be the same - Add correct variable names to Symbol.map END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-06T07:24:23.419713Z K 7 svn:log V 765 Cannibalise an unused field in the ALE to store a count of the bytes written to the ALE by the consumer. This extends the alq_get/alq_post interface to allow a consumer to request an allocation from the ALQ that may be larger than is actually needed. Nothing changes in the default use case. The new use case made possible by this change is as follows: - Consumer requests X bytes from the ALQ using alq_getn(). - Consumer only generates Y bytes of data (where Y < X) and writes them to the ALQ buffer location pointed to by ale->ae_data. - [New step] Consumer overwrites ale->ae_bytesused with the value of Y to inform alq_post() of the actual number of bytes written. - Consumer calls alq_post() to complete the write. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2009-10-06T10:19:20.408943Z K 7 svn:log V 17 Expand $FreeBSD$ END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-06T13:45:49.616424Z K 7 svn:log V 1179 Per their definition, atomic instructions used in conjuction with memory barriers should also ensure that the compiler doesn't reorder paths where they are used. GCC, however, does that aggressively, even in presence of volatile operands. The most reliable way GCC offers for avoid instructions reordering is clobbering "memory" even if that is theoretically an heavy-weight operation, flushing the content of all the registers and forcing reload of them (We could rely, however, on gcc DTRT by just understanding the purpose as this is a well-known pattern for many modern operating-systems). Not all our memory barriers, right now, clobber memory for GCC-like compilers. The most notable cases are IA32 and amd64 where the memory barrier are treacted the same as normal atomic instructions. Fix this by offering the possibility to implement atomic instructions with memory barriers separately from the normal version and implement the GCC-like specific one using memory clobbering. Thanks to Chris Lattner (@apple) for his discussion on llvm specifics. Reported by: jhb Reviewed by: jhb Tested by: rdivacky, Giovanni Trematerra END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-06T14:05:57.395066Z K 7 svn:log V 200 Add basename_r(3) to complement basename(3). basename_r(3) which accepts a caller-allocated buffer of at least MAXPATHLEN, rather than using a global buffer. MFC after: 1 month Sponsored by: Google END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-10-06T15:44:08.835699Z K 7 svn:log V 476 Add even more paranoia to the 32-bit OF thunk, and also sprinkle some in ofw_machdep.c. This fixes a problem where the system could take an interrupt in the middle of a firmware call, and then end in the trap handler with a trashed PCPU pointer and a wrong stack pointer, with the expected ensuing hilarity. This fixes the last known problem on hardware -- both my XServe and the Cell simulator successfully mount root and then complain that the userland does not exist yet. END K 10 svn:author V 6 cokane K 8 svn:date V 27 2009-10-06T16:05:06.742762Z K 7 svn:log V 266 MFC: r197403, r197644, r197654, and r197659 Fix some unexpected potential NULL de-references in kernel mode due to usage of pre-8.0 wifi operations with the ndis driver wrapping a Win32/64 wifi driver. Submitted by: Paul B Mahol Approved by: re END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-06T17:10:38.060394Z K 7 svn:log V 288 Properly record merginfo for r197681 into lib/libc instead of lib/libc/gen. Kib didn't see the previous commit before I committed it. I had assumed implicit approval when he requested the merginfo. So pointhats to me all around. This commit was reviewed by kib. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-06T17:14:39.477516Z K 7 svn:log V 296 In rtld's map_object(), use pread(..., 0) rather than read() to read the ELF header from the front of the file. As all other I/O on the binary is done using mmap(), this avoids the need for seek privileges on the file descriptor during run-time linking. MFC after: 1 month Sponsored by: Google END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-06T17:33:00.745249Z K 7 svn:log V 284 Remove a superfluous semi-colon and fix an accounting bug in alq_doio(). The special case where the buffer had wrapped early but no bytes had been subsequently written (i.e. alq->aq_writehead == 0 && alq->aq_wrapearly > 0) was not handled correctly. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-06T18:47:02.396778Z K 7 svn:log V 737 MFC r197687 The flow-table associates TCP/UDP flows and IP destinations with specific routes. When the routing table changes, for example, when a new route with a more specific prefix is inserted into the routing table, the flow-table is not updated to reflect that change. As such existing connections cannot take advantage of the new path. In some cases the path is broken. This patch will update the affected flow-table entries when a more specific route is added. The route entry is properly marked when a route is deleted from the table. In this case, when the flow-table performs a search, the stale entry is updated automatically. Therefore this patch is not necessary for route deletion. Reviewed by: bz, kmacy Approved by: re END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-06T19:44:44.971597Z K 7 svn:log V 374 MFC 197695 Previously, if an address alias is configured on an interface, and this address alias has a prefix matching that of another address configured on the same interface, then the ARP entry for the alias is not deleted from the ARP table when that address alias is removed. This patch fixes the aforementioned issue. PR: kern/139113 Reviewed by: bz Approved by: re END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-10-06T20:19:16.206619Z K 7 svn:log V 1428 Fix tcsh losing history when tcsh terminates because the pty beneath it is closed. Diagnosed by Ted Anderson: New signal queuing logic was introduced in 6.15 and allows the signal handlers to be run explicitly by calling handle_pending_signals, instead of immediately when the signal is delivered. This function is called at various places, typically when receiving a EINTR from a slow system call such as read or write. In the pty exit case, it was called from xwrite, called from flush, while printing the "exit" message after receiving EOF when reading from the pty (note that the read did not return EINTR but zero bytes, indicating EOF). The SIGHUP handler, phup(), called rechist, which opened the history file and began writing the merged history to it. This process invoked flush recursively to actually write the data. In this case, however, the flush noticed it was being called recursively and decided fail by calling stderror. My conclusion was that the signal was being handled at a bad time. But whether to fix flush not to care about the recursive call, or to handle the signal some other time and when to handle it, was unclear to me. However, by adding an extra call to handle_pending_signals, just after process() returns to main(), I was able to avoid the truncated history after network outages and similar failures. I verified this fix in version 6.17. Approved by: ed (mentor) MFC after: 1 week END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-10-06T20:33:02.081205Z K 7 svn:log V 302 MFC r197696 Remove a log message from production code. This log message can be triggered by a misconfigured host that is sending out gratuious ARPs. This log message can also be triggered during a network renumbering event when multiple prefixes co-exist on a single network segment. Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-06T20:35:41.260503Z K 7 svn:log V 207 Remove tcp_input lock statistics; these are intended for debugging only and are not intended to ship in 8.0 as they dirty additional cache lines in a performance-critical per-packet path. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-06T21:23:49.717290Z K 7 svn:log V 93 MFC r197625: Fix using lp(1) without the new -t option after r194171. Approved by: re (kib) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-06T21:40:50.512380Z K 7 svn:log V 152 Prevent paging pressure from draining arc too much - always drain arc if above arc_c_max - never drain arc if arc is below arc_c_max MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-06T21:42:41.787673Z K 7 svn:log V 57 Numerous style tweaks. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-06T21:46:03.442538Z K 7 svn:log V 100 Remove a variable that is no longer used after the switch to ALQ. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-06T21:49:13.457938Z K 7 svn:log V 70 MFC r197625: Fix using lp(1) without the new -t option after r195349. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-06T22:00:14.983049Z K 7 svn:log V 390 sh: Send the "xyz: not found" message to redirected fd 2. This also fixes that trying to execute a non-regular file with a command name without '/' returns 127 instead of 126. The fix is rather simplistic: treat CMDUNKNOWN as if the command were found as an external program. The resulting fork is a bit wasteful but executing unknown commands should not be very frequent. PR: bin/137659 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-06T22:15:12.279911Z K 7 svn:log V 105 MFC r197725: The 6bone was decommissioned on 6/6/06, so remove references to it. Approved by: re (kib) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-06T22:19:32.664944Z K 7 svn:log V 82 MFC r197725: The 6bone was decommissioned on 6/6/06, so remove references to it. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-10-06T22:21:51.737560Z K 7 svn:log V 82 MFC r197725: The 6bone was decommissioned on 6/6/06, so remove references to it. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-10-06T23:48:28.557507Z K 7 svn:log V 564 - All the functions in atomic.h needs to be in "physical" form (like not defined through macros or similar) in order to be later compiled in the kernel and offer this way the support for modules (and compatibility among the UP case and SMP case). Fix this for the newly introduced atomic_cmpset_barr_* cases by defining and specifying a template. Note that the new DEFINE_CMPSET_GEN() template save more typing on amd64 than the current code. [1] - Fix the style for memory barriers on amd64. [1] Reported by: Paul B. Mahol END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-07T05:08:26.532805Z K 7 svn:log V 99 Rename unused field in struct ale to something more appropriate. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-07T05:38:44.639562Z K 7 svn:log V 48 Style tweaks. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-07T07:04:08.124547Z K 7 svn:log V 95 Consistently use the local wrapearly variable in alq_doio(). Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-10-07T08:43:06.966506Z K 7 svn:log V 95 Update the ALQ(9) man page to discuss the new functionality. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-10-07T09:07:06.856965Z K 7 svn:log V 125 Add parsing code for TCP UTO (User Timeout Option). Submitted by: fangwang@ Obtained from: //depot/projects/soc2009/tcputo/ END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-07T09:22:27.175347Z K 7 svn:log V 89 Free Rick Macklem from mentorship. Discussed with: rwatson Approved by: core (implicit) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-07T12:38:19.259836Z K 7 svn:log V 280 Fix situation where Mac OS X NFS client creates a file and when it tries to set ownership and mode in the same setattr operation, the mode was overwritten by secpolicy_vnode_setattr(). PR: kern/118320 Submitted by: Mark Thompson MFC after: 3 days END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-07T13:12:43.880291Z K 7 svn:log V 404 - Add support for new BGE chips (5761, 5784 and 57780). These chips uses new BGE_PCI_PRODID_ASICREV register to store the chip identifier and its revision. - Add new grouping macro for 7575+ chips (BGE_IS_5755_PLUS). - Add IDs for Fujitsu-branded Broadcom adapters. PR: kern/127587 Tested by: Thomas Quinot (BCM7561 A0) MFC after: 2 weeks Obtained from: OpenBSD END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-10-07T13:25:22.965541Z K 7 svn:log V 212 When run() returns an error, print the error message also in non-interactive mode. Previously error messages were printed only in interactive mode. PR: bin/124517 Approved by: trasz (mentor) MFC after: 1 month END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-07T13:25:24.392752Z K 7 svn:log V 45 - Document new revisions of chips supported. END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-10-07T13:45:12.058340Z K 7 svn:log V 105 - Document that 'Dell PowerEdge R710' has bce(4) supported NIC. - Bump document date. MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-10-07T14:14:05.529574Z K 7 svn:log V 227 MFC: revision 197730 unifdef NFSCLIENT because the nlm depends on the nfsclient even if NFSCLIENT is not defined. Now the nfslockd module works with the nfsclient module. Reviewed by: kib Approved by: re (kensmith) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-10-07T14:29:48.217124Z K 7 svn:log V 139 - Give a name to the host coalescing bug fix WDMA mode register bit instead of using hardcoded value in the code. Obtained from: OpenBSD END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-10-07T15:40:04.702810Z K 7 svn:log V 111 On command timeout handle frozen command first, to not run it inside XXX_end_transaction(). Submitted by: avg END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-07T15:41:30.003621Z K 7 svn:log V 53 Record mergeinfo data for r197681. Approved by: kib END K 10 svn:author V 3 zml K 8 svn:date V 27 2009-10-07T19:50:14.287390Z K 7 svn:log V 344 Handle GRANTED_RES messages more gracefully: Send along a grant cookie to reference the lock, look up the grant cookie when the GRANTED_RES comes back. Properly handle the case of an error on the grant. Add a short expiration window so that granted locks are not freed immediately. Approved by: dfr (mentor) MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-07T20:20:51.994576Z K 7 svn:log V 205 Add a new errno, ENOTCAPABLE, to be returned when a process requests an operation on a file descriptor that is not authorized by the descriptor's capability flags. MFC after: 1 month Sponsored by: Google END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-07T20:54:07.173560Z K 7 svn:log V 37 Fix white-spaces. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-07T20:56:15.904724Z K 7 svn:log V 225 On FreeBSD it is enough to report provider removal when orphan event is received, we don't have to do it on every ENXIO error in I/O path. Solaris has no GEOM so they have to handle it in a less clean way. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-07T20:59:59.857570Z K 7 svn:log V 291 Add an target for the maintainers to compare the MD5 checksums of the UTF-8 files and to compare them with the MD5 checksums of the files created by the CMS_xxx variables (should be different) and with the MD5 checksums of the files created by the CMSLINK_xx variables (should be the same). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-07T21:04:52.833319Z K 7 svn:log V 145 The unicode2utf8 tool generates a warning in the output file that it is created automatically and that changes to it will be lost later in life. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-10-07T21:05:40.453869Z K 7 svn:log V 52 Record merginfo data for r197681. Approved by: kib END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-10-07T21:14:45.327649Z K 7 svn:log V 79 Add the comment "(FreeBSD only)" to the altmonth_x keywords MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-10-07T22:21:53.845426Z K 7 svn:log V 47 Clarify quoting of word in ${v=word} in sh(1). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-07T23:01:31.636377Z K 7 svn:log V 55 Fix build on amd64. PR: misc/139409 Submitted by: gk END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-10-07T23:17:15.488631Z K 7 svn:log V 174 Add a special workaround to handle UIO_NOCOPY case. This fixes data corruption observed when sendfile() is being used. PR: kern/127213 Submitted by: gk MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-10-08T00:22:42.890877Z K 7 svn:log V 18 replace KTR flags END K 10 svn:author V 3 snb K 8 svn:date V 27 2009-10-08T09:03:04.661459Z K 7 svn:log V 454 MFC r193375, r194387, r195003: Add vm_lowmem event handler for dirhash. This will cause dirhashes to be deleted when the system is low on memory. This ought to allow an increase to vfs.ufs.dirhash_maxmem on machines that have lots of memory, without degrading performance by having too much memory reserved for dirhash when other things need it. The default value for dirhash_maxmem is being kept at 2MB for now, though. Approved by: dwmalone (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-10-08T10:26:49.878712Z K 7 svn:log V 413 Discard Device Control Strings and Operating System Commands. These strings often contain things like: - Window titles. - Extended key map functionality. - Color palette switching. We could look at these features in the future (if people consider them to be important enough), but we'd better discard them now. This fixes some artifacts people reported when using TERM=xterm. Reported by: des@, Paul B. Mahol END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T11:07:15.457108Z K 7 svn:log V 552 Merge r197795 from head to stable/8: In tcp_input(), we acquire a global write lock at first only if a segment is likely to trigger a TCP state change (i.e., FIN/RST/SYN). If we later have to upgrade the lock, we acquire an inpcb reference and drop both global/inpcb locks before reacquiring in-order. In that gap, the connection may transition into TIMEWAIT, so we need to loop back and reevaluate the inpcb after relocking. Reported by: Kamigishi Rei Reviewed by: bz Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-08T11:28:32.829685Z K 7 svn:log V 139 MFC r197662: Do not dereference vp->v_mount without holding vnode lock and checking that the vnode is not reclaimed. Approved by: re (bz) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-10-08T11:36:06.057545Z K 7 svn:log V 82 Fix so that round robing stream scheduling works as advertised MFC after: 0 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-10-08T11:42:24.353819Z K 7 svn:log V 117 MFC r197662: Do not dereference vp->v_mount without holding vnode lock and checking that the vnode is not reclaimed. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-10-08T13:57:51.556383Z K 7 svn:log V 47 Integrate capabilities 8 branch from stable/8. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-10-08T15:34:01.388628Z K 7 svn:log V 91 'aclmode' and 'aclinherit' properties should work as advertised; don't refuse to set them. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-10-08T16:03:19.954534Z K 7 svn:log V 75 File system owner is when uid matches and jail matches. MFC after: 3 days END