,179920 80 197 398 281 497 265 1635 377 205 215 222 167 141 169 169 412 265 777 203 147 145 160 137 132 210 213 193 545 486 154 155 206 277 438 306 655 347 155 269 296 541 430 403 222 315 146 409 216 162 162 316 810 551 226 244 235 235 199 162 162 199 139 143 201 189 187 234 346 155 221 204 433 253 137 153 137 146 135 226 149 142 K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-21T20:18:57.920582Z K 7 svn:log V 104 Implement UDP transparent proxy support. PR: bin/54274 Submitted by: Nicolai Petri END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-21T21:02:13.013614Z K 7 svn:log V 305 KERNBASE is not necessarily an address within the kernel map, e.g., PowerPC/AIM. Consequently, it should not be used to determine the maximum number of kernel map entries. Intead, use VM_MIN_KERNEL_ADDRESS, which marks the start of the kernel map on all architectures. Tested by: marcel@ (PowerPC/AIM) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-22T00:13:19.371471Z K 7 svn:log V 186 MFC: revs 175291,175384. Add .POSIX: to break timestamp-sensitive problems between Makefile and Makefile.in that was disturbed by changes in src/usr.bin/make/main.c rev 167330 (1.161). END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-22T04:54:27.293690Z K 7 svn:log V 404 Make preparations for increasing the size of the kernel virtual address space on the amd64 architecture. The amd64 architecture requires kernel code and global variables to reside in the highest 2GB of the 64-bit virtual address space. Thus, the memory allocated during bootstrap, before the call to kmem_init(), starts at KERNBASE, which is not necessarily the same as VM_MIN_KERNEL_ADDRESS on amd64. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-22T11:39:42.099921Z K 7 svn:log V 172 Partially revert previous commit. DeleteLink() does not deletes permanent links so we should be aware of it and try to delete every link only once or we will loop forever. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-06-22T13:54:51.543891Z K 7 svn:log V 1538 o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quite some time now so collapse calls accordingly. o Given that gem_load_txmbuf() is allowed to fail resulting in a packet drop also for quite some time now implement the functionality of gem_txcksum() by means of m_pullup(9), which de-obfuscates the code and allows to always retrieve the correct length of the IP header. o Add missing BUS_DMASYNC_PREREAD when syncing the control DMA maps in gem_rint() and gem_start_locked(). o Correct some bus_barrier(9) calls to do a read/write barrier as we do a read after a write. Add some missing ones in gem_mii_readreg() and gem_mii_writereg(). o According to the Apple GMAC driver, the GEM ASIC specification and the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order do avoid TX underruns. o In gem_init_locked(): - be conservative and enable the RX and TX MACs, - don't clear GEM_LINK otherwise we don't ever mark the link as up again if gem_init_locked() is called from gem_watchdog(), - remove superfluous setting of sc_ifflags. o Don't bother to check whether the interface is running or whether its queue is empty before calling gem_start_locked() in gem_tint(), the former will check these anyway. o Call gem_start_locked() in gem_watchdog() in order to try to get some more packets going. o In gem_mii_writereg() after reseting the PCS restore its configuration. GMAC testing: grehan, marcel MFC after: 2 weeks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-06-22T14:34:38.437703Z K 7 svn:log V 282 Get pointer to devfs_ruleset struct after garbage collection has been performed. Otherwise if ruleset is used by given mountpoint and is empty it's freed by devfs_ruleset_reap and pointer becomes bogus. Submitted by: Mateusz Guzik PR: kern/124853 END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-22T15:34:40.246262Z K 7 svn:log V 112 Don't say we're going to [start|stop] local packages unless there actually are local (pre rc.d) scripts to run. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-22T15:40:19.331667Z K 7 svn:log V 122 Don't say we're going to mount filesystems of a certain type unless there actually are filesystems of that type to mount. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-22T15:57:50.611003Z K 7 svn:log V 129 Simplify this script with the added bonus that the bit about i386 initialization doesn't get printed unless ibcs2_enable is set. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-22T16:19:50.119171Z K 7 svn:log V 75 Do not print anything unless at least one of the abi emulators is enabled. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-22T16:23:39.696304Z K 7 svn:log V 49 Output information only if /etc/rc.local exists. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-06-22T17:52:57.800338Z K 7 svn:log V 74 Add an abbreviation for adaptive mode, and document all the abreviations. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-06-22T20:53:29.093375Z K 7 svn:log V 75 Add support for VT8237 ISA bridge. PR: kern/120714 Event: Bugathon#5 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-22T21:03:26.722681Z K 7 svn:log V 315 Teach fifo_create regression test to also try to use mknod(2) to create fifos, as this is required by the Single UNIX Specification, although not currently implemented on FreeBSD. While here, fix a bug in the directory timestamp checking test by sleeping after querying the starting timestamp, rather than before. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-22T21:22:25.489163Z K 7 svn:log V 172 Use strdup() instead of static buffer allocation to avoid 128 bytes limit on -redirect_XXX arguments length. PR: bin/86647 Submitted by: Stephen Hurd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-06-22T21:51:32.736320Z K 7 svn:log V 680 If S_IFIFO is passed to mknod(2), invoke kern_mkfifoat(9) to create a FIFO, as required by SUSv3. No specific privilege check is performed in this case, as FIFOs may be created by unprivileged processes (subject to the normal file system name space restrictions that may be in place). Unlike the Apple implementation, we reject requests to create a FIFO using mknod(2) if there is a non-zero dev argument to the system call, which is permitted by the Open Group specification ("... undefined ..."). We might want to revise this if we find it causes compatibility problems for applications in practice. PR: kern/74242, kern/68459 Obtained from: Apple, Inc. MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-22T22:14:02.141031Z K 7 svn:log V 110 Add exit_delay parameter to control daemon exit delay after signal. PR: bin/58696 Submitted by: sp@alkor.ru END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-06-23T00:51:34.060408Z K 7 svn:log V 51 Always create opt_ah.h regardless of KERNBUILDDIR. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T03:49:30.212412Z K 7 svn:log V 53 s/daemon processes/local packages/ for consisitency. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T04:00:45.466036Z K 7 svn:log V 68 Do not print anything unless one of the net/routing options is set. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T04:05:39.073216Z K 7 svn:log V 45 Argh! s/nfs_client_enable/nfsclient_enable/g END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T04:18:22.670867Z K 7 svn:log V 40 Remove pointless informational message. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T04:39:36.364233Z K 7 svn:log V 117 Remove the -v flag from the command line to dumpon(8), and instead print diagnostic ouput only if the command fails. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T04:42:58.473188Z K 7 svn:log V 120 Align the script more with rc.d/cleanvar (which doesn't output any diagnostics). Instead, move output behind $rc_quiet. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T04:46:54.528802Z K 7 svn:log V 100 Move a lot of diagnostic output behind $rc_quiet in scripts that implement their own start command. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T05:09:09.646242Z K 7 svn:log V 452 Move the diagnostic output when the rc.subr(8) glue automatically starts a service behind $rc_quiet. Instead, output a warning if the pre-command routine or the command itself failed. Arguably, it's more useful to know when a command failed to start than it is to have an endless list of "Starting ...." lines[1]. [1] - This change actually helped me to discover a bug in rc.d/{lockd,statd} (fixed in r179941) that used to fail silently before. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-23T05:22:06.052779Z K 7 svn:log V 394 Turn execvpe() into an internal libc routine. Adding exevpe() has caused some ports to break. Even though execvpe() is a useful routine, it does not conform to any standards. This patch is a little bit different from the patch sent to the mailing list. I forgot to remove execvpe from the Symbol.map (which does not seem to miscompile libc, though). Reviewed by: davidxu Approved by: philip END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-23T08:01:53.711758Z K 7 svn:log V 59 MFC rev. 179903: link powerd(8) man page PR: docs/123111 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-06-23T08:06:55.619224Z K 7 svn:log V 60 - MFC rev 179903: link powerd(8) man page PR: docs/123111 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-06-23T11:02:40.284530Z K 7 svn:log V 113 MFC r179670: Provide the mutual exclusion between the nfs export list modifications and nfs requests processing. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T12:06:35.768786Z K 7 svn:log V 184 Set the sysctl(8) value in the same shell, not a subshell. This was causing calls to netoptions_init() to not properly set a global variable, which ended up being in the parent shell. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-23T14:15:53.601509Z K 7 svn:log V 345 MFC r179473: PKT_ALIAS_FOUND_HEADER_FRAGMENT result is not an error, so pass that packet. This fixes packet fragmentation handeling. Pass really available buffer size to libalias instead of MCLBYTES constant. MCLBYTES constant were used with believe that m_megapullup() always moves date into a fresh cluster that sometimes may become not so. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-23T14:19:48.501326Z K 7 svn:log V 213 MFC r179477: Pass really available buffer size to libalias instead of MCLBYTES constant. MCLBYTES constant were used with believe that m_megapullup() always moves date into a fresh cluster that may become not so. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-23T14:28:32.215106Z K 7 svn:log V 562 MFC r179480, r179924: Increase LINK_TABLE_OUT_SIZE from 101 to 4001 like LINK_TABLE_IN_SIZE to reduce performance degradation under heavy outgoing scan/flood. Scalability is now much more important then several kilobytes of RAM. Remove unneded TCP-specific expiration handeling. Before this connected TCP sessions could never expire. Now connected TCP sessions will expire after 24hours of inactivity. Simplify HouseKeeping() to avoid several mul/div-s per packet. Taking into account increased LINK_TABLE_OUT_SIZE, precision is still much more then required. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-06-23T14:38:33.879176Z K 7 svn:log V 254 MFC r179478: Make m_megapullup() more intelligent: - to increase performance do not reallocate mbuf when possible, - to support up to 16K packets (was 2K max) use mbuf cluster of proper size. This change depends on recent ng_nat and ip_fw_nat changes. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-06-23T15:22:53.348001Z K 7 svn:log V 63 Ensure that KERNBASE is no less than the virtual address -2GB. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-06-23T15:40:56.352378Z K 7 svn:log V 172 - Fix compile if WPI_DEBUG is not defined - Allow debug.wpi to be set from a tunable - Put ring reset messages back under debug - Add more debug output around channel init END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-06-23T16:08:40.448751Z K 7 svn:log V 199 Ensure the channel is a number and not a range, the 'channel' command can be easily mixed up with 'chanlist' and would give unexpected results by fixing the channel on the first number in the range. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-23T18:16:25.686996Z K 7 svn:log V 448 - Use bus_foo() rather than bus_space_foo() and retire the bus tag and handle from the softc. - Rework the watchdog timer to match other NIC drivers: - Start a timer in fe_init() that runs once a second and checks a counter in the softc that is identical to the deprecated 'if_timer'. - Just adjust the softc tx timeout value when sending packets instead of scheduling the timer. - Use IFQ_SET_MAXLEN(). Tested by: WATANABE Kazuhiro END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-06-23T20:27:37.796754Z K 7 svn:log V 337 +Computers can't cruise. Meandering is a foreign concept to them. +The computer assumes that all behavior is in pursuit of an ultimate +goal. Whenever a motorist changes his or her mind and veers off +course, the GPS lady issues that snippy announcement: "Recalculating!" + -- Joel Achenbach (www.slate.com, 20 jun 2008) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T20:50:11.550816Z K 7 svn:log V 310 Implement a "quiet" mode for rc.d/netif, which only outputs the interface name of interfaces that were configured. This change has the added benefit that ifn_start() and ifn_stop() in network.subr no longer write to standard output. Whether to output and what to output is now handled entirely in rc.d/netif. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T20:54:32.315314Z K 7 svn:log V 129 Run savecore(8) only if there is a core dump to save. If there is no core dump hide the message to that effect behind $rc_quiet. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-23T21:37:53.553494Z K 7 svn:log V 222 Remove the posixsem_check_destroy() MAC check. It is semantically identical to doing a MAC check for close(), but no other types of close() (including close(2) and ksem_close(2)) have MAC checks. Discussed with: rwatson END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-06-23T21:45:04.810126Z K 7 svn:log V 51 MFC rev. 173742-178057. Requested by: mav (twice) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T22:06:28.277527Z K 7 svn:log V 316 The sysctl(8) program exits on some errors and only emits warnings on others. In the case where it displayed warnings it would still return succesfully. Modify it so that it returns the number of sysctls that it was not able to set. Make use of this in rc.d to display only *unsuccessfull* attempts to set sysctls. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-23T22:17:08.926799Z K 7 svn:log V 123 Add a -q flag to swapon(8) to suppress informational messages. Use it in rc.d. Note: errors are not affected by this flag. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-06-23T23:09:52.248861Z K 7 svn:log V 69 Rehash and clean up BPF JIT compiler macros to match AT&T notations. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-06-23T23:10:11.946945Z K 7 svn:log V 69 Rehash and clean up BPF JIT compiler macros to match AT&T notations. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-06-24T03:26:41.784863Z K 7 svn:log V 220 Fix test for waiting AIFs in aac_poll(). This seems to solve the problem where Adaptec's arcconf monitoring tool hangs after producing its expected output. Submitted by: Adaptec, via driver ver 15317 MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-06-24T07:32:12.601777Z K 7 svn:log V 713 Add two commands to _umtx_op system call to allow a simple mutex to be locked and unlocked completely in userland. by locking and unlocking mutex in userland, it reduces the total time a mutex is locked by a thread, in some application code, a mutex only protects a small piece of code, the code's execution time is less than a simple system call, if a lock contention happens, however in current implemenation, the lock holder has to extend its locking time and enter kernel to unlock it, the change avoids this disadvantage, it first sets mutex to free state and then enters kernel and wake one waiter up. This improves performance dramatically in some sysbench mutex tests. Tested by: kris Sounds great: jeff END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-06-24T13:58:28.964956Z K 7 svn:log V 456 In case of interface initialization failure remove struct in_ifaddr* from in_ifaddrhashtbl in in_ifinit because error handler in in_control removes entries only for AF_INET addresses. If in_ifinit is called for the cloned inteface that has just been created its address family is not AF_INET and therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and freed entries remain in in_ifaddrhashtbl and lead to memory corruption. PR: kern/124384 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-06-24T15:18:40.952897Z K 7 svn:log V 128 In -p mode, don't gaurd against '..' in paths. We continue to check in -i mode unless --insecure is specified. PR: bin/124924 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-06-24T18:49:49.849760Z K 7 svn:log V 151 Make it simpler to build netgraph modules outside of the kernel source tree. This change follows similar ones in the device tree. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T19:36:33.400406Z K 7 svn:log V 142 MFC: Change the roundrobin implementation in the 4BSD scheduler to trigger a userland preemption directly from hardclock() via sched_clock(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T19:55:22.394263Z K 7 svn:log V 142 MFC: Change the roundrobin implementation in the 4BSD scheduler to trigger a userland preemption directly from hardclock() via sched_clock(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T20:04:39.851912Z K 7 svn:log V 106 MFC: Add the kern.features sysctl tree and FEATURE() macro. Add a "pae" feature for PAE kernels on i386. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-06-24T20:12:12.204827Z K 7 svn:log V 69 Emit opcodes closer to GNU as(1) generated codes and micro-optimize. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-06-24T20:12:44.796212Z K 7 svn:log V 69 Emit opcodes closer to GNU as(1) generated codes and micro-optimize. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T20:40:17.286040Z K 7 svn:log V 106 MFC: Add the kern.features sysctl tree and FEATURE() macro. Add a "pae" feature for PAE kernels on i386. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2008-06-24T21:00:48.621056Z K 7 svn:log V 43 MFC r173182: remove extraneous .Ef request END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-06-24T21:01:56.495741Z K 7 svn:log V 51 Quiet rc.d/syscons unless it has something to say. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2008-06-24T21:03:13.785576Z K 7 svn:log V 104 Mark as merged: r176618 (sysconf.c: return correct value for {STREAM_MAX}), actually merged in r177134. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T21:06:02.463760Z K 7 svn:log V 97 MFC: Add 'compat_freebsd[456]' features corresponding to the kernel options COMPAT_FREEBSD[456]. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T21:08:30.264594Z K 7 svn:log V 95 MFC: Add 'compat_freebsd[45]' features corresponding to the kernel options COMPAT_FREEBSD[45]. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-24T22:07:51.654501Z K 7 svn:log V 141 MFC: Add KASSERT()'s to catch attempts to recurse on spin mutexes that aren't marked recursable either via mtx_lock_spin() or thread_lock(). END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-06-24T23:24:38.700542Z K 7 svn:log V 250 MFC: r179490 Sort IP addresses before hashing them for the signature. Otherwise carp is sensitive to address configuration order. PR: kern/121574 Reported by: Douglas K. Rand, Wouter de Jong Obtained from: OpenBSD (rev 1.114 + fixes) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2008-06-25T04:56:08.731507Z K 7 svn:log V 59 Months in English are capitalized (even when abbreviated). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-06-25T05:01:02.789003Z K 7 svn:log V 123 Pass the entry down into the core write loop, so we can include the filename when reporting errors. Thanks to: Dan Nelson END K 10 svn:author V 3 ale K 8 svn:date V 27 2008-06-25T06:07:03.896682Z K 7 svn:log V 111 Fix links to online gcc docs. Reported by: Andre Guibert de Bruet MFC after: 1 day END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-25T07:45:31.052414Z K 7 svn:log V 341 Remove the unused major/minor numbers from iodev and memdev. Now that st_rdev is being automatically generated by the kernel, there is no need to define static major/minor numbers for the iodev and memdev. We still need the minor numbers for the memdev, however, to distinguish between /dev/mem and /dev/kmem. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-06-25T07:52:10.656911Z K 7 svn:log V 161 Remove the unused M_MEMDEV from the kernel. The M_MEMDEV memory allocation pool does not seem to be used. We can live without it. Approved by: philip (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T08:47:36.514957Z K 7 svn:log V 43 Move mergeinfo up to containing directory. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T08:58:35.277321Z K 7 svn:log V 59 Promote mergeinfo from ciss.c to the containing directory. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T09:09:13.045793Z K 7 svn:log V 43 Move mergeinfo up to containing directory. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T09:24:35.889513Z K 7 svn:log V 52 Move mergeinfo up from file to containing directory END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T09:29:46.547738Z K 7 svn:log V 41 Move mergeinfo up from file to directory END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T09:40:33.831957Z K 7 svn:log V 131 Move the mergeinfo for change 165854 closer to its target (sys/vm) to save it being duplicated in all the other parts of the tree. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T09:51:59.853404Z K 7 svn:log V 55 Move mergeinfo from ciss.c up to containing directory. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-06-25T09:56:44.804235Z K 7 svn:log V 48 Move mergeinfo from file up to parent directory END