ƒ´h149679 170 604 143 362 216 243 281 191 214 200 555 134 164 185 547 109 157 323 391 246 183 299 279 299 117 334 162 496 325 246 217 240 136 182 291 203 250 169 143 420 323 267 227 437 198 223 299 283 428 272 413 253 169 142 204 174 199 201 212 347 518 286 161 144 131 177 1973 140 628 628 103 124 237 188 164 111 103 118 337 97 290 265 939 289 398 156 193 166 365 215 217 269 594 177 881 722 196 233 353 740 138 146 284 142 206 190 375 136 444 446 152 133 585 190 167 169 223 155 670 345 1130 676 152 176 153 210 157 140 711 129 409 922 259 337 362 202 125 150 122 274 177 265 1023 302 276 167 777 2790 148 107 358 547 213 225 499 285 842 132 676 334 437 121 309 963 156 275 284 151 323 170 240 K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-31T18:13:23.000000Z K 7 svn:log V 510 Fix dangling callout problem in the Bluetooth L2CAP code that leads to panic. The panic happens when outgoing L2CAP connection descriptor is deleted with the L2CAP command(s) pending in the queue. In this case when the last L2CAP command is deleted (due to cleanup) and reference counter for the L2CAP connection goes down to zero the auto disconnect timeout is incorrectly set. pjd gets credit for tracking this down and committing bandaid. Reported by: Jonatan B MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-31T19:44:40.000000Z K 7 svn:log V 47 Rename the variable `inline' to `inline_size'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-31T19:45:11.000000Z K 7 svn:log V 269 - Add md_mtx lock to protect ID number and list of devices. - Always check mdnew() return value, as even in !autounit case kthread_create() can fail. Those two changes fix serval panics provked by simple stress test. Tested by: Kris The BugMagnet MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-31T20:45:15.000000Z K 7 svn:log V 119 - Use prototypes in headers. - Include rpc_scan.h before rpc_util.h for the tok_kind enum. - Nuke unused declarations. END K 10 svn:author V 5 garys K 8 svn:date V 27 2005-09-01T01:00:55.000000Z K 7 svn:log V 148 Added ENVIRONMENT section (PAGER, MANPATH, etc.). PR: docs/84485 Submitted by: garys Approved by: keramida MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-01T01:15:22.000000Z K 7 svn:log V 185 Add a comment before the statement that is responsible for the removal of the GPT entry. There's a bit of code around that one statement that it's good to have it stand out a bit more. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-01T01:24:42.000000Z K 7 svn:log V 99 MFC: Allow one to override {CAP,PWD}_MKDB_ENDIAN from the command line. Approved by: re@ (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-01T02:42:34.000000Z K 7 svn:log V 121 Treat resources that are 0xfffff.... as being 'unassigned'. Reviewed by: jhb Tested by: Mark Kirkwood MFC After: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-01T02:42:52.000000Z K 7 svn:log V 104 Dot the i's: multiple devices can be specified, so the usage should have ellipsis following the device. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-01T02:49:20.000000Z K 7 svn:log V 459 Add support for setting GPT partition labels. The partitions to be labeled are selected in the same way as with the remove command. Update the manpage to have the selection options described for the label command and referenced to it from the remove command. The label can be specified on the command line with the -l option or read from a file with the -f option. In both cases, the label is assumed to be encoded in UTF-8. PR: ia64/83124 MFC after: 1 week END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-09-01T07:30:03.000000Z K 7 svn:log V 39 MFC r1.6: fix unhandled malloc errors. END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-09-01T13:52:12.000000Z K 7 svn:log V 69 MFC: r1.6 - Fix unhandled malloc errors. Approved by: re (kensmith) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-01T15:21:23.000000Z K 7 svn:log V 89 Include needed headers that were obtained through . Sort headers while here. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-01T15:33:22.000000Z K 7 svn:log V 450 Improve POSIX conformance: - Don't pollute the namespace by including , , and . Use __MINSIGSTKSZ and __ULONG_MAX from , __sigset_t from instead. - Include because POSIX says we have to. PTHREAD_{DESTRUCTOR_ITERATIONS,KEYS_MAX,STACK_MIN,THREADS_MAX} should eventually move to but are left here for now. Discussed on: standards@, threads@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-01T16:41:42.000000Z K 7 svn:log V 17 Typo in comment. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-09-01T19:14:41.000000Z K 7 svn:log V 62 Fix a few small problems and bump the date. Submitted by: ru END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-01T19:16:25.000000Z K 7 svn:log V 226 Only write the dispatch table function prototypes to the header if the -h flag was specified. If all files are generated at once, those functions are static and shouldn't appear in the header. PR: 84450 Reviewed by: alfred END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-01T20:08:24.000000Z K 7 svn:log V 298 At some point in the past, we read the PROM by words. Now we read PROM by bytes. Adjust the extraction of the MAC address from this data to reflect this change. This gets the AX88x90 based PC Cards MAC address working again (my UMAX Ethernet and Linksys EC2T cards now work). MFC After: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-01T21:46:33.000000Z K 7 svn:log V 153 In case of mac_check_vnode_rename_from() or vn_start_write() failure, vn_finished_write() should not be called. Reviewed by: ssouhlal MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-09-01T22:45:25.000000Z K 7 svn:log V 90 Fix typo in usage. Submitted by: Jonatan B < onatan at gmail dot com > MFC after: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-02T00:33:30.000000Z K 7 svn:log V 202 MFC: 1.380 FDOPT_NORETRY is an option, and must be compared with fd->options, not fd->flags. PR: kern/85481 Submitted by: Lev Levinson Approved by: re (ken) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-02T00:39:13.000000Z K 7 svn:log V 182 MFC 1.380: FDOPT_NORETRY is an option, and must be compared with fd->options, not fd->flags. PR: kern/85481 Submitted by: Lev Levinson END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-09-02T02:52:55.000000Z K 7 svn:log V 201 MFC: Be sure to execute sendmail_precmd() to check sendmail.cf conflicts and rebuild the aliases file if necessary. Revision Changes Path 1.15 +1 -0 src/etc/rc.d/sendmail END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-02T03:15:51.000000Z K 7 svn:log V 25 MFp4: kill bogus comment END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-02T03:16:30.000000Z K 7 svn:log V 237 MFC 1.5: Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++ programs. Also, add include guards. PR: bin/44277 Submitted by: Alex Zepeda Approved by: re (scottl) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-09-02T03:52:11.000000Z K 7 svn:log V 65 Clean up duplicate entry for sendmail. Approved by: re (scottl) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-02T03:52:28.000000Z K 7 svn:log V 399 MFC 1.29, 1.30: Rewrite linux_ifconf() to be more like ifconf() in net/if.c so that we do not call uiomove() while IFNET_RLOCK() is held. This eliminates the witness warning: Calling uiomove() with the following non-sleepable locks held: exclusive sleep mutex ifnet r = 0 (0xc096dd60) locked @ /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2170 Approved by: re (scottl) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-09-02T03:53:10.000000Z K 7 svn:log V 227 MFC: Be sure to execute sendmail_precmd() to check sendmail.cf conflicts and rebuild the aliases file if necessary. Revision Changes Path 1.15 +1 -0 src/etc/rc.d/sendmail Approved by: re (scottl) END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-09-02T05:52:28.000000Z K 7 svn:log V 150 MFC rev. 1.05: o The ways to escape an alias. o Fix in the alias syntax lines. o Refero to the Aliases subsection. Approved by: trhodes (mentor) END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-09-02T06:30:41.000000Z K 7 svn:log V 121 Update URL and email address. Approved by: trhodes (mentor) 20 day timeout: mbr (did not reply, mentor approved commit) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T10:23:26.000000Z K 7 svn:log V 143 Don't generate K&R C code. The -C flag is kept for backwards compatibility. Also remove the SIG_PF macro, there is no need to cast closedown. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T10:32:05.000000Z K 7 svn:log V 40 Stop generating the `register' keyword. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-09-02T11:09:18.000000Z K 7 svn:log V 87 Forced commit to set an MFC reminder forgotten in previous commit. MFC after: 10 days END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-02T13:37:54.000000Z K 7 svn:log V 193 Don't unbusy the devfs mount in vfs_mountroot_try() as it gets accessed and unbusied in devfs_fixup(), which assumes that the devfs mount is still locked. Granced at by: phk MFC after: 3 days END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-02T13:52:55.000000Z K 7 svn:log V 105 ffs_mountfs() needs devvp to be locked, so lock it. Glanced at by: phk Tested by: pjd MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T14:06:26.000000Z K 7 svn:log V 153 Merge 1.82: Fix fallout from revision 1.77, mark outgoing packets with M_VLANTAG flag. PR: kern/80646 Reviewed by: yar Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T14:08:19.000000Z K 7 svn:log V 73 MFC: net.graph.ngqfreemax has been deprecated. Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T14:08:51.000000Z K 7 svn:log V 47 MFC: net.graph.ngqfreemax has been deprecated. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T14:13:16.000000Z K 7 svn:log V 323 MFC 1.8, 1.9: - Correctly parse output, when logging amount is limited in the rule itself, not in verbose_limit sysctl. [1] - Do check rules, even if verbose_limit is set 0. Rules may have their own log limits. PR: conf/77929 Submitted by: Andriy Gapon [1] Reviewed by: matteo Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T14:20:22.000000Z K 7 svn:log V 226 MFC 1.6 - 1.9: - Use 'ipfw list'. - Correctly parse output, when logging amount is limited in the rule itself, not in verbose_limit sysctl. [1] PR: conf/77929 Submitted by: Andriy Gapon [1] eviewed by: matteo END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-02T14:58:26.000000Z K 7 svn:log V 169 - Do not allocate memory to entries in /var/rwho which have been down for more than 4 days - waste of memory. Obtained from: DragonFlyBSD (liamfoy) MFC after: 3 days END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-02T15:27:23.000000Z K 7 svn:log V 129 *_mountfs() (if the filesystem mounts from a device) needs devvp to be locked, so lock it. Glanced at by: phk MFC after: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-02T15:31:03.000000Z K 7 svn:log V 340 MFC: Prevent division by zero errors in sc_mouse_move() by explicitly setting sc->font_width, in the same places where sc->font_size is set, instead of relying on the default initialized value of 0 for sc->font_width. PR: kern/84836 Reported by: Andrey V. Elsukov Approved by: re (scottl) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-02T15:49:55.000000Z K 7 svn:log V 100 Use vput() instead of vrele() in null_reclaim() since the lower vnode is locked. MFC after: 3 days END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-02T15:56:01.000000Z K 7 svn:log V 125 Print out a warning and a backtrace if we try to unlock a lockmgr that we do not hold. Glanced at by: phk MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-09-02T16:32:43.000000Z K 7 svn:log V 206 Break out the checks for duplicates and absolute settings being too high instead of trying to do them all at once. This should fix the level sorting problems from the previous revision. Testing help: ume END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-02T17:05:07.000000Z K 7 svn:log V 187 Block SIGQUIT (Ctrl-C) while running in startup mode. This should allow dhclient's to be killed without stopping all boot progress. Minor cleanup of the interface list generation code. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-02T17:11:13.000000Z K 7 svn:log V 332 - Alwasy explicitly bring the interface up before configuring it. - If an interface's ifconfig_ is set, but empty, don't set it to ifconfig_DEFAULT. This way interfaces can be disabled even in the presence of ifconfig_DEFAULT. - When listing interfaces and network_interfaces=auto, place lo0 first if it's around. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-02T17:35:35.000000Z K 7 svn:log V 176 When we supersed the subnet-mask, write the forced value to the lease file. This is what the ISC client does. Submitted by: Rostislav Krasny END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-02T17:37:46.000000Z K 7 svn:log V 316 MFC: Prevent division by zero errors in sc_mouse_move() by explicitly setting sc->font_width, in the same places where sc->font_size is set, instead of relying on the default initialized value of 0 for sc->font_width. PR: kern/84836 Reported by: Andrey V. Elsukov END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T18:20:47.000000Z K 7 svn:log V 156 Fix a syntax error in the generated code when invoked with -P. Note that the generated code still doesn't compile as we lack tinfo, t_getinfo and friends. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-09-02T18:30:16.000000Z K 7 svn:log V 74 Actually block Ctrl-C (SIGINT=2). Reported by: sam Pointy hat to: brooks END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T18:37:34.000000Z K 7 svn:log V 46 The appropriate argument is -K -1, not -k -1. END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-09-02T19:10:14.000000Z K 7 svn:log V 109 MFC rev 1.8: Correct a comment to match the configuration parameter it describes. Approved by: re (scottl) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T19:33:50.000000Z K 7 svn:log V 78 Use socklen_t variables when passing sizes to getsockname() and getsockopt(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T19:34:13.000000Z K 7 svn:log V 102 Change default KTR_COMPILE from KTR_GEN to KTR_ALL, to match with manual page. Reviewed by: jhb, pjd END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-02T19:52:54.000000Z K 7 svn:log V 104 Use non-debug macros inside debugging functions, to prevent important information from being rewritten. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-02T20:20:01.000000Z K 7 svn:log V 119 Add witness warnings to panic if a thread tries to exit while holding any locks. Requested by: jeff MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-02T20:21:49.000000Z K 7 svn:log V 254 - Add an assertion to panic if one tries to call mtx_trylock() on a spin mutex. - Don't panic if a spin lock is held too long inside _mtx_lock_spin() if panicstr is set (meaning that we are already in a panic). Just keep spinning forever instead. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-02T20:23:49.000000Z K 7 svn:log V 425 - Add some comments to some of the static lock orders. Don't explicitly link proctree and allproc to Giant since that order is already implicitly enforced. - Use a goto to handle the case where we want to enforce a reversal before calling isitmydescendant() in witness_checkorder() so that the logic is easier to follow and so that it is easier to add more forced-reversal cases in the future. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-02T20:41:03.000000Z K 7 svn:log V 193 Add a SYSUNINIT() to SX_SYSINIT() to call sx_destroy() to destroy the sx lock when a module is unloaded similar to the recent change made to MTX_SYSINIT(). Suggested by: pjd MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T21:15:56.000000Z K 7 svn:log V 65 Document that unalias can be used to remove several alias names. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T21:51:18.000000Z K 7 svn:log V 48 In version 1.8 I botched findval()'s type, fix. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T22:28:27.000000Z K 7 svn:log V 35 Remove extra getenv() declaration. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-02T22:43:28.000000Z K 7 svn:log V 81 Return 1 from the unalias builtin if _any_ removal fails, not just the last one. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-09-03T00:21:55.000000Z K 7 svn:log V 1874 MFC vfs_subr.c 1.636 and 1.642 vfs_subr.c 1.642 fixes a small race condition in vlrureclaim() and depends on 1.636. Modified files: sys/kern vfs_subr.c Log: - Allow vnlru to drop giant if the filesystem does not require it. The vnlru proc is extremely inefficient, potentially iteration over tens of thousands of vnodes without blocking. Droping Giant allows other threads to preempt us although we should revisit the algorithm to fix the runtime problems especially since this may hold up all vnode allocations. - Remove the LK_NOWAIT from the VOP_LOCK in vlrureclaim. This provides a natural blocking point to help alleviate the situation described above although it may not technically be desirable. - yield after we make a pass on all mount points to prevent us from blocking other threads which require Giant. MFC after: 2 weeks Revision Changes Path 1.636 +11 -2 src/sys/kern/vfs_subr.c Modified files: sys/kern vfs_subr.c Log: Back out the removal of LK_NOWAIT from the VOP_LOCK() call in vlrureclaim() in vfs_subr.c 1.636 because waiting for the vnode lock aggravates an existing race condition. It is also undesirable according to the commit log for 1.631. Fix the tiny race condition that remains by rechecking the vnode state after grabbing the vnode lock and grabbing the vnode interlock. Fix the problem of other threads being starved (which 1.636 attempted to fix by removing LK_NOWAIT) by calling uio_yield() periodically in vlrureclaim(). This should be more deterministic than hoping that VOP_LOCK() without LK_NOWAIT will block, which may not happen in this loop. Reviewed by: kan MFC after: 5 days Revision Changes Path 1.642 +37 -7 src/sys/kern/vfs_subr.c Approved by: re (scottl) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-03T00:40:19.000000Z K 7 svn:log V 43 Unbreak the build. Pointyhat to: ssouhlal END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-09-03T03:34:23.000000Z K 7 svn:log V 534 MFC to RELENG 6 Fix dangling callout problem in the Bluetooth L2CAP code that leads to panic. The panic happens when outgoing L2CAP connection descriptor is deleted with the L2CAP command(s) pending in the queue. In this case when the last L2CAP command is deleted (due to cleanup) and reference counter for the L2CAP connection goes down to zero the auto disconnect timeout is incorrectly set. pjd gets credit for tracking this down and committing bandaid. Reported by: Jonatan B Approved by: re (scottl) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-09-03T03:39:40.000000Z K 7 svn:log V 534 MFC to RELENG_5 Fix dangling callout problem in the Bluetooth L2CAP code that leads to panic. The panic happens when outgoing L2CAP connection descriptor is deleted with the L2CAP command(s) pending in the queue. In this case when the last L2CAP command is deleted (due to cleanup) and reference counter for the L2CAP connection goes down to zero the auto disconnect timeout is incorrectly set. pjd gets credit for tracking this down and committing bandaid. Reported by: Jonatan B Approved by: re (scottl) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-03T06:42:11.000000Z K 7 svn:log V 11 fine-tune. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-03T06:59:33.000000Z K 7 svn:log V 32 Vendor import of OpenSSH 4.2p1. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-03T06:59:33.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r149749, 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 2005-09-03T06:59:34.000000Z K 7 svn:log V 92 This commit was manufactured by cvs2svn to create tag 'openssh-vendor-crypto-OpenSSH_4_2p1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-09-03T06:59:35.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-03T07:04:25.000000Z K 7 svn:log V 19 Resolve conflicts. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-03T07:08:51.000000Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-03T07:10:33.000000Z K 7 svn:log V 26 Update for OpenSSH 4.2p1. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-03T10:28:08.000000Z K 7 svn:log V 244 If we ignore an unknown % sequence, we must stop interpreting the remaining % arguments because the varargs are now out of sync and there is a risk that we might for instance dereference an integer in a %s argument. Sponsored by: Napatech.com END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-03T11:03:10.000000Z K 7 svn:log V 6 Typo. END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-09-03T11:04:25.000000Z K 7 svn:log V 195 MFC: If we fail in chown(2), try to just change the group and continue on to change the permissions. Failures are still recorded. Approved by: re (scottl) Sponsored by: Sophos/ActiveState END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-09-03T11:06:08.000000Z K 7 svn:log V 170 MFC: If we fail in chown(2), try to just change the group and continue on to change the permissions. Failures are still recorded. Sponsored by: Sophos/ActiveState END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-09-03T11:57:28.000000Z K 7 svn:log V 843 MFC: { db_trace.c:1.69, exception.S:1.127, genassym.c:1.156, trap.c:1.290 } - Special-case NMI handling on the AMD64. On entry or exit from the kernel the 'alltraps' and 'doreti' the code used by normal traps disables interrupts to protect the critical sections where it is setting up %gs. This protection is insufficient in the presence of NMIs since NMIs can be taken even when the processor has disabled normal interrupts. Thus the NMI handler needs to actually read MSR_GBASE on entry to the kernel to determine whether a swap of %gs using 'swapgs' is needed. However, reads of MSRs are expensive and integrating this check into the 'alltraps'/'doreti' path would penalize normal interrupts. - Teach DDB about the 'nmi_calltrap' symbol. Reviewed by: bde, peter (an older version) and ups Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-03T15:57:04.000000Z K 7 svn:log V 196 MFC: sys/kern/vfs_syscalls.c 1.393 In case of mac_check_vnode_rename_from() or vn_start_write() failure, vn_finished_write() should not be called. Reviewed by: ssouhlal Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-03T16:02:37.000000Z K 7 svn:log V 305 MFC: sys/dev/md/md.c 1.155 - Add md_mtx lock to protect ID number and list of devices. - Always check mdnew() return value, as even in !autounit case kthread_create() can fail. Those two changes fix serval panics provoked by simple stress test. Tested by: Kris The BugMagnet Approved by: re (scottl) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-03T16:06:04.000000Z K 7 svn:log V 60 Document that `in word ...' is optional in the for command. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-09-03T16:13:05.000000Z K 7 svn:log V 100 MFC 1.74: SADB_UPDATE did not return an error when key length is invalid. Approved by: re (scottl) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-09-03T16:14:52.000000Z K 7 svn:log V 74 MFC 1.74: SADB_UPDATE did not return an error when key length is invalid. END K 10 svn:author V 5 garys K 8 svn:date V 27 2005-09-03T17:16:00.000000Z K 7 svn:log V 270 Moved descriptions of securelevels from init(7) to security(7). Files used both "securelevel" and either "secure level" or "security level"; all are now "security level". PR: docs/84266 Submitted by: garys Approved by: keramida MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-03T17:45:54.000000Z K 7 svn:log V 122 MFC 1.8: correct alignment of addresses passed to ether_ntoa to fix segfaults on amd64 Approved by: re (scottl) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-09-03T18:20:20.000000Z K 7 svn:log V 124 Pass a value of type vm_prot_t to pmap_enter_quick() so that it determine whether the mapping should permit execute access. END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-03T19:01:13.000000Z K 7 svn:log V 171 MFC r1.643: Fix a typo in vop_rename_pre() where we ended up using vholdl() instead of vhold(), even though the vnode interlock is unlocked. Approved by: re (scottl) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-03T19:43:15.000000Z K 7 svn:log V 498 Fix collision chain termination checks. The result of IA64_PHYS_TO_RR7 is never 0, so one cannot test for a NULL pointer after a physical address is translated into a virtual pointer with said macro. Instead, keep the physical address around and test it against 0. Note that this obviously implies that a PTE can never be allocated at physical address 0. This isn't exactly guaranteed, but hasn't been a problem so far. We test the physical address against 0 for as long as the ia64 port exists... END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-09-03T20:23:41.000000Z K 7 svn:log V 80 Unbreak hpfs/ntfs/udf/ext2fs/reiserfs mounting. Another pointyhat to: ssouhlal END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-03T22:40:02.000000Z K 7 svn:log V 788 sync with HEAD: o add ic_curchan to resolve issues with what the "current channel" is o split beacon and listen interval o fixup mac acl support so you can query state o split h/w tx+rx key indices in crypto state o add optional h/w key index -> node mapping o change default key index allocator to DTRT for legacy parts that are WPA capable o define typedef for a h/w key index o fix race on node refcnt handling with sending probe response frames o isolate scanning-related input handling to reduce diffs against future scanning code o sanity check beacon interval in recv'd management frames and discard frames with out-of-range data o fix refcnt race sending null data frames o lock ioctl to get sta info o fix misc races in ap mode sta state teardown Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-03T22:46:43.000000Z K 7 svn:log V 629 sync with HEAD after net80211 changes: o ic_curchan o beacon/listen interval split o split tx+rx crypto key and h/w key index -> node mapping support Also for ath: o correct duration calculation when protection is enabled Also for wi: o handle all-zero mac address properly o fix media status handling so devd recognizes cards on insert Also for ipw/iwi: o always include statistics sysctls (was only when compiled w/ debugging) o honor manual roaming setting Also for ral/ural: o fix basic rate set o fix IFS parameters o honor operating mode when selecting ack rate o honor manual roaming setting Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-03T22:47:47.000000Z K 7 svn:log V 103 sync with HEAD for net80211 changes: o list mac support o update manual page Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-03T22:49:22.000000Z K 7 svn:log V 140 MFC 1.28: use media type to recognize eth+802.11 network interfaces instead of doing a regex on device names Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-03T23:15:46.000000Z K 7 svn:log V 260 More consistantly return the correct BAR size. Before, we'd only return the correct bar size if we encountered a 64-bit BAR that had its resources already assigned. If the resources weren't yet assigned, we'd bogusly assume it was a 32-bit bar and return 1. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-03T23:53:50.000000Z K 7 svn:log V 644 o s/vhpt_size/pmap_vhpt_log2size/g o s/vhpt_base/pmap_vhpt_base/g o s/vhpt_bucket/pmap_vhpt_bucket/g o Declare the above in o Move the vm.stats.vhpt.* sysctls to machdep.vhpt.* o Create a tunable machdep.vhpt.log2size, with corresponding sysctl. The tunable allows the user to specify the VHPT size from the loader. o Don't keep track of the number of PTEs in the VHPT. Calculate the population when necessary by iterating the buckets and summing up the length of the buckets. o Don't perform the tpa instruction with a bucket lock held. The instruction can (theoretically) fault and locking is not needed. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-09-04T05:07:06.000000Z K 7 svn:log V 43 Prepare for BETA4 builds. Approved by: re END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-09-04T05:37:55.000000Z K 7 svn:log V 51 de(4) is now properly busdma'ed. Reviewed by: jhb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-09-04T06:35:59.000000Z K 7 svn:log V 191 When bge_stop() is called from bge_detach(), mii is already NULL, so check before trying to use it. This fix allows to 'kldunload if_bge' without panicing. Reviewed by: bz MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-04T11:59:59.000000Z K 7 svn:log V 46 Add a couple of regression tests for /bin/sh. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-04T17:32:47.000000Z K 7 svn:log V 113 reclaim sbuf and clear lock on error in ifconf Submitted by: Ted Unangst Reviewed by: rwatson MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-04T17:33:40.000000Z K 7 svn:log V 98 clear lock on error in O_LIMIT case of install_state Submitted by: Ted Unangst MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-04T18:03:45.000000Z K 7 svn:log V 278 When padding with zero, do pad after prefixes rather than padding before prefixes. Use cases: printf("%05d", -42); --> "00-42" (should be "-0042") printf("%#05x", 12); --> "000xc" (should be "0x00c") Submitted by: Oliver Fromme PR: kern/85520 MFC After: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-04T18:12:21.000000Z K 7 svn:log V 40 Fix syntax error that crept in somehow. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-09-04T19:06:27.000000Z K 7 svn:log V 351 Eliminate unnecessary TLB invalidations by pmap_enter(). Specifically, eliminate TLB invalidations when permissions are relaxed, such as when a read-only mapping is changed to a read/write mapping. Additionally, eliminate TLB invalidations when bits that are ignored by the hardware, such as PG_W ("wired mapping"), are changed. Reviewed by: tegge END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-04T19:14:19.000000Z K 7 svn:log V 353 Remove a race condition that could result in processes being stuck waiting for geom events to happen: Instead of maintaining a count of outstanding events, simply look if the queue is empty. Make sure to not remove events from the queue until they are executed in order to not open a new race. Much work by: pjd Tested by: kris MT6: yes, should be. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-04T21:29:09.000000Z K 7 svn:log V 56 Simplify and add PR 77067 which addresses the same bug. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-09-04T21:57:23.000000Z K 7 svn:log V 36 Remove duplicate "at" from comment. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-05T04:36:08.000000Z K 7 svn:log V 491 Attempt to complete the userspace integration of POSIX.1e extended ACLs. This includes adding support for ACLs into cp(1) and mv(1) userspace utilities. For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination operands, the destination file's ACLs shall reflect the source. For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination operands, and -p has been specified, the ACLs from the source shall be preserved on the destination. MFC after: 1 month END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-05T09:42:10.000000Z K 7 svn:log V 94 - Add tests for hash and return and more tests for set -e. - Simplify regress.sh, sort tests. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-09-05T09:49:33.000000Z K 7 svn:log V 75 Remove references to nonexistent "FreeBSD Security Architecture" document. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-09-05T10:03:07.000000Z K 7 svn:log V 77 Remove all references to nonexistent FreeBSD Security Architecture document. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-09-05T10:23:55.000000Z K 7 svn:log V 125 Terminate metadata restore early only on failure, not success. In particular, this bug was preventing the restore of fflags. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-05T11:02:30.000000Z K 7 svn:log V 63 MFC: missing dev_relthread() call. Approved by: re@ (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-05T13:23:01.000000Z K 7 svn:log V 573 Add a regression test to test two variations on the same bug: joining a multicast group using a raw socket, then removing the interface on which the group is found, and joining a multicast group using a udp socket, then removing the interface on which the group is found. An if_disc interface is used as the interface on which to attach. NB: A panic currently results from running this regression test, so do so with caution. PR: 77665 Reported by: Gavin Atkinson Reported by: Brooks Davis END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-09-05T13:42:22.000000Z K 7 svn:log V 250 In accordance with my intentions announced (and not objected to) on -arch, and RFC 4159 (http://www.rfc-editor.org/rfc/rfc4159.txt) which officially deprecates all usage of IP6.INT, remove the reference to that zone from the example named.conf file. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-05T16:02:11.000000Z K 7 svn:log V 1032 Remove Giant mutex from polling(4) and use a separate poll_mtx(4) instead. Detailed changelist: o Add flags field to struct pollrec, to indicate that are particular entry is being worked on. o Define a macro PR_VALID() to check that a pollrec is valid and pollable. o Mark ISRs as mpsafe. o ether_poll() - Acquire poll_mtx while traversing pollrec array. - Skip pollrecs, that are being worked on. - Conditionally acquire Giant when entering handler. o netisr_pollmore() - Conditionally assert Giant. - Acquire poll_mtx while working with statistics. o netisr_poll() - Conditionally assert Giant. - Acquire poll_mtx while working with statistics and traversing pollrec array. o ether_poll_register(), ether_poll_deregister() - Conditionally assert Giant. - Acquire poll_mtx while working with pollrec array. o poll_idle() - Remove all strange manipulations with Giant. In collaboration with: ru, pjd In collaboration with: Oleg Bulyzhin In collaboration with: dima <_pppp mail.ru> END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-09-05T17:03:40.000000Z K 7 svn:log V 581 Fix panic when loading libiconv.ko on sparc64. It seems that this issue only become obvious when compiled with -O2 on sparc64. Since each struct iconv_converter_class has been initialized by DEFINE_CLASS macro, not all members of struct iconv_converter_class has been allocated on memory and cc_link member has not been initialized, while iconv_register_converter() wanted to access it with TAILQ. Now we modify KICONV_CONVERTER macro and fix this bug. Problem reported on: freebsd-sparc64 Pointed out by: yongari Discussed with: yongari Tested by: yongari MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-09-05T17:09:59.000000Z K 7 svn:log V 59 Remove reference to el(4). Approved by: brueffer (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-09-05T17:16:50.000000Z K 7 svn:log V 79 Reword nic driver MPSAFEness entries to be in line with earlier release notes. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-09-05T17:57:19.000000Z K 7 svn:log V 57 Print pointers with %p rather than casting them to long. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-05T18:04:33.000000Z K 7 svn:log V 117 MFC: 1.293 1.294: Treat resources that are 0xfffxxxx as being unassigned like we treat 0. Approved by: re@ (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-05T18:09:20.000000Z K 7 svn:log V 65 MFC: 1.293 1.294: Treat 0xfffff.... as unassigned as well as 0. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-09-05T18:31:09.000000Z K 7 svn:log V 45 Improve an error message. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-05T21:32:02.000000Z K 7 svn:log V 615 o In pmap_remove_pte: always invalidate the page. Previously the page was not invalidated if the PTE was not actually being removed. In an UP kernel this didn't cause problems, because the new mapping would preempt the old one. In an SMP kernel this could lead to the use of stale translations when processes move between CPUs at the "right" moment. This fixes the last of the obvious SMP problems and it should be safe to enable SMP by default now. o In pmap_remove_pte: minor code refactoring to avoid duplication. o Test all PTE pointers against NULL. Don't use implicit boolean tests. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-05T21:36:28.000000Z K 7 svn:log V 34 Milestone: enable SMP by default. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-09-05T22:14:33.000000Z K 7 svn:log V 314 Retain generation count when writing zeroes instead of an inode to disk. Don't free a struct inodedep if another process is allocating saved inode memory for the same struct inodedep in initiate_write_inodeblock_ufs[12](). Handle disappearing dependencies in softdep_disk_io_initiation(). Reviewed by: mckusick END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-05T23:08:04.000000Z K 7 svn:log V 828 Instead of caching the PID which opened the bpf descriptor, continuously refresh the PID which has the descriptor open. The PID is refreshed in various operations like ioctl(2), kevent(2) or poll(2). This produces more accurate information about current bpf consumers. While we are here remove the bd_pcomm member of the bpf stats structure because now that we have an accurate PID we can lookup the via the kern.proc.pid sysctl variable. This is the trick that NetBSD decided to use to deal with this issue. Special care needs to be taken when MFC'ing this change, as we have made a change to the bpf stats structure. What will end up happening is we will leave the pcomm structure but just mark it as being un-used. This way we keep the ABI in tact. MFC after: 1 month Discussed with: Rui Paulo < rpaulo at NetBSD dot org > END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-05T23:13:05.000000Z K 7 svn:log V 165 Now that the PID is constantly refreshed, introduce a pidname function which when given a PID consults the kern.proc.pid sysctl variable to pull out the pcomm data. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-06T00:06:30.000000Z K 7 svn:log V 243 Convert the primary ACL allocator from malloc(9) to using a UMA zone instead. Also introduce an aclinit function which will be used to create the UMA zone for use by file systems at system start up. MFC after: 1 month Discussed with: rwatson END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-09-06T03:59:22.000000Z K 7 svn:log V 269 updates: o note all pci/cardbus parts are supported (modulo hal updates) o use ath_rate_sample instead of ath_rate_onoe o note SuperG support is missing o note WPA not supported on 5210 o remove stuff about needing a better tx rate control algorithm MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-09-06T09:01:18.000000Z K 7 svn:log V 106 Remove WANT_FORCE_OPTIMIZATION_DOWNGRADE and out dated warnings about libalias(3) exposing compiler bugs. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-06T11:09:18.000000Z K 7 svn:log V 29 Document flags of a pollrec. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-09-06T14:59:55.000000Z K 7 svn:log V 56 Notable quote by Theodore Roosevelt. MFC after: 3 days END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-09-06T16:08:37.000000Z K 7 svn:log V 30 fix typo: ommitted -> omitted END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-06T16:58:25.000000Z K 7 svn:log V 177 Raise one more bit in READER_MASK. I believe that before this change it was possible to have 1 reader and 1 writer thread working on a node simultaneously. Reviewed by: julian END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-06T17:02:13.000000Z K 7 svn:log V 81 In INVARIANTS case also check that nodes do not pass queues of mbufs each other. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-06T17:05:11.000000Z K 7 svn:log V 168 In soreceive(), when a first mbuf is removed from socket buffer use sockbuf_pushsync(). Previous manipulation could lead to an inconsistent mbuf. Reviewed by: rwatson END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-06T17:15:42.000000Z K 7 svn:log V 926 When we read data from socket buffer using soreceive() the socket layer does not clear m_nextpkt for us. The mbufs are sent into netgraph and then, if they contain a TCP packet delivered locally, they will enter socket code again. They can pass the first assert in sbappendstream() because m_nextpkt may be set not in the first mbuf, but deeper in the chain. So the problem will trigger much later, when local program reads the data from socket, and an mbuf with m_nextpkt becomes a first one. This bug was demasked by revision 1.54, when I made upcall queueable. Before revision 1.54 there was a very small probability to have 2 mbufs in GRE socket buffer, because ng_ksocket_incoming2() dequeued the first one immediately. - in ng_ksocket_incoming2() clear m_nextpkt on all mbufs read from socket. - restore rev. 1.54 change in ng_ksocket_incoming(). PR: kern/84952 PR: kern/82413 In collaboration with: rwatson END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-09-06T18:01:44.000000Z K 7 svn:log V 209 MFC: ignore non-useful cpufreq levels and change the powerd algorithm to one that saves more power with possibly more performance loss. This is kern_cpu.c:1.20,1.21 and powerd.c:1.9 Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-09-06T18:02:19.000000Z K 7 svn:log V 183 MFC: ignore non-useful cpufreq levels and change the powerd algorithm to one that saves more power with possibly more performance loss. This is kern_cpu.c:1.20,1.21 and powerd.c:1.9 END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-09-06T19:17:48.000000Z K 7 svn:log V 75 Fix problem with finding the still working disk in a broken mirror on VIA. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-09-06T19:28:37.000000Z K 7 svn:log V 679 Teach portsnap how to ignore unwanted parts of the ports tree. A line of the form "REFUSE foo" in portsnap.conf will result in parts of the tree matching "^foo" being (a) not extracted by "portsnap extract", (b) not updated by "portsnap update", and (c) not having any patches or new ports downloaded by "portsnap fetch" or "portsnap cron". The example shown in portsnap.conf demonstrates ignoring all the language categories. As mentioned in portsnap.conf.5, the use of an imcomplete ports tree is not officially supported; but this is something which many users have requested, so I'm adding it anyway. PR: bin/85619 (but not the patch provided therein) MFC after: 1 month END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-09-06T19:30:00.000000Z K 7 svn:log V 2696 Various small code cleanups resulting from a code reviewing and linting procedure: 1. Remove useless sub-expression: - if (*start || (!ifsspc && start > string && (nulonly || 1))) { + if (*start || (!ifsspc && start > string)) { The sub-expression "(nulonly || 1)" always evaluates to true and according to CVS logs seems to be just a left-over from some debugging and introduced by accident. Removing the sub-expression doesn't change semantics and a code inspection showed that the variable "nulonly" is also not necessary here in any way (and the expression would require fixing instead of removing). 2. Remove dead code: - if (backslash && c == '\\') { - if (read(STDIN_FILENO, &c, 1) != 1) { - status = 1; - break; - } - STPUTC(c, p); - } else if (ap[1] != NULL && strchr(ifs, c) != NULL) { + if (ap[1] != NULL && strchr(ifs, c) != NULL) { Inspection of the control and data flow showed that variable "backslash" is always false (0) when the "if"-expression is evaluated, hence the whole block is effectively dead code. Additionally, the skipping of characters after a backslash is already performed correctly a few lines above, so this code is also not needed at all. According to the CVS logs and the ASH 0.2 sources, this code existed in this way already since its early days. 3. Cleanup Style: - ! trap[signo][0] == '\0' && + ! (trap[signo][0] == '\0') && The expression wants to ensure the trap is not assigned the empty string. But the "!" operator has higher precedence than "==", so the comparison should be put into parenthesis to form the intended way of expression. Nevertheless the code was effectively not really broken as both particular NUL comparisons are semantically equal, of course. But the parenthesized version is a lot more intuitive. 4. Remove shadowing variable declaration: - char *q; The declaration of symbol "q" hides another identical declaration of "q" in the same context. As the other "q" is already reused multiple times and also can be reused again without negative side-effects, just remove the shadowing declaration. 5. Just small cosmetics: - if (ifsset() != 0) + if (ifsset()) The ifsset() macro is already coded by returning the boolean result of a comparison operator, so no need to compare this boolean result again against a numerical value. This also aligns the macros usage to the remaining existing code. Reviewed by: stefanf@ END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-09-06T20:14:39.000000Z K 7 svn:log V 56 fix typos: decribed -> described, preceeded -> preceded END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-09-06T20:36:38.000000Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-09-06T20:38:39.000000Z K 7 svn:log V 261 In sc_set_text_mode(), reset fontwidth if it is <= 0. Eliminates division by zero errors in syscons driver. Reported by: keramida, Slawa Olhovchenkov , Kyryll Mirnenko Tested by: keramida, rodrigc END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-09-06T21:11:59.000000Z K 7 svn:log V 450 Add support for multicast to the bridge and allow inet6 addresses to be assigned to the interface. IPv6 auto-configuration is disabled. An IPv6 link-local address has a link-local scope within one link, the spec is unclear for the bridge case and it may cause scope violation. An address can be assigned in the usual way; ifconfig bridge0 inet6 xxxx:... Tested by: bmah Reviewed by: ume (netinet6) Approved by: mlaier (mentor) MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-09-06T21:15:57.000000Z K 7 svn:log V 115 MFC: update release notes: - VIA PadLock support - GEOM_ELI added - de, my, pcn, sf MPSAFE Approved by: re (hrs) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-09-06T22:38:40.000000Z K 7 svn:log V 128 Clarify that any firewall that has pfil(9) hooks can be used. Suggested by: sam Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-06T22:44:26.000000Z K 7 svn:log V 406 It turns out that many of the ambicom cards have their CIS resources listed in different orders. Since it is easy to identify the Modem resources vs the Ethernet resources by looking at the size, use that rather than hard coded rids. For such parts, go ahead and guess which rid we should use based on the size. This guess appears reliable for the two example cards that I have with different CIS info. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-06T22:46:41.000000Z K 7 svn:log V 192 Go ahead and | in ED_CR_PAGE_0, even though this doesn't change things at all. It makes the code clearer. fix a comment comments about why we need to write i/o address to certain registers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-06T22:55:32.000000Z K 7 svn:log V 749 Work around a bug I've seen on Linksys EC2T cards. For some reason, as yet unknown, those cards report their MAC address a byte at a time. However, other AX88x90 cards report the MAC address a word at a time. Add a heuristic which looks at the high order bytes of the first 6 words. If they are all '0', assume the card is behaving like the Linksys EC2T card. Since the default prefix for these cards appears to be 00:e0:98, this appears to be a safe heuristic. While some cards have been observed with different prefixes, they all work with this heuristic. I'm unsure if this is a bug in the EC2T card, or if it is a bug in the initialization of the card. No other OS has this heuristic (although w/o it, the MAC address that is used works). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-06T23:15:21.000000Z K 7 svn:log V 40 move away from K&R function definitions END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-06T23:59:01.000000Z K 7 svn:log V 580 Sync with HEAD: Makefile: 1.7 add.c: 1.12, 1.23 create.c: 1.11 destroy.c: 1.6 gpt.8: 1.14, 1.15 gpt.c: 1.11, 1.12, 1.13 gpt.h: 1.8, 1.9, 1.10 label.c: 1.1 map.c: 1.6 map.h: 1.6 migrate.c: 1.14, 1.15, 1.16 recover.c: 1.8 remove.c: 1.5, 1.6, 1.7, 1.8 show.c: 1.12, 1.13 o New -l and -u options to the show command, o New label command to support GPT labels, o The remove command doesn't print the total partitions removed, as it prints each partition it removes by name already, o Added ellipsis to most usage messages. PR: ia64/83124 Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-07T00:00:16.000000Z K 7 svn:log V 241 Fix DL100xx based cards. Don't drop resources. It was approrpiate in the probe code that this used to be part of, but as part of the attach, we shouldn't be dropping the resources here. Also, allocate the proper rid in the ax88x90 setup. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-09-07T00:03:38.000000Z K 7 svn:log V 342 MFC: Retain generation count when writing zeroes instead of an inode to disk. Don't free a struct inodedep if another process is allocating saved inode memory for the same struct inodedep in initiate_write_inodeblock_ufs[12](). Handle disappearing dependencies in softdep_disk_io_initiation(). Approved by: re (scottl) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-09-07T01:42:30.000000Z K 7 svn:log V 29 Eliminate an incorrect cast. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-07T03:20:33.000000Z K 7 svn:log V 216 o Expose ed_probe_Novel_generic, it is useful for pccard case. o Fix a now stale comment. There are likely many others like them, but this one definitely hasn't been true since DELAY was introduced into the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-07T03:30:58.000000Z K 7 svn:log V 870 Minor reorg of pccard attach code to fix ax88x90 case broken after fixing dl100xx case. o We no longer acquire and release resources during attach many times. We now do it once at the beginning. o Move setting the resource offsets to just after acquiring the ports in attach. o Move ax88x90 code to the end of the file, just after the dl100xx specific code. o Rename ed_pccard_Linksys to ed_pccard_dl100xx to reflect the underlying chipset. o Pass the ed_product structure into ed_pccard_{dl100xx,ax88x90} and have those routines test the flags to see if this card should be probed in that way. o transition from ed_probe_Novell to ed_probe_Novell_generic since we already have the resources setup. o Move use of ed_probe_Novell_generic into ed_pccard_dl100xx to be more consistant with ax88x90 case. o simplify the code where we probe for the chipsets END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-07T03:34:24.000000Z K 7 svn:log V 64 Consistancy is the hobgoblin of small minds: o DLINK -> DL100XX END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-09-07T04:34:11.000000Z K 7 svn:log V 179 Unbreak release builds. Now that NO_INFO also affects the installation of texinfo and we need makeinfo to build world, we cannot have NO_INFO anymore when we populate the chroot. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-09-07T07:34:24.000000Z K 7 svn:log V 189 Fix the type of the variable 'debug'. It is used as a bitmap, so the type should be int rather than Boolean. PR: bin/84528 Submitted by: Max Okumoto MFC after: 3 weeks END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-09-07T07:49:21.000000Z K 7 svn:log V 59 Mention that uuidgen(1) generates DCE version 1 UUIDs only END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-09-07T09:23:39.000000Z K 7 svn:log V 227 Fix bug where static forward declarations weren't accepted. This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C. Submitted by: rodrigc Obtained from: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-09-07T09:53:35.000000Z K 7 svn:log V 75 Reorder code to not depend on an ISO-C illegal forward extern declaration. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-09-07T10:06:14.000000Z K 7 svn:log V 144 Forward declaring static variables as extern is invalid ISO-C. Now that GCC can properly handle forward static declarations, do this properly. END