ƒ³"177131 182 553 358 201 338 207 152 115 298 476 119 119 193 262 163 791 162 343 123 753 341 202 142 233 192 664 338 2148 260 190 817 111 185 112 197 253 332 287 213 199 327 160 315 416 216 377 1052 212 283 1556 515 1418 423 166 296 245 1035 448 293 216 183 294 390 279 122 612 199 130 105 1666 147 215 129 204 203 137 151 174 223 385 116 146 360 162 201 334 258 371 176 324 430 156 164 151 276 326 192 358 183 264 249 203 348 115 189 118 165 109 130 126 182 109 146 125 120 123 174 118 121 128 128 161 259 369 536 194 296 235 103 109 137 320 149 365 105 231 185 658 367 420 636 620 167 580 450 193 246 426 113 271 264 615 185 276 140 144 259 141 465 147 384 164 145 151 310 151 310 154 775 197 169 1214 180 202 361 162 162 157 162 133 171 257 126 K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-12T23:54:40.000000Z K 7 svn:log V 459 - When running a new command cause cpuset to operate on the per-thread mask by default rather than the setmask. This is consistent with the linux tool and more consistent with the notion that the default level is the process level. The cpuset mask can still be modified by specifying the -c option. You can not set the per-thread and cpuset mask in a single command. - Update the man page to reflect this change. Contributed by: gallatin END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-13T00:46:12.000000Z K 7 svn:log V 264 PR 117603 - Close a sleepqueue signal race by interlocking with the per-process spinlock. This was mistakenly omitted from the thread_lock patch and has been a race since. MFC After: 1 week PR: bin/117603 Reported by: Danny Braniss END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-13T01:53:28.000000Z K 7 svn:log V 104 In file sem_timewait.3, remove reference to SYSV semphore in SEE ALSO section, sync it with sem_wait.3. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2008-03-13T02:33:20.000000Z K 7 svn:log V 241 MFC rev. 1.26: stdio is currently limited to file descriptors not greater than {SHRT_MAX}, so {STREAM_MAX} should be no greater than that. (This does not exactly meet the letter of POSIX but comes reasonably close to it in spirit.) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-13T02:56:11.000000Z K 7 svn:log V 110 Add const qualifier to cpuset mask's pointer, since the cpuset mask should be not changed by the system call. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-13T07:50:48.000000Z K 7 svn:log V 56 MFC: Fix function prototype for device_shutdown method. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-13T09:52:48.000000Z K 7 svn:log V 23 Add missed parentheses END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-13T09:58:07.000000Z K 7 svn:log V 201 Merge Makefile.inc:1.129, kldunload.2:1.19 from HEAD to RELENG_7: Add reference to kldunloadf system call, which was previously not mentioned in the kldunload(2) man page. Spotted by: rink END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-13T10:09:12.000000Z K 7 svn:log V 384 MFC rev. 1.146 tcp_output.c Padding after EOL option must be zeros according to RFC793 but the NOPs used are 0x01. While we could simply pad with EOLs (which are 0x00), rather use an explicit 0x00 constant there to not confuse poeple with 'EOL padding'. Put in a comment saying just that. Early MFC requested by: silby because of more people reporting problems on net@ END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-13T10:25:30.000000Z K 7 svn:log V 28 Add missing section number. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-13T10:26:17.000000Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-13T10:29:35.000000Z K 7 svn:log V 97 Merge smb_conn.h:1.13 from HEAD to RELENG_7: Remove unused vc_tnode field from struct smb_vc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-13T10:30:06.000000Z K 7 svn:log V 165 Merge audit_worker.c:1.22 from HEAD to RELENG_7: Remove XXX to remind me to check the free space calculation, which to my eyes appears right following a check. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-13T10:33:24.000000Z K 7 svn:log V 72 Fix bugs in previous revision (missing comma, misspelled syscall name). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-13T10:54:38.000000Z K 7 svn:log V 698 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 ABI and the direction flag, that is it now assumes that the direction flag is cleared at the entry of a function and it doesn't clear once more if needed. This new behaviour conforms to the i386/amd64 ABI. Modify the signal handler frame setup code to clear the DF {e,r}flags bit on the amd64/i386 for the signal handlers. jhb@ noted that it might break old apps if they assumed DF == 1 would be preserved in the signal handlers, but that such apps should be rare and that older versions of gcc would not generate such apps. Submitted by: Aurelien Jarno PR: 121422 Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-03-13T13:53:20.000000Z K 7 svn:log V 69 MFC revision 1.25 -- Make sure we return EINVAL for invalid commands END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-03-13T14:08:41.000000Z K 7 svn:log V 247 Add the module dependency on the mem(4) module. This will fix the module failing to load on a kernel that has "nodevice mem" in the config. It will now properly bring in the mem(4) module. Submitted by: antoine Reviewed by: imp MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-13T15:15:38.000000Z K 7 svn:log V 26 MFC: rev. 1.5 Fix typos. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-03-13T15:28:17.000000Z K 7 svn:log V 655 MFC: dist.c v1.254, dist.h v1.72, menus.c v1.429, sysinstall.h v1.275 > Change sysinstall's handling of X11 stuff. Doing it in pieces was > probably the right thing to do a while ago but xorg has progressed > to the point that for novice users (who are the ones expected to think > installing X11 during an install...) it's best to just install the > whole x11/xorg metaport for them. This removes the X11 sub-menus > and sets it up so you just select whether or not you want X11. While > here garbage collect an X11 configuration menu I missed removing when > I removed support for attempting xorg configuration from inside sysinstall > a while ago. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-13T15:37:02.000000Z K 7 svn:log V 243 - Use an uppercase provider name in the example, to make the name change after labeling the provider more obvious. (1) - Correct nomenclature usage PR: 121487 (1) Submitted by: Anatoly Borodin MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-13T17:38:06.000000Z K 7 svn:log V 106 uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new" (2007/04/09) installation location. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-13T17:54:21.000000Z K 7 svn:log V 47 style(9) & style.Makefile(9) Reviewed by: raj END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-13T18:17:46.000000Z K 7 svn:log V 135 Add an include file from the removed XRPU driver. PR: 121654 Submitted by: pluknet Approved by: rwatson (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-13T18:52:46.000000Z K 7 svn:log V 97 Vim function to style(9). Issue ':call FreeBSD_Style()' while editing a file. Submitted by: scf END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-13T18:56:53.000000Z K 7 svn:log V 571 Use the SMAP data from the loader if it is provided instead of using virtual 86 mode to query the BIOS directly. This is needed for certain HP machines whose BIOS only provide an SMAP when invoked from real mode. On such machines the loader will be able to query the SMAP successfully due to the recent BTX changes, but the kernel will not. One thing I'm not sure of is if we can skip the INT 12h probe altogether if we have the SMAP from the loader as it seems that we do the INT 12h probe to setup enough state so we can use vm86 to call the BIOS. MFC after: 1 week END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-03-13T20:15:48.000000Z K 7 svn:log V 242 Replace the non-MPSAFE timeout(9) API in ffs_softdep.c with the MPSAFE callout_* API (e.g. callout_init_mtx(9)). This was one of the numerous items on the http://wiki.freebsd.org/SMPTODO list. Reviewed by: imp, obrien, jhb MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-13T20:39:04.000000Z K 7 svn:log V 2054 Rework how the nexus(4) device works on x86 to better handle the idea of different "platforms" on x86 machines. The existing code already handles having two platforms: ACPI and legacy. However, the existing approach was rather hardcoded and difficult to extend. These changes take the approach that each x86 hardware platform should provide its own nexus(4) driver (it can inherit most of its behavior from the default legacy nexus(4) driver) which is responsible for probing for the platform and performing appropriate platform-specific setup during attach (such as adding a platform-specific bus device). This does mean changing the x86 platform busses to no longer use an identify routine for probing, but to move that logic into their matching nexus(4) driver instead. - Make the default nexus(4) driver in nexus.c on i386 and amd64 handle the legacy platform. It's probe routine now returns BUS_PROBE_GENERIC so it can be overriden. - Expose a nexus_init_resources() routine which initializes the various resource managers so that subclassed nexus(4) drivers can invoke it from their attach routine. - The legacy nexus(4) driver explicitly adds a legacy0 device in its attach routine. - The ACPI driver no longer contains an new-bus identify method. Instead it exposes a public function (acpi_identify()) which is a probe routine that the MD nexus(4) drivers can use to probe for ACPI. All of the probe logic in acpi_probe() is now moved into acpi_identify() and acpi_probe() is just a stub. - On i386 and amd64, an ACPI-specific nexus(4) driver checks for ACPI via acpi_identify() and claims the nexus0 device if the probe succeeds. It then explicitly adds an acpi0 device in its attach routine. - The legacy(4) driver no longer knows anything about the acpi0 device. - On ia64 if acpi_identify() fails you basically end up with no devices. This matches the previous behavior where the old acpi_identify() would fail to add an acpi0 device again leaving you with no devices. Discussed with: imp Silence on: arch@ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-03-13T22:36:02.000000Z K 7 svn:log V 165 Add projects-all collection to cvs-supfile PR: misc/121680 Submitted by: "Philip M. Gollucci" Approved by: grog@ (mentor) MFC after: 1 week END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2008-03-14T02:57:46.000000Z K 7 svn:log V 96 MFC: In est_acpi_info(), initialize count before passing its pointer to CPUFREQ_DRV_SETTINGS(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-14T03:44:42.000000Z K 7 svn:log V 724 Fix a silly bogon which prevented all the CPUs that are tagged as interrupt receivers from being given interrupts if any CPUs in the system were not tagged as interrupt receivers that I introduced when switching the x86 interrupt code to track CPUs via FreeBSD CPU IDs rather than local APIC IDs. In practice this only affects systems with Hyperthreading (though disabling HTT in the BIOS would workaround the issue) as that is the only case currently where one can have CPUs that aren't tagged as interrupt receivers. On a Dell SC1425 test box with 2 x Xeon w/ HTT (so 4 logical CPUs of which 2 were interrupt receivers) the result was that all device interrupts were sent to CPU 0. MFC after: 1 week Pointy hat to: jhb END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-03-14T06:16:18.000000Z K 7 svn:log V 16 Correct a typo. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-03-14T06:22:03.000000Z K 7 svn:log V 90 - Document Pentium and Pentium MMX events. - Update (c) years and the manual page's date. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-03-14T09:00:04.000000Z K 7 svn:log V 19 Add stub for pc98. END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-03-14T09:41:46.000000Z K 7 svn:log V 103 Fix showing nat rules. Bug spotted by: Gael Roualland PR: bin/121683 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-14T11:09:11.000000Z K 7 svn:log V 161 Replace the function name in two identical printfs by __func__, __LINE__ so we can distinguish them when people report a problem. PR: 121373 MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-14T11:44:30.000000Z K 7 svn:log V 240 #if 0 out a currently unsued (and incomplete) function: ip6_ipsec_mtu(). No need to compile 'dead' code. I am leaving it in because we will have to review the concept and should use the common function in various places. MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-14T11:55:04.000000Z K 7 svn:log V 195 Correct reference counting on the SP for outgoing IPv6 IPsec connections. PR: 121374 Reported by: Cyrus Rahman (crahman gmail.com) Tested by: Cyrus Rahman (crahman gmail.com) MFC after: 5 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-14T13:13:37.000000Z K 7 svn:log V 116 Add stack_print_ddb() to the synposis of stack(9), add mlink for it; fix stack_print(9) mlink. Spotted by: attilio END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-14T15:22:38.000000Z K 7 svn:log V 106 Make the function prototype for cpu_search() match the declaration so that this still compiles with gcc3. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-03-14T15:25:44.000000Z K 7 svn:log V 231 Honour mpsafe_vfs=0 in softdep_flush. This is basically a MFC of revision 1.206, except that Giant remains unconditionally acquired in the #ifdef QUOTA case here (as QUOTA-enabled UFS on RELENG_6 is not MPSAFE). Reviewed by: kib END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-14T15:59:30.000000Z K 7 svn:log V 67 Add a quirk to ignore ASUS LCM display found on some ASUS laptops. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-03-14T16:11:20.000000Z K 7 svn:log V 221 MFC: Add an option to register DUN (Dial-Up Networking) service on the same RFCOMM channel if needed. There is really no good reason to not to support this. AT-command exchange can be faked with chat script in ppp.conf. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-14T16:25:40.000000Z K 7 svn:log V 324 Remove the "Fast " from the "Fast IPsec: Initialized Security Association Processing." printf. People kept asking questions about this after the IPsec shuffle. This still is the Fast IPsec implementation so no worries that it would be any slower now. There are no functional changes. Discussed with: sam MFC after: 4 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-03-14T16:29:25.000000Z K 7 svn:log V 122 Update usage() - add new -D option. While I'm here, update copyright information and license formatting MFC after: 1 day END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-14T16:38:11.000000Z K 7 svn:log V 285 Correct IPsec behaviour with a 'use' level in SP but no SA available. In that case return an continue processing the packet without IPsec. PR: 121384 MFC after: 5 days Reported by: Cyrus Rahman (crahman gmail.com) Tested by: Cyrus Rahman (crahman gmail.com) [slightly older version] END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-14T17:12:40.000000Z K 7 svn:log V 955 Merge cnode.h:1.26, coda_psdev.c:1.44, coda_subr.c:1.36, coda_subr.h:1.12, coda_vnops.c:1.94, coda_vnops.h:1.24, coda_namecache.c:1.26, coda_namecache.h:1.15, Makefile:1.18, from HEAD to RELENG_7: 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. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-14T17:14:42.000000Z K 7 svn:log V 115 Merge files:1.1268 from HEAD to RELENG_7: Remove coda_namecache from "options vcoda", it is no longer required. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-14T17:15:12.000000Z K 7 svn:log V 186 Merge Makefile:1.9 from HEAD to RELENG_7: Remove coda_namecache from coda5 as well. We should probably GC coda5 entirely at this point as coda6 is considered the supported branch. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-14T17:17:00.000000Z K 7 svn:log V 1458 Merge cnode.h:1.27, coda_subr.c:1.37, coda_vnops.c:1.95 from HEAD to RELENG_7: 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. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-14T17:17:49.000000Z K 7 svn:log V 418 Merge coda_subr.c:1.38 from HEAD to RELENG_7: 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. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-14T19:41:48.000000Z K 7 svn:log V 1324 Add preliminary support for binding interrupts to CPUs: - Add a new intr_event method ie_assign_cpu() that is invoked when the MI code wishes to bind an interrupt source to an individual CPU. The MD code may reject the binding with an error. If an assign_cpu function is not provided, then the kernel assumes the platform does not support binding interrupts to CPUs and fails all requests to do so. - Bind ithreads to CPUs on their next execution loop once an interrupt event is bound to a CPU. Only shared ithreads are bound. We currently leave private ithreads for drivers using filters + ithreads in the INTR_FILTER case unbound. - A new intr_event_bind() routine is used to bind an interrupt event to a CPU. - Implement binding on amd64 and i386 by way of the existing pic_assign_cpu PIC method. - For x86, provide a 'intr_bind(IRQ, cpu)' wrapper routine that looks up an interrupt source and binds its interrupt event to the specified CPU. MI code can currently (ab)use this by doing: intr_bind(rman_get_start(irq_res), cpu); however, I plan to add a truly MI interface (probably a bus_bind_intr(9)) where the implementation in the x86 nexus(4) driver would end up calling intr_bind() internally. Requested by: kmacy, gallatin, jeff Tested on: {amd64, i386} x {regular, INTR_FILTER} END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T20:32:20.000000Z K 7 svn:log V 325 A block in a tar file is 512 bytes. Period. Remove the entirely pointless symbolic constant and sizeof(unsigned char). (The constant here is doubly wrong, since not only does it obscure a basic format constant, it was never intended to be a tar-specific value, so could conceivably be changed at some point in the future.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T20:35:38.000000Z K 7 svn:log V 69 Support for writing 'compress' format, thanks to Joerg Sonnenberger. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-03-14T21:59:11.000000Z K 7 svn:log V 200 Change spelling and eliminate a typo in comments to reduce diffs with Adaptec's vendor driver. I have some fixes to bring in and this makes ongoing review of the FreeBSD-Adaptec driver diffs easier. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T22:00:09.000000Z K 7 svn:log V 147 Add a useful sprintf()-style wrapper around archive_string_vsprintf(). (Which is built on top of libarchive's internal resizable string support.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T22:19:50.000000Z K 7 svn:log V 937 Rework the versioning information, hopefully for the last time. * There are now only two public version identifiers: "number" is a single integer that combines Major/minor/release in a single value of the form Mmmmrrr. This is easy to compare against for checking feature support. "string" is a displayable text string of the form "libarchive M.mm.rr". * The number is present both as a macro (version of the installed header) and a function (version of the shared library). The string form is available only as a function. * Retain the older version definitions for now, but mark them all as deprecated, to disappear in libarchive 3.0 (whenever that happens). * Rework the various deprecation conditionals to use ARCHIVE_VERSION_NUMBER. An ancillary goal is to reduce the number of @...@ substitutions that are required. Someday, I might even be able to avoid build-time processing of archive.h entirely. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T22:31:57.000000Z K 7 svn:log V 350 Rework the versioning implementation and test to match the new interface. Mark the functions that are going away in libarchive 3.0. In particular, archive_version_string() now computes the string rather than assuming that it will be created by the build infrastructure. Eventually, this will allow some simplification of the build infrastructure. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T22:40:36.000000Z K 7 svn:log V 195 Let archive_entry_clear() accept a NULL pointer and simply do nothing. In particular, this allows archive_entry_free() to work correctly for a NULL pointer, which makes it parallel with free(3). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T22:44:07.000000Z K 7 svn:log V 118 Since "length" computes the length of a string and is used as an argument to malloc(3), it should be size_t, not int. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T22:47:38.000000Z K 7 svn:log V 86 Update some comments, comment out argument names to guard against namespace problems. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T23:00:53.000000Z K 7 svn:log V 196 New public functions archive_entry_copy_link() and archive_entry_copy_link_w() override the currently set link value, whether that's a hardlink or a symlink. Plus documentation update and tests. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T23:09:02.000000Z K 7 svn:log V 292 Don't advertise the default block size as a constant; don't rely on a deprecated value to set the default. This is also related to a longer-term goal of setting the default block size based on format and possibly other factors, which makes it a bad idea to tie this to a published constant. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-14T23:19:46.000000Z K 7 svn:log V 181 Don't lie. If a string can't be converted to a wide (Unicode) string, return a NULL instead of an incomplete string. Expand the test coverage to verify the correct behavior here. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T00:52:22.000000Z K 7 svn:log V 25 Ignore some built files. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-15T01:09:47.000000Z K 7 svn:log V 518 - Check device masks and bypass printing headers if capable device does not exist. /etc/rc.d/mixer tried to restore non-existent recording source because /var/var/db/mixer*-state contains '=rec' for example. - Remove hardcoded mixer2 and mixer3 and do the right thing. - Replace getopt(3) with hand-rolled option parser. It was not able to handle 'mixer -rec mic' although it is a valid command. - Make '-s' and '-S' mutualy exclusive as mixer(8) says. - Do not re-read recording source unless it has been modified. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-15T01:15:15.000000Z K 7 svn:log V 105 Update list of possible mixer devices. These devices were added to soundcard.h more than ten years ago. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-15T01:20:05.000000Z K 7 svn:log V 37 Clean up code and fix style(9) nits. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-15T01:36:20.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T01:43:59.000000Z K 7 svn:log V 1567 A subtle point: "pax interchange format" mandates that all strings (including pathname, gname, uname) be stored in UTF-8. This usually doesn't cause problems on FreeBSD because the "C" locale on FreeBSD can convert any byte to Unicode/wchar_t and from there to UTF-8. In other locales (including the "C" locale on Linux which is really ASCII), you can get into trouble with pathnames that cannot be converted to UTF-8. Libarchive's pax writer truncated pathnames and other strings at the first nonconvertible character. (ouch!) Other archivers have worked around this by storing unconvertible pathnames as raw binary, a practice which has been sanctioned by the Austin group. However, libarchive's pax reader would segfault reading headers that weren't proper UTF-8. (ouch!) Since bsdtar defaults to pax format, this affects bsdtar rather heavily. To correctly support the new "hdrcharset" header that is going into SUS and to handle conversion failures in general, libarchive's pax reader and writer have been overhauled fairly extensively. They used to do most of the pax header processing using wchar_t (Unicode); they now do most of it using char so that common logic applies to either UTF-8 or "binary" strings. As a bonus, a number of extraneous conversions to/from wchar_t have been eliminated, which should speed things up just a tad. Thanks to: Bjoern Jacke for originally reporting this to me Thanks to: Joerg Sonnenberger for noting a bad typo in my first draft of this Thanks to: Gunnar Ritter for getting the standard fixed MFC after: 5 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T02:22:08.000000Z K 7 svn:log V 50 GC a reference to the defunct TESTFILES variable. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T02:30:42.000000Z K 7 svn:log V 117 Resolve a minor nit in SUS compliance by including the PID in the fake directory name used for pax extended headers. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T02:31:28.000000Z K 7 svn:log V 32 Ignore a few more common files. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-03-15T02:36:32.000000Z K 7 svn:log V 110 MFC: Update usage() - add new -D option. While I'm here, update copyright information and license formatting END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T02:41:44.000000Z K 7 svn:log V 105 Enable and document the -Z option for selecting "compress" compression, now that libarchive supports it. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T02:45:57.000000Z K 7 svn:log V 40 Support --compress as a synonym for -Z. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T03:06:46.000000Z K 7 svn:log V 54 --chroot implementation thanks to Joerg Sonnenberger. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T03:11:13.000000Z K 7 svn:log V 77 Also accept --uncompress as a synonym for -Z. Thanks to: Joerg Sonnenberger END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T03:18:24.000000Z K 7 svn:log V 125 Support -q (from NetBSD) as a synonym for --fast-read (the old FreeBSD extension to GNU tar). Thanks to: Joerg Sonnenberger END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-03-15T03:20:53.000000Z K 7 svn:log V 289 In calcru, we make sure the thread's state is correct, however we do not emit the thread or proc information making debugging this assertion difficult. Emit the thread/proc that caused the KASSERT to fail to ease debugging. Note: this assert does not exist in later branches of FreeBSD. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T03:25:26.000000Z K 7 svn:log V 19 Document --chroot. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T03:28:39.000000Z K 7 svn:log V 49 Support NetBSD's --insecure as a synonym for -P. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T03:49:18.000000Z K 7 svn:log V 262 Testability is more important than standards conformance. Disable the use of PaxHeader. for the fake pax extension pathname until I can make the name here settable. Otherwise, tests that try to compare output to static pre-generated reference files break. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T04:20:50.000000Z K 7 svn:log V 65 FreeBSD does have fstat(). Correct the nasty typo this uncovers. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T05:08:21.000000Z K 7 svn:log V 103 style(9) fix to add whitespace around an '=' sign and restore a comment that got accidentally dropped. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-15T06:44:45.000000Z K 7 svn:log V 241 BUS_DMA_ISA is left over from Alpha, and is not used in the tree at all. The reference in ia64 code is due to cutNpaste in its history and can safely be removed. Revired by: cognet, raj, marcel, jhb and maybe one other whom I'm forgetting END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-03-15T07:06:12.000000Z K 7 svn:log V 164 New release notes: cpuset, BTX real mode, gptboot (+MFC), BSD ar(1)/ranlib(1), traceroute(8) -a/-A, traceroute6(8) -U. Updated release note: tzdata2008a (+MFC). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T07:10:24.000000Z K 7 svn:log V 273 Refactor the mtree code a bit to make the layering clearer: Each "file" is described by multiple "lines" each possibly containing multiple "keywords." Incorporate some additions from Joerg Sonnenberger to handle linked files and correctly deal with backing files on disk. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T11:02:47.000000Z K 7 svn:log V 79 Correct a sign mismatch that only showed up on 64-bit systems. Pointy hat: me END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-15T11:03:56.000000Z K 7 svn:log V 227 Merge coda_subr.c:1.39 from HEAD to RELENG_7: 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. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T11:04:45.000000Z K 7 svn:log V 332 Remove the duplicate "archive_format" and "archive_format_name" fields from the private archive_write structure and fix up all writers to use the format fields in the base "archive" structure. This error made it impossible to query the format after setting up a writer because the write format was stored in an inaccessible place. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T11:05:49.000000Z K 7 svn:log V 59 Release the buffers used for exercising the compress code. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-03-15T11:05:50.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_7'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T11:06:15.000000Z K 7 svn:log V 54 Free up the entry objects allocated during this test. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-15T11:06:56.000000Z K 7 svn:log V 179 Merge coda_psdev.c:1.45 and coda_vnops.c:1.96 from HEAD to RELENG_7: Remove debugging code under OLD_DIAGNOSTIC; this is all >10 years old and hasn't been used in that time. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-15T11:08:37.000000Z K 7 svn:log V 229 Merge kern_sig.c:1.357 from HEAD to RELENG_7: Use sbuf routines to construct core dump filenames rather than custom string buffer handling, making the code both easier to read and more robust against string-handling bugs. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-03-15T11:09:16.000000Z K 7 svn:log V 95 Update a comment: the format bid only runs once per archive; it no longer runs once per entry. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-03-15T14:41:27.000000Z K 7 svn:log V 263 MFC rev 1.111 disklabel.h Add missing comma. PR: bin/121645 Submitted by: OISHI Masakuni Approved by: imp (mentor, implicit for trivial changes) MFC after: 3 days Approved by: imp (mentor, implicit) END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-15T17:40:18.000000Z K 7 svn:log V 92 Fix panic on e.g. "kldload /dev/null". PR: kern/121427 Reviewed by: sem MFC after: 3 days END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2008-03-15T20:55:37.000000Z K 7 svn:log V 166 MFC: Switch libmilter from select(2) to poll(2) so milters are not limited by the size of FD_SETSIZE. PR: 118824 Submitted by: vsevolod END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-15T23:23:04.000000Z K 7 svn:log V 156 Fix mmap(2) on ZFS after some changes in VM subsystem. Submitted by: alc Reported by: kris (originally) and many others Tested with: fsx MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-16T03:22:38.000000Z K 7 svn:log V 106 Actually delete SIGCANCEL mask for suspended thread, so the signal will not be masked when it is resumed. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-03-16T06:21:30.000000Z K 7 svn:log V 251 Properly set size of the file_zone to match kern.maxfiles parameter. Otherwise the parameter is no-op, since zone by default limits number of descriptors to some 12K entries. Attempt to allocate more ends up sleeping on zonelimit. MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T06:53:41.000000Z K 7 svn:log V 20 MFC: 1.36: style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T06:55:13.000000Z K 7 svn:log V 94 MFC: style(9) arm/include/pthread_md.h rev 1.5 sparc64/include/pthread_md.h rev 1.3 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T06:56:22.000000Z K 7 svn:log V 23 MFC: style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T06:59:50.000000Z K 7 svn:log V 70 MFC: "make love" and GC bootstrapping aid for old (mid-2001) systems. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:00:52.000000Z K 7 svn:log V 14 MFC: rev 1.1. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:04:04.000000Z K 7 svn:log V 35 MFC: repcopy from usr.bin/ to bin/ END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:09:16.000000Z K 7 svn:log V 31 MFC: rev 1.125: add to history END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:12:48.000000Z K 7 svn:log V 87 MFC: improve -u (limit uid lookups) behavior. machine.c rev 1.84 & top.c rev 1.24 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:20:18.000000Z K 7 svn:log V 14 MFC: style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:21:01.000000Z K 7 svn:log V 51 MFC: rev 1.82: make a few messages more consistant END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:22:57.000000Z K 7 svn:log V 30 MFC: use UNZIPPER everywhere. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:23:46.000000Z K 7 svn:log V 25 MFC: rev 1.153: style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T07:52:22.000000Z K 7 svn:log V 28 MFC: revs 1.64-65: style(9) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T08:00:49.000000Z K 7 svn:log V 79 MFC: rev 1.41: don't imply O(n) removal for the doubly linked data structures. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T08:01:39.000000Z K 7 svn:log V 23 MFC: 1.47: document -t END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T08:02:37.000000Z K 7 svn:log V 26 MFC: 1.78: adjust history END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T08:03:11.000000Z K 7 svn:log V 33 MFC: rev 1.13: style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-16T08:03:48.000000Z K 7 svn:log V 33 MFC: rev 1.18: style.Makefile(5) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-16T08:06:36.000000Z K 7 svn:log V 68 mixer(8) is WARNS=6 clean since 1.25. Tested with: 'make universe' END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-16T08:18:04.000000Z K 7 svn:log V 161 MFC: rev. 1.6 - Use an uppercase provider name in the example, to make the name change after labeling the provider more obvious. - Correct nomenclature usage END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T10:58:09.000000Z K 7 svn:log V 272 In keeping with style(9)'s recommendations on macros, use a ';' after each SYSINIT() macro invocation. This makes a number of lightweight C parsers much happier with the FreeBSD kernel source, including cflow's prcc and lxr. MFC after: 1 month Discussed with: imp, rink END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T11:01:32.000000Z K 7 svn:log V 439 Remove trailing ';' from C_SYSINIT() macro definition, in keeping with style(9) recommendation that macros not contain the terminating ';', leaving that to the invoker. All SYSINIT() consumers must now provide a trailing ';'. Unlike the change to remove the ';'s from callers, this change shouldn't be MFC'd unless we don't mind requiring source changes to third party modules that might still depend on SYSINIT() providing its own ';'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T13:02:04.000000Z K 7 svn:log V 98 Commit SYSINIT() ;-adding patch missed in previous pass. MFC after: 1 month Caught by: tinderbox END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-16T15:15:32.000000Z K 7 svn:log V 203 Add a -n option to split(1) to split files into N chunks rather than having to specify the right number of bytes. Obtained from: NetBSD Submitted by: Jan Schaumann PR: 113175 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-03-16T16:27:44.000000Z K 7 svn:log V 137 Implement sched_setaffinity and get_setaffinity using real cpu affinity setting primitives. Reviewed by: jeff Approved by: kib (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-03-16T16:29:37.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T17:06:05.000000Z K 7 svn:log V 17 Add missing .El. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T17:10:52.000000Z K 7 svn:log V 45 Implement soon-to-be-used rw_unlock() macro. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-03-16T17:37:19.000000Z K 7 svn:log V 227 Simplify the inner loop of vm_fault()'s delete-behind heuristic. Instead of checking each page for PG_UNMANAGED, perform a one-time check whether the object is OBJT_PHYS. (PG_UNMANAGED pages only belong to OBJT_PHYS objects.) END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-16T17:54:55.000000Z K 7 svn:log V 57 Un-cut&paste argument processing, fix things lint found. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T17:55:06.000000Z K 7 svn:log V 272 Fix information leak. We can find PIDs of running processes from within a jail, etc. by simply calling setpriority(PRIO_PROCESS, , 0) and checking the return value: 0 means that the process exists and -1 that it doesn't exist. Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T18:26:59.000000Z K 7 svn:log V 13 Style fixes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:27:57.000000Z K 7 svn:log V 134 Merge coda_vnops.c:1.97 from HEAD to RELENG_7: Reorder and clean up make_coda_node(), annotate weaknesses in the implementation. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:28:37.000000Z K 7 svn:log V 89 Merge cnode.h:1.28, coda_psdev.c:1.46 from HEAD to RELENG_7: Spell replys as replies. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:29:02.000000Z K 7 svn:log V 561 Merge coda_psdev.c:1.47 from HEAD to RELENG_7: 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. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:52:19.000000Z K 7 svn:log V 270 Merge ufs_extattr.c:1.90 from HEAD to RELENG_7: Don't auto-start or allow extattrctl for UFS2 file systems, as UFS2 has native extended attributes. This didn't interfere with the operation of UFS2 extended attributes, but the code shouldn't be running for UFS2. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:53:17.000000Z K 7 svn:log V 323 Merge gzip.c:1.5 from HEAD to RELENG_7: When gzipping to a target file, only set the source file flags on the target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't permit it (i.e., uchg). PR: 120208 Submitted by: Ighighi END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:54:53.000000Z K 7 svn:log V 539 Merge chflags.1:1.30, chflags.c:1.24 from HEAD to RELENG_7: Make chflags(1) more chmod(1)-like (and more feature complete): - Add -v to print file names as they are processed; -vv prints the flags change as well. - Add -f to ignore failures with the same semantics as chflags(1), neither printing an error nor affecting the return code. - Don't try to set the flags if they won't change. I made minor cosmetic tweaks to the code in the patch. PR: 112827 Submitted by: Ighighi END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:55:56.000000Z K 7 svn:log V 523 Merge realpath.1:1.11, realpath.c:1.7 from HEAD to RELENG_7: Enhance realpath(1) in a number of ways: - Allow realpath to accept multiple paths on the command line. - Add -q to suppress warnings if some paths can't be processed, and use getopt(3) to process flags. - Print the path being requested rather than a possibly partially processed path when a failure occurs so that you can tell which of several passed paths did fail. PR: 112920 Submitted by: Ighighi END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-16T18:59:21.000000Z K 7 svn:log V 71 Consistently use ANSI C declarationsfor all functions in kern_synch.c. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-16T19:08:53.000000Z K 7 svn:log V 487 scandir(3) previously used st_size to obtain an initial estimate of the array length needed to store all the directory entries. Although BSD has historically guaranteed that st_size is the size of the directory file, POSIX does not, and more to the point, some recent filesystems such as ZFS use st_size to mean something else. The fix is to not stat the directory at all, set the initial array size to 32 entries, and realloc it in powers of 2 if that proves insufficient. PR: 113668 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-03-16T19:25:30.000000Z K 7 svn:log V 353 Switch the LACP state machine over to its own mutex to protect the internals, this means that it no longer grabs the lagg rwlock. Use two port table arrays which list the active ports for Tx and switch between them with an atomic op. Now the lagg rwlock is only exclusively locked for management (ioctls) and queuing of lacp control frames isnt needed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-16T19:55:16.000000Z K 7 svn:log V 100 MFC rev. 1.186: Don't check the bpbSecPerTrack and bpbHeads fields of the BPB. Approved by: marcel END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T21:20:50.000000Z K 7 svn:log V 153 Implement atomic_fetchadd_long() for all architectures and document it. Reviewed by: attilio, jhb, jeff, kris (as a part of the uidinfo_waitfree.patch) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T21:29:02.000000Z K 7 svn:log V 333 - Use wait-free method to manage ui_sbsize and ui_proccnt fields in the uidinfo structure. This entirely removes contention observed on the ui_mtxp mutex (as it is now gone). - Convert the uihashtbl_mtx mutex to a rwlock, as most of the time we just need to read-lock it. Reviewed by: jhb, jeff, kris & others Tested by: kris END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-16T21:32:20.000000Z K 7 svn:log V 21 Whitespace cleanups. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-16T21:33:12.000000Z K 7 svn:log V 178 Add session ID hashing to speedup incoming packets dispatch in case of many connections working via the same tunnel. For example, in case of full "client <-> LAC <-> LNS" setup. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-16T21:36:05.000000Z K 7 svn:log V 166 In the description of the password field, -w was meant, not the nonexistant -p flag. PR: 120122 Submitted by: Andy Kosela MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-16T22:06:07.000000Z K 7 svn:log V 522 MFC: Improve apply callback error reporting: Before this patch callback returned result of the last finished call chain. Now it returns last nonzero result from all call chain results in this request. As soon as this improvement gives reliable error reporting, it is now possible to remove dirty workaround in ng_socket, made to return ENOBUFS error statuses of request-response operations. That workaround was responsible for returning ENOBUFS errors to completely unrelated requests working at the same time on socket. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-16T22:26:17.000000Z K 7 svn:log V 88 Device counts are long gone, also remove the outdated FILES section. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-16T22:51:29.000000Z K 7 svn:log V 180 Sync gpart with HEAD: o Add support for BSD disklabels (option GEOM_PART_BSD) o Add support for VTOC8 disklabels (option GEOM_PART_VTOC8) o Avoid false positives detecting MBRs END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-16T22:51:30.000000Z K 7 svn:log V 43 Fix AUTHORS formatting. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-16T23:00:43.000000Z K 7 svn:log V 52 Remove trailing ';' on macros. Spotted by: antoine END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-16T23:12:17.000000Z K 7 svn:log V 166 Remove impossible (hk_peer == NULL) check from ng_address_hook(). Valid hook can't have NULL peer. Even invalid one can't, as it is resets to deadhook, but not NULL. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-17T00:36:16.000000Z K 7 svn:log V 49 Use correct bitmask for identifying chip family. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-17T00:46:52.000000Z K 7 svn:log V 369 Make remote GDB work for AIM processors. For BookE, the kernel will have a special section, named .PPC.EMB.apuinfo, which will tell GDB that a BookE processor is targeted and which will result in GDB using a different register definition. In order to support remote GDB for BookE, we need the GDB stub in the kernel look for that section and use the BookE definitions. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-03-17T01:26:44.000000Z K 7 svn:log V 51 Remove extra semicolons. Pointed out by: antoine END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-03-17T02:30:13.000000Z K 7 svn:log V 287 don't set sniffer mode to ON when the driver is running with the monitor mode. This solves a problem that sometimes mangled frames are passed. Submitted by: Werner Backes Tested by: Werner Backes PR: kern/121608 Approved by: thompsa (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-17T07:57:38.000000Z K 7 svn:log V 69 egad! The cvs 1.11.22 distribution had a Linux binary in it. Yuck. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-17T08:06:41.000000Z K 7 svn:log V 48 Device counts are long gone. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-17T08:17:04.000000Z K 7 svn:log V 54 Use a standard section 4 SYNOPSIS. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-17T08:38:38.000000Z K 7 svn:log V 217 Increase time we wait for things to settle to 1 millisecond, 10 microseconds is too short. Always set the cpu to the highest frequency so that we get through boot and don't handicap cpus where powerd(8) is not used. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-17T09:00:59.000000Z K 7 svn:log V 59 Revert last commit and stop committing before morning tea. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-17T09:01:43.000000Z K 7 svn:log V 217 Increase time we wait for things to settle to 1 millisecond, 10 microseconds is too short. Always set the cpu to the highest frequency so that we get through boot and don't handicap cpus where powerd(8) is not used. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-17T09:05:15.000000Z K 7 svn:log V 62 A cautionary XXX comment about seemingly bogus errata checks. END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-03-17T10:33:23.000000Z K 7 svn:log V 682 Add a "spindown" facility to ata-disks: If no requests have been received for a configurable number of seconds, spin the disk down. Spin it back up on the next request. Notice that the timeout is only armed by a request, so to spin down a disk you may have to do: atacontrol spindown ad10 5 dd if=/dev/ad10 of=/dev/null count=1 To disable spindown, set timeout to zero: atacontrol spindown ad10 0 In order to debug any trouble caused, this code is somewhat noisy on the console. Enabling spindown on a disk containing / or /var/log/messages is not going to do anything sensible. Spinning a disk up and down all the time will wear it out, use sensibly. Approved by: sos END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-17T11:48:40.000000Z K 7 svn:log V 104 - There is no more "uidinfo struct" mutex. - The "uidinfo hash" lock is now a rwlock. Reminded by: kib END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-17T13:04:56.000000Z K 7 svn:log V 73 Fix indentation for a closing brace in in_pcballoc(). MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-17T13:17:10.000000Z K 7 svn:log V 1120 Fix two races in the handling of the d_gianttrick for the D_NEEDGIANT drivers. In the giant_XXX wrappers for the device methods of the D_NEEDGIANT drivers, do not dereference the cdev->si_devsw. It is racing with the destroy_devl() clearing of the si_devsw. Instead, use the dev_refthread() and return ENXIO for the destroyed device. [1] The check for the D_INIT in the prep_cdevsw() was not synchronized with the call of the fini_cdevsw() in destroy_devl(), that under rapid device creation/destruction may result in the use of uninitialized cdevsw [2]. Change the protocol for the prep_cdevsw(), requiring it to be called under dev_mtx, where the check for D_INIT is done. Do not free the memory allocated for the gianttrick cdevsw while holding the dev_mtx, put it into the free list to be freed later. Reuse the d_gianttrick pointer to keep the size and layout of the struct cdevsw (requested by phk). Free the memory in the dev_unlock_and_free(), and do all the free after the dev_mtx is dropped (suggested by jhb). Reported by: bsdimp + many [1], pho [2] Reviewed by: phk, jhb Tested by: pho MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-17T16:33:34.000000Z K 7 svn:log V 83 Correct bpf data-link type. PR: 121477 Submitted by: Sam Banks MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-17T16:37:35.000000Z K 7 svn:log V 104 Bah, missed one instance in the previous commit. Correct bpf data-link type here as well. PR: 121477 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-03-17T17:18:16.000000Z K 7 svn:log V 265 Locking in the ses_ioctl handler doesn't have to be so strict because the referenced data is only obtained/changed in the device open handler, and the ioctl handler can only run after the open handler. Also fix a few nearby style issues. Submitted by: Matt Jacob END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T17:28:21.000000Z K 7 svn:log V 70 MFC: Remove the 'needbounce' variable from _bus_dmamap_load_buffer(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T17:33:32.000000Z K 7 svn:log V 70 MFC: Remove the 'needbounce' variable from _bus_dmamap_load_buffer(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T17:42:26.000000Z K 7 svn:log V 65 MFC: Fail attempts to use file descriptors larger than SHRT_MAX. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T18:04:59.000000Z K 7 svn:log V 70 MFC: Display the correct /boot.config file contents after parsing it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T18:08:45.000000Z K 7 svn:log V 41 MFC: Add a 'c7' CPUTYPE for VIA C7 CPUs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T18:12:13.000000Z K 7 svn:log V 79 MFC: Force an explicit dependency on opt_global.h for all module object files. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-03-17T18:22:23.000000Z K 7 svn:log V 160 Don't allocate the constant array "props" on the stack in wctype. PR: 74743 Submitted by: knut st. osmundsen Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-17T18:24:04.000000Z K 7 svn:log V 34 MFC: Add support for the BCM5722. END