ƒ¯>167000 186 352 120 128 273 199 164 374 1900 223 140 2581 1233 488 310 339 168 311 191 181 107 202 264 226 283 330 130 122 146 157 268 778 154 134 283 146 1130 389 122 153 273 153 122 365 140 927 172 133 256 282 151 1539 773 219 127 765 172 111 161 182 234 138 475 559 103 154 103 409 199 457 171 164 164 195 180 128 140 157 191 169 132 255 191 143 215 152 161 167 277 196 152 203 317 130 948 395 149 204 210 142 320 303 276 171 153 129 103 303 297 178 137 191 115 283 450 107 214 213 428 234 255 250 569 155 183 148 159 569 142 269 361 139 139 336 434 148 150 337 163 1047 245 151 1131 199 222 143 542 253 176 394 114 481 171 210 181 209 112 561 240 219 177 491 261 168 146 234 631 127 296 225 307 148 228 214 255 201 158 163 125 142 166 170 311 187 158 244 571 K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-26T00:42:17.000000Z K 7 svn:log V 254 Implement the -h flag (set an ACL on a symbolic link). Before this fix the -h flag was ignored (i.e. setfacl always set the ACL on the file pointed to by the symbolic link even when the -h flag requested that the ACL be set on the symbolic link itself). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T01:05:01.000000Z K 7 svn:log V 25 MFC: Big endian support. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T01:19:06.000000Z K 7 svn:log V 33 MFC: Big endian support for arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T02:03:48.000000Z K 7 svn:log V 177 Erm we can't change the value of arm_memcpy if we're running from flash. Instead, make memcpy() check if we're running from flash, and avoid using arm_memcpy if we're doing so. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T02:04:24.000000Z K 7 svn:log V 103 Define FLASHADDR and LOADERRAMADDR for the Avila, so that we can boot a kernel from the onboard flash. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-02-26T02:04:25.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-02-26T02:07:02.000000Z K 7 svn:log V 276 Move _posix1e_acl_name_to_id out of acl_support.c and into acl_from_text.c. Since acl_from_text.c is the only place it is used, we can now make this internal utility function "static." As a bonus, acl_set_fd() no longer pulls in getpwuid() for no reason. MFC after: 7 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-02-26T03:38:09.000000Z K 7 svn:log V 1802 Close race conditions between fork() and [sg]etpriority()'s PRIO_USER case, possibly also other places that deferences p_ucred. In the past, we insert a new process into the allproc list right after PID allocation, and release the allproc_lock sx. Because most content in new proc's structure is not yet initialized, this could lead to undefined result if we do not handle PRS_NEW with care. The problem with PRS_NEW state is that it does not provide fine grained information about how much initialization is done for a new process. By defination, after PRIO_USER setpriority(), all processes that belongs to given user should have their nice value set to the specified value. Therefore, if p_{start,end}copy section was done for a PRS_NEW process, we can not safely ignore it because p_nice is in this area. On the other hand, we should be careful on PRS_NEW processes because we do not allow non-root users to lower their nice values, and without a successful copy of the copy section, we can get stale values that is inherted from the uninitialized area of the process structure. This commit tries to close the race condition by grabbing proc mutex *before* we release allproc_lock xlock, and do copy as well as zero immediately after the allproc_lock xunlock. This guarantees that the new process would have its p_copy and p_zero sections, as well as user credential informaion initialized. In getpriority() case, instead of grabbing PROC_LOCK for a PRS_NEW process, we just skip the process in question, because it does not affect the final result of the call, as the p_nice value would be copied from its parent, and we will see it during allproc traverse. Other potential solutions are still under evaluation. Discussed with: davidxu, jhb, rwatson PR: kern/108071 MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-26T04:48:24.000000Z K 7 svn:log V 130 mii_phy_dev_probe returns its third argument on match, not 0, so pass 0 in if we're going to test against 0. Noticed by: marius@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-26T05:17:47.000000Z K 7 svn:log V 46 Remove unused header file END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-26T06:18:53.000000Z K 7 svn:log V 2482 Declare a `struct extattr' that defines the format of an extended attribute. Also define some macros to manipulate one of these structures. Explain their use in the extattr.9 manual page. The next step will be to make a sweep through the kernel replacing the old pointer manipulation code. To get an idea of how they would be used, the ffs_findextattr() function in ufs/ffs/ffs_vnops.c is currently written as follows: /* * Vnode operating to retrieve a named extended attribute. * * Locate a particular EA (nspace:name) in the area (ptr:length), and return * the length of the EA, and possibly the pointer to the entry and to the data. */ static int ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name, u_char **eap, u_char **eac) { u_char *p, *pe, *pn, *p0; int eapad1, eapad2, ealength, ealen, nlen; uint32_t ul; pe = ptr + length; nlen = strlen(name); for (p = ptr; p < pe; p = pn) { p0 = p; bcopy(p, &ul, sizeof(ul)); pn = p + ul; /* make sure this entry is complete */ if (pn > pe) break; p += sizeof(uint32_t); if (*p != nspace) continue; p++; eapad2 = *p++; if (*p != nlen) continue; p++; if (bcmp(p, name, nlen)) continue; ealength = sizeof(uint32_t) + 3 + nlen; eapad1 = 8 - (ealength % 8); if (eapad1 == 8) eapad1 = 0; ealength += eapad1; ealen = ul - ealength - eapad2; p += nlen + eapad1; if (eap != NULL) *eap = p0; if (eac != NULL) *eac = p; return (ealen); } return(-1); } After applying the structure and macros, it would look like this: /* * Vnode operating to retrieve a named extended attribute. * * Locate a particular EA (nspace:name) in the area (ptr:length), and return * the length of the EA, and possibly the pointer to the entry and to the data. */ static int ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name, u_char **eapp, u_char **eac) { struct extattr *eap, *eaend; eaend = (struct extattr *)(ptr + length); for (eap = (struct extattr *)ptr; eap < eaend; eap = EXTATTR_NEXT(eap)){ /* make sure this entry is complete */ if (EXTATTR_NEXT(eap) > eaend) break; if (eap->ea_namespace != nspace || eap->ea_namelength != length || bcmp(eap->ea_name, name, length)) continue; if (eapp != NULL) *eapp = eap; if (eac != NULL) *eac = EXTATTR_CONTENT(eap); return (EXTATTR_CONTENT_SIZE(eap)); } return(-1); } Not only is it considerably shorter, but it hopefully more readable :-) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-26T08:15:56.000000Z K 7 svn:log V 1134 Update the dump program to save extended attributes. Update the restore program to restore all dumped extended attributes. If the restore is running as root, it will always be able to restore all extended attributes. If it is not running as root, it makes a best effort to set them. Using the -v command line flag or the `verbose' command in interactive mode will display all the extended attributes being set on files (and at the end on directories) that are being restored. It will note any extended attributes that could not be set. The extended attributes are placed on the dump image immediately following each file's data. Older versions of restore can work with the newer dump images. Old versions of restore will correctly restore the file data and then (silently) skip over the extended attribute data and proceed to the next file. This resolves PR 93085 which will be closed once the code has been MFC'ed. Note that this code will not compile until these header files have been updated: and . PR: bin/93085 Comments from: Poul-Henning Kamp and Robert Watson MFC after: 3 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-02-26T08:26:44.000000Z K 7 svn:log V 393 general LOCK_PROFILING cleanup - only collect timestamps when a lock is contested - this reduces the overhead of collecting profiles from 20x to 5x - remove unused function from subr_lock.c - generalize cnt_hold and cnt_lock statistics to be kept for all locks - NOTE: rwlock profiling generates invalid statistics (and most likely always has) someone familiar with that should review END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T10:16:53.000000Z K 7 svn:log V 213 Fix a likely bug by adding what appears to be a missing break statement in the IPX over IP configuration ioctl: when changing the flags on a tunnel interface, return the generated error rather than always EINVAL. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-26T10:45:21.000000Z K 7 svn:log V 247 Don't block on the socket zone limit during the socket() call which can easily lock up a system otherwise; instead, return ENOBUFS as documented in a manpage, thus reverting us to the FreeBSD 4.x behavior. Reviewed by: rwatson MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T11:55:34.000000Z K 7 svn:log V 72 Build ipx_ip.c only if options IPXIP is defined. No functional change. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T12:07:08.000000Z K 7 svn:log V 214 Mark data structures used on the wire with IPX SAP as __packed so that they are not inappropriately padded as a result of compiler changes. PR: kern/74105 Submitted by: Bob Johnson END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-02-26T12:23:32.000000Z K 7 svn:log V 99 Fix include declaration it was sys/sctp.h should be netinet/sctp.h, reported by pluknet@gmail.com. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-26T15:17:19.000000Z K 7 svn:log V 89 Document m_pulldown(). Obtained from: MBUF issues in 4.4BSD IPv6/IPsec support (itojun) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-26T16:36:48.000000Z K 7 svn:log V 15 Fix a comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-26T16:48:14.000000Z K 7 svn:log V 109 Mark the kernel linker file as linked so that it is visible to the various kld*() syscalls. Tested by: piso END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-02-26T17:09:29.000000Z K 7 svn:log V 170 Remove extraneous "No advisories" notation that should have gone away when 6.2 got its first security advisory. Submitted by: Johann Tonsing jtonsing at fastmail dot fm END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-02-26T17:48:35.000000Z K 7 svn:log V 132 MFC: Check that the length of the received message is at least as big as a PDU before we use pdu->len. Submitted by: Iain Hibbert END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-02-26T17:57:07.000000Z K 7 svn:log V 189 MFC: Check that the length of the received message is at least as big as a PDU before we use pdu->len. While I'm here, sync up code with RELENG_6 and CURRENT. Submitted by: Iain Hibbert END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T19:05:13.000000Z K 7 svn:log V 233 Add rw_wowned() interface to rwlock(9), allowing a kernel thread to determine if it holds an exclusive rwlock reference or not. This is non-ideal, but recursion scenarios in the network stack currently require it. Approved by: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T19:07:41.000000Z K 7 svn:log V 34 Update rwlock(9) for rw_wowned(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T19:09:36.000000Z K 7 svn:log V 26 Add rw_wowned(9) symlink. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-26T19:28:18.000000Z K 7 svn:log V 54 Use NULL rather than 0 for various pointer constants. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T20:29:29.000000Z K 7 svn:log V 62 MFC rev 1.2: Provide definitions suitable for arm big-endian. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T20:38:31.000000Z K 7 svn:log V 172 MFC rev 1.29 and 1.30: Use __QUAD_LOWWORD for __syscall, to always use the good word, whatever the endianness is. Special casing of __syscall return value for big endian. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-26T20:47:52.000000Z K 7 svn:log V 681 Revise locking strategy used for UNIX domain sockets in order to improve concurrency: - Add per-unpcb mutexes protecting unpcb connection state, fields, etc. - Replace global UNP mutex with a global UNP rwlock, which will protect the UNIX domain socket connection topology, v_socket, and be acquired exclusively before acquiring more than per-unpcb at a time in order to avoid lock order issues. In performance measurements involving MySQL, this change has little or no overhead on UP (+/- 1%), but leads to a significant (5%-30%) improvement in multi-processor measurements using the sysbench and supersmack benchmarks. Much testing by: kris Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-26T20:50:58.000000Z K 7 svn:log V 62 MFC r1.47: Use mii_phy_dev_probe() to reduce diffs with HEAD. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-26T20:56:34.000000Z K 7 svn:log V 42 MFC: Add missing MIIBUS_MEDIAINIT() call. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-26T20:58:08.000000Z K 7 svn:log V 190 MFC: Add support for SERDES phys which are handled by gentbi(4). brgphy(4) had to be changed to only attach to 5706C phys as the SERDES phys use the same MII model ID. Approved by: dwhite END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-26T21:11:38.000000Z K 7 svn:log V 49 MFC: rev. 1.7 Remove an obsolete error message. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-26T22:24:14.000000Z K 7 svn:log V 1035 Add three new ioctl(2) commands for bpf(4). - BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining whether incoming, outgoing, or all packets on the interface should be returned by BPF. Set to BPF_D_IN to see only incoming packets on the interface. Set to BPF_D_INOUT to see packets originating locally and remotely on the interface. Set to BPF_D_OUT to see only outgoing packets on the interface. This setting is initialized to BPF_D_INOUT by default. BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but kept for backward compatibility. - BIOCFEEDBACK sets packet feedback mode. This allows injected packets to be fed back as input to the interface when output via the interface is successful. When BPF_D_INOUT direction is set, injected outgoing packet is not returned by BPF to avoid duplication. This flag is initialized to zero by default. Note that libpcap has been modified to support BPF_D_OUT direction for pcap_setdirection(3) and PCAP_D_OUT direction is functional now. Reviewed by: rwatson END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-02-26T22:25:21.000000Z K 7 svn:log V 293 Reap FIN_WAIT_2 connections marked SOCANTRCVMORE faster. This mitigate potential issues where the peer does not close, potentially leaving thousands of connections in FIN_WAIT_2. This is controlled by a new sysctl fast_finwait2_recycle, which is disabled by default. Reviewed by: gnn, silby. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T23:10:16.000000Z K 7 svn:log V 27 MFC: Add CPU_XSCALE_IXP425 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T23:13:09.000000Z K 7 svn:log V 58 MFC support for the IXP425. MFC work largely done by: sam END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T23:17:51.000000Z K 7 svn:log V 177 MFC: add support for the Analog Devices AD7418 chip and the DS1672 RTC. This require some bits of the work done by imp@ on iicbus, it should be harmless. MFC work done by: sam END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T23:18:21.000000Z K 7 svn:log V 58 MFC: Use -EB for LD as well, if we're running big endian. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T23:23:31.000000Z K 7 svn:log V 27 MFC: bounce pages for arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-26T23:33:07.000000Z K 7 svn:log V 269 Partial MFC of rev 1.22 (the other bits were already MFC'd by marcel). Additionally, remove the probe for the high 4 bits of IER being 0 and don't assume we can always read/write 0 to/from those bits. This is needed to get uart(4) to work on Xscale PXA255 and IXP425. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-27T00:02:40.000000Z K 7 svn:log V 45 MFC: make arm/disassem.c conditional on DDB. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-02-27T00:14:20.000000Z K 7 svn:log V 834 Rework EC I/O approach. Implement burst mode, including proper handling of case where it asynchronously exits burst mode on its own. Handle different values of hz in sleep loop. Provide more debugging options to tune EC behavior. These tunables/sysctls may be temporary and are not for user access if the EC is working properly. Burst mode is now on by default for testing and the poll interval has been increased from 100 to 500 us and total timeout from 100 to 500 ms. Hopefully this should be the first step of addressing reports of timeout errors during battery or thermal access, especially on HP/Compaq laptops. It is reasonably stable and should not cause a loss of functionality or performance on systems that were previously working. Testing shows an increase of responsiveness by ~75% on one system. PR: kern/98171 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-02-27T00:27:50.000000Z K 7 svn:log V 77 MFC: Teach the kernel and the ELF trampoline how to boot from onboard flash. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-27T01:48:58.000000Z K 7 svn:log V 41 Replace spaces with tabs in some places. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-02-27T01:54:17.000000Z K 7 svn:log V 160 MFC fbsd-threads.c 1.16: Avoid writing uninitialized stack data into a thread's MMX/SSE state by first getting the current state with td_thr_getxmmregs_p. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-02-27T02:08:01.000000Z K 7 svn:log V 188 MFP4: 115094 Linux does not check file descriptor when MAP_ANONYMOUS is set. This should fix recent LTP test regressions. Reported by: Scot Hetzel (swhetzel at gmail dot com) netchild END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-02-27T02:51:41.000000Z K 7 svn:log V 58 Add warning about deadlocks created by use of wakeup_one. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-02-27T04:01:58.000000Z K 7 svn:log V 1442 First cut at GEOM based multipath. This is an active/passive{/passive...} arrangement that has no intrinsic internal knowledge of whether devices it is given are truly multipath devices. As such, this is a simplistic approach, but still a useful one. The basic approach is to (at present- this will change soon) use camcontrol to find likely identical devices and and label the trailing sector of the first one. This label contains both a full UUID and a name. The name is what is presented in /dev/multipath, but the UUID is used as a true distinguishor at g_taste time, thus making sure we don't have chaos on a shared SAN where everyone names their data multipath as "Fred". The first of N identical devices (and N *may* be 1!) becomes the active path until a BIO request is failed with EIO or ENXIO. When this occurs, the active disk is ripped away and the next in a list is picked to (retry and) continue with. During g_taste events new disks that meet the match criteria for existing multipath geoms get added to the tail end of the list. Thus, this active/passive setup actually does work for devices which go away and come back, as do (now) mpt(4) and isp(4) SAN based disks. There is still a lot to do to improve this- like about 5 of the 12 recommendations I've received about it, but it's been functional enough for a while that it deserves a broader test base. Reviewed by: pjd Sponsored by: IronPort Systems MFC: 2 months END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-02-27T04:54:33.000000Z K 7 svn:log V 680 Use a periodic itimer instead of repeated calls to alarm() in sidewaysintpr(). This increases the accuracy of the per-interval counts when they are interpreted as rates. Repeated calls to alarm(n) give an average interval that is about 2 ticks larger than n and has a large variance. Periodic itimers normally get the average almost right but have similarly large variance (due to scheduling delays). Statistics utilities should use clock_gettime() to determine the actual interval, but it is still useful to maximize the accuracy of the interval, especially for cases like netstat -w where counts are displayed so the program cannot hide the inaccuracy in a rate conversion. END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-02-27T05:10:36.000000Z K 7 svn:log V 126 Fixed some style bugs (whitespace lossage for removal of __P(()), and lots of naming and typing errors involving `interval'). END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-02-27T05:39:22.000000Z K 7 svn:log V 34 Update HISTORY. Reviewed by: dmr END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-02-27T06:42:05.000000Z K 7 svn:log V 670 Further improvements to LOCK_PROFILING: - Fix missing initialization in kern_rwlock.c causing bogus times to be collected - Move updates to the lock hash to after the lock is released for spin mutexes, sleep mutexes, and sx locks - Add new kernel build option LOCK_PROFILE_FAST - only update lock profiling statistics when an acquisition is contended. This reduces the overhead of LOCK_PROFILING to increasing system time by 20%-25% which on "make -j8 kernel-toolchain" on a dual woodcrest is unmeasurable in terms of wall-clock time. Contrast this to enabling lock profiling without LOCK_PROFILE_FAST and I see a 5x-6x slowdown in wall-clock time. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-27T07:28:17.000000Z K 7 svn:log V 75 Fix an error in dumping large sparse files containing extended attributes. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-02-27T07:29:15.000000Z K 7 svn:log V 16 Add a man page. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2007-02-27T07:34:28.000000Z K 7 svn:log V 64 KASSERT fails when the condition is false, not when it is true. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-27T07:53:20.000000Z K 7 svn:log V 85 First cleanup pass: new sentence -> new line, typos fixed, some markup errors fixed. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-27T08:41:15.000000Z K 7 svn:log V 137 MFC r1.19: Create a link from hosts.allow(5) hosts_access(3), to give the user a starting point for more information on a file in /etc. END K 10 svn:author V 3 ale K 8 svn:date V 27 2007-02-27T08:56:11.000000Z K 7 svn:log V 46 Call the multipath device with its real name. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2007-02-27T09:00:51.000000Z K 7 svn:log V 379 (cam_rescan): Do not reference ccb->ccb_h.path in CAM_DEBUG call before it is initialized; use path instead. This change fixes a panic when using atapicam in conjunction with CAMDEBUG, which has been described under kern/103602. Thanks to Josh Carroll for providing the traces that allowed identifying this problem. PR: kern/103602 MFC after: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-27T09:04:56.000000Z K 7 svn:log V 462 MFC rev. 1.34-1.36 mdconfig.8 rev. 1.52-1.54 mdconfig.c Make attach the default for -f and assume '-a' and '-t malloc' flags for '-s ' (malloc ramdisk) if not specified. To mount an image: MD=`mdconfig -f image` mount $MD /mnt To create and mount a RAM disk (gosh, last I used those was on an Atari 1040ST: 256kb just to piss off the 640kb PC loosers) MD=`mdconfig -s 5mb` newfs /dev/$MD mount /dev/$MD /mnt Et voila! Much easier to remember. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-27T11:25:58.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 3 des K 8 svn:date V 27 2007-02-27T12:05:25.000000Z K 7 svn:log V 62 Add GEOM_MULTIPATH so LINT will build. Pointy hat to: mjacob END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-27T12:06:02.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-27T12:15:51.000000Z K 7 svn:log V 312 MFC: 1.203 +6 -2 src/sys/cam/scsi/scsi_da.c 1.101 +1 -1 src/sys/geom/geom_disk.c Reduce the noise when plugging in (USB) mass storage devices, like a 4 port flash card reader. Also remove an 'Opened da0 -> ' which is not needed on a daily basis (available through bootverbose). END K 10 svn:author V 3 des K 8 svn:date V 27 2007-02-27T13:02:29.000000Z K 7 svn:log V 106 Clean the lib32 object directory with cleandir rather than rm -rf. Discussed with: ru MFC after: 2 weeks END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-27T13:27:06.000000Z K 7 svn:log V 364 MFC: Use int instead of u_int for the 'extra' argument to the clone_create() KPI. This fixes a signedness bug in unit number comparisons. Revision Changes Path 1.201 +1 -1 src/sys/kern/kern_conf.c 1.67 +1 -1 src/sys/net/if_tap.c 1.231 +1 -1 src/sys/sys/conf.h Submitted by: imp, Landon Fuller PR: kern/105228 END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-02-27T13:39:34.000000Z K 7 svn:log V 78 Correct return code (int) for at91_rtc_intr() prototype. Approved by: cognet END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-27T14:20:40.000000Z K 7 svn:log V 68 Make hosts.allow a link to hosts_options instead. Requested by: ru END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-27T14:22:07.000000Z K 7 svn:log V 68 Make hosts.allow point to hosts_options instead. Requested by: ru END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-27T14:45:37.000000Z K 7 svn:log V 102 Add INADDR_ALLRPTS_GROUP define for 224.0.0.22 for future IGMPv3 support. Obtained from: OpenSolaris END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-02-27T15:31:11.000000Z K 7 svn:log V 87 Add proper return codes to zs_intr() filter, and fix accordinlgly zs_intr() prototype. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-27T16:13:19.000000Z K 7 svn:log V 37 Remove a (harmless) stray backslash. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-27T16:21:01.000000Z K 7 svn:log V 49 Fix markup and grammar bugs in recent revisions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T16:32:55.000000Z K 7 svn:log V 65 In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes. END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-02-27T16:52:27.000000Z K 7 svn:log V 99 Fix obvious typo (use long name if short name isn't provided). Reviewed by: sam MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-27T17:00:59.000000Z K 7 svn:log V 77 unbreak create operation, must copy argument to global name Spotted by: des END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-27T17:03:22.000000Z K 7 svn:log V 40 correct type to silence const complaint END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-02-27T17:09:20.000000Z K 7 svn:log V 161 Do not execute filter only handlers in ithread_execute_handlers(): this fixes the panics when filter only and ithread only handlers where sharing the same irq . END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-27T17:11:18.000000Z K 7 svn:log V 99 o consistently check strlcpy result o warn when we skip an interface because it's name is too long END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T17:15:39.000000Z K 7 svn:log V 51 Use tsleep() rather than msleep() with a NULL mtx. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T17:16:52.000000Z K 7 svn:log V 122 Always protect the kthread flags with the lock and close a race with module unload and kthread_exit(). MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T17:19:33.000000Z K 7 svn:log V 60 Use pause() rather than using tsleep() on a dummy variable. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T17:22:30.000000Z K 7 svn:log V 69 Use pause() rather than tsleep() on explicit global dummy variables. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T17:23:29.000000Z K 7 svn:log V 75 Use pause() rather than tsleep() on stack variables and function pointers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T17:27:23.000000Z K 7 svn:log V 184 Use pause() instead of tsleep()'s on the softc pointer that have no corresponding wakeups. Also, at least some of the comments nearby indicate that these are fixed-length I/O sleeps. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T18:45:37.000000Z K 7 svn:log V 103 Use taskqueue_drain() to wait for any pending tasks to complete rather than just pausing for a second. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T18:46:07.000000Z K 7 svn:log V 60 Print tid's rather than thread pointers in KTR_PROC traces. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-02-27T18:59:27.000000Z K 7 svn:log V 106 Forced commit (cut&paste error in the MFC): The default is '-t swap' not '-t malloc'. Noticed by: brooks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-27T19:40:26.000000Z K 7 svn:log V 224 Use pause() in vm_object_deallocate() to yield the CPU to the lock holder rather than a tsleep() on &proc0. The only wakeup on &proc0 is intended to awaken the swapper, not random threads blocked in vm_object_deallocate(). END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-27T22:27:53.000000Z K 7 svn:log V 38 Entries sorted by id number, not name END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-27T22:33:50.000000Z K 7 svn:log V 855 Some USB mass storage devices return the number of sectors in response to a READ_CAPACITY request rather than the maximum sector (off by one problem). This causes a huge cascade of errors as the geom tasting code tries to read the last sector (which isn't really there in the face of this error). automated tools that manipulate disk labels and such also have issues. Create a new quirk READ_CAPACITY_OFFBY1 and add a quirk for the SanDISK ImageMate that I have that suffers from this problem (the SDDR-31). It intercepts the READ_CAPACITY response and adjusts it from number of sectors to max sector for devices with this quirk. Reading the Linux source suggests that there are a host of other devices with this issue, including iPods and some popular cameras. I've not added quirks for them, since I don't have the devices in front of me to test. END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-02-27T23:09:31.000000Z K 7 svn:log V 301 Furhter clarifications: - the issues with wakeup_one are due to address space clashes between unrelated groups of threads. - sleep() was removed in FreeBSD 2.2. - date the page today, not 4 days ago. - replace grammatically correct "woken" with "woken up" for consistency with the function name. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-27T23:38:58.000000Z K 7 svn:log V 57 Add a comment for PRIV_NET_SETLLADDR. OK'ed by: rwatson END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T05:29:23.000000Z K 7 svn:log V 112 Fix panic on boot caused by setting up a NULL interrupt handler. Submitted by: Goran Gajic Pointy hat to: piso END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-02-28T08:08:50.000000Z K 7 svn:log V 113 Lock unp2 after checking for a non-NULL unp2 pointer in uipc_send() on datagram UNIX domain sockets, not before. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T09:04:46.000000Z K 7 svn:log V 51 Revert previous change and take back a pointy hat. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-28T09:26:53.000000Z K 7 svn:log V 227 MFC rev. 1.431: Remove union_dircheckp hook, it is not needed by new unionfs code anymore. As consequence, getdirentries() no longer needs to drop/reacquire directory vnode lock, that would allow it to be reclaimed in between. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-28T09:27:45.000000Z K 7 svn:log V 210 MFC rev. 1.579: MFi386 rev. 1.544 of i386/i386/pmap.c: Rounding addr upwards to next 2M boundary in pmap_growkernel() could cause addr to become 0, resulting in an early return without populating the last PDE. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T10:13:32.000000Z K 7 svn:log V 184 - Adopt the short description from POSIX as it better matches the utility name. - Fix a bug in description: the range preceded by a dash selects up to the last number, not first. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T10:19:25.000000Z K 7 svn:log V 80 Check in some insignificant fixes obtained as a result of the translation work. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T10:22:19.000000Z K 7 svn:log V 62 Backport markup fixes from a translated version of a manpage. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T10:24:34.000000Z K 7 svn:log V 38 Fix a nit noticed during translation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T10:29:48.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-02-28T12:41:49.000000Z K 7 svn:log V 206 Toss the code, that handles errors from ip_output(), to make it more readable: - Merge two embedded if() into one. - Introduce switch() block to handle different kinds of errors. Reviewed by: rwatson, bms END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-02-28T12:47:49.000000Z K 7 svn:log V 200 Add EHOSTDOWN and ENETUNREACH to the list of soft errors, that shouldn't be returned up to the caller. PR: 100172 Submitted by: "Andrew - Supernews" Reviewed by: rwatson, bms END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-28T14:04:25.000000Z K 7 svn:log V 81 MFC: rev. 1.29 Complete the support for altq(4). Approved by: rwatson (mentor) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-28T14:06:25.000000Z K 7 svn:log V 40 MFC: Complete the support for altq(4). END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-02-28T16:28:49.000000Z K 7 svn:log V 98 International code for Russian Ruble is changed from RUR to RUB starting from 1.1.2001 (ISO 4217) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2007-02-28T16:51:52.000000Z K 7 svn:log V 20 Minor reformatting. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-02-28T18:23:09.000000Z K 7 svn:log V 188 Update zoneinfo and required support files for change in Daylight Savings Time that begins in 2007. Approved by: so (simon) Submitted by: re (kensmith) Errata: FreeBSD-EN-07:04.zoneinfo END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-02-28T18:24:37.000000Z K 7 svn:log V 355 MFS sys/netinet6/nd6.c rev 1.48.2.18: Fix behavior of IPv6 over point-to-point gif(4) interfaces. [EN-07:02] MFS etc/rc.d/jail rev 1.23.2.8: Fix rc.d jail script interface IP alias removal. [EN-07:03] Approved by: so (simon) Submitted by: re (bmah) [EN-07:02]; Philipp Wuensche, simon [EN-07:03] Errata: FreeBSD-EN-07:02.net FreeBSD-EN-07:03.rc.d_jail END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-02-28T19:00:37.000000Z K 7 svn:log V 14 MFC: RUR->RUB END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-02-28T19:32:46.000000Z K 7 svn:log V 118 Update the tcp(4) manpage with the new (and some older undocumented) sysctls. Remove a sysctl that is no longer used. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T20:02:24.000000Z K 7 svn:log V 120 Style: Move declaration of subsystem mutex to where other mutexes are in this file, and use macros for dealing with it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-28T20:06:21.000000Z K 7 svn:log V 336 Resurrect one of the patches from attic and refine the lib32 build somewhat. Specifically, instead of spamming ${CC} et al with -I${LIB32TMP}/usr/include which can be harmful (as has been demonstrated by the ncursesw WIP), use slightly different approach to achieve the same goal. This also simplifies things a bit. Prodded by: rafan END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T20:29:20.000000Z K 7 svn:log V 141 Add a comment about a struct which needs to be global. Remove an unused global variable. Staticize variables which do not need to be global. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T20:32:25.000000Z K 7 svn:log V 162 Remove code which would never be used, viz a viz Quality-of-Service; the token bucket filter got killed in netinet, so it gets killed here too. Correct comments. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-02-28T20:48:00.000000Z K 7 svn:log V 154 In the SYN_SENT case, Initialize the snd_wnd before the call to tcp_mss(). The TCP hostcache logic in tcp_mss() depends on the snd_wnd being initialized. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T21:18:38.000000Z K 7 svn:log V 476 Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere in FreeBSD, and originated from INRIA IPv6. Stub out netstat reference to addr2ascii() I mistakenly introduced. Update misleading man page sections. Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394 bits which don't map directly to our code. Obtained from: NetBSD (getnameinfo.c) Discussed on: current (March 2006) END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T21:28:33.000000Z K 7 svn:log V 63 Document the AF_LINK extension which was imported from NetBSD. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T21:33:40.000000Z K 7 svn:log V 91 Document removal of addr2ascii/ascii2addr and addition of AF_LINK support for getnameinfo. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-28T21:36:11.000000Z K 7 svn:log V 51 mdoc cleanup for the previous commit and touch .Dd END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T21:58:37.000000Z K 7 svn:log V 67 Add comments about common idioms for cleanup pass at a later date. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-28T22:05:30.000000Z K 7 svn:log V 476 Prepare for 802.1p: Add macro EVL_APPLY_VLID() which may be used to apply an 802.1q VLAN ID to the M_VLANTAG field in an mbuf packet header non-destructively. This will be used by net80211 to begin with. Add macro EVL_APPLY_PRI() which may be used to apply an 802.1p priority class to the M_VLANTAG field in an mbuf packet header non-destructively. Add other macros for manipulating tags and the CFI bit. Submitted by: Boris Kovalenko (EVL_CFIOFTAG(), EVL_MAKETAG()) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-28T22:40:21.000000Z K 7 svn:log V 45 More cleanup for rev. 1.56 Submitted by: ru END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2007-02-28T22:49:12.000000Z K 7 svn:log V 171 Increase helpfulness in diagnostic message - ypbind running without -ypset or -ypsetme will prevent use of ypset. Remind the user to check that it was started correctly. END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-02-28T23:13:41.000000Z K 7 svn:log V 267 Update bus_setup_intr() man page after recent newbus modification: o uniform the driver_intr_t parameter name to 'ithread' o delete any reference to INTR_FAST o document a bit the difference between the filter and ithread argument Reviewed by: mdoc-police (ru) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-02-28T23:21:51.000000Z K 7 svn:log V 44 Update the isp man page. MFC after: 2 weeks END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T02:11:57.000000Z K 7 svn:log V 47 stub call to addr2ascii(). Noticed by: brooks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-03-01T06:22:34.000000Z K 7 svn:log V 238 Because the buffer gets released immediately, I need to copy the symlink target name, not just copy the reference. This problem sometimes caused crashes when extracting symlinks from ISO9660 images. Thanks to: Diego "Flameeyes" Pettenò END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-01T09:00:42.000000Z K 7 svn:log V 337 Remove two simultaneous acquisitions of multiple unpcb locks from uipc_send in cases where only a global read lock is held by breaking them out and avoiding the unpcb lock acquire in the common case. This avoids deadlocks which manifested with X11, and should also marginally further improve performance. Reported by: sepotvin, brooks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-01T09:07:04.000000Z K 7 svn:log V 51 New sentence -> new line and contractions removed. END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-03-01T09:10:55.000000Z K 7 svn:log V 57 Update bus_setup_intr(). Pointed by: Krassimir Slavchev END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-01T09:35:48.000000Z K 7 svn:log V 242 Evidently I've overestimated gcc's ability to peak inside inline functions and optimize away unused stack values. The 48 bytes that the lock_profile_object adds to the stack evidently has a measurable performance impact on certain workloads. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T10:53:55.000000Z K 7 svn:log V 71 Mark addr2ascii() man page as obsolete. Submitted by: Maxim Konovalov END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-01T11:07:18.000000Z K 7 svn:log V 950 Merge uipc_usrreq.c:1.183 from HEAD to RELENG_6: Close a race that occurs when using sendto() to connect and send on a UNIX domain socket at the same time as the remote host is closing the new connections as quickly as they open. Since the connect() and send() paths are non-atomic with respect to another, it is possible for the second thread's close() call to disconnect the two sockets as connect() returns, leading to the consumer (which plans to send()) with a NULL kernel pointer to its proposed peer. As a result, after acquiring the UNIX domain socket subsystem lock, we need to revalidate the connection pointers even though connect() has technically succeed, and reurn an error to say that there's no connection on which to perform the send. We might want to rethink the specific errno number, perhaps ECONNRESET would be better. Reported by: Young Hyun PR: 100940 END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-01T13:12:09.000000Z K 7 svn:log V 150 Prevent TSO mbuf chain from overflowing a few bytes by subtracting the TCP options size before the TSO total length calculation. Bug found by: kmacy END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T13:26:13.000000Z K 7 svn:log V 59 Introduce a test program for IPv4 broadcast datagram send. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T13:29:30.000000Z K 7 svn:log V 1037 Fix undirected broadcast sends for the case where SO_DONTROUTE has also been set at the socket layer, in our somewhat convoluted IPv4 source selection logic in ip_output(). IP_ONESBCAST is actually a special case of SO_DONTROUTE, as 255.255.255.255 must always be delivered on a local link with a TTL of 1. If IP_ONESBCAST has been set at the socket layer, also perform destination interface lookup for point-to-point interfaces based on the destination address of the link; previously it was not possible to use the option with such interfaces; also, the destination/broadcast address fields map to the same field within struct ifnet, which doesn't help matters. One more valid fix going forward for these issues is to treat 255.255.255.255 as a destination in its own right in the forwarding trie. Other implementations do this. It fits with the use of multiple paths, though it then becomes necessary to specify interface preference. This hack will eventually go away when that comes to pass. Reviewed by: andre MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-03-01T13:55:15.000000Z K 7 svn:log V 106 Rename lookup() to kgdb_lookup() and make it global (for use in trgt_i386.c). No objections from: marcel END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-03-01T13:56:08.000000Z K 7 svn:log V 129 Unbreak the kgdb stepping over the special frames on i386 after rev. 1.117 of i386/i386/exception.s. No objections from: marcel END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-03-01T14:33:29.000000Z K 7 svn:log V 52 Remove trailing spaces and make the date canonical. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T14:38:08.000000Z K 7 svn:log V 449 Introduce a new mbuf flag, M_PROMISC. An mbuf packet chain with the M_PROMISC flag set contains a unicast packet received by the link layer, which does not correspond to any configured link layer address in the local system. It is copied when copying m_pkthdr. It is not cleared when crossing layers. As such, it is defined to have a flag value which is outside of the M_PROTO* range, like M_VLANTAG has. Reviewed by: andre Obtained from: NetBSD END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-03-01T15:42:23.000000Z K 7 svn:log V 161 Bump the bootstrapping requirements for gensnmptree(1) and remove a note in UPDATING that tried to work around the build breakage. Tested by: jhb OK'ed by: njl END K 10 svn:author V 3 ume K 8 svn:date V 27 2007-03-01T16:13:56.000000Z K 7 svn:log V 84 Check the return value from rad_cvt_ipv6prefix(). PR: bin/89808 MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-03-01T17:32:28.000000Z K 7 svn:log V 300 MFC ether_vlan_mtap and modifications to em(4) which remove the promisc mode hack while vlan hardware tag processing is enabled. For all the details view the commitlog for the following files: sys/net/ethernet.h revision 1.26 sys/net/if_ethersubr.c revision 1.220 sys/dev/em/if_em.c revision 1.165 END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T18:36:16.000000Z K 7 svn:log V 22 Add -t to set IP TTL. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-01T19:20:25.000000Z K 7 svn:log V 388 Do not dispatch SIGPIPE from the generic write path for a socket; with this patch the code behaves according to the comment on the line above. Without this patch, a socket could cause SIGPIPE to be delivered to its process, once with SO_NOSIGPIPE set, and twice without. With this patch, the kernel now passes the sigpipe regression test. Tested by: Anton Yuzhaninov MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-01T20:38:24.000000Z K 7 svn:log V 79 Avoid checking for privileges if there is no need to. Discussed with: rwatson END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-01T20:47:42.000000Z K 7 svn:log V 117 Rename PRIV_VFS_CLEARSUGID to PRIV_VFS_RETAINSUGID, which seems to better describe the privilege. OK'ed by: rwatson END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-03-01T21:18:27.000000Z K 7 svn:log V 89 Add support for the 3 (PATA) channel on the VIA 6421 chip. HW donated by: Fabian Peters END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-01T21:44:08.000000Z K 7 svn:log V 116 Change: "... try to use VADMIN in preference to VADMIN ..." To: "... try to use VADMIN in preference to VWRITE ..." END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-01T23:14:46.000000Z K 7 svn:log V 20 Fix build breakage. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-01T23:16:17.000000Z K 7 svn:log V 465 Add "settimestamp" and "gettimestamp" messages, providing the the ability to embed a timestamp (struct timeval) in outgoing packets. The message specifies the offset at which the timestamp should be inserted. NG_SOURCE(4) gives an example usage that queues an ICMP packet. Using that example, the following command will insert a timestamp in the ICMP's data payload: ngctl msg src0: settimestamp '{ offset=0x2a flags=1 }' Sponsored by: Sandvine Incorporated END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-02T00:08:47.000000Z K 7 svn:log V 146 MFP4: 115220, 115222 - Fix style(9) and reduce diff between amd64 and i386. - Prefix Linuxulator macros with LINUX_ to prevent future collision. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-03-02T00:10:11.000000Z K 7 svn:log V 126 Change fifo_printinfo to check if the vnode v_fifoinfo pointer is NULL and print a message to that effect to prevent a panic. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-02T01:10:26.000000Z K 7 svn:log V 84 MFP4: 113090, 113130, 113132 Add Linux kernel version strings to /proc/sys/kernel. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-02T01:44:04.000000Z K 7 svn:log V 395 Add "setcounter" and "getcounter" messages, providing the the ability to embed up to four counters in outgoing packets. The message specifies the offset at which the counter should be inserted as well as the parameters of the counter. Example usage: ngctl msg src0: setcounter \ '{ index=0 offset=0x40 flags=1 width=4 increment=1 max_val=12345 }' Sponsored by: Sandvine Incorporated END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-02T02:34:31.000000Z K 7 svn:log V 165 Document the new {set,get}{timestamp,counter} messages supported by the ng_source node. Also remove an obsolete email address. Sponsored by: Sandvine Incorporated END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-03-02T05:23:39.000000Z K 7 svn:log V 73 Fixing NO_INET6 build as addr2ascii() has been nuked in previous commit. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-02T07:21:20.000000Z K 7 svn:log V 52 lock stats updates need to be protected by the lock END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-02T09:38:16.000000Z K 7 svn:log V 141 Fix geli after last commit for UP systems that are running SMP kernel. Submitted by: Hyo geol, Lee MFC after: 1 week END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-03-02T11:42:56.000000Z K 7 svn:log V 538 - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a uuencoded format along with their respective LICENSE files. - Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the place we install LICENSE files for restricted firmwares. - Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares won't load properly unless legal..license_ack is set to 1, either via kenv(1) or /boot/loader.conf. Reviewed by: mlaier, sam Permitted by: Intel (via Andrew Wilson) MFC after: 1 month END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-02T12:55:24.000000Z K 7 svn:log V 32 Markup fixes. Submitted by: ru END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-02T13:53:23.000000Z K 7 svn:log V 203 Put this old tool for dumping PCI expansion ROM images somewhere useful. WARNING: THIS IS NOT STABLE ON NON-I386 ARCHITECTURES, AND NEEDS SPECIFIC KNOWLEDGE OF THE ADDRESS SPACE ON YOUR SYSTEM TO WORK. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-02T14:36:19.000000Z K 7 svn:log V 129 Ensure message passed to "settimestamp" and "setcounter" is the right length. Use NULL instead of 0. Submitted by: glebius, ru END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-03-02T14:56:15.000000Z K 7 svn:log V 214 - Add missing subdirectories in BSD.usr.dist mtree file. - Update hier(7) to reflect latest changes in mtree file. - Add UPDATING entry following Intel firmwares inclusion. Submitted by: mlaier MFC after: 1 month END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-03-02T15:13:17.000000Z K 7 svn:log V 55 Make pswitch_intr() returns interrupt handling status. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-03-02T16:44:58.000000Z K 7 svn:log V 130 Force the umask to something predictable while creating objects on disk. In particular, this fixes tar -xp restore of mode bits. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-03-02T16:46:18.000000Z K 7 svn:log V 116 Forced commit to note that the previous edit to archive_read_extract was: Thanks to: Alexey Popov MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-02T17:01:45.000000Z K 7 svn:log V 162 - Don't do the interrupt storm protection stuff for software interrupt handlers. - Use pause() when throtting during an interrupt storm. Reported by: kris (1) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-02T17:03:04.000000Z K 7 svn:log V 108 MFC: Always protect the kthread flags with the lock and close a race with module unload and kthread_exit(). END K 10 svn:author V 6 davidc K 8 svn:date V 27 2007-03-02T17:03:06.000000Z K 7 svn:log V 63 Document the mount option handling functions. Reviewed By: ru END K 10 svn:author V 6 davidc K 8 svn:date V 27 2007-03-02T17:03:56.000000Z K 7 svn:log V 68 Add vfs_getopt.9 to the build, and add links for related functions. END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-03-02T18:10:55.000000Z K 7 svn:log V 33 style(9) fixes. Reported by: ru END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-02T19:19:31.000000Z K 7 svn:log V 49 MFC: Use ETHER_BPF_MTAP() instead of BPF_MTAP(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-02T20:07:59.000000Z K 7 svn:log V 74 Document -J in usage. Submitted by: Eric Anderson END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-02T20:47:06.000000Z K 7 svn:log V 73 MFC: rev. 1.40 by ru Update the URL for the list of supported products. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-03-02T20:48:35.000000Z K 7 svn:log V 215 Use get_if_var() to retrieve interface specific values of dhclient_flags and background_dhclient. This allows interfaces who's names are not valid parts of shell variables and shortens the code. MFC after: 1 week END K 10 svn:author V 4 grog K 8 svn:date V 27 2007-03-03T03:50:59.000000Z K 7 svn:log V 94 Clarify the meaning information printed by the -o option. Clean up grammar, adding articles. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-03-03T06:13:38.000000Z K 7 svn:log V 63 Fix a typo. Submitted by: Kai Wang END K 10 svn:author V 3 ume K 8 svn:date V 27 2007-03-03T06:36:32.000000Z K 7 svn:log V 151 Turn default address selection on by default. Now, when ipv6_enable="NO", an IPv4 address is preferred for a destination address. MFC after: 1 month END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-03T06:39:06.000000Z K 7 svn:log V 478 Get rid of chatter for failed commands if the filesystem is read-only. Include /var/db/entropy-file in the reseeding if present. It is used for last-ditch efforts to save entropy and thus should also be used to seed the RNG when starting. Print a warning instead of an error if writing the file fails -- err() exits, preventing the umask from being restored. Also, since there's not much that can be done about it, notifying the user is all that's needed. MFC after: 2 weeks END