ƒ·151144 157 372 261 412 723 483 614 226 345 400 399 264 626 182 639 280 418 215 286 194 199 335 201 406 218 377 206 280 132 262 909 166 108 348 578 605 338 762 148 1458 475 190 528 459 175 286 150 112 221 176 338 134 206 255 120 326 216 421 184 371 172 204 173 132 7228 152 239 181 176 147 229 246 137 167 136 195 147 163 532 164 304 365 112 205 317 146 145 1916 157 173 198 232 204 235 233 808 183 475 161 328 193 267 186 267 666 288 396 260 150 290 161 214 240 169 142 513 164 954 120 153 313 229 273 726 167 251 779 215 123 251 226 225 457 130 173 305 545 331 156 242 277 449 472 256 150 115 180 187 133 164 166 164 125 750 151 248 631 516 K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:21:11.000000Z K 7 svn:log V 275 MFC (by andre) | Test the mbuf flags against the correct constant. The previous | version worked as intended but only by chance. | | MT_HEADER == M_PKTHDR == 0x2. | | Revision Changes Path | 1.85 +1 -1 src/sys/compat/ndis/kern_ndis.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:22:03.000000Z K 7 svn:log V 164 MFC (by andre) | Use the correct mbuf type for MGET(). | | Revision Changes Path | 1.28 +1 -1 src/sys/netatalk/ddp_output.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:24:45.000000Z K 7 svn:log V 315 MFC (by andre) | Use the correct mbuf type for MGET(). | | Revision Changes Path | 1.304 +1 -1 src/sys/netinet/ip_input.c | 1.246 +1 -1 src/sys/netinet/ip_output.c | 1.232 +1 -1 src/sys/netinet/tcp_subr.c | 1.97 +1 -1 src/sys/netinet6/ip6_output.c Approved by: re (scottl) END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-09T04:29:08.000000Z K 7 svn:log V 630 Oops, the last-minute optimization in rev.1.8 wasn't a good idea. The 17+17+24 bit pi/2 must only be used when subtraction of the first 2 terms in it from the arg is exact. This happens iff the the arg in bits is one of the 2**17[-1] values on each side of (float)(pi/2). Revert to the algorithm in rev.1.7 and only fix its threshold for using the 3-term pi/2. Use the threshold that maximizes the number of values for which the 3-term pi/2 is used, subject to not changing the algorithm for comparing with the threshold. The 3-term pi/2 ends up being used for about half of its usable range (about 64K values on each side). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:30:31.000000Z K 7 svn:log V 386 MFC (by jhb) | - 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. | | Revision Changes Path | 1.157 +4 -1 src/sys/kern/kern_mutex.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:34:29.000000Z K 7 svn:log V 517 MFC (by le) | Shuffle around the order in which the components are compiled. | | This way, the VINUMDRIVE class is loaded before the VINUM class, | but since geom does the tasting for newly arrived classes | last-in-first-out, the VINUM class tastes first. | | This removes the need to call gv_parse_config() in the drive | taste path. | | Revision Changes Path | 1.20 +4 -14 src/sys/geom/vinum/geom_vinum_drive.c | 1.2 +1 -1 src/sys/modules/geom/geom_vinum/Makefile Approved by: re (scottl) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T04:35:10.000000Z K 7 svn:log V 133 MFC 1.16: stop RFC 4193 address on the outside interface. Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:35:42.000000Z K 7 svn:log V 248 MFC (by le) | Correct the check if a plex is accessible in case it is not up. | This makes degraded RAID5 plexes actually work. | | Revision Changes Path | 1.10 +1 -1 src/sys/geom/vinum/geom_vinum_volume.cle Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:36:44.000000Z K 7 svn:log V 303 MFC (by le) | Prevent that sync operations can be started when they are already | in progress, and be a bit more user friendly in terms of error | messages returned from the kernel. | | Revision Changes Path | 1.11 +81 -71 src/sys/geom/vinum/geom_vinum_init.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:37:34.000000Z K 7 svn:log V 302 MFC (by le) | Set the G_PF_WITHER flag on the subdisk provider that is about to | be destroyed. That way the GEOM system handles all deallocations | and we don't have to do it ourselves. | | Revision Changes Path | 1.8 +1 -34 src/sys/geom/vinum/geom_vinum_rm.c Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:39:07.000000Z K 7 svn:log V 167 MFC (by stefanf) | Fix a comment. | | Submitted by: Liam J. Foy | | Revision Changes Path | 1.20 +1 -1 src/bin/sleep/sleep.c Approved by: re (scottl) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-10-09T04:40:56.000000Z K 7 svn:log V 532 Woops, in my previous commit, I actually committed some style changes with a functional change. I know this is a big no no, so this is a forced commit to note the functional changes from my previous revision: @@ -196,7 +176,7 @@ wait_for_lock(const char *name, int flag int fd; if ((fd = open(name, O_CREAT|O_RDONLY|O_EXLOCK|flags, 0666)) == -1) { - if (errno == ENOENT || errno == EINTR || errno == EAGAIN) + if (errno == EINTR || errno == EAGAIN) return (-1); err(EX_CANTCREAT, "cannot open %s", name); } END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T04:44:51.000000Z K 7 svn:log V 86 Sync whitespace change that is found uniquely in RELENG_6, to reduce diff against it. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-09T04:45:33.000000Z K 7 svn:log V 542 - Do not hardcode the bsize to a sectorsize of 2048, even though the UDF specification specifies a logical sectorsize of 2048. Instead, get it from GEOM. - When reading the UDF Anchor Volume Descriptor, use the logical sectorsize of 2048 when calculating the offset to read from, but use the actual sectorsize to determine how much to read. - works with reading a DVD disk and a DVD disk image file via mdconfig - correctly returns EINVAL if we try to mount_udf an audio CD, instead of panicking inside GEOM when INVARIANTS is set END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-10-09T04:45:41.000000Z K 7 svn:log V 186 Finish off style(9) fixes which I started two revisions ago. This basically changes the indentation style from 4 spaces to 8 spaces which we expect to see in other FreeBSD source files. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T05:21:18.000000Z K 7 svn:log V 325 MFC: update comments: - RFC2292bis -> RFC3542 - typo fixes sys/netinet/icmp6.h 1.17 sys/netinet/ip6.h: 1.14 sys/netinet6/in6.h: 1.37 sys/netinet6/ip6_input.c: 1.82 sys/netinet6/ip6_mroute.h: 1.7 sys/netinet6/ip6_output.c: 1.91 Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T05:34:33.000000Z K 7 svn:log V 122 MFC 1.18: add missing RFC3542 definition. Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T05:50:43.000000Z K 7 svn:log V 193 MFC: move RFC3542 related definitions into ip6.h. sys/contrib/pf/net/pf_norm.c: 1.12 sys/netinet/ip6.h: 1.15 Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-09T06:36:51.000000Z K 7 svn:log V 99 Make sure that the created fifo gets deleted if the top level make instance exits due to a signal. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-09T06:39:21.000000Z K 7 svn:log V 103 MFC: Support new adapters and new communication protocol. Submitted by: Adaptec, Inc. Approved by: re END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T06:42:41.000000Z K 7 svn:log V 242 MFC 1.49: do not hardcode if_mtu values in here, except for IFT_{ARC,FDDI} - they need special handling. makes it possible to take advantage of 9k ether frames. Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T06:46:27.000000Z K 7 svn:log V 108 MFC 1.92: NULL is not zero. Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-09T06:51:11.000000Z K 7 svn:log V 313 MFC: be consistent on naming advanced API functions; use ip6_XXXpktopt(s). sys/netinet6/ip6_output.c: 1.93 sys/netinet6/ip6_var.h: 1.31 sys/netinet6/mld6.c: 1.20 sys/netinet6/raw_ip6.c: 1.51 sys/netinet6/udp6_output.c: 1.20 Approved by: re (scottl) Committed at: CBUG Meeting meets XCAST6 Festival END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-09T07:48:48.000000Z K 7 svn:log V 120 MFC: Don't use the builtin vaalist for icc. Submitted by: Igor Sysoev Approved by: re (scottl) END K 10 svn:author V 3 rik K 8 svn:date V 27 2005-10-09T08:13:56.000000Z K 7 svn:log V 284 MFC: ---------------------------- revision 1.281 date: 2005/10/04 16:27:54; author: rik; state: Exp; lines: +3 -1 Use FILEDESC_UNLOCK(fdp) after FILE_UNLOCK(p), not before to avoid LOR. Slightly discussed on current@. LOR #055 Approved by: re(scottl) Requested by: delphij END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-09T08:21:34.000000Z K 7 svn:log V 111 MFC rev. 1.234: teach sysctl_drop() how to deal with the sockets in TIME_WAIT state. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-09T08:59:34.000000Z K 7 svn:log V 183 MFC (by des) | Eliminate an unnecessary bcopy(). | | Revision Changes Path | 1.57 +15 -15 src/sys/fs/pseudofs/pseudofs_vnops.c Approved by: re (scottl) No objection: des END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-09T16:59:34.000000Z K 7 svn:log V 37 Move on to 6.0-RC1. Approved by: re END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-10-09T17:10:35.000000Z K 7 svn:log V 166 Rough implementation of the create and add verbs. The verbs cause in-memory changes only and as such are only useful for prototyping and regression testing purposes. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-09T17:28:12.000000Z K 7 svn:log V 817 MFC: > revision 1.277 > date: 2005/10/03 12:49:54; author: cperciva; state: Exp; lines: +8 -0 > If sufficiently bad things happen during a call to kern_execve(), it is > possible for do_execve() to call exit1() rather than returning. As a > result, the sequence "allocate memory; call kern_execve; free memory" > can end up leaking memory. > > This commit documents this astonishing behaviour and adds a call to > exec_free_args() before the exit1() call in do_execve(). Since all > the users of kern_execve() in the tree use exec_free_args() to free > the command-line arguments after kern_execve() returns, this should > be safe, and it fixes the memory leak which can otherwise occur. > > Submitted by: Peter Holm > MFC after: 3 days > Security: Local denial of service Approved by: re (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-10-09T17:28:13.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_0'. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-10-09T18:01:55.000000Z K 7 svn:log V 16 Add RELENG_6_0. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T19:06:34.000000Z K 7 svn:log V 253 Reinitialize v_type and v_op fields in case vnode has been reused without reclamation. If the vnode previously was a fifo then v_op would point to ffs_fifoops[12] instead of the expected ffs_vnodeops[12], causing a panic at the end of ffsext_strategy. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T19:45:01.000000Z K 7 svn:log V 483 Reduce the probability of low block numbers passed to ffs_snapblkfree() by skipping the call from ffs_snapremove() if the block number is zero. Simplify snapshot locking in ffs_copyonwrite() and ffs_snapblkfree() by using the same locking protocol for low block numbers as for larger block numbers. This removes a lock leak that could happen if vn_lock() succeeded after lockmgr() failed in ffs_snapblkfree(). Check if snapshot is gone before retrying a lock in ffs_copyonwrite(). END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T20:00:16.000000Z K 7 svn:log V 510 Eliminate a deadlock that can occur during the cgaccount() processing due to the cg map buffer being held when writing indirect blocks. The process ends up in ffs_copyonwrite(), attempting to get snaplk while holding the cg map buffer lock. Another process might be in ffs_copyonwrite(), trying to allocate a new block for a copy. It would hold snaplk while trying to get the cg map buffer lock. Release the cg map buffer early and use the copy for most of the cgaccount processing to avoid this deadlock. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T20:07:51.000000Z K 7 svn:log V 243 Eliminate a deadlock that can occur when a dirty block belonging to a snapshot file is flushed by a process not holding snaplk (e.g. bufdaemon). Another process might hold snaplk and try to access the block due to ffs_copyonwrite processing. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T20:15:15.000000Z K 7 svn:log V 667 Reduce probability for a deadlock that can occur when a snapshot inode is updated by a process holding the snapshot lock. Another process updating a different inode in the same inodeblock will do copy on write checks and lock in the opposite direction. The snapshot code force a copy on write of these blocks manually (cf. start of expunge_ufs[12]) and these inode blocks are later put on snapblklist. This partial fix is to 'drain' the relevant ffs_copyonwrite() operation after installing new snapblklist. This is not a 100% solution since a failed block allocation can cause implicit fsync() which might deadlock before the new snapblklist has been installed. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T20:49:01.000000Z K 7 svn:log V 54 Don't pretend that a failed sync write was succesful. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-09T21:07:23.000000Z K 7 svn:log V 1364 Fix numerous errors of >= 1 ulp for cosf(x) and sinf(x) (1 line) and add a comment about related magic (many lines)). __kernel_cos[f]() needs a trick to reduce the error to below 1 ulp when |x| >= 0.3 for the range-reduced x. Modulo other bugs, naive code that doesn't use the trick would have an error of >= 1 ulp in about 0.00006% of cases when |x| >= 0.3 for the unreduced x, with a maximum relative error of about 1.03 ulps. Mistransation of the trick from the double precision case resulted in errors in about 0.2% of cases, with a maximum relative error of about 1.3 ulps. The mistranslation involved not doing implicit masking of the 32-bit float word corresponding to to implicit masking of the lower 32-bit double word by clearing it. sinf() uses __kernel_cosf() for half of all cases so its errors from this bug are similar. tanf() is not affected. The error bounds in the above and in my other recent commit messages are for amd64. Extra precision for floats on i386's accidentally masks this bug, but only if k_cosf.c is compiled with -O. Although the extra precision helps here, this is accidental and depends on longstanding gcc precision bugs (not clipping extra precision on assignment...), and the gcc bugs are mostly avoided by compiling without -O. I now develop libm mainly on amd64 systems to simplify error detection and debugging. END K 10 svn:author V 6 peadar K 8 svn:date V 27 2005-10-09T21:11:05.000000Z K 7 svn:log V 379 When breaking up a large request into smaller ones for the strategy routine, create all the child bio objects before starting the requests, rather than starting them as created. This closes a race whereby some number of child operations could complete before the rest were ever created, and prematurely freeing the parent bio. This fixes the panics installing in VMWare and qemu END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T21:11:25.000000Z K 7 svn:log V 96 Adjust totread argument passed to cluster_read() to account for offset not being block aligned. END K 10 svn:author V 6 peadar K 8 svn:date V 27 2005-10-09T21:24:11.000000Z K 7 svn:log V 432 MFC revision 1.181 When breaking up a large request into smaller ones for the strategy routine, create all the child bio objects before starting the requests, rather than starting them as created. This closes a race whereby some number of child operations could complete before the rest were ever created, and prematurely freeing the parent bio. This fixes the panics installing in VMWare and qemu Approved by: re (scottl@) END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-10-09T21:59:32.000000Z K 7 svn:log V 364 MFC: main.c:1.6, perform.c:1.13, pkg_version.1:1.36, version.h:1.5 Add -o/-O options to pkg_version: -o Show the origin recorded on package generation instead of the package name. -O Only list packages whose registered origin is origin. Based on PR: bin/78640 Submitted by: Marcus Grando , flz END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-09T22:41:25.000000Z K 7 svn:log V 81 Release clean buffer with wrong size and no dependencies also for non-VMIO case. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-10-10T08:38:21.000000Z K 7 svn:log V 191 Fix pkg_info(1) and pkg_delete(1) to handle properly packages which names start with a digit. PR: bin/76858 Submitted by: Matthew D. Fuller MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T09:52:01.000000Z K 7 svn:log V 58 MFC 1.16: stop RFC 4193 address on the outside interface. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T10:25:50.000000Z K 7 svn:log V 20 MFC 1.16: fix typo. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T10:33:28.000000Z K 7 svn:log V 128 MFC: refer RFC 3542 rather than RFC 2292bis. lib/libc/net/ip6opt.c: 1.8 lib/libc/net/rcmd.3: 1.25 lib/libc/net/rthdr.c: 1.8 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T10:36:45.000000Z K 7 svn:log V 84 MFC 1.7: fixed the validation code of routing header length in inet6_rth_getaddr(). END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T10:42:09.000000Z K 7 svn:log V 245 MFC: update comments: - RFC2292bis -> RFC3542 - typo fixes sys/netinet/icmp6.h 1.17 sys/netinet/ip6.h: 1.14 sys/netinet6/in6.h: 1.37 sys/netinet6/ip6_input.c: 1.82 sys/netinet6/ip6_mroute.h: 1.7 sys/netinet6/ip6_output.c: 1.91 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T11:52:11.000000Z K 7 svn:log V 42 MFC 1.18: add missing RFC3542 definition. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T11:55:58.000000Z K 7 svn:log V 113 MFC: move RFC3542 related definitions into ip6.h. sys/contrib/pf/net/pf_norm.c: 1.12 sys/netinet/ip6.h: 1.15 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T12:00:06.000000Z K 7 svn:log V 162 MFC 1.49: do not hardcode if_mtu values in here, except for IFT_{ARC,FDDI} - they need special handling. makes it possible to take advantage of 9k ether frames. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T12:02:55.000000Z K 7 svn:log V 28 MFC 1.92: NULL is not zero. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-10T12:04:55.000000Z K 7 svn:log V 233 MFC: be consistent on naming advanced API functions; use ip6_XXXpktopt(s). sys/netinet6/ip6_output.c: 1.93 sys/netinet6/ip6_var.h: 1.31 sys/netinet6/mld6.c: 1.20 sys/netinet6/raw_ip6.c: 1.51 sys/netinet6/udp6_output.c: 1.20 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-10T12:15:07.000000Z K 7 svn:log V 119 The pthread_attr_set_createsuspend_np was broken, fix it by replacing THR_FLAGS_SUSPENDED with THR_FLAGS_NEED_SUSPEND. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-10-10T12:35:31.000000Z K 7 svn:log V 326 * pkg_version(1) exits if INDEX files is not found and -I is not specified. The result is that the package will be listed with a '?' as if it was not found within the INDEX file, so fix this behaviour. * Remove trailing spaces. PR: bin/87136 Submitted by: Sean Farley MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-10T14:49:55.000000Z K 7 svn:log V 92 Clarify the usage and effects of sys.mk, make.conf(5), and __MAKE_CONF. MFC after: 2 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-10T14:55:59.000000Z K 7 svn:log V 278 Replace "/etc/make.conf" with references to make.conf(5) where applicable. The main reason for this change is that the location of make.conf is not constant and can be modified via __MAKE_CONF. This change also improves hyper-text linkage in our manpages. MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-10T15:12:59.000000Z K 7 svn:log V 76 ALTQ support for ng_iface(4). Before turning on please consult manual page. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-10T15:14:37.000000Z K 7 svn:log V 107 - Note that ng_iface(4) now supports ALTQ. - Explain when ALTQ should be used on ng_iface(4) and when not. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-10-10T15:21:08.000000Z K 7 svn:log V 78 Bug fix initialization on multi-core HTT CPUs. Reported by: ps Tested by: ps END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-10-10T15:25:39.000000Z K 7 svn:log V 39 Correct typo. Discussed with: glebius END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T16:46:39.000000Z K 7 svn:log V 7132 This commit makes a big round of updates and fixes many, many things. First and most importantly, I threw out the thread priority-twiddling implementation of KeRaiseIrql()/KeLowerIrq()/KeGetCurrentIrql() in favor of a new scheme that uses sleep mutexes. The old scheme was really very naughty and sought to provide the same behavior as Windows spinlocks (i.e. blocking pre-emption) but in a way that wouldn't raise the ire of WITNESS. The new scheme represents 'DISPATCH_LEVEL' as the acquisition of a per-cpu sleep mutex. If a thread on cpu0 acquires the 'dispatcher mutex,' it will block any other thread on the same processor that tries to acquire it, in effect only allowing one thread on the processor to be at 'DISPATCH_LEVEL' at any given time. It can then do the 'atomic sit and spin' routine on the spinlock variable itself. If a thread on cpu1 wants to acquire the same spinlock, it acquires the 'dispatcher mutex' for cpu1 and then it too does an atomic sit and spin to try acquiring the spinlock. Unlike real spinlocks, this does not disable pre-emption of all threads on the CPU, but it does put any threads involved with the NDISulator to sleep, which is just as good for our purposes. This means I can now play nice with WITNESS, and I can safely do things like call malloc() when I'm at 'DISPATCH_LEVEL,' which you're allowed to do in Windows. Next, I completely re-wrote most of the event/timer/mutex handling and wait code. KeWaitForSingleObject() and KeWaitForMultipleObjects() have been re-written to use condition variables instead of msleep(). This allows us to use the Windows convention whereby thread A can tell thread B "wake up with a boosted priority." (With msleep(), you instead have thread B saying "when I get woken up, I'll use this priority here," and thread A can't tell it to do otherwise.) The new KeWaitForMultipleObjects() has been better tested and better duplicates the semantics of its Windows counterpart. I also overhauled the IoQueueWorkItem() API and underlying code. Like KeInsertQueueDpc(), IoQueueWorkItem() must insure that the same work item isn't put on the queue twice. ExQueueWorkItem(), which in my implementation is built on top of IoQueueWorkItem(), was also modified to perform a similar test. I renamed the doubly-linked list macros to give them the same names as their Windows counterparts and fixed RemoveListTail() and RemoveListHead() so they properly return the removed item. I also corrected the list handling code in ntoskrnl_dpc_thread() and ntoskrnl_workitem_thread(). I realized that the original logic did not correctly handle the case where a DPC callout tries to queue up another DPC. It works correctly now. I implemented IoConnectInterrupt() and IoDisconnectInterrupt() and modified NdisMRegisterInterrupt() and NdisMDisconnectInterrupt() to use them. I also tried to duplicate the interrupt handling scheme used in Windows. The interrupt handling is now internal to ndis.ko, and the ndis_intr() function has been removed from if_ndis.c. (In the USB case, interrupt handling isn't needed in if_ndis.c anyway.) NdisMSleep() has been rewritten to use a KeWaitForSingleObject() and a KeTimer, which is how it works in Windows. (This is mainly to insure that the NDISulator uses the KeTimer API so I can spot any problems with it that may arise.) KeCancelTimer() has been changed so that it only cancels timers, and does not attempt to cancel a DPC if the timer managed to fire and queue one up before KeCancelTimer() was called. The Windows DDK documentation seems to imply that KeCantelTimer() will also call KeRemoveQueueDpc() if necessary, but it really doesn't. The KeTimer implementation has been rewritten to use the callout API directly instead of timeout()/untimeout(). I still cheat a little in that I have to manage my own small callout timer wheel, but the timer code works more smoothly now. I discovered a race condition using timeout()/untimeout() with periodic timers where untimeout() fails to actually cancel a timer. I don't quite understand where the race is, using callout_init()/callout_reset()/callout_stop() directly seems to fix it. I also discovered and fixed a bug in winx32_wrap.S related to translating _stdcall calls. There are a couple of routines (i.e. the 64-bit arithmetic intrinsics in subr_ntoskrnl) that return 64-bit quantities. On the x86 arch, 64-bit values are returned in the %eax and %edx registers. However, it happens that the ctxsw_utow() routine uses %edx as a scratch register, and x86_stdcall_wrap() and x86_stdcall_call() were only preserving %eax before branching to ctxsw_utow(). This means %edx was getting clobbered in some cases. Curiously, the most noticeable effect of this bug is that the driver for the TI AXC110 chipset would constantly drop and reacquire its link for no apparent reason. Both %eax and %edx are preserved on the stack now. The _fastcall and _regparm wrappers already handled everything correctly. I changed if_ndis to use IoAllocateWorkItem() and IoQueueWorkItem() instead of the NdisScheduleWorkItem() API. This is to avoid possible deadlocks with any drivers that use NdisScheduleWorkItem() themselves. The unicode/ansi conversion handling code has been cleaned up. The internal routines have been moved to subr_ntoskrnl and the RtlXXX routines have been exported so that subr_ndis can call them. This removes the incestuous relationship between the two modules regarding this code and fixes the implementation so that it honors the 'maxlen' fields correctly. (Previously it was possible for NdisUnicodeStringToAnsiString() to possibly clobber memory it didn't own, which was causing many mysterious crashes in the Marvell 8335 driver.) The registry handling code (NdisOpen/Close/ReadConfiguration()) has been fixed to allocate memory for all the parameters it hands out to callers and delete whem when NdisCloseConfiguration() is called. (Previously, it would secretly use a single static buffer.) I also substantially updated if_ndis so that the source can now be built on FreeBSD 7, 6 and 5 without any changes. On FreeBSD 5, only WEP support is enabled. On FreeBSD 6 and 7, WPA-PSK support is enabled. The original WPA code has been updated to fit in more cleanly with the net80211 API, and to eleminate the use of magic numbers. The ndis_80211_setstate() routine now sets a default authmode of OPEN and initializes the RTS threshold and fragmentation threshold. The WPA routines were changed so that the authentication mode is always set first, followed by the cipher. Some drivers depend on the operations being performed in this order. I also added passthrough ioctls that allow application code to directly call the MiniportSetInformation()/MiniportQueryInformation() methods via ndis_set_info() and ndis_get_info(). The ndis_linksts() routine also caches the last 4 events signalled by the driver via NdisMIndicateStatus(), and they can be queried by an application via a separate ioctl. This is done to allow wpa_supplicant to directly program the various crypto and key management options in the driver, allowing things like WPA2 support to work. Whew. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T17:46:15.000000Z K 7 svn:log V 58 Import the driver_ndis files from the 0.3.9 distribution. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T17:46:15.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r151208, 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-10-10T17:46:16.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'wpa_supplicant-vendor-v0_3_9'. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-10T17:46:43.000000Z K 7 svn:log V 83 Add manual page for snd_mss(4) and hook it up to the build. Reviewed by: brueffer END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T17:48:01.000000Z K 7 svn:log V 53 Remove the driver_ndis files from the exclusion list END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-10T17:49:40.000000Z K 7 svn:log V 135 - Xref snd_mss(4). - Remove a few items from the HARDWARE list. This support is already described in the snd_mss(4) manual page. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T17:51:12.000000Z K 7 svn:log V 151 Enable -D ndis support in wpa_supplicant and add the ndis_events utility. This allows wpa_supplicant to work with WPA and WPA2 compliant NDIS drivers. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-10T18:01:18.000000Z K 7 svn:log V 44 Autogenerate hardware notes for snd_mss(4). END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T18:17:46.000000Z K 7 svn:log V 73 Add missing NDIS_UNLOCK() in one of the failure cases in SIOCGPRIVATE_0. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T18:41:36.000000Z K 7 svn:log V 42 Grrr. Add one more missing NDIS_UNLOCK(). END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-10-10T19:02:04.000000Z K 7 svn:log V 100 Avoid unintended VMIO on directories and symlinks due to leftover object not having been destroyed. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-10T19:12:43.000000Z K 7 svn:log V 55 Properly react to allocation failures. Found by: imp@ END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-10T19:13:27.000000Z K 7 svn:log V 71 Correct the former patch to the way it would have looked after review. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-10T20:02:02.000000Z K 7 svn:log V 439 Fixed range reduction near (but not very near) medium-sized multiples of pi/2 (1 line) and expand a comment about related magic (many lines). The bug was essentially the same as for the +-pi/2 case (a mistranslated mask), but was smaller so it only significantly affected multiples starting near +-13*pi/2. At least on amd64, for cosf() on all 2^32 float args, the bug caused 128 errors of >= 1 ulp, with a maximum error of 1.2393 ulps. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-10T20:13:31.000000Z K 7 svn:log V 69 Fix a missing set of lock operations. Submitted by: green PR: 87191 END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-10T20:40:28.000000Z K 7 svn:log V 209 Make forwarding of connect/disconnect events optional. wpa_supplicant seems to already be able to tell when it's associated and the extra events just confuse it. Only forward media-specific events by default. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-11T01:02:16.000000Z K 7 svn:log V 272 New OEM generic card. "10/100 Fast Ethernet PC Card". It has a generic sounding CIS "PCMCIA", "FAST ETHERENT CARD" and a bogus MANFID code (0xffff and 0x1090). However, since I'm not aware of 'generic' cards that aren't NE-2000oids, go with that and hope for the best. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-11T01:04:16.000000Z K 7 svn:log V 20 Buffalo LPC4/CLX ID END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-11T01:05:39.000000Z K 7 svn:log V 112 IDs for generic card, airvast wm_100, i-o data wn-b11/cfz Some of these may have been obtained from OpenBSD... END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-11T02:58:32.000000Z K 7 svn:log V 220 Do not unconditionally set a spanning tree port to forwarding as the link may be down when we attach. We wont get updated until a linkstate change happens. Go via bstp_ifupdstatus() which checks the media status first. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-11T06:42:02.000000Z K 7 svn:log V 54 MFC: Various adjustments. Approved by: re@ (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-11T07:30:06.000000Z K 7 svn:log V 49 Fix typo. Submitted by: maxim MFC after: 3 days END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-10-11T07:56:05.000000Z K 7 svn:log V 1822 Fixed range reduction for large multiples of pi/2 on systems with broken assignment to floats (e.g., i386 with gcc -O, but not amd64 or ia64; i386 with gcc -O0 worked accidentally). Use an unnamed volatile temporary variable to trick gcc -O into clipping extra precision on assignment. It's surprising that only 1 place needed to be changed. For tanf() on i386 with gcc -O, the bug caused errors > 1 ulp with a density of 2.3% for args larger in magnitude than 128*pi/2, with a maximum error of 1.624 ulps. After this fix, exhaustive testing shows that range reduction for floats works as intended assuming that it is in within a factor of about 2^16 of working as intended for doubles. It provides >= 8 extra bits of precision for all ranges. On i386: range max error in double/single ulps extra precision ----- ------------------------------- --------------- 0 to 3*pi/4 0x000d3132 / 0.0016 9+ bits 3*pi/4 to 128*pi/2 0x00160445 / 0.0027 8+ 128*pi/2 to +Inf 0x00000030 / 0.00000009 23+ 128*pi/2 up, -O0 before fix 0x00000030 / 0.00000009 23+ 128*pi/2 up, -O1 before fix 0x10000000 / 0.5 1 The 23+ bits of extra precision for large multiples corresponds to almost perfect reduction to a pair of floats (24 extra would be perfect). After this fix, the maximum relative error (relative to the corresponding fdlibm double precision function) is < 1 ulp for all basic trig functions on all 2^32 float args on all machines tested: amd64 ia64 i386-O0 i386-O1 ------ ------ ------ ------ cosf: 0.8681 0.8681 0.7927 0.5650 sinf: 0.8733 0.8610 0.7849 0.5651 tanf: 0.9708 0.9329 0.9329 0.7035 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-11T09:11:57.000000Z K 7 svn:log V 61 Style and other fixes for the last commit. Submitted by: ru END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-11T09:20:26.000000Z K 7 svn:log V 81 MFC: make the -M option to mdmfs configurable and document this. PR: bin/87218 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-11T11:50:36.000000Z K 7 svn:log V 100 Correct a man-in-the-middle SSL version rollback vulnerability. Security: FreeBSD-SA-05:21.openssl END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-11T11:51:45.000000Z K 7 svn:log V 134 Correct a man-in-the-middle SSL version rollback vulnerability. Security: FreeBSD-SA-05:21.openssl Approved by: so@ (cperciva) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-11T11:52:01.000000Z K 7 svn:log V 106 Correct a man-in-the-middle SSL version rollback vulnerability. Security: FreeBSD-SA-05:21.openssl END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-11T11:52:28.000000Z K 7 svn:log V 137 Correct a man-in-the-middle SSL version rollback vulnerability. Security: FreeBSD-SA-05:21.openssl Approved by: so@ (cperciva) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-11T11:53:03.000000Z K 7 svn:log V 135 Correct a man-in-the-middle SSL version rollback vulnerability. Security: FreeBSD-SA-05:21.openssl Approved by: re@ (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-11T13:48:38.000000Z K 7 svn:log V 711 Fix a regression introduced in rev. 1.107. If an item once had a writer semantics, and then was reused for next node, it still would be applied as writer again. To fix the regression the decision is made never to alter item->el_flags after the item has been allocated. This requires checking for overrides both in ng_dequeue() and in ng_snd_item(). Details: - Caller of the ng_apply_item() knows what is the current access to node and specifies it to ng_apply_item(). The latter drops the given access after item has beem applied. - ng_dequeue() needs to be supplied with int pointer, where it stores the obtained access on node. - Check for node/hook access overrides in ng_dequeue(). END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-10-11T16:05:35.000000Z K 7 svn:log V 86 Fix a syntax nit (superfluous 'a'). Submitted by: Anders Hanssen END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-10-11T19:16:48.000000Z K 7 svn:log V 381 Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults into /etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer and thus disabled by default. Bluetooth sockets layer must be either loaded as a module or compiled into kernel before the daemons can run. MFC after: 1 month END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-11T21:31:23.000000Z K 7 svn:log V 67 Fix build: remove stale KASSERT() for mutex that no longer exists. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-11T22:55:16.000000Z K 7 svn:log V 235 Mark sk(4) as capable of handling extended VLAN frames. NICs based on XMAC II chip should be ready for this in their initial mode of operation, and Yukon-based NICs are configured so by the driver. PR: kern/79998 MFC after: 1 month END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-11T22:59:01.000000Z K 7 svn:log V 100 Record sk(4) as having native support for extended VLAN frames. PR: kern/79998 MFC after: 1 month END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-11T23:24:25.000000Z K 7 svn:log V 170 MFC revision 1.24: > The pthread_attr_set_createsuspend_np was broken, fix it by > replacing THR_FLAGS_SUSPENDED with THR_FLAGS_NEED_SUSPEND. Approved by: re (scottl) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-10-12T00:45:58.000000Z K 7 svn:log V 93 Connect rc.d scripts for the hcsecd(8) and sdpd(8) daemons to the build. MFC after: 1 month END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-12T00:57:31.000000Z K 7 svn:log V 172 Drain all pending events from the driver when we get an RTM_IFINFO message, in case some were posted before ndis_events was run. This keeps us in sync with wpa_supplicant. END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-10-12T01:41:48.000000Z K 7 svn:log V 573 Ensure that a thread stays on same CPU when calculating per CPU TLB shootdown requirements. Otherwise a CPU may not get the needed TLB invalidation. The PTE valid and access flags can not be used here to avoid TLB shootdowns unless sf->cpumask == all_cpus. ( Otherwise some CPUs may still hold an even older entry in the TLB) Since sf_buf_alloc mappings are normally always used this is also not really useful and presetting accessed and modified allows the CPU to speculatively load the entry into the TLB. Both bugs can cause random data corruption. MFC after: 3 days END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-12T03:02:50.000000Z K 7 svn:log V 193 Convert ndis_set_info() and ndis_get_info() from using msleep() to KeSetEvent()/KeWaitForSingleObject(). Also make object argument of KeWaitForSingleObject() a void * like it's supposed to be. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-12T03:26:09.000000Z K 7 svn:log V 298 In pax interchange format, use UTF8 for writing link names, usernames, or group names that contain non-ASCII characters. In particular, this corrects an inconsistency reported by Ed Maste when archiving symlinks with odd characters: long symlinks would get preserved, short ones would be changed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-12T03:27:46.000000Z K 7 svn:log V 162 When reading GNU-style sparse archive entries, handle the first sparse block correctly (we used to assume that the first sparse block was always at offset zero). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-12T03:28:38.000000Z K 7 svn:log V 53 Minor style nit: tab instead of space after #define END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-10-12T06:56:00.000000Z K 7 svn:log V 197 Move execve's access time update functionality into a new vfs_mark_atime() function, and use the new function for performing efficient atime updates in mmap(). Reviewed by: bde MFC after: 2 weeks END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-12T09:13:48.000000Z K 7 svn:log V 69 AES counter mode uses 8byte IV, not 16 bytes. Obtained from: NetBSD END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-10-12T09:24:18.000000Z K 7 svn:log V 118 Unbreak the net.inet6.tcp6.getcred sysctl. This makes inetd/auth work again in IPv6 setups. Pointy hat to: ume/KAME END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-12T10:09:36.000000Z K 7 svn:log V 147 __MAKE_CONF doesn't really belong here because it is a FreeBSD extension of sys.mk. A xref to make.conf(5) will be enough here. Requested by: ru END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-12T10:18:44.000000Z K 7 svn:log V 73 After rev. 1.103 the oitem and ierror are no longer needed, remove them. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-12T12:24:37.000000Z K 7 svn:log V 49 New release notes: snd_mss(4) manual page added. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-12T14:18:58.000000Z K 7 svn:log V 416 When performing a VOP_LOOKUP() as part of UFS1 extended attribute auto-start, set cnp.cn_lkflags to LK_EXCLUSIVE. This flag must now be set so that lockmgr knows what kind of lock to acquire, and it will panic if not specified. This resulted in a panic when using extended attributes on UFS1 as of locking work present in the 6.x branch. This is a RELENG_6_0 merge candidate. Reported by: lofi MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-12T15:38:45.000000Z K 7 svn:log V 67 Make some purely internal symbols static to reduce link pollution. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2005-10-12T17:51:31.000000Z K 7 svn:log V 856 Add in kqueue support to LIO event notification and fix how it handled notifications when LIO operations completed. These were the problems with LIO event complete notification: - Move all LIO/AIO event notification into one general function so we don't have bugs in different data paths. This unification got rid of several notification bugs one of which if kqueue was used a SIGILL could get sent to the process. - Change the LIO event accounting to count all AIO request that could have been split across the fast path and daemon mode. The prior accounting only kept track of AIO op's in that mode and not the entire list of operations. This could cause a bogus LIO event complete notification to occur when all of the fast path AIO op's completed and not the AIO op's that ended up queued for the daemon. Suggestions from: alc END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2005-10-12T18:04:18.000000Z K 7 svn:log V 23 This test can run now. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2005-10-12T18:07:13.000000Z K 7 svn:log V 56 Use a better EVFILT_LIO description! Submitted by: alc END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-12T18:13:25.000000Z K 7 svn:log V 218 o INP_ONESBCAST is inpcb.inp_vflag flag not inp_flags. The confusion with IP_PORTRANGE_HIGH leads to the incorrect checksum calculation. PR: kern/87306 Submitted by: Rickard Lind Reviewed by: bms MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-10-12T19:05:22.000000Z K 7 svn:log V 137 Document that changes to nsswitch.conf might be needed when compiling with NO_NIS. PR: bin/87221 Reviewed by: simon MFC after: 4 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-12T19:12:46.000000Z K 7 svn:log V 180 Be pedantic here: We're converting from network byte order to host byte order in these cases. This is a nop in terms of the generated code, but is logically incorrect. PR: 73852 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-12T19:52:16.000000Z K 7 svn:log V 629 Change the reference counting to count the number of cloned interfaces for each cloner. This ensures that ifc->ifc_units is not prematurely freed in if_clone_detach() before the clones are destroyed, resulting in memory modified after free. This could be triggered with if_vlan. Assert that all cloners have been destroyed when freeing the memory. Change all simple cloners to destroy their clones with ifc_simple_destroy() on module unload so the reference count is properly updated. This also cleans up the interface destroy routines and allows future optimisation. Discussed with: brooks, pjd, -current Reviewed by: brooks END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-12T20:00:26.000000Z K 7 svn:log V 75 Add support for the ATI IXP[234]00 series chipsets. HW donated by: sentex END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-12T20:17:34.000000Z K 7 svn:log V 158 MFC: Properly react to allocation failures. Correct the former patch to the way it would have looked after review. Approved by: re@ (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-12T20:30:39.000000Z K 7 svn:log V 682 MFen: errata/article.sgml: 1.72 -> 1.73.2.1 hardware/amd64/proc-amd64.sgml: 1.3.4.1 -> 1.5.2.1 [dummy merge] hardware/common/artheader.sgml: 1.6 -> 1.7 hardware/common/dev.sgml: 1.277 -> 1.282.2.3 hardware/common/intro.sgml: 1.6 -> 1.7 installation/common/artheader.sgml: 1.5 -> 1.6 installation/common/trouble.sgml: 1.17 -> 1.19 installation/common/upgrade.sgml: 1.12 -> 1.13 readme/article.sgml: 1.31.2.2 -> 1.37 relnotes/common/new.sgml: 1.849 -> 1.883.2.7 Makefile: 1.3 -> 1.7 Follow the English revision to remove early adopter guide. This is intended for a RELENG_6 and RELENG_6_0 merge. Obtained from: The FreeBSD Simplified Chinese Project (delphij) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-12T21:40:41.000000Z K 7 svn:log V 122 setkey(8) was repo-copied from usr.sbin/ to sbin/. This will allow for NFS mount of /usr over IPsec. Discussed on: arch@ END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-12T21:43:47.000000Z K 7 svn:log V 31 setkey(8) was moved to /sbin/. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-10-12T22:14:44.000000Z K 7 svn:log V 158 First start rc.d/ipsec and then rc.d/mountcritremote, so we can mount NFS file system over IPsec. Suggested by: Tomasz Pi³at END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2005-10-12T22:33:22.000000Z K 7 svn:log V 128 Fix tinderbox box by removing incomplete/bad spl usage. Proper giant free locking is required in for aio. Pointed out by: imp END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-10-13T03:55:25.000000Z K 7 svn:log V 132 Restore optimizations to reduce TLB shootdowns. Alan Cox pointed out that they are really useful for sendfile(). MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-13T05:51:38.000000Z K 7 svn:log V 359 1) Use GNU libtool to build shared libraries on non-FreeBSD systems (or on FreeBSD systems when using ports). 2) Overhaul the versioning logic. In particular, SHLIB_MAJOR number is now computed as "major+minor", which ensures library versions are the same for the FreeBSD build system and the portable libtool/autoconf/automake build system. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-13T08:05:21.000000Z K 7 svn:log V 38 Minor cleanups, no functional changes END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-13T08:07:46.000000Z K 7 svn:log V 81 MFC: Add support for ATI IXP[234]00 series chipsets. Approved by: re@ (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-10-13T08:15:48.000000Z K 7 svn:log V 212 Disable RAID5 for the release. The RIAD5 code is not complete, it does not use nor maintain the parity, so it does actually only do RAID0. This is not wanted for a production release. Approved by: re@ (scottl) END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-10-13T08:27:00.000000Z K 7 svn:log V 450 MFC: perform.c:1.14 test-pkg_version.sh:1.6 date: 2005/10/10 12:35:30; author: krion; state: Exp; lines: +9 -4 * pkg_version(1) exits if INDEX files is not found and -I is not specified. The result is that the package will be listed with a '?' as if it was not found within the INDEX file, so fix this behaviour. * Remove trailing spaces. PR: bin/87136 Submitted by: Sean Farley END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-10-13T08:30:52.000000Z K 7 svn:log V 236 MFC: delete/main.c:1.27 info/main.c:1.48 Fix pkg_info(1) and pkg_delete(1) to handle properly packages which names start with a digit. PR: bin/76858 Submitted by: Matthew D. Fuller END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-13T08:58:43.000000Z K 7 svn:log V 62 o Merge FreeBSD-SA-05:21.openssl. Approved by: so (cperciva) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-13T09:43:30.000000Z K 7 svn:log V 145 Clean up the if_bridge hooks a bit in if_ethersubr.c and ng_ether.c, move the broadcast/multicast test to bridge_input(). Requested by: glebius END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-13T11:55:50.000000Z K 7 svn:log V 180 - When flushing node input queue, check whether item has a callback. If it does, then call it suppling ENOENT as error value. - Add assert, that helped to catch the above error. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-13T16:01:28.000000Z K 7 svn:log V 356 - When bintime was added to this manpage, standalone .Nm changed from microtime to bintime. However, one standaline .Nm wasn't changed, and as a result, the manpage claimed that bintime was added in both 5.0 and 3.0. Fix by listing microtime explicitly. - Fix a grammar bogon. PR: docs/87147 (1) Submitted by: Matthew Luckie (1) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-13T16:57:53.000000Z K 7 svn:log V 379 - Clarify when the softc is allocated. It is allocated when a device is probed and attached, not on the first call to device_get_softc(). - Add a cross reference to DEVICE_PROBE regarding the caveats of using the softc in a driver's probe routine. - Fix a grammar bogon. PR: docs/87176 (1) Submitted by: Devon H. O'Dell dodell at offmyserver dot com (1) MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-13T17:20:06.000000Z K 7 svn:log V 159 Mention that hptmv(4) actually works for the amd64 platform as well. Suggested by: Mikhail Teterin [mi+mx aldan algebra com] Submitted by: me PR: docs/87302 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-13T17:25:28.000000Z K 7 svn:log V 54 Language nits. Submitted by: nukq at newsmth org, me END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-13T17:26:14.000000Z K 7 svn:log V 24 Remove a stale comment. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-13T17:30:59.000000Z K 7 svn:log V 84 MFC Simplified Chinese translation of Release Documentations Approved by: re (hrs) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-13T17:32:39.000000Z K 7 svn:log V 91 MFRELENG_6 Simplified Chinese translation of Release Documentations Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-13T17:57:34.000000Z K 7 svn:log V 41 setkey(8) is not WARNS=2 compliant, yet. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-10-13T17:57: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 ume K 8 svn:date V 27 2005-10-13T18:12:46.000000Z K 7 svn:log V 74 fixed a crush when either -lh or -ls option is used. Obtained from: KAME END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-10-13T18:12:47.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-13T18:28:26.000000Z K 7 svn:log V 32 Add support for ATI IXP[234]00. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-13T20:22:07.000000Z K 7 svn:log V 657 Minor tweaks and fixups: - Use device_printf() and if_printf() and remove nge_unit. - Use callout_init_mtx() and remove nge_tick_locked() as nge_tick() is now always called with the driver lock held. - Use M_ZERO to contigmalloc() when allocating nge_ldata. It was possible for the random garbage to be used in certain cases otherwise. - Cleanup attach error handling including no longer leaking nge_ldata. - Add locking to the ifmedia callouts. - Lock accesses to if_hwassist and if_capenable in nge_ioctl(). Submitted by: Yuriy N. Shkandybin jura at networks dot ru (1, 3, 4) Tested by: Yuriy N. Shkandybin jura at networks dot ru MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-13T21:11:20.000000Z K 7 svn:log V 60 In detach method, move if_free() after bus_teardown_intr(). END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-10-13T21:48:27.000000Z K 7 svn:log V 152 Consolidate two adjacent conditional blocks I actually believe the code in question should be elsewhere (in the preceding function). MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-13T22:06:02.000000Z K 7 svn:log V 538 o Fix probing of rtl80x9 parts. We shouldn't be calling ed_probe_generic8390 where we're calling it. It will be done as part of ed_probe_Novel_generic after things are setup in a way that ed_probe_generic8390 will grok. o Fix operator precedence botch that causes a panic when setting the media type for 10baseT connections. o Save the type of device so that it prints with the rest of the probe. # this should make it work with qemu again, but only if it has my patches # to actually implement the RTL8029 specific registers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-13T22:12:34.000000Z K 7 svn:log V 423 If we can't probe the RTL80x9 for some reason, fall back to probing it as a Novell NE-2000. This is necessary for unpatched qemu working correctly. qemu claims to be a RTL8029, but doesn't implement the RTL8029 specific registers at this time. I've created patches for that, but there's no reason we can't use qemu's emulation w/o these patches. This should make life easier for those folks that boot FreeBSD via qemu. END