ƒµ6176694 167 606 175 216 740 163 113 740 733 263 175 178 231 204 135 1317 276 293 183 134 136 423 265 153 366 451 189 199 123 122 152 117 175 132 218 549 268 1170 134 458 142 944 1420 688 227 302 164 243 521 656 438 184 187 123 132 173 402 162 163 332 181 175 147 193 288 198 162 222 117 219 210 102 152 167 160 207 150 247 1007 578 309 653 261 647 187 153 181 166 167 169 133 366 278 180 198 211 159 195 118 433 153 337 292 218 370 218 344 313 274 201 394 382 680 320 247 209 146 244 458 361 512 218 178 138 378 231 277 112 347 810 733 580 1473 155 1473 150 280 234 584 1249 186 177 403 439 159 159 1877 165 120 225 200 923 164 147 146 198 399 165 110 201 124 243 134 123 328 436 422 332 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T11:50:00.000000Z K 7 svn:log V 509 Merge tcp_usrreq.c:1.166 from HEAD to RELENG_7: In tcp_ctloutput(), don't hold the inpcb lock over sooptcopyin(), rather, drop the lock and then re-acquire it, revalidating TCP connection state assumptions when we do so. This avoids a potential lock order reversal (and potential deadlock, although none have been reported) due to the inpcb lock being held over a page fault. PR: 102752 Reviewed by: bz Reported by: Václav Haisman END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T11:50:45.000000Z K 7 svn:log V 79 Merge uipc_usrreq.c:1.211 from HEAD to RELENG_7: Correct typos in comments. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T11:51:12.000000Z K 7 svn:log V 119 Merge uipc_usrreq.c:1.212 from HEAD to RELENG_7: Remove "lock pushdown" todo item in comment -- I did that for 7.0. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T11:55:11.000000Z K 7 svn:log V 643 Merge mac_mls.c:1.99 from HEAD to RELENG_7: Properly return the error from mls_subject_privileged() in the ifnet relabel check for MLS rather than returning 0 directly. This problem didn't result in a vulnerability currently as the central implementation of ifnet relabeling also checks for UNIX privilege, and we currently don't guarantee containment for the root user in mac_mls, but we should be using the MLS definition of privilege as well as the UNIX definition in anticipation of supporting root containment at some point. Submitted by: Zhouyi Zhou Sponsored by: Google SoC 2007 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-01T13:05:03.000000Z K 7 svn:log V 66 Manpage for the uchcom(4) driver, adapted from the one in NetBSD. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-01T13:28:27.000000Z K 7 svn:log V 16 Xref uchcom(4). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T14:52:06.000000Z K 7 svn:log V 643 Merge mac_mls.c:1.99 from HEAD to RELENG_6: Properly return the error from mls_subject_privileged() in the ifnet relabel check for MLS rather than returning 0 directly. This problem didn't result in a vulnerability currently as the central implementation of ifnet relabeling also checks for UNIX privilege, and we currently don't guarantee containment for the root user in mac_mls, but we should be using the MLS definition of privilege as well as the UNIX definition in anticipation of supporting root containment at some point. Submitted by: Zhouyi Zhou Sponsored by: Google SoC 2007 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T15:40:53.000000Z K 7 svn:log V 636 Merge uipc_sockbuf.c:1.176, uipc_socket.c:1.305, socketvar.h:1.162 from HEAD to RELENG_7: Further clean up sorflush: - Expose sbrelease_internal(), a variant of sbrelease() with no expectations about the validity of locks in the socket buffer. - Use sbrelease_internel() in sorflush(), and as a result avoid initializing and destroying a socket buffer lock for the temporary stack copy of the actual buffer, asb. - Add a comment indicating why we do what we do, and remove an XXX since things have gotten less ugly in sorflush() lately. This makes socket close cleaner, and possibly also marginally faster. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T15:42:01.000000Z K 7 svn:log V 166 Merge ixp425.c:1.9 from HEAD to RELENG_7: On the ixp425, when we fail to initialize the memory rman instance, the panic message should read "memory", not "IRQ". END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T15:42:23.000000Z K 7 svn:log V 79 Merge _bus.h:1.2 from HEAD to RELENG_7: Remove errant % in license comment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-01T15:43:00.000000Z K 7 svn:log V 82 Merge TODO:1.6 from HEAD to RELENG_7: Add "Make MPSAFE" to the Coda todo list. END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-03-01T16:17:30.000000Z K 7 svn:log V 135 MFC: Note, as required by our agreement with IEEE/The Open Group, that the message queue manual pages excerpt the POSIX standard. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-01T17:14:02.000000Z K 7 svn:log V 111 Add support for the libalias redirect functionality. Submitted by: Vadim Goncharov END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-01T18:35:27.000000Z K 7 svn:log V 40 Sync with HEAD - remove unneeded cases. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T19:47:50.000000Z K 7 svn:log V 1219 - Handle buffer lock waiters count directly in the buffer cache instead than rely on the lockmgr support [1]: * bump the waiters only if the interlock is held * let brelvp() return the waiters count * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check for the waiters number - Remove a namespace pollution introduced recently with lockmgr.h including lock.h by including lock.h directly in the consumers and making it mandatory for using lockmgr. - Modify flags accepted by lockinit(): * introduce LK_NOPROFILE which disables lock profiling for the specified lockmgr * introduce LK_QUIET which disables ktr tracing for the specified lockmgr [2] * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it can only be used on a per-instance basis - Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer used This patch breaks KPI so __FreBSD_version will be bumped and manpages updated by further commits. Additively, 'struct buf' changes results in a disturbed ABI also. [2] Really, currently there is no ktr tracing in the lockmgr, but it will be added soon. [1] Submitted by: kib Tested by: pho, Andrea Barberio END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T19:53:26.000000Z K 7 svn:log V 179 Bump __FreeBSD_version in order to reflect: - lockwaiters() axing out - BUF_LOCKWAITERS() axing out - brelvp() prototype changing - lockinit() accepted arguments() range changing END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T20:05:20.000000Z K 7 svn:log V 196 Update lockmgr manpage with last lockmgr modifies: - Remove LK_SLEEPFAIL and LK_NOWAIT for lockinit() and add LK_QUIET and LK_NOPROFILE - Include sys/lock.h as mandatory for the lockmgr support END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T20:36:50.000000Z K 7 svn:log V 87 - Add the informations for lockmgr_args(9) - Sort rightly lockstatus(9) in the manpage END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T20:39:56.000000Z K 7 svn:log V 38 Connect lockmgr_args(9) to the build. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T21:24:07.000000Z K 7 svn:log V 40 Fix lockstatus sorting on the top list. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2008-03-01T21:58:34.000000Z K 7 svn:log V 328 In est_acpi_info(), initialize count before passing its pointer to CPUFREQ_DRV_SETTINGS(). The value of count on input is used to prefent overflow of the settings buffer passed into CPUFREQ_DRV_SETTINGS(). This corrects the "est: CPU supports Enhanced Speedstep, but is not recognized." error on my system. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-03-01T22:14:45.000000Z K 7 svn:log V 168 Split the kernel / userland interface with propert _KERNEL stub. This should have been always there, but an userland brekage for the recent lockmgr modifies showed it. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-01T22:27:15.000000Z K 7 svn:log V 62 Fix indentation (whitespace changes only). MFC after: 6 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-01T22:54:42.000000Z K 7 svn:log V 270 Make the vm_pmap field of struct vmspace the last field in the structure. This allows per-CPU variations of struct pmap on a single architecture without affecting the machine-independent fields. As such, the PMAP variations don't affect the ABI. They become part of it. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-02T00:52:49.000000Z K 7 svn:log V 355 Add support for VTOC8 labels (aka sun disk labels). When a label does not have VTOC information about the partitions, it will be created. This is because the VTOC information is used for the partition type and FreeBSD's sunlabel(8) does not create nor use VTOC information. For this purpose, new tags have been added to support FreeBSD's partition types. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-02T01:35:37.000000Z K 7 svn:log V 94 MFC: rev 1.278: correct typo in comment. Also sync comment layout changes and spelling fixes. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-02T01:47:58.000000Z K 7 svn:log V 106 MI implementation of sqrtl(). This is very slow and should be overridden when hardware sqrt is available. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-02T01:48:08.000000Z K 7 svn:log V 31 MD implementations of sqrtl(). END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-02T01:48:17.000000Z K 7 svn:log V 30 Hook up sqrtl() to the build. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-02T03:11:48.000000Z K 7 svn:log V 57 MFC: rev 1.3: '-n' option which is the opposite of '-N'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-02T05:54:34.000000Z K 7 svn:log V 22 Add geom_part module. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-02T05:59:25.000000Z K 7 svn:log V 80 Remove makefiles for geom_apple and geom_gpt. These are non-existent for while. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-02T06:24:29.000000Z K 7 svn:log V 37 Add the SMI VTOC8 disk label option. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-03-02T06:33:10.000000Z K 7 svn:log V 122 Translate the r_info field of ELF relocation records when converting between 64 and 32 bit variants. Submitted by: kaiw END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-03-02T07:01:01.000000Z K 7 svn:log V 455 - Do not malloc buffer for 0-size member when reading from archive. - Fix a malloc buffer overrun: Use a while loop to check whether the string buffer is big enough after resizing, since doubling once might not be enough when a very long member name or symbol name is provided. - Fix typo. Reported by: Michael Plass Tested by: Michael Plass Reviewed by: jkoshy Approved by: jkoshy END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T07:19:35.000000Z K 7 svn:log V 174 - Add a new sched_affinity() api to be used in the upcoming cpuset implementation. - Add empty implementations of sched_affinity() to 4BSD and ULE. Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T07:39:22.000000Z K 7 svn:log V 1075 Add cpuset, an api for thread to cpu binding and cpu resource grouping and assignment. - Add a reference to a struct cpuset in each thread that is inherited from the thread that created it. - Release the reference when the thread is destroyed. - Add prototypes for syscalls and macros for manipulating cpusets in sys/cpuset.h - Add syscalls to create, get, and set new numbered cpusets: cpuset(), cpuset_{get,set}id() - Add syscalls for getting and setting affinity masks for cpusets or individual threads: cpuid_{get,set}affinity() - Add types for the 'level' and 'which' parameters for the cpuset. This will permit expansion of the api to cover cpu masks for other objects identifiable with an id_t integer. For example, IRQs and Jails may be coming soon. - The root set 0 contains all valid cpus. All thread initially belong to cpuset 1. This permits migrating all threads off of certain cpus to reserve them for special applications. Sponsored by: Nokia Discussed with: arch, rwatson, brooks, davidxu, deischen Reviewed by: antoine END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T07:41:10.000000Z K 7 svn:log V 41 - Regen for cpuset Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T07:51:29.000000Z K 7 svn:log V 364 Add a simple utility for manipulating cpusets. Man page will be available soon. - Lists of cpus may be specified with -l with ranges specified as low-high and commas between individual cpus and ranges. ie -l 0-2,4,6-8. - cpuset can modified -p pids, -t tids, or -s cpusetids. - cpuset can -g get the current mask for any of the above. Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T07:52:26.000000Z K 7 svn:log V 49 - Add cpuset to the build. Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T07:58:42.000000Z K 7 svn:log V 850 - Remove the old smp cpu topology specification with a new, more flexible tree structure that encodes the level of cache sharing and other properties. - Provide several convenience functions for creating one and two level cpu trees as well as a default flat topology. The system now always has some topology. - On i386 and amd64 create a seperate level in the hierarchy for HTT and multi-core cpus. This will allow the scheduler to intelligently load balance non-uniform cores. Presently we don't detect what level of the cache hierarchy is shared at each level in the topology. - Add a mechanism for testing common topologies that have more information than the MD code is able to provide via the kern.smp.topology tunable. This should be considered a debugging tool only and not a stable api. Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-02T08:20:59.000000Z K 7 svn:log V 1325 Add support for the new cpu topology api: - When searching for affinity search backwards in the tree from the last cpu we ran on while the thread still has affinity for the group. This can take advantage of knowledge of shared L2 or L3 caches among a group of cores. - When searching for the least loaded cpu find the least loaded cpu via the least loaded path through the tree. This load balances system bus links, individual cache levels, and hyper-threaded/SMT cores. - Make the periodic balancer recursively balance the highest and lowest loaded cpu across each link. Add support for cpusets: - Convert the cpuset to a simple native cpumask_t while the kernel still only supports cpumask. - Pass the derived cpumask down through the cpu_search functions to restrict the result cpus. - Make the various steal functions resilient to failure since all threads can not run on all cpus any longer. General improvements: - Precisely track the lowest priority thread on every runq with tdq_setlowpri(). Before it was more advisory but this ended up having pathological behaviors. - Remove many #ifdef SMP conditions to simplify the code. - Get rid of the old cumbersome tdq_group. This is more naturally expressed via the cpu_group tree. Sponsored by: Nokia Testing by: kris END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-02T08:40:47.000000Z K 7 svn:log V 596 Some "cleanup" of tcp_mss(): - Move the assigment of the socket down before we first need it. No need to do it at the beginning and then drop out the function by one of the returns before using it 100 lines further down. - Use t_maxopd which was assigned the "tcp_mssdflt" for the corrrect AF already instead of another #ifdef ? : #endif block doing the same. - Remove an unneeded (duplicate) assignment of mss to t_maxseg just before we possibly change mss and re-do the assignment without using t_maxseg in between. Reviewed by: silby No objections: net@ (silence) MFC after: 5 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-02T11:10:46.000000Z K 7 svn:log V 135 Set AR=gnu-ar and RANLIB=gnu-ranlib on systems where we are forced to use GNU tools. Remove the _WITH_GNUAR knob. Prodded by: obrien END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-03-02T11:33:54.000000Z K 7 svn:log V 206 MFC r1.174: Zero sc->vnode if mdsetcred() fails. This fixes the panic which happens when mdcreate_vnode() calls vn_close() and mddestroy() calls it again further down the error handling path. END K 10 svn:author V 7 akiyama K 8 svn:date V 27 2008-03-02T13:07:03.000000Z K 7 svn:log V 68 MFC: rev 1.65. o Add module event handler. o Update copyright year. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-02T14:00:50.000000Z K 7 svn:log V 150 Return ENOSYS instead of 0 for the unknown futex operations. Submitted by: rdivacky Reported and tested by: Gary Stanley END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-02T14:54:48.000000Z K 7 svn:log V 424 Conditionally acquire Giant based on debug.mpsafenet around entry points from if_re taskqueue and other potentially Giant-free spots. If we don't do this, Giant may not be held entering KAME IPSEC, etc. This problem appeared in FreeBSD 6.2 as a result of a move to fast interrupts, and does not exist in 7.x due to not having debug.mpsafenet. PR: 118719 Reported by: Dan Lukes Reviwed by: yongari END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-02T17:05:57.000000Z K 7 svn:log V 563 Unify and generalize PowerPC headers, adjust AIM code accordingly. Rework of this area is a pre-requirement for importing e500 support (and other PowerPC core variations in the future). Mainly the following headers are refactored so that we can cover for low-level differences between various machines within PowerPC architecture: Areas which use the above are adjusted and cleaned up. Credits for this rework go to marcel@ Approved by: cognet (mentor) MFp4: e500 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-03-02T17:12:28.000000Z K 7 svn:log V 346 Fix bugs when allocating and passing information of current lifetime and soft lifetime [1] introduced in rev. 1.21 of key.c. Along with that, fix a related problem in key_debug printing the correct data. While there replace a printf by panic in a sanity check. PR: 120751 Submitted by: Kazuaki ODA (kazuaki aliceblue.jp) [1] MFC after: 5 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-02T18:56:13.000000Z K 7 svn:log V 88 Replace lockmgr lock protecting smbfs node hash table with sx lock. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-02T19:02:30.000000Z K 7 svn:log V 91 Replace lockmgr lock protecting nwfs vnode hash table with an sx lock. MFC after: 1 month END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-02T20:07:48.000000Z K 7 svn:log V 26 New sentence -> new line. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-02T20:16:55.000000Z K 7 svn:log V 40 1 << 47 needs to be written 1ULL << 47. END K 10 svn:author V 3 das K 8 svn:date V 27 2008-03-02T20:49:24.000000Z K 7 svn:log V 81 Don't run tests that assume <= 64-bit precision on machines with quad precision. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-02T21:34:17.000000Z K 7 svn:log V 305 Rather than copying out the full audit trigger record, which includes a queue entry field, just copy out the unsigned int that is the trigger message. In practice, auditd always requested sizeof(unsigned int), so the extra bytes were ignored, but copying them out was not the intent. MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-02T21:34:57.000000Z K 7 svn:log V 67 Unbreak after cpuset: initialize td_cpuset in sched_fork_thread(). END K 10 svn:author V 4 fanf K 8 svn:date V 27 2008-03-02T22:27:49.000000Z K 7 svn:log V 70 Typo in comment spotted by Hasso Tepper. Obtained from: DragonFlyBSD END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-02T22:52:14.000000Z K 7 svn:log V 235 Don't auto-start or allow extattrctl for UFS2 file systems, as UFS2 has native extended attributes. This didn't interfere with the operation of UFS2 extended attributes, but the code shouldn't be running for UFS2. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-02T23:26:35.000000Z K 7 svn:log V 89 Make session ID generator to use session ID hash. Make session ID generator thread-safe. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-03T03:33:58.000000Z K 7 svn:log V 79 Implement WOL. Tested by: Fabian Keil ( freebsd-listen AT fabienkeli DOT de ) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-03-03T03:34:52.000000Z K 7 svn:log V 53 Add KMOD target. Discovered by: Takahashi Yoshihiro END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-03T03:41:06.000000Z K 7 svn:log V 97 Don't allow jumbo frame on 8139C+ controller. While I'm here add a check for minimal MTU length. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-03T04:15:08.000000Z K 7 svn:log V 191 Don't map memory/IO resource in device probe and just use PCI vendor/revision/sub device id of the hardware to probe it. This is the same way as NetBSD does and it enhances readabilty a lot. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-03-03T04:29:25.000000Z K 7 svn:log V 102 - Fix an off-by-one bug in _libelf_insert_section(). [1] - Update (c) years. Submitted by: kaiw [1] END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-03-03T06:39:36.000000Z K 7 svn:log V 68 Convert to be a 2-clause bsd-only license. Pointed out by: rwatson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-03T08:28:13.000000Z K 7 svn:log V 125 Add cpu affinity APIs to get and set thread's cpu affinity mask, the functions are intented to be are compatible with glibc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-03T08:32:58.000000Z K 7 svn:log V 26 Fix SYNOPSIS and usage(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-03T08:55:50.000000Z K 7 svn:log V 121 The Sony i.LINK (CXD1947) is _not_ supported. PR: 116680 Submitted by: Jens Köhler MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-03T09:16:29.000000Z K 7 svn:log V 113 Implement functions pthread_getaffinity_np and pthread_setaffinity_np to get and set thread's cpu affinity mask. END K 10 svn:author V 3 dds K 8 svn:date V 27 2008-03-03T10:06:52.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-03-03T10:12:46.000000Z K 7 svn:log V 59 Raise a bit ipfw kld priority. Discussed on: net-, ipfw-. END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-03-03T11:51:30.000000Z K 7 svn:log V 74 MFC: 1.51 - better recover from unknown encoding found (not by core dump) END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-03-03T12:51:02.000000Z K 7 svn:log V 67 MFC: 1.51 - better recover from unknown encoding, not by core dump END K 10 svn:author V 7 jadawin K 8 svn:date V 27 2008-03-03T13:12:27.000000Z K 7 svn:log V 110 - Add myself to ports committers and to tabthorpe and thierry's mentee list Approved by: thierry (co-mentor) END K 10 svn:author V 7 jadawin K 8 svn:date V 27 2008-03-03T13:14:39.000000Z K 7 svn:log V 54 - Add my birthday. Approved by : thierry (co-mentor) END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T13:20:52.000000Z K 7 svn:log V 154 Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. Approved by: cognet (mentor) Obtained from: Juniper, Semihalf MFp4: e500 END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T17:17:00.000000Z K 7 svn:log V 914 Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. The PQ3 is a high performance integrated communications processing system based on the e500 core, which is an embedded RISC processor that implements the 32-bit Book E definition of the PowerPC architecture. For details refer to: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8555E This port was tested and successfully run on the following members of the PQ3 family: MPC8533, MPC8541, MPC8548, MPC8555. The following major integrated peripherals are supported: * On-chip peripherals bus * OpenPIC interrupt controller * UART * Ethernet (TSEC) * Host/PCI bridge * QUICC engine (SCC functionality) This commit brings the main functionality and will be followed by individual drivers that are logically separate from this base. Approved by: cognet (mentor) Obtained from: Juniper, Semihalf MFp4: e500 END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T18:20:17.000000Z K 7 svn:log V 485 Support for Freescale QUad Integrated Communications Controller. The QUICC engine is found on various Freescale parts including MPC85xx, and provides multiple generic time-division serial channel resources, which are in turn muxed/demuxed by the Serial Communications Controller (SCC). Along with core QUICC/SCC functionality a uart(4)-compliant device driver is provided which allows for serial ports over QUICC/SCC. Approved by: cognet (mentor) Obtained from: Juniper MFp4: e500 END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T18:44:33.000000Z K 7 svn:log V 216 Recognize the quad-port Cicada (Vitesse) CS8204 10/100/1000TX PHY. This PHY is found on many embedded development boards: among others MPC8555CDS evaluation systems use it. Approved by: cognet (mentor) MFp4: e500 END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T19:03:44.000000Z K 7 svn:log V 560 Support for Freescale integrated Three-Speed Ethernet Controller (TSEC). TSEC is the MAC engine offering 10, 100 or 1000 Mbps speed and is found on different Freescale parts (MPC83xx, MPC85xx). Depending on the silicon version there are up to four TSEC units integrated on the chip. This driver also works with the enhanced version of the controller (eTSEC), which is backwards compatible, but doesn't take advantage of its additional features (various off-loading mechanisms) at the moment. Approved by: cognet (mentor) Obtained from: Semihalf MFp4: e500 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-03T19:36:03.000000Z K 7 svn:log V 168 Use more compact LIST instead of TAILQ for session hash. Add all listening hooks into LIST to simplify searches. Use ng_findhook() instead of own equal implementation. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T20:40:20.000000Z K 7 svn:log V 554 Connect MPC85XX to the PowerPC build. The kernel config file is KERNCONF=MPC85XX, so the usual procedure applies: 1. make buildworld TARGET_ARCH=powerpc 2. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX This default config uses kernel-level FPU emulation. For the soft-float world approach: 1. make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 2. disable FPU_EMU option in sys/powerpc/conf/MPC85XX 3. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX Approved by: cognet (mentor) MFp4: e500 END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-03-03T22:00:46.000000Z K 7 svn:log V 95 Import the omitted gdb_machdep.c for PowerPC kernel. Approved by: cognet (mentor) MFp4: e500 END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-03-03T22:32:01.000000Z K 7 svn:log V 60 When unloading kld, don't forget to flush the nat pointers. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-04T01:40:26.000000Z K 7 svn:log V 86 Add the pic_ipi method. While here, eliminate the unused openpic_ocpbus_softc struct. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-04T02:20:27.000000Z K 7 svn:log V 71 Comment-out cpu E500. We can't yet build it with AIM at the same time. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-04T03:03:24.000000Z K 7 svn:log V 71 implement pthread_attr_getaffinity_np and pthread_attr_setaffinity_np. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-04T03:05:53.000000Z K 7 svn:log V 74 Also comment-out options MPC85XX. We don't define CCSRBAR_* without E500. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-04T03:45:11.000000Z K 7 svn:log V 37 Include cpuset.h, unbreak compiling. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-04T04:28:59.000000Z K 7 svn:log V 269 If a new thread is created, it inherits current thread's signal masks, however if current thread is executing cancellation handler, signal SIGCANCEL may have already been blocked, this is unexpected, unblock the signal in new thread if this happens. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-04T05:35:27.000000Z K 7 svn:log V 185 Linux requires -D__dead2= and -D__unused= to get rid of the sys/cdef.h-isms in the make source. The variant of linux I tried it on doesn't have arc4random, so -Darc4random=random too. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-04T06:08:59.000000Z K 7 svn:log V 88 Note 7.0 was the first version that FreeBSD/pc98 had a MACHINE of pc98 instead of i386. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-04T06:09:13.000000Z K 7 svn:log V 100 MFC: rev. 1.5 Move the HARDWARE section below the DESCRIPTION section, like it is everywhere else. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-03-04T07:39:31.000000Z K 7 svn:log V 119 Make it possible to continue working after calling doadump() manually from debugger. (This got broken in rev. 1.122.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-03-04T10:33:42.000000Z K 7 svn:log V 67 Split descriptions of .Ev MAKEFILE and .Va .MAKEFLAGS for clarity. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-04T11:05:03.000000Z K 7 svn:log V 102 Fix the Giant leak in the nfsrv_remove(). Reported by: pluknet MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-04T11:10:54.000000Z K 7 svn:log V 26 Fix incorrect field name. END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-03-04T11:25:23.000000Z K 7 svn:log V 340 Revise the description of how .Ev MAKEFILE and .Va .MAKEFILE relate. The most important point is that -f option(s) are never copied from .Ev MAKEFILE to .Va .MAKEFILE by make(1), which is consistent with handling the command line. (-f silently sit in .Ev MAKEFILE and go to make's children unless overwritten via .Va .MAKEFILE) Bump .Dd. END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-03-04T11:28:54.000000Z K 7 svn:log V 61 Move a stray paragraph on .Ev MAKEFLAGS to where it belongs. END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-03-04T12:07:34.000000Z K 7 svn:log V 243 MFC: Add table/tablearg support to ipfw's nat. Fix display of nat range. Fix display of multiple nat rules. Whitespace elimination. sbin/ipfw/ipfw2.c: rev. 1.115, 1.116 and 1.117 sbin/ipfw/ipfw.8: rev. 1.210 sys/netinet/ip_fw2.c: rev. 1.181 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-04T12:10:03.000000Z K 7 svn:log V 195 Move setting of MNTK_MPSAFE flag before UFS1 extended attribute auto-start so that the flag is set before we start performing I/O in the auto-start routine. MFC after: 2 weeks Suggested by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-04T12:45:48.000000Z K 7 svn:log V 125 MFC rev. 1.63-1.68 Document -instance and -globalport options. Note that the punch_fw option does not work in securelevel 3. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-03-04T12:50:11.000000Z K 7 svn:log V 273 Continue on-going campaign to replace lockmgr locks with sx locks where the specific semantics of ockmgr aren't required: update UFS1 extended attributes to protect its data structures using an sx lock. While here, update comments on lock granularity. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-04T12:52:34.000000Z K 7 svn:log V 125 MFC rev. 1.63-1.68 Document -instance and -globalport options. Note that the punch_fw option does not work in securelevel 3. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-03-04T15:56:17.000000Z K 7 svn:log V 251 is necessary for using INT_MIN, so included it here explicitly rather than relying on name space pollution to pull it in for us. NB: The usage of INT_MIN is somewhat bogus and suspect to my eye, but this commit doesn't address that issue. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-04T16:54:31.000000Z K 7 svn:log V 220 Force an explicit dependency on opt_global.h for all module object files when building modules as part of a kernel build just as we do for kernel object files. MFC after: 1 week Reported by: kmacy, kris Reviewed by: ru END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-03-04T17:41:58.000000Z K 7 svn:log V 180 MFC: add "server mode" to rfcomm_sppd(1) MFC: Check return value of listen() PR: bin/102523 Submitted by: Dave Eckhardt, bms, kevlo Tested by: Dave Eckhardt, Eric Anderson, bms END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-04T18:22:18.000000Z K 7 svn:log V 108 Implement 128 items node name hash for faster name search. Increase node ID hash size from 32 to 128 items. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-03-04T18:50:15.000000Z K 7 svn:log V 301 Add support for automatic promotion of 4KB page mappings to 2MB page mappings. Automatic promotion can be enabled by setting the tunable "vm.pmap.pg_ps_enabled" to a non-zero value. By default, automatic promotion is disabled. (Expect this to change.) Reviewed by: ups Tested by: kris, Peter Holm END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-04T19:00:11.000000Z K 7 svn:log V 286 Back out revision 1.97, which backed out part of revision 1.96. Change the default CFLAGS to match the simple defaults that the tinderboxes use. By using -fno-strict-aliasing by default we are choosing to ignore problems in code which had the potential to shoot ourselves in the foot. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-03-04T19:16:21.000000Z K 7 svn:log V 584 Change the default port range for outgoing connections by introducing IPPORT_EPHEMERALFIRST and IPPORT_EPHEMERALLAST with values 10000 and 65535 respectively. The rationale behind is that it makes the attacker's life more difficult if he/she wants to guess the ephemeral port range and also lowers the probability of a port colision (described in draft-ietf-tsvwg-port-randomization-01.txt). While there, remove code duplication in in_pcbbind_setup(). Submitted by: Fernando Gont Approved by: njl (mentor) Reviewed by: silby, bms Discussed on: freebsd-net END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-04T20:26:03.000000Z K 7 svn:log V 224 Temporarily back out revision 1.98 to give Portmgr some time to address PR ports/121363 (current day re-opening of PR ports/73797) to make ports CFLAGS more independent of src/'s CFLAGS WRT aliasing. Discussed with: brooks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-04T22:32:58.000000Z K 7 svn:log V 151 No need to tell make to DTRT with "make love", just do it. Also remove the 2002/08/31 bootstrapping aid for upgrades from year old (mid-2001) systems. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-03-04T22:51:37.000000Z K 7 svn:log V 113 It seems some don't care for the anchient joke. Add WITHOUT_OLD_JOKE to your CFLAGS if you fall into this camp. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-05T01:15:10.000000Z K 7 svn:log V 50 Add detection of isolation state. PR: kern/76710 END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2008-03-05T01:30:48.000000Z K 7 svn:log V 146 - add '-f' option to force root node. - fix byte order in read_write_quad() - show hostnames in the list - fix typo in manpage MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-05T01:49:20.000000Z K 7 svn:log V 364 - Verify that when a user supplies a mask that is bigger than the kernel mask none of the upper bits are set. - Be more careful about enforcing the boundaries of masks and child sets. - Introduce a few more CPU_* macros for implementing these tests. - Change the cpusetsize argument to be bytes rather than bits to match other apis. Sponsored by: Nokia END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-05T02:10:43.000000Z K 7 svn:log V 267 - Remove the -i argument when running a command to simplify things a little bit and to prevent users from specifying a private mask that may later restrict other group changes. - Add a man page which brueffer generously contributed to. Sponsored by: Nokia END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-05T05:36:09.000000Z K 7 svn:log V 415 Plug memory leak in jumbo buffer allocation failure path. Patch in the PR was modified to check active jumbo buffers in use and other possible jumbo buffer leak. Jumbo buffer usage in lge(4) still wouldn't be reliable due to lack of driver lock in local jumbo buffer allocator. Either introduce a new lock to protect jumbo buffer or switch to UMA backed page allocator for jumbo frame is required. PR: kern/78072 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-03-05T06:24:42.000000Z K 7 svn:log V 121 Remove hacks to filter out MNT_ROOTFS, since we now do that internally inside nmount() in revision 1.267 of vfs_mount.c. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-05T06:55:48.000000Z K 7 svn:log V 82 Check actual size of cpuset kernel is using and define underscore version of API. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-05T06:56:35.000000Z K 7 svn:log V 42 Add more cpu affinity function's symbols. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-05T07:01:20.000000Z K 7 svn:log V 281 Use cpuset defined in pthread_attr for newly created thread, for now, we set scheduling parameters and cpu binding fully in userland, and because default scheduling policy is SCHED_RR (time-sharing), we set default sched_inherit to PTHREAD_SCHED_INHERIT, this saves a system call. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-05T07:04:55.000000Z K 7 svn:log V 134 Increase and decrease in_sigcancel_handler accordingly to avoid possible error caused by nested SIGCANCEL stack, it is a bit complex. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-03-05T07:55:07.000000Z K 7 svn:log V 180 Remove hacks which filter out MNT_ROOTFS. They are no longer needed now that we filter out MNT_ROOTFS inside the nmount() call in revision 1.267 of vfs_mount.c. Reviewed by: rink END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-03-05T07:55:45.000000Z K 7 svn:log V 18 Add rl(4) support END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-03-05T08:08:32.000000Z K 7 svn:log V 253 - Don't overwrite the recently allocated 'nset' in cpuset_setthread() by passing it to cpuset_which(). Pass in 'set' instead. This argument is not used but for convenience cpuset_which() nulls all incoming parameters. Submitted by: davidxu END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-03-05T08:25:49.000000Z K 7 svn:log V 713 For a mounted file system which is read-only, when doing the MNT_RELOAD, pass in "ro" and "update" string mount options to nmount() instead of MNT_RDONLY and MNT_UPDATE flags. Due to the complexity of the mount parsing code especially with respect to the root file system, passing in MNT_RDONLY and MNT_UPDATE flags would do weird things and would cause fsck to convert the root file system from a read-only mount to read-write. To test: - boot into single user mode - show mounted file systems with: mount - root file system should be mounted read-only - fsck / - show mounted file systems with: mount - root file system should still be mounted read-only PR: 120319 MFC after: 1 month Reported by: yar END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-03-05T09:41:22.000000Z K 7 svn:log V 636 In nfs_mount(), default initialize struct nfs_args the same way that it is default initialized in revision 1.77 of mount_nfs.c. Right now, this is a no-op, because currently we initialize struct nfs_args in mount_nfs in userspace, and pass it down into the kernel via nmount(), so we overwrite whatever we initialize here with the value passed in from userspace. However, this lays the groundwork for moving away from passing struct nfs_args from userspace to kernel via nmount(), so that we can instead pass string mount options via nmount() which can be parsed in the kernel. This will make it easier to add new NFS mount options. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-03-05T10:09:29.000000Z K 7 svn:log V 483 Expand the nfs_opts array to include all possible string mount options that mount_nfs could pass down, if it passed down string mount options. Right now, mount_nfs jut passes down a single mount option named "nfs_args" with a fully initialized 'struct nfs_args'. In future commits, we will add code to the kernel for parsing stringified NFS mount options, so that we can convert mount_nfs to pass string options from userspace to kernel, instead of an initialized struct nfs_args. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-03-05T11:11:53.000000Z K 7 svn:log V 1379 Change float_t and double_t to long double on i386. All floating point expressions on i386 are evaluated in the range of the long double type, so this is wrong in a different but hopefully less worse way than before. Since expressions are evaluated in long double registers, there is no runtime cost to using long double instead of double to declare intermediate values (except in cases where this avoids compiler bugs), and by careful use of float_t or double_t it is possible to avoid some of the compiler bugs in this area, provided these types are declared as long double. I was going to change float.h to be less broken and more usable in combination with the change here (in particular, it is more necessary to know the effective number of bits in a double_t when double_t != double, since DBL_MANT_DIG no longer logically gives this, and LDBL_MANT_DIG doesn't give it either with FreeBSD-i386's default rounding precision. However, this was too hard for now. In particular, LDBL_MANT_DIG is used a lot in libm, so it cannot be changed. One thing that is completely broken now is LDBL_MAX. This may have sort of worked when it was changed from DBL_MAX in 2002 (adding 0 to it at runtime gave +Inf, but you could at least compare with it), but starting with gcc-3.3.1 in 2003, it is always +Inf due to evaluating it at compile time in the default rounding precision. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-03-05T11:17:20.000000Z K 7 svn:log V 63 Oops, back out previous commit since it was to the wrong file. END K 10 svn:author V 3 bde K 8 svn:date V 27 2008-03-05T11:21:14.000000Z K 7 svn:log V 1379 Change float_t and double_t to long double on i386. All floating point expressions on i386 are evaluated in the range of the long double type, so this is wrong in a different but hopefully less worse way than before. Since expressions are evaluated in long double registers, there is no runtime cost to using long double instead of double to declare intermediate values (except in cases where this avoids compiler bugs), and by careful use of float_t or double_t it is possible to avoid some of the compiler bugs in this area, provided these types are declared as long double. I was going to change float.h to be less broken and more usable in combination with the change here (in particular, it is more necessary to know the effective number of bits in a double_t when double_t != double, since DBL_MANT_DIG no longer logically gives this, and LDBL_MANT_DIG doesn't give it either with FreeBSD-i386's default rounding precision. However, this was too hard for now. In particular, LDBL_MANT_DIG is used a lot in libm, so it cannot be changed. One thing that is completely broken now is LDBL_MAX. This may have sort of worked when it was changed from DBL_MAX in 2002 (adding 0 to it at runtime gave +Inf, but you could at least compare with it), but starting with gcc-3.3.1 in 2003, it is always +Inf due to evaluating it at compile time in the default rounding precision. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-03-05T11:51:13.000000Z K 7 svn:log V 58 Add info about few missing GEOM classes that use geom(8). END K 10 svn:author V 4 rink K 8 svn:date V 27 2008-03-05T14:13:30.000000Z K 7 svn:log V 186 Import uslcom(4) from OpenBSD - this is a driver for Silicon Laboratories CP2101/CP2102 based USB serial adapters. Reviewed by: imp, emaste Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 4 rink K 8 svn:date V 27 2008-03-05T14:18:29.000000Z K 7 svn:log V 140 Oops, I accidently concatenated uslcom.[c4] multiple times before the commit :-/ Quickly fix before things get broken... Pointyhat to: me END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-03-05T16:34:03.000000Z K 7 svn:log V 491 Initialize mnt_stat.f_iosize before autostarting UFS1 extattrs. It is normally initialized by ffs_statfs() after ffs_mount finished. The extattr autostart code calls the ufs_lookup(), that uses value above to iterate over the directory blocks, see bmask initialization in the ufs_lookup() and ufsdirhash. Having the filesystem with root directory spanning more then one block would result in reading a random kernel memory. PR: kern/120781 Test case provided by: rwatson MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-05T16:46:38.000000Z K 7 svn:log V 1152 o Various fixes related to PCI Express: - Even for the PCI Express host controller we need to use bus 0 for configuration space accesses to devices directly on the host controller's bus. - Pass the maximum number of slots to pci_ocp_init() because the caller knows how many slots the bus has. Previously a PCI or PCI-X bus underneath a PCI Express host controller would not be enumerated properly. o Pull the interrupt routing logic out of pci_ocp_init() and into its own function. The logic is not quite right and is expected to be a bit more complex. o Fix/add support for PCI domains. The PCI domain is the unit number as per other PCI host controller drivers. As such, we can use logical bus numbers again and don't have to guarantee globally unique bus numbers. Remove pci_ocp_busnr. Return the highest bus number ito the caller of pci_ocp_init() now that we don't have a global variable anymore. o BAR programming fixes: - Non-type0 headers have at most 1 BAR, not 0. - First write ~0 to the BAR in question and then read back its size. Obtained from: Juniper Networks (mostly) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-03-05T17:51:06.000000Z K 7 svn:log V 91 Add the ability to read a file of commands to ddb(8) modeled after the feature in ipfw(8). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-03-05T18:04:21.000000Z K 7 svn:log V 80 mdoc changes to make this manpage consistent with our other section 4 manpages. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-03-05T18:32:58.000000Z K 7 svn:log V 307 Use the new command file feature of ddb(8) to support setting ddb(4) scripts at boot. This is currently disabled by default. /etc/ddb.conf contains some potentially reasonable default scripts. PR: conf/119995 Submitted by: Scot Hetzel (Earlier version) X-MFC after: textdumps END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-03-05T18:39:01.000000Z K 7 svn:log V 343 o We don't have to keep track of the PIC, nor do we have to make sure it's probed first. The PowerPC platform code deals with everything. As such, probe devices in order of their location in the memory map. o Refactor the ocpbus_alloc_resource for readability and make sure we set the RID in the resource as per the new convention. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T19:58:07.000000Z K 7 svn:log V 67 MFC: Consolidate the code to generate a new XID for a NFS request. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T20:04:16.000000Z K 7 svn:log V 67 MFC: Consolidate the code to generate a new XID for a NFS request. END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-03-05T20:11:04.000000Z K 7 svn:log V 1783 Don't forget to set MAKEFLAGS in the childs' environment from the .MAKEFLAGS global variable even if it's empty or unset. This means setting MAKEFLAGS to just an empty string in the latter case. If not doing so, make(1) behaved inconsistently WRT MAKEFLAGS. In particular, it would let a `-f foo' option down to sub-makes if .MAKEFLAGS was unset. E.g., env MAKEFLAGS="-f mymakefile" make would pass `-f mymakefile' down to sub-makes via their environment (unless mymakefile added something to .MAKEFLAGS). But any additional options appearing would change this behaviour to not passing `-f mymakefile' to sub-makes, as in: env MAKEFLAGS="-f mymakefile" make -D DUMMY or env MAKEFLAGS="-f mymakefile -D DUMMY" make (unless mymakefile cleared .MAKEFLAGS). Also make(1) would leave MAKEFLAGS at its initial value if the makefile set .MAKEFLAGS to an empty value. I.e., it was impossible to override MAKEFLAGS with an empty value. (Note well that makefiles are not to touch MAKEFLAGS directly, they alter .MAKEFLAGS instead. So make(1) can filter out things such as -f when copying MAKEFLAGS to .MAKEFLAGS at startup. Direct modifications to MAKEFLAGS just go nowhere.) While the original intentions of the BSD make authors are somewhat unclear here, the bug proves that NOT passing -f options down is the settled behaviour because the opposite behaviour is totally unreliable in the presence of any other options. In addition, not passing down -f's found in the environment is consistent with doing so WRT the command line. Update the manpage accordingly and make the whole description of MAKEFLAGS and .MAKEFLAGS more consistent as this change indeed brings more consistency into the reliable behaviour of make(1). Submitted by: ru (main.c) Tested with: make world END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T20:17:12.000000Z K 7 svn:log V 73 MFC: Fix a problem with XID re-use when a server returns NFSERR_JUKEBOX. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T20:19:00.000000Z K 7 svn:log V 28 Bah, extra hunk slipped in. END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-03-05T20:24:38.000000Z K 7 svn:log V 132 The non-POSIX environment variable MAKE was superseded by MAKEFLAGS ages ago, so don't mention it in comments. Tested with: cmp(1) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T20:33:46.000000Z K 7 svn:log V 107 MFC: Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on the 'rt' route in rtredirect(). END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-03-05T20:58:15.000000Z K 7 svn:log V 829 For users of FreeBSD <= 6.2 we recommend during the x.org 7.x upgrade that they add X11BASE=${LOCALBASE} to /etc/make.conf since X11BASE was hard-wired to the now-wrong location in old releases. However, both X11BASE and LOCALBASE have moved out of scope of src/ into ports/ now, which causes problems for upgraded users who have old make.conf files still containing the above setting. X11BASE becomes null and we instruct ssh and sshd to look for xauth in /bin/xauth where it is unlikely to be found. Instead, provide a copy of the default LOCALBASE?=/usr/local setting here. We also have to deal with the case where the user only overrides LOCALBASE and doesn't set an explicit X11BASE (in ports it will be set implicitly but not here), which will also move the location of xauth. MFC after: 3 days Reported by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T21:11:54.000000Z K 7 svn:log V 72 MFC: Add a couple of assertions and KTR logging to thread_lock_flags(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T21:12:49.000000Z K 7 svn:log V 55 MFC: Mark sleepqueue chain spin mutexes as recursable. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T21:14:06.000000Z K 7 svn:log V 54 MFC: Mark the syscons video spin mutex as recursable. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-03-05T21:19:25.000000Z K 7 svn:log V 105 MFC: Make netstat -rn more resilient to having the routing table change out from under it while running. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-03-05T22:12:34.000000Z K 7 svn:log V 306 Increase default queue items allocation limit from 512 to 4096 items to avoid terrible unpredicted effects for netgraph operation of their exhaustion while allocating control messages. Add separate configurable 512 items limit for data items allocation for DoS/overload protection. Discussed with: julian END K 10 svn:author V 7 davidch K 8 svn:date V 27 2008-03-05T22:58:02.000000Z K 7 svn:log V 69 - Add PHY ID for BCM5709C 1000Base-T controllers. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-05T23:17:19.000000Z K 7 svn:log V 14 Use calloc(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-05T23:31:49.000000Z K 7 svn:log V 104 Make it possible to build glabel into rescue geom(8) utility. Ok'ed by: marcel No objection: -current@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-05T23:32:12.000000Z K 7 svn:log V 28 Add an alias for glabel(8). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-06T00:22:17.000000Z K 7 svn:log V 149 Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST. It is only used to track elapsed time and it does not have to be precise. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-06T00:24:11.000000Z K 7 svn:log V 41 Fix compiler warnings and style(9) bugs. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-03-06T00:25:16.000000Z K 7 svn:log V 30 Mark moused(8) WARNS=6 clean. END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-03-06T00:37:29.000000Z K 7 svn:log V 234 Add an option to register DUN (Dial-Up Networking) service on the same RFCOMM channel if needed. There is really no good reason to not to support this. AT-command exchange can be faked with chat script in ppp.conf. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-03-06T01:05:30.000000Z K 7 svn:log V 339 MFC revision 1.5 date: 2008/02/16 00:16:49; author: delphij; state: Exp; lines: +2 -1 Allow underscore in domain names while resolving. While having underscore is a violation of RFC 1034 [STD 13], it is accepted by certain name servers as well as other popular operating systems' resolver library. Bugs are mine. Obtained from: ume END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-03-06T01:47:53.000000Z K 7 svn:log V 325 Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. Also remove unneeded jlist lock which is no longer required to protect jumbo buffers. With these changes jumbo frame performance of nfe(4) was slightly increased and users should not encounter jumbo buffer allocation failure anymore. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-06T01:59:08.000000Z K 7 svn:log V 235 Restore code setting new thread's scheduler parameters, I was thinking that there might be starvations, but because we have already locked the thread, the cpuset settings will always be done before the new thread does real-world work. END