Ħ4176176 165 174 223 225 126 152 151 159 148 195 440 153 154 239 181 204 161 136 275 212 463 280 748 517 189 241 113 128 1646 132 156 366 1355 322 128 151 139 205 157 135 200 119 144 140 128 114 717 130 240 350 103 113 216 319 779 182 943 398 850 150 288 200 227 1452 150 209 256 347 406 321 124 573 222 474 1751 306 225 645 146 177 164 164 210 292 208 248 201 291 222 1285 141 2480 221 693 201 210 182 207 293 317 255 340 1223 386 246 226 435 411 931 174 219 340 382 140 531 383 173 179 190 525 204 699 512 561 344 356 242 375 247 237 264 138 199 141 614 439 162 175 170 199 145 369 142 167 228 564 194 412 293 181 365 323 355 286 299 161 385 254 378 286 218 230 323 118 147 304 K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T07:48:12.000000Z K 7 svn:log V 80 MFC rev 1.70 bsdlabel.8 Remove redundant whitespace. Noticed by: brueffer END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T07:50:13.000000Z K 7 svn:log V 128 MFC rev 1.10, 1.11 nve.4 v1.10 There is no list to stop, so dont use .El. Noticed by: brueffer v1.11 Language nit. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T07:51:05.000000Z K 7 svn:log V 130 MFC rev 1.10, 1.11 nve.4 v1.10 There is no list to stop, so dont use .El. Noticed by: brueffer v1.11 Language nit. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T08:12:58.000000Z K 7 svn:log V 32 Typo fix. Spotted by: brueffer END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T08:14:58.000000Z K 7 svn:log V 58 MFC rev 1.18 timed.8 Typo fix. Spotted by: brueffer END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-11T09:01:14.000000Z K 7 svn:log V 54 Some small fixes, also introduce an EXAMPLES section. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2008-02-11T09:02:48.000000Z K 7 svn:log V 67 Explain in more detail how the pass number field works. Bump .Dd. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-02-11T09:20:01.000000Z K 7 svn:log V 52 Unbreak build, size_t is larger on 64bit platforms. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2008-02-11T09:36:43.000000Z K 7 svn:log V 102 We no longer have both block and character devices, so remove the misleading information stated here. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-02-11T12:30:32.000000Z K 7 svn:log V 347 Clean up PowerPC loader(8) build config. Turn off TFTP support by default: when both TFTP and NFS are enabled in the loader, strange interactions occur in the pure netbooting scenario (i.e. loader is TFTP-ed, kernel+world mounted over NFS), leading to very slow access to the NFS-exported files. Reviewed by: grehan Approved by: cognet (mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T13:14:16.000000Z K 7 svn:log V 59 With doc-hat, MFC cpio.5 This unbreaks the current build. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-11T13:37:14.000000Z K 7 svn:log V 60 Import ncurses 5.6-20080209 snapshot onto the vender branch END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-11T13:37:14.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r176187, 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 2008-02-11T13:37:15.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'ncurses-vendor-v5_6_20080209'. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-11T13:39:36.000000Z K 7 svn:log V 109 - Update build glues for ncurses 5.6 snapshot 20080209 - While I'm here, sort macro defines in ncurses_cfg.h END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-11T13:40:20.000000Z K 7 svn:log V 67 Per discussion on developers@, add vendor information for ncurses. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-11T13:42:45.000000Z K 7 svn:log V 42 - Update instructions for snapshot import END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-02-11T19:35:03.000000Z K 7 svn:log V 181 Fix Linux mmap with MAP_GROWSDOWN flag. Reported by: Andriy Gapon (avg at icyb dot net dot ua) Tested by: Andriy Gapon (avg at icyb dot net dot ua) Pointyhat: me MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-02-11T20:34:27.000000Z K 7 svn:log V 116 Change another argument and a variable both related to netname() to be also 32-bit on all archs. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-02-11T20:42:36.000000Z K 7 svn:log V 367 MFC: 1.30 - Fix a typo in a comment. - Fix whitespace according to style(9). - Sync the comment describing why we have to wait in nsphy_reset() with nsphyter_reset(). It's true that the manual tells to not do a reset within 500us of applying power but that's unlikely the cause of problems seen here. Generally having to wait 500us after a reset however is. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-11T21:09:34.000000Z K 7 svn:log V 185 MFOpenBSD rev 1.393 pf.conf.5 do not describe `/' as solidus; from Allen (freebsd pr120484); PR: 120484 Submitted by: Allen MFC After: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-02-11T21:40:22.000000Z K 7 svn:log V 652 The Sun disk label only uses 16-bit fields for cylinders, heads and sectors so the geometry of large IDE disks has to be adjusted. This corresponds to what the OpenSolaris dad(7D) driver does except that the latter only tweaks sectors and effectively limits the mediasize to 128GB so the cylinders and heads fields won't ever overflow. Not limiting the mediasize is a compromise between allowing to use Sun disk label as far as possible and being able to use the entire disk with another disk label. This allows to use the full capacity of large IDE disks if they were not labeled under (Open)Solaris (in both ways of the meaning). MFC after: 2 weeks END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-02-11T23:23:21.000000Z K 7 svn:log V 423 Switch the default NFS mount mode from UDP to TCP. UDP mounts are a historical relic, and are no longer appropriate for either LAN or WAN mounting. At modern (gigabit and 10 gigabit) LAN speeds packet loss from socket buffer fill events is common, and sequence numbers wrap quickly enough that data corruption is possible. TCP solves both of these problems without imposing significant overhead. MFC after: 1 month END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-02-11T23:28:35.000000Z K 7 svn:log V 96 Forced commit: previous change also switches the default diskless NFS mode from NFSv2 to NFSv3. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-12T08:58:26.000000Z K 7 svn:log V 143 Add missing \n. PR: 120341 Submitted by: CyberLeo Approved by: rwatson (mentor), aradford@amcc.com MFC after: 3 days END K 10 svn:author V 4 ceri K 8 svn:date V 27 2008-02-12T09:20:27.000000Z K 7 svn:log V 20 Bump .Dd for r1.48. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2008-02-12T09:24:11.000000Z K 7 svn:log V 35 Add the -4 option to the synopsis. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-02-12T11:03:29.000000Z K 7 svn:log V 1552 Eliminate BUS_DMA <-> cache incoherencies in USB transfers. With write-allocate cache we get into the following scenario: 1. data has been updated in the memory by the USB HC, but 2. D-cache holds an un-flushed value of it 3. when affected cache line is being replaced, the old (un-flushed) value is flushed and overwrites the newly arrived This is possible due to how write-allocate works with virtual caches (ARM for example). In case of USB transfers it leads to fatal tags discrepancies in umass(4) operation, which look like the following: umass0: Invalid CSW: tag 1 should be 2 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 3 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 4 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 5 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command umass0: Invalid CSW: tag 1 should be 6 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exausted To eliminate this, a BUS_DMASYNC_PREREAD sync operation is required in usbd_start_transfer(). Credits for nailing this down go to Grzegorz Bernacki gjb AT semihalf DOT com. Reviewed by: imp Approved by: cognet (mentor) END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-02-12T11:07:33.000000Z K 7 svn:log V 40 Fix typo. Approved by: cognet (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T15:26:59.000000Z K 7 svn:log V 64 Fix a typo when testing for the NO_C3 quirk. MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-02-12T16:24:30.000000Z K 7 svn:log V 270 If busdma is being used to realign dynamic buffers and the alignment is set to PAGE_SIZE or less, the bounce page counting logic was flawed and wouldn't reserve any pages. Adjust to be correct. Review of other architectures is forthcoming. Submitted by: Joseph Golio END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-12T17:11:36.000000Z K 7 svn:log V 1261 Fix remainder() and remainderf() in round-towards-minus-infinity mode when the result is +-0. IEEE754 requires (in all rounding modes) that if the result is +-0 then its sign is the same as that of the first arg, but in round-towards-minus-infinity mode an uncorrected implementation detail always reversed the sign. (The detail is that x-x with x's sign positive gives -0 in this mode only, but the algorithm assumed that x-x always has positive sign for such x.) remquo() and remquof() seem to need the same fix, but I cannot test them yet. Use long doubles when mixing NaN args. This trick improves consistency of results on at least amd64, so that more serious problems like the above aren't hidden in simple regression tests by noise for the NaNs. On amd64, hardware remainder should be used since it is about 10 times faster than software remainder and is already used for remquo(), but it involves using the i387 even for floats and doubles, and the i387 does NaN mixing which is better than but inconsistent with SSE NaN mixing. Software remainder() would probably have been inconsistent with software remainderl() for the same reason if the latter existed. Signaling NaNs cause further inconsistencies on at least ia64 and i386. Use __FBSDID(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-02-12T18:14:46.000000Z K 7 svn:log V 226 Add PIC support for IPIs. When registering an interrupt handler, the PIC also informs the platform at which IRQ level it can start assigning IPIs, since this can depend on the number of IRQs supported for external interrupts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T19:14:01.000000Z K 7 svn:log V 36 MFC: Use cpu_spinwait() in DELAY(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T19:15:21.000000Z K 7 svn:log V 59 MFC: Use pause(9) instead of tsleep() on a stack variable. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T19:16:53.000000Z K 7 svn:log V 47 MFC: Remove a conditional that is always true. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T19:20:10.000000Z K 7 svn:log V 112 MFC: Properly handle ACPI table headers that cross a page boundary when looking for the MADT during early boot. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T19:23:37.000000Z K 7 svn:log V 65 MFC: Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsing UUIDs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-02-12T19:38:39.000000Z K 7 svn:log V 40 There's no need to suppress option GDB. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-02-12T20:09:04.000000Z K 7 svn:log V 108 Change readlink(2)'s return type and type of the last argument to match POSIX. Prodded by: Alexey Lyashkov END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-02-12T20:11:54.000000Z K 7 svn:log V 28 Regenerate for readlink(2). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T20:19:34.000000Z K 7 svn:log V 52 MFC: Add a note pointing to build(7) for more info. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T20:21:35.000000Z K 7 svn:log V 48 MFC: Relax the check for a PCI-express chipset. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T20:22:29.000000Z K 7 svn:log V 36 MFC: Use cpu_spinwait() in DELAY(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-12T20:27:33.000000Z K 7 svn:log V 22 MFC: Add ZFS support. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-02-12T20:55:03.000000Z K 7 svn:log V 623 Make sure we restrict Linux only IPC calls from being executed through the FreeBSD ABI. IPC_INFO, SHM_INFO, SHM_STAT were added specifically for Linux binary support. They are not documented as being a part of the FreeBSD ABI, also, the structures necessary for them have been hidden away from the users for a long time. Also, the Linux ABI layer uses it's own structures to populate the responses back to the user to ensure that the ABI is consistent. I think there is a bit more separation work that needs to happen. Reviewed by: jhb Discussed with: jhb Discussed on: freebsd-arch@ (very briefly) MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-02-12T20:55:51.000000Z K 7 svn:log V 35 Remove SMP left-overs from NetBSD. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-02-12T22:27:27.000000Z K 7 svn:log V 144 MFC revisions 1.232 and 1.236: Remove DIAG code that discards oversized packets. There has been general consensus that this was a bad idea END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T00:04:58.000000Z K 7 svn:log V 257 Consolidate the code to generate a new XID for a NFS request into a nfs_xid_gen() function instead of duplicating the logic in both nfsm_rpchead() and the NFS3ERR_JUKEBOX handling in nfs_request(). MFC after: 1 week Submitted by: mohans (a long while ago) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-02-13T05:12:05.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-02-13T05:25:43.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T06:01:48.000000Z K 7 svn:log V 123 Use hardware remainder on amd64 since it is 5 to 10 times faster than software remainder and is already used for remquo(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-13T08:09:55.000000Z K 7 svn:log V 221 - mention new firmware images used in multi-slice mode - mention LRO support - describe multi-slice related tunables. - correct DIAGNOSTICS section to reflect that missing firmware is non-fatal. Submitted by: gallatin END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T08:36:13.000000Z K 7 svn:log V 686 Rearrange the polynomial evaluation for better parallelism. This is faster on all machines tested (old Celeron (P2), A64 (amd64 and i386) and ia64) except on ia64 when compiled with -O1. It takes 2 more multiplications, so it will be slower on old machines. The speedup is about 8 cycles = 17% on A64 (amd64 and i386) with best CFLAGS and some parallelism in the caller. Move the evaluation of 2**k up a bit so that it doesn't compete too much with the new polynomial evaluation. Unlike the previous optimization, this rearrangement cannot change the result, so compilers and CPU schedulers can do it, but they don't do it quite right yet. This saves a whole 1 or 2 cycles on A64. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-13T09:50:37.000000Z K 7 svn:log V 85 Remove dublicate MLINK. Submitted by: David Naylor END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T10:44:44.000000Z K 7 svn:log V 850 Fix exp2*(x) on signaling NaNs by returning x+x as usual. This has the side effect of confusing gcc-4.2.1's optimizer into more often doing the right thing. When it does the wrong thing here, it seems to be mainly making too many copies of x with dependency chains. This effect is tiny on amd64, but in some cases on i386 it is enormous. E.g., on i386 (A64) with -O1, the current version of exp2() should take about 50 cycles, but took 83 cycles before this change and 66 cycles after this change. exp2f() with -O1 only speeded up from 51 to 47 cycles. (exp2f() should take about 40 cycles, on an Athlon in either i386 or amd64 mode, and now takes 42 on amd64). exp2l() with -O1 slowed down from 155 cycles to 123 for some args; this is unimportant since the i386 exp2l() is a fake; the wrong thing for it seems to involve branch misprediction. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-02-13T13:02:12.000000Z K 7 svn:log V 301 Fix a lock leak in the ntfs locking scheme: When ntfs_ntput() reaches 0 in the refcount the inode lockmgr is not released and directly destroyed. Fix this by unlocking the lockmgr() even in the case of zero-refcount. Reported by: dougb, yar, Scot Hetzel Submitted by: yar END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-13T13:06:22.000000Z K 7 svn:log V 753 Rather than having the Coda module use its own namecache, use the global VFS namecache, as is done by the Coda module on Linux. Unlike the Coda namecache, the global VFS namecache isn't tagged by credential, so use ore conservative flushing behavior (for now) when CODA_PURGEUSER is issued by Venus. This improves overall integration with the FreeBSD VFS, including allowing __getcwd() to work better, procfs/procstat monitoring, and so on. This improves shell behavior in many cases, and improves ".." handling. It may lead to some slowdown until we've implemented a specific access cache, which should net improve performance, but in the mean time, lookup access control now always goes to Venus, whereas previously it didn't. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-13T13:26:01.000000Z K 7 svn:log V 54 Remove now-unused Coda namecache. MFC after: 1 month END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-13T14:34:39.000000Z K 7 svn:log V 193 - Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove the one links to curs_terminfo. Submitted by: David Naylor MFC after: 3 days END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T15:22:53.000000Z K 7 svn:log V 107 Fix the C version of ceill(x) for -1 < x <= -0 in all rounding modes. The result should be -0, but was +0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T15:23:31.000000Z K 7 svn:log V 134 MFC 1.108 and 1.109: Sync filesystem types with NetBSD and add a type for ZFS. This should fix the build of gpt(8). Pointy hat: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-13T15:45:12.000000Z K 7 svn:log V 1354 Implement a rudimentary access cache for the Coda kernel module, modeled on the access cache found in NFS, smbfs, and the Linux coda module. This is a positive access cache of a single entry per file, tracking recently granted rights, but unlike NFS and smbfs, supporting explicit invalidation by the distributed file system. For each cnode, maintain a C_ACCCACHE flag indicating the validity of the cache, and a cached uid and mode tracking recently granted positive access control decisions. Prefer the cache to venus_access() in VOP_ACCESS() if it is valid, and when we must fall back to venus_access(), update the cache. Allow Venus to clear the access cache, either the whole cache on CODA_FLUSH, or just entries for a specific uid on CODA_PURGEUSER. Unlike the Coda module on Linux, we don't flush all entries on a user purge using a generation number, we instead walk present cnodes and clear only entries for the specific user, meaning it is somewhat more expensive but won't hit all users. Since the Coda module is agressive about not keeping around unopened cnodes, the utility of the cache is somewhat limited for files, but works will for directories. We should make Coda less agressive about GCing cnodes in VOP_INACTIVE() in order to improve the effectiveness of in-kernel caching of attributes and access rights. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T15:46:10.000000Z K 7 svn:log V 58 Add missing #include for cpu_spinwait(). Pointy hat: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-13T16:15:47.000000Z K 7 svn:log V 112 Remove coda_namecache from "options vcoda", it is no longer required. MFC after: 1 month Spotted by: Tinderbox END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-13T16:31:04.000000Z K 7 svn:log V 159 Remove coda_namecache from coda5 as well. We should probably GC coda5 entirely at this point as coda6 is considered the supported branch. MFC after: 1 month END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-13T16:41:26.000000Z K 7 svn:log V 252 MFC rev 1.264 init_main.c The VERBOSE_SYSINIT stuff sees the DDB define a lot better if we include opt_ddb.h. Spotted by: benno Pointy hat to: benno Approved by: imp (mentor) PR: kern/119288 Submitted by: "Dan Lukes" END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T16:56:52.000000Z K 7 svn:log V 313 On arches where long double is the same as double, alias ceil(), floor() and trunc() to the corresponding long double functions. This is not just an optimization for these arches. The full long double functions have a wrong value for `huge', and the arches without full long doubles depended on it being wrong. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T16:57:58.000000Z K 7 svn:log V 228 Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on the 'rt' route in rtredirect() as 'rt' is always locked. MFC after: 1 week PR: kern/117913 Submitted by: Stefan Lambrev stefan.lambrev of moneybookers.com END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T17:38:16.000000Z K 7 svn:log V 32 s_ceill.c s_floorl.c s_truncl.c END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-13T18:16:43.000000Z K 7 svn:log V 480 Forced commit to note that the lost log message for the previous commit said that the previous commit was almost a null forced commit too. It just converted to __FBSDID(). I was going to change `huge' from its double precision value of 1e300, but that seems to be unnecessary since `huge' is only used to set FE_INEXACT, and any value with an exponent larger than LDBL_MANT_DIG will do for that, while initializing a really huge value in a portable way would require more code. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-13T18:32:44.000000Z K 7 svn:log V 124 The hptrr driver first appeared in 6.3, not 5.3. PR: 120616 Submitted by: Josh Paetzel MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-13T19:50:17.000000Z K 7 svn:log V 377 Update cache flushing behavior in light of recent namecache and access cache improvements: - Flush just access control state on CODA_PURGEUSER, not the full namecache for /coda. - When replacing a fid on a cnode as a result of, e.g., reintegration after offline operation, we no longer need to purge the namecache entries associated with its vnode. MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-02-13T20:44:19.000000Z K 7 svn:log V 1653 - Add real assertions to lockmgr locking primitives. A couple of notes for this: * WITNESS support, when enabled, is only used for shared locks in order to avoid problems with the "disowned" locks * KA_HELD and KA_UNHELD only exists in the lockmgr namespace in order to assert for a generic thread (not curthread) owning or not the lock. Really, this kind of check is bogus but it seems very widespread in the consumers code. So, for the moment, we cater this untrusted behaviour, until the consumers are not fixed and the options could be removed (hopefully during 8.0-CURRENT lifecycle) * Implementing KA_HELD and KA_UNHELD (not surported natively by WITNESS) made necessary the introduction of LA_MASKASSERT which specifies the range for default lock assertion flags * About other aspects, lockmgr_assert() follows exactly what other locking primitives offer about this operation. - Build real assertions for buffer cache locks on the top of lockmgr_assert(). They can be used with the BUF_ASSERT_*(bp) paradigm. - Add checks at lock destruction time and use a cookie for verifying lock integrity at any operation. - Redefine BUF_LOCKFREE() in order to not use a direct assert but let it rely on the aforementioned destruction time check. KPI results evidently broken, so __FreeBSD_version bumping and manpage update result necessary and will be committed soon. Side note: lockmgr_assert() will be used soon in order to implement real assertions in the vnode namespace replacing the legacy and still bogus "VOP_ISLOCKED()" way. Tested by: kris (earlier version) Reviewed by: jhb END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-02-13T20:46:23.000000Z K 7 svn:log V 208 Improve conformance to the HTTP specification by using case-insensitive comparisons for header keywords. Apparently some proxies use creative capitalization. Weird proxy found by: brooks MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-02-13T20:59:28.000000Z K 7 svn:log V 128 Bump __FreeBSD_version after the introduction of: - lockmgr_assert() - BUF_ASSERT_*() family functions which enriched the KPI. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T21:34:06.000000Z K 7 svn:log V 552 Add an automatic kernel module version dependency to prevent loading modules using invalid ABI versions (e.g. a 7.x module with an 8.x kernel) for a given kernel: - Add a 'kernel' module version whose value is __FreeBSD_version. - Add a version dependency on 'kernel' in every module that has an acceptable version range of __FreeBSD_version up to the end of the branch __FreeBSD_version is part of. E.g. a module compiled on 701000 would work on kernels with versions between 701000 and 799999 inclusive. Discussed on: arch@ MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-02-13T21:54:16.000000Z K 7 svn:log V 50 Update manpage with lockmgr_assert() description. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-02-13T21:58:46.000000Z K 7 svn:log V 80 Make the type of the firmware arrays match those in the other eth*_z8e.h files. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-02-13T21:58:47.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-02-13T21:58:48.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_7'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T23:33:50.000000Z K 7 svn:log V 117 Add a couple of assertions and KTR logging to thread_lock_flags() to match mtx_lock_spin_flags(). MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T23:36:56.000000Z K 7 svn:log V 199 Mark sleepqueue chain spin mutexes are recursable since the sleepq code now recurses on them in sleepq_broadcast() and sleepq_signal() when resuming threads that are fully asleep. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T23:38:08.000000Z K 7 svn:log V 115 Mark the syscons video spin mutex as recursable since it is currently recursed in a few places. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-13T23:39:05.000000Z K 7 svn:log V 155 Add KASSERT()'s to catch attempts to recurse on spin mutexes that aren't marked recursable either via mtx_lock_spin() or thread_lock(). MFC after: 1 week END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-02-14T00:09:59.000000Z K 7 svn:log V 103 Add minimally invasive shims to ease MFCs of mxge back as far as RELENG_6 Sponsored by: Myricom, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-14T00:30:06.000000Z K 7 svn:log V 194 In Coda, flush the attribute cache for a cnode when its fid is changed, as its synthesized inode number may have changed and we want stat(2) to pick up the new inode number. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-14T00:55:03.000000Z K 7 svn:log V 125 Remove debugging code under OLD_DIAGNOSTIC; this is all >10 years old and hasn't been used in that time. MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-02-14T01:10:48.000000Z K 7 svn:log V 1187 Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. o Removed unneeded jlist lock which was used to manage jumbo buffers. o Don't reinitialize hardware if MTU was not changed. o Added additional check for minimal MTU size. o Added a new tunable hw.skc.jumbo_disable to disable jumbo frame support for the driver. The tunable could be set for systems that do not need to use jumbo frames and it would save (9K * number of Rx descriptors) bytes kernel memory. o Jumbo buffer allocation failure is no longer critical error for the operation of sk(4). If sk(4) encounter the allocation failure it just disables jumbo frame support and continues to work without user intervention. With these changes jumbo frame performance of sk(4) was slightly increased and users should not encounter jumbo buffer allocation failure. Previously sk(4) tried to allocate physically contiguous memory, 3388KB for 256 Rx descriptors. Sometimes that amount of contiguous memory region could not be available for running systems which in turn resulted in failure of loading the driver. Tested by: Cy Schubert < Cy.Schubert () komquats dot com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-02-14T01:25:01.000000Z K 7 svn:log V 45 Prefer NULL over integer 0 for pointer type. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-14T09:42:24.000000Z K 7 svn:log V 2386 Use the expression (x+0.0)-(y+0.0) instead of x+y when mixing NaN arg(s). This uses 2 tricks to improve consistency so that more serious problems aren't hidden in simple regression tests by noise for the NaNs: - for a signaling NaN, adding 0.0 generates the invalid exception and converts to a quiet NaN, and doesn't have too many effects for other types of args (it converts -0 to +0 in some rounding modes, but that hopefully doesn't change the result after adding the NaN arg). This avoids some inconsistencies on i386 and ia64. On these arches, the result of an operation on 2 NaNs is apparently the largest or the smallest of the NaNs as bits (consistently largest or smallest for each arch, but the opposite). I forget which way the comparison goes and if the sign bit affects it. The quiet bit is is handled poorly by not always setting it before the comparision or ignoring it. Thus if one of the args was originally a signaling NaN and the other was originally a quiet NaN, then the result depends too much on whether the signaling NaN has been quieted at this point, which in turn depends on optimizations and promotions. E.g., passing float signaling NaNs to double functions must quiet them on conversion; on i387, loading a signaling NaN of type float or double (but not long double) into a register involves a conversion, so it quiets signaling NaNs, so if the addition has 2 register operands than it only sees quiet NaNs, but if the addition has a memory operand then it sees a signaling NaN iff it is in the memory operand. - subtraction instead of addition is used to avoid a dubious optimization in old versions of gcc. For SSE operations, mixing of NaNs apparently always gives the target operand. This is not as good as the i387 and ia64 behaviour. It doesn't mix NaNs at all, and makes addition not quite commutative. Old versions of gcc sometimes rewrite x+y to y+x and thus give different results (in bits) for NaNs. gcc-3.3.3 rewrites x+y to y+x for one of pow() and powf() but not the other, so starting from float NaN args x and y, powf(x, y) was almost always different from pow(x, y). These tricks won't give consistency of 2-arg float and double functions with long double ones on amd64, since long double ones use the i387 which has different semantics from SSE. Convert to __FBSDID(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-14T10:01:48.000000Z K 7 svn:log V 123 Document the hw.skc.jumbo_disable tunable. While here, correct some things in the SYSCTLS section. Submitted by: yongari END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-14T10:23:51.000000Z K 7 svn:log V 600 Fix the hi+lo decomposition for 2/(3ln2). The decomposition needs to be into 12+24 bits of precision for extra-precision multiplication, but was into 13+24 bits. On i386 with -O1 the bug was hidden by accidental extra precision, but on amd64, in 2^32 trials the bug caused about 200000 errors of more than 1 ulp, with a maximum error of about 80 ulps. Now the maximum error in 2^32 trials on amd64 is 0.8573 ulps. It is still 0.8316 ulps on i386 with -O1. The nearby decomposition of 1/ln2 and the decomposition of 2/(3ln2) in the double precision version seem to be sub-optimal but not broken. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-02-14T11:44:31.000000Z K 7 svn:log V 106 Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Submitted by: kib END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-02-14T11:45:41.000000Z K 7 svn:log V 115 Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Approved by: re (kensmith) END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-02-14T11:46:08.000000Z K 7 svn:log V 88 Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-02-14T11:47:39.000000Z K 7 svn:log V 112 Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Approved by: so (simon) END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-02-14T11:49:38.000000Z K 7 svn:log V 198 Fix sendfile(2) write-only file permission bypass. [08:03.sendfile] Fix IPsec null pointer dereference panic. [SA-08:04.ipsec] Security: FreeBSD-SA-08:03.sendfile Security: FreeBSD-SA-08:04.ipsec END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-02-14T11:50:28.000000Z K 7 svn:log V 222 Fix sendfile(2) write-only file permission bypass. [08:03.sendfile] Fix IPsec null pointer dereference panic. [SA-08:04.ipsec] Security: FreeBSD-SA-08:03.sendfile Security: FreeBSD-SA-08:04.ipsec Approved by: so (simon) END K 10 svn:author V 3 des K 8 svn:date V 27 2008-02-14T12:37:58.000000Z K 7 svn:log V 162 _pthread_mutex_isowned_np(): use a more reliable method; the current code will work in simple cases, but may fail in more complicated ones. Reviewed by: davidxu END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-14T12:56:35.000000Z K 7 svn:log V 247 Forced commit to note that the minus sign in the fancy expression (x+0.0)-(y+0.0) for mixing NaNs documented in a previous log message didn't actually get committed. Apparently, adding 0.0 uniformizes the order enough to give consistent results. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-14T13:44:03.000000Z K 7 svn:log V 1129 Use the expression fabs(x+0.0)+fabs(y+0.0) instad of a+b (where a is |x| or |y| and b is |y| or |x|) when mixing NaN arg(s). hypot*() had its own foot shooting for mixing NaNs -- it swaps the args so that |x| in bits is largest, but does this before quieting signaling NaNs, so on amd64 (where the result of adding NaNs depends on the order) it gets inconsistent results if setting the quiet bit makes a difference, just like a similar ia64 and i387 hardware comparison. The usual fix (see e_powf.c 1.13 for more details) of mixing using (a+0.0)+-(b+0.0) doesn't work on amd64 if the args are swapped (since the rder makes a difference with SSE). Fortunately, the original args are unchanged and don't need to be swapped when we let the hardware decide the mixing after quieting them, but we need to take their absolute value. hypotf() doesn't seem to have any real bugs masked by this non-bug. On amd64, its maximum error in 2^32 trials on amd64 is now 0.8422 ulps, and on i386 the maximum error is unchanged and about the same, except with certain CFLAGS it magically drops to 0.5 (perfect rounding). Convert to __FBSDID(). END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-14T14:12:13.000000Z K 7 svn:log V 291 MFC rev 1.153 nfs_srvsubs.c Use nfsrv_destroycache() only once, else it crashes the server. PR: kern/118152 Submitted by: Bjoern Groenvall Approved by: imp (mentor, a while ago already), jhb MFC After: 3 days Approved by: re (kensmith), imp (mentor, implicit) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-02-14T14:14:59.000000Z K 7 svn:log V 150 Don't attach to non Core CPUs. This is needed because on the PIII, querying the number of sensors returns > 0. PR: 120541 Approved by: njl (mentor) END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-14T15:10:34.000000Z K 7 svn:log V 133 Oops, the weak reference for ceill(), floorl() and truncl() was in the wrong file. This broke arm and powerpc. Reported by: grehan END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-02-14T16:24:14.000000Z K 7 svn:log V 337 Now that mxge supports MSI-X interrupts, reverse the logic and flag legacy interrupts rather than MSI as a special case. Prior to this commit, the interrupt handler was doing the slow handshaking with the device to ensure the legacy interrupt was lowered in both the legacy and MSI-X case. This handshaking was not required for MSI-X. END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2008-02-14T17:01:32.000000Z K 7 svn:log V 314 MFC: share/man/man4/ciss.4:1.15, sys/dev/ciss/ciss.c:1.87 Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for NOP-message polling in ciss_periodic(). Note that setting the tunable to non-zero can be workaround only for `ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o the problem. END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-02-14T17:04:31.000000Z K 7 svn:log V 838 In the new order of things dictated by nmount(2), a read-only mount is to be requested via a "ro" option. At the same time, MNT_RDONLY is gradually becoming an indicator of the current state of the FS instead of a command flag. Today passing MNT_RDONLY alone to the kernel's mount machinery will lead to various glitches. (See the PRs for examples.) Therefore mount the root FS with a "ro" option instead of the MNT_RDONLY flag. (Note that MNT_RDONLY still is added to the mount flags internally, by vfs_donmount(), if "ro" was specified.) To be able to pass "ro" cleanly to kernel_vmount(), teach the latter function to accept options with NULL values. Also correct the comment explaining how mount_arg() handles length of -1. PR: bin/106636 kern/120319 Submitted by: Jaakko Heinonen (originally) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-02-14T18:33:50.000000Z K 7 svn:log V 77 MFC: Merge the MSI-X, "multi-slice" version of the mxge driver and firmware. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-02-14T18:41:00.000000Z K 7 svn:log V 125 MFC: sys/amd64/linux32/linux32_machdep.c 1.46 sys/i386/linux/linux_machdep.c 1.80 Fix Linux mmap with MAP_GROWSDOWN flag. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-02-14T18:46:50.000000Z K 7 svn:log V 244 On Montecito processors, the instruction cache is in fact not coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Commit made on Montecito-based Itanium... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-02-14T19:15:46.000000Z K 7 svn:log V 286 Insta MFC: machdep.c:1.230, pmap.c:1.197 On Montecito processors, the instruction cache is in fact not coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Commit made on Montecito-based Itanium... END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-14T19:39:09.000000Z K 7 svn:log V 43 Some language and mdoc style improvements. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-14T20:01:52.000000Z K 7 svn:log V 438 Make netstat -rn more resilient to having the routing table change out from under it while running. Note that this is still not perfect: - Try to do something intelligent if kvm_read() fails to read a routing table structure such as an rtentry, radix_node, or ifnet. - Don't follow left and right node pointers in radix_nodes unless RNF_ACTIVE is set in rn_flags. This avoids walking through freed radix_nodes. MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-02-14T20:12:23.000000Z K 7 svn:log V 290 No network addresses in the system isn't a good excuse for rpcbind(8) to crash. The crash was due to a boolean variable initialized improperly. Besides fixing the initialization, pick a better name for the variable so that its meaning is clear and no more coding errors appear around it. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-02-14T20:13:14.000000Z K 7 svn:log V 76 MFC: Merge the MSI-X, "multi-slice" version of the mxge driver and firmware END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-14T20:20:06.000000Z K 7 svn:log V 82 MFC: rev. 1.26 Add missing \n. Approved by: rwatson (mentor), aradford@amcc.com END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-14T20:52:03.000000Z K 7 svn:log V 93 MFC: rev. 1.26 Add missing \n. Approved by: re (bmah), rwatson (mentor), aradford@amcc.com END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-14T20:57:38.000000Z K 7 svn:log V 428 Add open_to_operation, a security regression test that opens files with various open flags and then tests various operations to make sure that they are properly constrained by open flags. Various I/O mechansms are tried, including aio if compiled into the kernel or loaded as a module. There's more to be done here but it's a useful start, running about 220 individual tests. This is in support of FreeBSD-SA-08:03.sendfile. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-02-14T21:24:43.000000Z K 7 svn:log V 108 MFC: 1.87 Change another argument and a variable both related to netname() to be also 32-bit on all archs. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-14T21:45:41.000000Z K 7 svn:log V 604 MFC rev 1.20 to 1.23 access.2 v1.23 After issueing a ntpdate [1] I noticed it's already 2008, reflect that in the last modified date. Noticed by: brueffer [1] v1.22 Fix typo (s/existance/existence/) Noticed by: ceri v1.21 Fix some style nits. Prodded by: brueffer MFC After: 3 days v1.20 Make the warning a bit less 'broad' then it used to be. The access is seems to be a problem for SUID applications, which we like to prevent as much as possible. PR: docs/39530 Submitted by: Soren Spies MFC After: 3 days Approved by: re (bmah) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-14T21:46:19.000000Z K 7 svn:log V 417 MFC rev 1.69 to 1.70 bsdlabel.8 v1.70 Remove redundant whitespace. Noticed by: brueffer v1.69 Attempt to describe the ''auto'' type a bit better in the default section (if nothing had been specified, or if the auto type had been specified, a default layout is used). PR: docs/116047 Submitted by: Ian Smith Minor modifications by me. Approved by: re (bmah) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-14T21:47:49.000000Z K 7 svn:log V 466 MFC rev 1.9 to 1.11 nve.4 v1.11 Language nit. v1.10 There is no list to stop, so dont use .El. Noticed by: brueffer v1.9 Add 1000baseTX support for the nve driver, which is known here and there. Also mention that the driver sometimes returns '10baseTX' as output instead of 100baseTX (which is the case at that moment). PR: docs/115284 Submitted by: Julian Stacey Jhs MFC After: 3 days Approved by: re (bmah) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-14T21:48:24.000000Z K 7 svn:log V 249 MFC revs 1.17 to 1.18 timed.8 v1.18 Typo fix. Spotted by: brueffer v1.17 Enhance descriptions in the timed manual. PR: docs/115445 Submitted by: "Julian Stacey" MFC After: 3 days Approved by: re (bmah) END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-02-14T21:48:53.000000Z K 7 svn:log V 261 MFC rev 1.22 hosts.equiv.5 v1.22 Improve readability for the hosts.equiv file regarding the notation of hostnames. PR: docs/35953 Submitted by: "Gary W. Swearingen" With minor modifications by me. Approved by: re (bmah) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-02-14T21:52:38.000000Z K 7 svn:log V 146 MFC: netstat.h 1.53; route.c 1.86, 1.87 Fix netname() (though for RELENG_6 more or less cosmetic only) and routename() on big-endian LP64 archs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-02-14T22:51:52.000000Z K 7 svn:log V 279 MFC: machdep.c:1.230, pmap.c:1.197 On Montecito processors, the instruction cache is in fact not coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Approved by: re (kensmith - big thanks!) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-02-15T05:29:18.000000Z K 7 svn:log V 152 MFC: - sys/dev/usb/usbdevs (revision 1.337) - sys/dev/usb/if_rum.c (revision 1.16) Add the SparkLAN RT2573, found in HP s3200n Obtained from: OpenBSD END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-02-15T06:26:25.000000Z K 7 svn:log V 141 Teach the dump and minidump code to respect the maxioszie attribute of the disk; the hard-coded assumption of 64K doesn't work in all cases. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-02-15T07:01:40.000000Z K 7 svn:log V 171 Sigh, the weak reference for ceill(), floorl() and truncl() was in unreachable code due to a missing include. This kept arm and powerpc broken. Reported by: sam, grehan END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-15T10:29:40.000000Z K 7 svn:log V 41 MFC: rev. 1.325 Remove dublicate MLINK. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-15T11:58:11.000000Z K 7 svn:log V 102 Reorder and clean up make_coda_node(), annotate weaknesses in the implementation. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-15T12:11:45.000000Z K 7 svn:log V 45 Spell replys as replies. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-15T13:31:35.000000Z K 7 svn:log V 517 The possibly interruptible msleep in coda_call() means well, but is fundamentally fairly confused about how signals work and when it is appropriate for upcalls to be interrupted. In particular, we should be exempting certain upcalls from interruption, we should not always eventually time out sleeping on a upcall, and we should not be interrupting the sleep for certain signals that we currently are (including SIGINFO). This code needs to be reworked in the style of NFS interruptible mounts. MFC after: 1 month END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2008-02-15T13:55:23.000000Z K 7 svn:log V 342 MFC: share/man/man4/ciss.4:1.15, sys/dev/ciss/ciss.c:1.87 Add `hw.ciss.nop_message_heartbeat' tunable (default disabled) for NOP-message polling in ciss_periodic(). Note that setting the tunable to non-zero can be workaround only for `ADAPTER HEARTBEAT FAILED' problem, and may freeze the system w/o the problem. Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-15T15:19:26.000000Z K 7 svn:log V 65 MFC: rev. 1.325 Remove dublicate MLINK. Approved by: re (bmah) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-02-15T16:15:10.000000Z K 7 svn:log V 78 MFC revision 1.13: Use case-insensitive comparisons for HTTP header keywords. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-02-15T16:16:21.000000Z K 7 svn:log V 73 MFC rev.1.13: Use case-insensitive comparisons for HTTP header keywords. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-02-15T16:17:28.000000Z K 7 svn:log V 101 MFC rev.1.13: Use case-insensitive comparisons for HTTP header keywords. Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-02-15T16:43:03.000000Z K 7 svn:log V 50 MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-15T16:57:22.000000Z K 7 svn:log V 276 MFC: Fix some bugs in dealing with DCMD's without data. MegaCli was sending down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-02-15T17:05:39.000000Z K 7 svn:log V 50 MFC: Fix a typo when testing for the NO_C3 quirk. END K 10 svn:author V 4 olli K 8 svn:date V 27 2008-02-15T18:40:45.000000Z K 7 svn:log V 74 Add myself and the mentorship relation of des. Approved by: des (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-15T20:26:17.000000Z K 7 svn:log V 131 Add privilege PRIV_NNPFS_DEBUG for use with Arla/nnpfs. This privilege will authorize debugging system calls. MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-02-15T21:04:36.000000Z K 7 svn:log V 467 - Introduce lockmgr_args() in the lockmgr space. This function performs the same operation of lockmgr() but accepting a custom wmesg, prio and timo for the particular lock instance, overriding default values lkp->lk_wmesg, lkp->lk_prio and lkp->lk_timo. - Use lockmgr_args() in order to implement BUF_TIMELOCK() - Cleanup BUF_LOCK() - Remove LK_INTERNAL as it is nomore used in the lockmgr namespace Tested by: Andrea Barberio END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-02-15T21:08:18.000000Z K 7 svn:log V 98 Bump __FreeBSD_version in order to signal introduction of lockmgr_args() and LK_INTERNAL removal. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-02-15T21:19:15.000000Z K 7 svn:log V 315 - Make Disk_Names() behave as documented in libdisk(3): return an array of disk names, where you must free each pointer, as well as the array by hand. [1] - Destaticize "disks" in Disk_Names, it has no reasons to be static. PR: kern/96077 [1] PR: kern/114110 [1] MFC after: 1 month Approved by: rwatson (mentor) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-02-15T21:54:21.000000Z K 7 svn:log V 196 Remove a superfluous line in run_interrupt_driven_config_hooks(), next_entry is already initialized during TAILQ_FOREACH_SAFE(). PR: kern/119604 Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-02-15T23:56:33.000000Z K 7 svn:log V 86 - fix typo Submitted by: Constantine A. Murenin MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-02-16T00:16:49.000000Z K 7 svn:log V 268 Allow underscore in domain names while resolving. While having underscore is a violation of RFC 1034 [STD 13], it is accepted by certain name servers as well as other popular operating systems' resolver library. Bugs are mine. Obtained from: ume MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-02-16T02:00:25.000000Z K 7 svn:log V 227 Skip validation of the C3 state if we disabled C3 by software (i.e., via quirk). Submitted by: Andriy Gapon Reviewed by: njl (mentor) Approved by: njl (mentor) Requested by: njl (mentor) MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-02-16T02:09:05.000000Z K 7 svn:log V 259 Allow the user to override the current active cooling state if state is currently TZ_ACTIVE_NONE. Submitted by: Andriy Gapon Reviewed by: njl (mentor) Approved by: njl (mentor) Requested by: njl (mentor) MFC after: 3 days END K 10 svn:author V 5 rafan K 8 svn:date V 27 2008-02-16T05:36:22.000000Z K 7 svn:log V 191 MFC rev 1.96 - Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove the one links to curs_terminfo. Submitted by: David Naylor END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-02-16T07:15:34.000000Z K 7 svn:log V 206 Create a thread to handle passive cooling for 1st zone which has _PSV, _TSP, _TC1 and _TC2. Contirmed by: "Alexandre \"Sunny\" Kovalenko" Reviewed by: njl MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-02-16T09:00:02.000000Z K 7 svn:log V 64 MFC: rev. 1.3 The hptrr driver first appeared in 6.3, not 5.3. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-16T11:59:23.000000Z K 7 svn:log V 288 Merge priv.h:1.16 from HEAD to RELENG_7: date: 2007/10/21 22:50:11; author: rwatson; state: Exp; lines: +1 -0 Add PRIV_VFS_STAT privilege, which will allow overriding policy limits on the right to stat() a file, such as in mac_bsdextended. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-16T11:59:56.000000Z K 7 svn:log V 157 Merge priv.h:1.17 from HEAD to RELENG_7: Add a new privilage category for DDB(4), and add PRIV_DDB_CAPTURE to control access to the DDB capture buffer. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-02-16T12:02:30.000000Z K 7 svn:log V 281 Merge priv.h:1.19 from HEAD to RELENG_7: Add privilege PRIV_NNPFS_DEBUG for use with Arla/nnpfs. This privilege will authorize debugging system calls. (Slightly sooner than the 1 month MFC time I specified, but it's just a privilege definition, not a use of the privilege). END K 10 svn:author V 3 ume K 8 svn:date V 27 2008-02-16T12:45:26.000000Z K 7 svn:log V 193 MFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user overridable but is blocked on user_override mib. Not a few people want to use a passive cooling without their ACPI BIOS support. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-02-16T15:52:39.000000Z K 7 svn:log V 124 New release notes: AMD 6.1.5, awk 20071023, CVS 1.11.12, OpenPAM Hydrangea. Updated release notes: ncurses 5.6-20080209. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-02-16T15:56:43.000000Z K 7 svn:log V 136 MFC: AMD 6.1.5, awk 20071023, OpenPAM Hydrangea. Remove definition and use of &merged; marker...we don't use this on STABLE branches. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-02-16T16:03:48.000000Z K 7 svn:log V 229 New release notes: SA-08:03.sendfile, 700MB CDROM media for ISOs, rr232x(4) gone. Modified release notes: Added missing word to SA-08:02.libc note, mention SATA RAID in hptiop(4) note, FILE 4.23. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-02-16T16:08:04.000000Z K 7 svn:log V 25 MFC: SA-08:03.sendfile. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-02-16T16:09:43.000000Z K 7 svn:log V 54 MFC: SA-08:03.sendfile, SA-08:04.ipsec, tzdata2007k. END K 10 svn:author V 6 markus K 8 svn:date V 27 2008-02-16T16:21:17.000000Z K 7 svn:log V 208 MFC rev. 1.50: Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 7.2.3, bytes 0-3 and 5-15 are used to calculate the checksum of a descriptor tag. Approved by: emax (mentor) END