ƒ¯ 165602 205 360 241 499 186 160 272 246 323 108 251 301 294 149 156 121 108 149 200 152 293 199 203 373 177 244 131 248 142 595 445 583 133 137 191 121 189 196 314 150 241 1019 209 246 247 219 855 979 188 274 274 218 168 213 187 1131 133 173 174 316 255 346 366 400 235 162 164 190 193 127 238 176 113 113 109 107 119 112 179 129 125 125 224 545 238 184 539 133 337 160 222 150 176 112 154 137 257 271 252 337 232 197 251 103 110 112 190 530 216 134 200 149 131 253 610 116 117 171 242 342 224 215 163 219 222 143 225 111 155 185 409 409 263 217 307 183 279 506 395 125 246 143 199 237 175 111 228 140 631 253 254 204 570 362 341 455 432 443 124 287 584 1788 116 169 197 909 811 196 582 187 252 133 128 466 301 221 236 139 121 136 259 155 150 130 251 155 204 244 222 126 144 202 410 131 148 740 295 148 175 360 242 190 431 324 156 190 K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T22:09:47.000000Z K 7 svn:log V 267 MFC: - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the various pcib drivers to use their own private devclass_t variables for their modules. - Use the DEFINE_CLASS_0() macro to declare drivers for the various pcib drivers while I'm here. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T22:13:26.000000Z K 7 svn:log V 148 MFC: When loading a driver that is a subclass of another driver don't set the devclass's parent pointer if the two drivers share the same devclass. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T22:18:43.000000Z K 7 svn:log V 402 Update a number of comments: - Replace XXX with Note: in several cases where observations are made about future functionality rather than problems or bugs. - Remove an XXX comment about byte order and au_to_ip() -- IP headers must be submitted in network byte order. Add a comment to this effect. - Mention that we don't implement select/poll for /dev/audit. Obtained from: TrustedBSD Project END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-28T22:20:41.000000Z K 7 svn:log V 94 MFC: Make the ACPI and OpenFirmware PCI bus drivers subclasses of the generic PCI bus driver. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-12-28T22:28:28.000000Z K 7 svn:log V 68 bump doc date and fix spelling... Pointed out by: mdoc-police (ru) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-28T23:23:35.000000Z K 7 svn:log V 175 Add missing include guards to mac_internal.h, update include guards in mac_policy.h following move to new location in src/sys/security/mac. Obtained from: TrustedBSD Project END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-12-28T23:56:50.000000Z K 7 svn:log V 150 In cpu_reset(), call OF_reboot() instead of OF_exit(). The latter doesn't do a reboot and has been observed to reset the NVRAM to its default values. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T01:17:02.000000Z K 7 svn:log V 226 Assign or clean up audit identifiers for a number of additional Linux system calls on the amd64 architecture. Some minor white space tweaks for consistency with other syscalls.master files. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T01:17:09.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-29T03:33:33.000000Z K 7 svn:log V 154 Fix MSI support. Now it correctly allocates SYS_RES_IRQ resources on Yukon II which reports it can handle two messages. Submitted by: jhb Tested by: bms END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-29T03:56:29.000000Z K 7 svn:log V 204 Fix interrupt handling on a dual port card. Previously it ignored the second port interrupt if the first port was in down state. Since I don't have a dual port card it's just guess work. Noticed by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-12-29T04:55:38.000000Z K 7 svn:log V 197 Piggyback watchdog timer handling with msk_tick which is called every hz. This will result in slightly faster Tx processing as it does not need lock operations for callouts in msk_start/msk_txeof. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-29T06:22:13.000000Z K 7 svn:log V 58 -mdoc knows about FreeBSD 7.0 as well. Reminded by: ceri END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-29T06:36:32.000000Z K 7 svn:log V 65 The Christmas holidays were not showing up due to missing . END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-29T06:39:35.000000Z K 7 svn:log V 30 Remove extraneous whitespace. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-29T06:44:24.000000Z K 7 svn:log V 17 Fix tab lossage. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-29T07:27:06.000000Z K 7 svn:log V 58 MFC: Fix tab lossage and get rid of redundant whitespace. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-29T09:54:32.000000Z K 7 svn:log V 103 A node that implements Predictor-1 compression for PPP. Submitted by: Alexander Motin END K 10 svn:author V 4 jeff K 8 svn:date V 27 2006-12-29T10:37:07.000000Z K 7 svn:log V 59 - Clean up a bit after the most recent KSE restructuring. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T10:37:32.000000Z K 7 svn:log V 196 Add a witness sleep warning to canon_path(), which invokes vput() and hence may perform an unbounded sleep. Remove an XXX comment suggesting that one be added. Obtained from: TrustedBSD Project END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-29T10:46:15.000000Z K 7 svn:log V 102 Manual page for Deflate PPP compression netgraph node. Submitted by: Alexander Motin END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-29T10:47:26.000000Z K 7 svn:log V 106 Manual page for Predictor-1 PPP compression netgraph node. Submitted by: Alexander Motin END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T10:49:13.000000Z K 7 svn:log V 276 Use p_cansee() to check that a target process for an audit state manipulation is visible to the subject process. Remove XXX comments suggesting this. Convert one XXX on a difference from Darwin into a note: it's not a bug, it's a feature. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T11:03:44.000000Z K 7 svn:log V 81 Remove two XXX comments that no longer apply. Obtained from: TrustedBSD Project END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-12-29T12:28:34.000000Z K 7 svn:log V 147 Fix SUSv3 compliance: Use a single comma instead of comma and space to separate additional group entries. PR: 107298 Submitted by: Joost Bekkers END K 10 svn:author V 4 jeff K 8 svn:date V 27 2006-12-29T12:55:32.000000Z K 7 svn:log V 38 - More search and replace prettying. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-29T13:08:46.000000Z K 7 svn:log V 155 Fix a group of typos: preceed -> precede, preceeded -> preceded, preceeding -> preceding. Submitted by: Andre Guibert de Bruet END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-29T13:16:43.000000Z K 7 svn:log V 46 Build bits for ng_deflate(4) and ng_pred1(4). END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-29T13:36:26.000000Z K 7 svn:log V 502 Try harder to garbage-collect the "LOCORE" (really asm) version of MPLOCKED. The cleaning in rev.1.25 was supposed to have been undone by rev.1.26, but 1.26 could never have actually affected asm files since atomic.h is full of C declarations so including it in asm files would just give syntax errors. The asm MPLOCKED is even less needed than when misplaced definitions of it were first removed, and is now unused in any asm file in the src tree except in anachronismns in sys/i386/i386/support.s. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-12-29T13:59:03.000000Z K 7 svn:log V 349 Work around a long standing LOR with user/group rules by doing the socket lookup early. This has some performance implications and should not be enabled by default, but might help greatly in certain setups. After some more testing this could be turned into a sysctl. Tested by: avatar LOR ids: 17, 24, 32, 46, 191 (conceptual) MFC after: 6 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-29T13:59:50.000000Z K 7 svn:log V 490 Various bpf(4) related fixes to catch places up to the new bpf(4) semantics. - Stop testing bpf pointers for NULL. In some cases use bpf_peers_present() and then call the function directly inside the conditional block instead of the macro. - For places where the entire conditional block is the macro, remove the test and make the macro unconditional. - Use BPF_MTAP() in if_pfsync on FreeBSD instead of an expanded version of the old semantics. Reviewed by: csjp (older version) END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-29T14:28:23.000000Z K 7 svn:log V 41 Fixed some style bugs (whitespace only). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-29T14:58:18.000000Z K 7 svn:log V 45 Some whitespace nits and remove a few casts. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-29T15:29:49.000000Z K 7 svn:log V 99 Fixed some style bugs (mainly assorted errors in comments, and inconsistent spelling of `result'). END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-29T15:48:18.000000Z K 7 svn:log V 29 Fix oops in previous commit. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-12-29T15:56:21.000000Z K 7 svn:log V 97 Add "nojail" keyword to prevent spurious error messages. Spotted by: Keve Nagy PR: conf/107083 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-12-29T16:01:12.000000Z K 7 svn:log V 103 MFC: Add "nojail" keyword to prevent a spurious error message. Spotted by: Keve Nagy PR: conf/107083 END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-29T16:28:38.000000Z K 7 svn:log V 222 - Fix markup. - Somewhat improve wording. - Change the layout of the EXAMPLES section so that descriptions come before example, as in most other manpages. - Fix a bad example that edits a label using a `c' partition. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-29T16:38:22.000000Z K 7 svn:log V 58 Fix fat-fingering in previous commit. Pointy hat to: jhb END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-12-29T18:44:04.000000Z K 7 svn:log V 149 Fix an off-by-one which could mean writing beyond the end of the array when copying the interface name. This code part should probably be rewritten. END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-12-29T19:23:38.000000Z K 7 svn:log V 927 bridge_snmp.h * Change the API of bridge_get_basemac to take a maximum buffer length. bridge_if.c * Adopt to new API. * In bridge_attach_newif() remove an additional pointer to the buffer by shuffling the code a bit. Also makes the code more readable. bridge_sys.c * bridge_get_basemac(): - Adopt to the new API. - Change check for error code of getifaddrs(). - First check for sa_family != AF_LINK. - Copy sockaddr_dl * to get around alignment constraints on some platforms. - Use strcmp instead of strncmp so that "foo11" != "foo1". * other functions: - Allocate n times of the struct we need instead of arbitrary len, cast to the type we want it to be and pass around struct *s instead of char *s. This gets us around alignment restrictions on some platforms and in addition it is more clear what data is passed around. - Name variables for same types consistently. Reviewed by: syrinx END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-12-29T19:24:51.000000Z K 7 svn:log V 117 Re-connect snmp_bridge to the build. It survived a make universe (apart from powerpc where the build broke earlier). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-29T19:25:49.000000Z K 7 svn:log V 153 MFC: Close some races between enumerating inpcb's and tearing them down by making the mutex portion of struct inpcb type-stable and never destroying it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T20:16:29.000000Z K 7 svn:log V 150 Re-add include of opt_mac.h in mac_framework.c, which was improperly removed from this file. It is required to pick up the definition of MAC_STATIC. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-29T20:21:21.000000Z K 7 svn:log V 122 Slightly resort functions in file so that no forward function prototypes are required. Obtained from: TrustedBSD Project END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-12-29T20:21:42.000000Z K 7 svn:log V 762 a) macro-ization of all mbuf and random number access plus timers. This makes the code more portable and able to change out the mbuf or timer system used more easily ;-) b) removal of all use of pkt-hdr's until only the places we need them (before ip_output routines). c) remove a bunch of code not needed due to aka worrying about pkthdr's :-) d) There was one last reorder problem it looks where if a restart occur's and we release and relock (at the point where we setup our alias vtag) we would end up possibly getting the wrong TSN in place. The code that fixed the TSN's just needed to be shifted around BEFORE the release of the lock.. also code that set the state (since this also could contribute). Approved by: gnn END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-12-29T21:59:17.000000Z K 7 svn:log V 885 Summer of Code 2005: improve libalias - part 2 of 2 With the second (and last) part of my previous Summer of Code work, we get: -ipfw's in kernel nat -redirect_* and LSNAT support General information about nat syntax and some examples are available in the ipfw (8) man page. The redirect and LSNAT syntax are identical to natd, so please refer to natd (8) man page. To enable in kernel nat in rc.conf, two options were added: o firewall_nat_enable: equivalent to natd_enable o firewall_nat_interface: equivalent to natd_interface Remember to set net.inet.ip.fw.one_pass to 0, if you want the packet to continue being checked by the firewall ruleset after being (de)aliased. NOTA BENE: due to some problems with libalias architecture, in kernel nat won't work with TSO enabled nic, thus you have to disable TSO via ifconfig (ifconfig foo0 -tso). Approved by: glebius (mentor) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-12-29T22:30:10.000000Z K 7 svn:log V 96 Some how the d slipped out in the last commit, add it back... Pointed out by: mdoc-police (ru) END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-12-29T22:45:12.000000Z K 7 svn:log V 178 MFC: - add some files to FILES section and provide their description - reference devfs.conf and devfs.rules in SEE ALSO section Approved by: keramida (mentor), trhodes (mentor) END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-12-29T23:23:59.000000Z K 7 svn:log V 178 MFC: - add some files to FILES section and provide their description - reference devfs.conf and devfs.rules in SEE ALSO section Approved by: keramida (mentor), trhodes (mentor) END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-12-29T23:35:08.000000Z K 7 svn:log V 122 MFC: - Markup fixes. - clock_gettime is in time.h instead of sys/time.h Approved by: trhodes (mentor), keramida (mentor) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-12-30T11:48:02.000000Z K 7 svn:log V 74 MFC 1.39: Add support for 945G/GM AGP chipsets. Approved by: Eric Anholt END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-30T11:55:47.000000Z K 7 svn:log V 119 Be consistent with the spelling of "dependent" in user-visible places. PR: kern/27429 Submitted by: T. William Wells END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-12-30T15:42:11.000000Z K 7 svn:log V 95 MFC rev. 1.62: Call vnode_create_vobject() in VOP_OPEN. Makes mmap work on UDF filesystem. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-30T16:03:44.000000Z K 7 svn:log V 1033 Merge tcp_subr.c:1.251 from HEAD to RELENG_6: Fix race conditions on enumerating pcb lists by moving the initialization (and where appropriate the destruction) of the pcb mutex to the init/finit functions of the pcb zones. This allows locking of the pcb entries and race condition free comparison of the generation count. Rearrange locking a bit to avoid extra locking operation to update the generation count in in_pcballoc(). (in_pcballoc now returns the pcb locked) I am planning to convert pcb list handling from a type safe to a reference count model soon. (As this allows really freeing the PCBs) Reviewed by: rwatson, mohans This was missed in jhb's earlier MFC, and lead to a panic when creating TCP sockets. Reported by: Larry Rosenman Henrik Brix Andersen Karol Kwiatkowski Danny Braniss Torfinn Ingolfsen END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-30T17:53:28.000000Z K 7 svn:log V 41 Whitespace fix and remove an extra cast. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-30T17:55:15.000000Z K 7 svn:log V 79 MFC uark(4), a driver for Arkmicro Technologies ARK3116 based serial adapters. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-30T17:58:46.000000Z K 7 svn:log V 82 MFC: Include the style fix I had included in the other MFC's for the inpcb fixes. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-30T18:22:09.000000Z K 7 svn:log V 222 Remove alpha-specific stuff from the hardware notes (these are mostly in attributes for generating MD hardware, as well as a few alpha-only paragraphs here and there). While here, bump copyright date in dev.archlist.txt. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-12-30T20:27:24.000000Z K 7 svn:log V 162 now that MFS_IMAGE is in the FULLKERNEL section, use FULLKERNEL instead of KERNEL_KO, this fixes MFS_IMAGE on a debugging kernel... Submitted by: Neelkanth Natu END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-30T21:10:25.000000Z K 7 svn:log V 253 - Don't defer the removal of an 802.1q header for no real reason. - Micro-optimize the addition of an 802.1q header to match the removal code. - Consistently check for interfaces being up and running. - Consistently use NULL instead of 0 with pointers. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-12-30T21:54:41.000000Z K 7 svn:log V 271 Add the fortunes from the PR that were not already present. Delete some duplicates found while double checking the new ones, and fix a typo. These haven't been sorted yet, but will be in a future commit. PR: ports/40273 Submitted by: Achim Patzner END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-30T22:53:20.000000Z K 7 svn:log V 307 Eliminate global symbols starting with an underscore from rc.d scripts, except for mdconfig* and jail. Such symbols are reserved for the rc.subr internals. Most scripts can be fixed by just declaring _foo symbols as local: few scripts actually need them to be global. Discussed with: dougb in freebsd-rc END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-12-31T02:50:07.000000Z K 7 svn:log V 141 Invert the logic inside of two KASSERTS which resulted in two kernel panics for circumstances which are quite normal. Discussed with: kmacy END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-31T05:14:41.000000Z K 7 svn:log V 65 MFC: Note that updates aren't available for -CURRENT or -STABLE. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-31T05:18:35.000000Z K 7 svn:log V 67 "block is set to UTC" -> "clock is set to UTC" Submitted by: csjp END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-31T07:22:55.000000Z K 7 svn:log V 96 o Grammar: is appears -> appears. PR: docs/107306 Submitted by: Tomas Mozes MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-31T07:34:40.000000Z K 7 svn:log V 99 MFC rev. 1.166 (with mods for RELENG_6): do not leave uninitialized birthtime, set ctime to mtime. END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:06:30.000000Z K 7 svn:log V 34 Virgin import of GNU Readline 5.2 END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:06:30.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r165670, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-12-31T09:06:31.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'libreadline-vendor-v5_2'. END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:10:49.000000Z K 7 svn:log V 20 Remove non-FSF file END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:12:19.000000Z K 7 svn:log V 20 Update instructions END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:22:31.000000Z K 7 svn:log V 16 Merge conflicts END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:26:00.000000Z K 7 svn:log V 14 Update config END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:27:16.000000Z K 7 svn:log V 26 Change RL_LIBRARY_VERSION END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:45:18.000000Z K 7 svn:log V 19 Official patch 001 END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-12-31T09:45:19.000000Z K 7 svn:log V 83 This commit was manufactured by cvs2svn to create tag 'libreadline-vendor-v5_2_p1'. END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:47:34.000000Z K 7 svn:log V 36 Merge conflict after official patch END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-12-31T09:50:44.000000Z K 7 svn:log V 32 Udate info after official patch END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-31T10:12:53.000000Z K 7 svn:log V 33 Fix a typo in a warning message. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-31T10:37:18.000000Z K 7 svn:log V 131 Use $required_modules wherever suitable. Use load_kld() in special cases. So we get rid of quite a few lines of duplicated code. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-31T11:07:29.000000Z K 7 svn:log V 452 Allow for /usr/bin/env when parsing the shebang line from an interpreted $command. Some "portable" sofware packages use such a line to skip the task of figuring out the absolute pathname of the interpreter at install time, e.g.: #!/usr/bin/env python It is insecure, but a popular book on Python seems to have advised it to a wide audience. Hence a number of such scripts in the ports, mostly written in Python. PR: bin/100287 MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-31T11:19:48.000000Z K 7 svn:log V 143 o Fix a comment: refer to the write community name by the OID not by the line number which is incorrect now and probably will shift in future. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-31T11:56:16.000000Z K 7 svn:log V 87 MFp4: - semi-automatic style fixes - spelling fixes in comments - add some comments END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-31T12:39:10.000000Z K 7 svn:log V 441 MFp4 (111746+): Redo the checking for 2.6 emulation. We now cache the value of use26 and replace calls to linux_get_osrelease() + parsing with a call to linux_use26(). Typical path is lockless now. Pointed out by: kib This allows to ship RELENG_7_0 with a default osrelease of 2.4.2 and the possibility to enable 2.6.x emulation without the possible performance impact of the previous version of the check. Submitted by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-31T12:42:55.000000Z K 7 svn:log V 36 MFp4: - semi-automatic style fixes END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-31T13:16:00.000000Z K 7 svn:log V 239 MFp4 (111746, 108671, 108945, 112352): - add linux utimes syscall [1] - add linux rt_sigtimedwait syscall [2] Submitted by: "Scot Hetzel" [1] Submitted by: Bruce Becker [2] PR: 93199 [2] END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-31T13:20:31.000000Z K 7 svn:log V 63 regen after addition of linux_utimes and linux_rt_sigtimedwait END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-12-31T15:26:25.000000Z K 7 svn:log V 129 MFC: Add "nojail" keyword to prevent spurious error messages. Spotted by: Keve Nagy PR: conf/107083 Approved by: re (kensmith) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-12-31T15:36:44.000000Z K 7 svn:log V 58 Fix wrong markup and some wordsmithing. Submitted by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-31T15:56:04.000000Z K 7 svn:log V 80 Prefer a more traditional spelling of inhibited in comments and panic messages. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-12-31T16:35:29.000000Z K 7 svn:log V 16 Welcome to 2007 END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T17:41:19.000000Z K 7 svn:log V 61 MFC the cr_cansee.9 and p_cansee.9 manuals. Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T17:41:49.000000Z K 7 svn:log V 44 MFC revisions 1.4 and 1.5. Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T17:49:38.000000Z K 7 svn:log V 163 MFC revision 1.25: Ensure that the load of rules into the alternate ruleset worked before loading them into the live one too. PR: conf/97311 Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T17:54:41.000000Z K 7 svn:log V 177 MFC revision 1.25: Ensure that the load of rules into the alternate ruleset worked before loading them into the live one too. PR: conf/97311 Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:08:22.000000Z K 7 svn:log V 158 MFC revision 1.158: When using sysinstall on a running system and editing a disk label fails, suggest setting kern.geom.debugflags to 16. PR: bin/94409 END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:28:46.000000Z K 7 svn:log V 243 MFC revisions 1.90, 1.91 and 1.93: 1.90: Fix typos in comments. 1.91: Add /lib and /libexec to the list of directories that have the schg flag removed prior to an upgrade. 1.93: Fix a pair of user-visible typos. Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:34:58.000000Z K 7 svn:log V 138 MFC revisions 1.371 and 1.372. 1.371: Fix typos in comments. 1.372: Remove a warning regarding disk entries in /dev. Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:40:05.000000Z K 7 svn:log V 103 MFC quotacheck.8 revision 1.17, quotacheck.c revision 1.26: Document the -l option. Approved by: ru END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:46:42.000000Z K 7 svn:log V 157 MFC revisions 1.20 and 1.23: 1.20: Markup fixes. 1.23: Remove duplicate "clear" subcommand. Revisions 1.21 and 1.22 do not currently apply to RELENG_6. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:53:45.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T18:57:31.000000Z K 7 svn:log V 17 Sync with -HEAD. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-31T19:12:00.000000Z K 7 svn:log V 19 Clarify a comment. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-12-31T19:42:47.000000Z K 7 svn:log V 98 remove delays that have been unnecessary since 2002... The iicbb driver has the proper delays... END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-31T20:26:20.000000Z K 7 svn:log V 433 Only signal the CV indicating that the MAC Framework is available for exclusive access if there is at least one thread waiting for it to become available. This may significantly reduce overhead by reducing the number of unnecessary wakeups issued whenever the framework becomes idle. Annotate that we still signal the CV more than necessary and should fix this. Obtained from: TrustedBSD Project Reviewed by: csjp Tested by: csjp END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-31T21:34:53.000000Z K 7 svn:log V 123 Add comment about udp checksums being off in BSD 4.2 compatibility mode. Submitted by: Dr. Markus Waldeck PR: kern/106657 END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-01T00:35:34.000000Z K 7 svn:log V 42 Fix typo in comment. Submitted by: remko END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-01T00:46:54.000000Z K 7 svn:log V 107 Merge from FreeBSD-tsf-6 by way of p4: correct values for PIO registers submitted by: patrick schweiger END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-01T00:48:25.000000Z K 7 svn:log V 57 MFp4: Remove watchdog timeout that appears to be unused. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-01T00:50:25.000000Z K 7 svn:log V 39 MFp4: Fix bit name for SPI SR register END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-01T01:40:29.000000Z K 7 svn:log V 159 Remove conditional return of 1. For the MAC_STATIC case at this point in the code, one being returned is invariant. Discussed with: rwatson MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-01T01:47:18.000000Z K 7 svn:log V 516 Teach the stub policy about some of the more recent entry points that have been introduced to the MAC framework: mpo_associate_nfsd_label mpo_create_mbuf_from_firewall mpo_check_system_nfsd mpo_check_vnode_mmap_downgrade mpo_check_vnode_mprotect mpo_init_syncache_label mpo_destroy_syncache_label mpo_init_syncache_from_inpcb mpo_create_mbuf_from_syncache MFC after: 2 weeks [1] [1] The syncache related entry points will NOT be MFCed as the changes in the syncache subsystem are not present in RELENG_6 yet. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-01-01T03:01:24.000000Z K 7 svn:log V 21 MFC: Welcome to 2007 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-01-01T03:03:50.000000Z K 7 svn:log V 22 MFC: Welcome to 2007! END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-01T14:47:45.000000Z K 7 svn:log V 75 Fix amd64 build. Submitted by: Divacky Roman END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-01-01T16:51:11.000000Z K 7 svn:log V 146 Clean up pfr_kentry_pl2 as well. This fixes a kernel panic in the vm.zone sysctl after unloading pf. Submitted by: Earl Lapus MFC after: 3 days END K 10 svn:author V 4 ceri K 8 svn:date V 27 2007-01-01T17:25:51.000000Z K 7 svn:log V 248 During an upgrade, if /boot/kernel.prev exists then the backup of /boot/kernel can fail. Try to remove /boot/kernel.prev and cope the best we can if that fails. PR: bin/106376 Submitted by: Nobuyuki Koganemaru Approved by: ru MFC after: 2 weeks END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-01-01T21:16:42.000000Z K 7 svn:log V 128 - Do not claim that ipfw is the only firewall package available in FreeBSD. Approved by: trhodes (mentor), keramida (mentor) END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-01-01T21:22:32.000000Z K 7 svn:log V 119 Forgot to mention that the last revision was fix for: PR: docs/106315 MFC-after: 3 days Approved by: trhodes (mentor) END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-01-01T21:26:32.000000Z K 7 svn:log V 68 - Sync with -HEAD Approved by: trhodes (mentor), keramida (mentor) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-01T21:49:39.000000Z K 7 svn:log V 125 style(9) nit. Prefer struct[space]name[space]{ to make grep searches more in line with that we find in the rest of the tree. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-01T23:50:04.000000Z K 7 svn:log V 126 Add a simple tool for checking the command queues in the MFI driver. Also add a simple wrapper for running the MegaCLI tool. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-01-02T03:42:16.000000Z K 7 svn:log V 46 Remove old man page. Thanks to: Pawel Worach END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-02T04:12:34.000000Z K 7 svn:log V 129 Make sure that all of the fields in the header are clean. It was possible for unsafe flags to leak from one command to another. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-01-02T04:14:01.000000Z K 7 svn:log V 15 Fix compiling. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-02T04:51:26.000000Z K 7 svn:log V 60 Expand a comment for clarity and fix a missed substitution. END K 10 svn:author V 3 rse K 8 svn:date V 27 2007-01-02T09:12:37.000000Z K 7 svn:log V 93 Fix typo: effected -> affected Submitted by: Gordon Stratton END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-01-02T11:07:13.000000Z K 7 svn:log V 316 Jail_ip and jail_interface local variables were renamed to _ip and _interface in a previous commit to avoid namespace collisions, unfortunately I missed two of them. This leads to the ip alias being incorrectly removed in some cases when using the stop command. Reported by: Philipp Wuensche END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-01-02T11:14:07.000000Z K 7 svn:log V 316 Jail_ip and jail_interface local variables were renamed to _ip and _interface in a previous commit to avoid namespace collisions, unfortunately I missed two of them. This leads to the ip alias being incorrectly removed in some cases when using the stop command. Reported by: Philipp Wuensche END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-02T12:24:14.000000Z K 7 svn:log V 165 Handle errors which occur during archive_write_data and archive_write_close by printing an error message and exiting with a non-zero status code. MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-02T12:35:07.000000Z K 7 svn:log V 119 MFC: Correct spelling of "accommodate", "guarantee", "guaranteed", "guard", "return", "ridiculous", and "success". END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-02T15:03:38.000000Z K 7 svn:log V 209 Clean up the struct archive used for reading an archive in the handling of @archive commands. This bug should be harmless as long as you don't use an excessive number of @archive commands. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-02T16:37:33.000000Z K 7 svn:log V 87 Bump copyright year to 2007, and a happy new year to everyone! Approved by: re (bmah) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-02T17:27:52.000000Z K 7 svn:log V 186 Use the vnode interlock to close a race where pfs_vncache_alloc() could attempt to vn_lock() a destroyed vnode resulting in a hang. MFC after: 1 week Submitted by: ups Reviewed by: des END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-01-02T19:57:31.000000Z K 7 svn:log V 410 Remove a bunch of dependencies in the IP header being the first thing in the mbuf. First moves toward being able to cope better with having layer 2 (or other encapsulation data) before the IP header in the packet being examined. More commits to come to round out this functionality. This commit should have no practical effect but clears the way for what is coming. Revirewed by: luigi, yar MFC After: 2 weeks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2007-01-02T20:42:08.000000Z K 7 svn:log V 302 The nfsm_srvpathsiz() macro in nfsrv_symlink() in nfs_serv.c should check length of the pathname in the range 0<=n<=NFS_MAXPATHLEN, not 0 "adapter" END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-03T02:38:41.000000Z K 7 svn:log V 152 - Fix schedgraph output with KSE threads. Call thread_switchout() after calling CTR() so we don't confuse a new kse thread with a real preemption. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T04:57:58.000000Z K 7 svn:log V 51 Fix rounding of 0xf for hex fp formats. PR: 90333 END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T04:58:54.000000Z K 7 svn:log V 106 Import of the latest gdtoa sources, which include fixes for minor problems relating to NaNs and rounding. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T04:58:54.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r165743, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-01-03T04:58:55.000000Z K 7 svn:log V 79 This commit was manufactured by cvs2svn to create tag 'gdtoa-vendor-v20050923'. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T04:59:33.000000Z K 7 svn:log V 19 Merge local diffs. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T05:00:03.000000Z K 7 svn:log V 135 The distinction between quiet and signaling NaN formats is machine-dependent; these files tell the latest version of gdtoa what to do. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T05:38:08.000000Z K 7 svn:log V 48 Fix cut-and-paste bugs in the regression tests. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-01-03T10:50:03.000000Z K 7 svn:log V 536 protect against multiple inclusion (this is useful when you start working with third party usb modules, where sometimes it is not easy to set the inclusion order so that there are no multiple inclusions, yet you want to compile with high WARNS levels). I am not sure if there is a standard for having a leading and/or trailing _ in the macro name, the usb code seems to use both. There are still several unprotected headers here so it might be useful to do the same thing on other files as well as the need arises. MFC After: 3 days END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-01-03T11:12:54.000000Z K 7 svn:log V 159 Wrap ipfw nat support in a new kernel config option named "IPFIREWALL_NAT": this way nat is turned off by default and POLA is preserved. Reviewed by: rwatson END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-03T13:16:59.000000Z K 7 svn:log V 156 Insert zero-padding between sparse blocks in archive_read_data(). This fixes "tar -c @foo.tar" where "foo.tar" contains sparse entries. MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-03T20:01:44.000000Z K 7 svn:log V 106 Quiet a compiler warning where (off_t + size_t) has a different sign from (off_t). Submitted by: delphij END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-01-03T20:19:02.000000Z K 7 svn:log V 474 MFC 3 fixes from -current. All having to do with the case where the same filehandle is looked up by 2 or more processes. - Don't vrele() the losing vnode, as vfs_hash_insert() vput()'s it. - Initialize mutexes on the losing nfsnode (as these get destroyed in the nfsnode reclaim path). - Move the initialization of the filehandle to before the vfs_insert, to close some races which could result in multiple vnodes for the same filehandle being inserted into the hash. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-03T21:28:26.000000Z K 7 svn:log V 269 Remove the test that ensures that when the string "nan(...)" is converted to floating-point, the result is a quiet NaN. The current implementation may return a signaling NaN, and the vendor has no plans for changing this, for reasons explained in the comment I added. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-03T21:47:35.000000Z K 7 svn:log V 243 Rewrite and simplify archive_read_format_tar_skip. Compression-layer skip functions are required to skip the requested distance, so we can avoid lots of bookkeeping which would otherwise be necessary. Reviewed by: kientzle MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-04T04:18:03.000000Z K 7 svn:log V 358 Add auto_if_type() function, which is similar to auto_switch_type(). However, auto_if_type() uses if/else statements in C instead of a single switch statement, when mapping an integer value to a #define. For certain cases where multiple #define constants alias to a single integer value, auto_if_type() makes things easier to parse than auto_switch_type(). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-04T04:28:17.000000Z K 7 svn:log V 335 Generate sockdomainname() function with auto_if_type() instead of auto_or_type. The old parsing code would incorrectly decode a socket() call in the ping6 program as: CALL socket(PF_PUP|PF_ECMA|PF_APPLETALK|PF_COIP|PF_SIP,SOCK_DGRAM,0) The new parsing code decodes the same socket() call as: CALL socket(PF_INET6,SOCK_DGRAM,0) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-04T04:46:59.000000Z K 7 svn:log V 346 Add sockipprotoname() function. Decode the third parameter (protocol) of a socket() call with sockipprotoname() if the first parameter (domain) is PF_INET or PF_INET6. Old parsing behavior before this change: ping6 CALL socket(PF_INET6,SOCK_RAW,0x3a) New behavior after this change: ping6 CALL socket(PF_INET6,SOCK_RAW,IPPROTO_ICMPV6) END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-01-04T07:56:12.000000Z K 7 svn:log V 32 Add new PATA only JMicron chip. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-04T08:36:40.000000Z K 7 svn:log V 193 - Add SRQ_BORROWING to the list of switch reasons. ULE is the only consumer at this time. It is used to optimize the run queue placement of threads who have newly elevated priorities. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-04T08:39:58.000000Z K 7 svn:log V 490 - Add three new functions to support circular run queues. - runq_add_pri allows the caller to position the thread at any rqindex regardless of priority. - runq_choose_from() chooses the lowest priority thread starting from a given index. The index is updated with the rqindex of the chosen thread. This routine is used to pick the lowest priority relative to a given index. - runq_remove_idx() updates the index if the run queue that held the removed thread is now empty. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-04T08:56:25.000000Z K 7 svn:log V 1693 ULE 2.0: - Remove the double queue mechanism for timeshare threads. It was slow due to excess cache lines in play, caused suboptimal scheduling behavior with niced and other non-interactive processes, complicated priority lending, etc. - Use a circular queue with a floating starting index for timeshare threads. Enforces fairness by moving the insertion point closer to threads with worse priorities over time. - Give interactive timeshare threads real-time user-space priorities and place them on the realtime/ithd queue. - Select non-interactive timeshare thread priorities based on their cpu utilization over the last 10 seconds combined with the nice value. This gives us more sane priorities and behavior in a loaded system as compared to the old method of using the interactivity score. The interactive score quickly hit a ceiling if threads were non-interactive and penalized new hog threads. - Use one slice size for all threads. The slice is not currently dynamically set to adjust scheduling behavior of different threads. - Add some new sysctls for scheduling parameters. Bug fixes/Clean up: - Fix zeroing of td_sched after initialization in sched_fork_thread() caused by recent ksegrp removal. - Fix KSE interactivity issues related to frequent forking and exiting of kse threads. We simply disable the penalty for thread creation and exit for kse threads. - Cleanup the cpu estimator by using tickincr here as well. Keep ticks and ltick/ftick in the same frequency. Previously ticks were stathz and others were hz. - Lots of new and updated comments. - Many many others. Tested on: up x86/amd64, 8way amd64. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-04T09:05:37.000000Z K 7 svn:log V 19 MFC: Xref uark(4) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-04T09:12:03.000000Z K 7 svn:log V 72 New supported JMicron, ALI and ServerWorks chipsets. MFC after: 3 days END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-04T12:10:58.000000Z K 7 svn:log V 103 - Don't pass a pointer into runq_choose_from(). The caller can adjust the index if it chooses to. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-04T12:16:19.000000Z K 7 svn:log V 815 - Only allow the tdq_idx to increase by one each tick rather than up to the most recently chosen index. This significantly improves nice behavior. This allows a lower priority thread to run some multiple of times before the higher priority thread makes it to the front of the queue. A nice +20 cpu hog now only gets ~5% of the cpu when running with a nice 0 cpu hog and about 1.5% with a nice -20 hog. A nice difference of 1 makes a 4% difference in cpu usage between two hogs. - Track a seperate insert and removal index. When the removal index is empty it is updated to point at the current insert index. - Don't remove and re-add a thread to the runq when it is being adjusted down in priority. - Pull some conditional code out of sched_tick(). It's looking a bit large now. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-04T12:45:00.000000Z K 7 svn:log V 713 Convert compression_skip from taking a size_t skip length request and returning the length skipped in a ssize_t to using off_t for both. This does not break any A[BP]Is, since compression_skip is entirely internal to libarchive. If a skip request is > SSIZE_MAX, don't pass it down to the client layer skip function, since those still uses size_t / ssize_t. Instead, just read the data and throw it away. With this commit, libarchive/bsdtar should now successfully skip archive entries of >2GB on 32-bit systems, but does so slower than necessary. The performance will improve with a future A[BP]I breaking commit which makes client layer skip functions use off_t. Discussed with: kientzle MFC after: 1 week END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-01-04T16:09:11.000000Z K 7 svn:log V 103 Add support for the Marvell 6101/6145 PATA chips used on many new Intel boards. HW donated by: Sentex END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-01-04T17:39:17.000000Z K 7 svn:log V 489 MFC of rev. 1.164: - Conditionally acquire Giant in mdstart_vnode(), mdcreate_vnode(), and mddestroy() only if the file is from a non-MPSAFE fs. There, to accommodate for the vn_open() difference with HEAD, use VFS_LOCK_GIANT after vn_open (since vn_open(..., -1) assumes caller is not MP-safe). - No longer unconditionally hold Giant in the md kthread for vnode-backed kthreads. - Improve the handling of the thread exit race when destroying an md device. No objections from: jhb END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-01-04T18:13:04.000000Z K 7 svn:log V 93 Fix headphone/speaker automute for Toshiba Satellite Pro U200. Reported/Tested by: keramida END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-01-04T18:31:43.000000Z K 7 svn:log V 156 MFC: pf_ioctl.c 1.27: Clean up pfr_kentry_pl2 as well. This fixes a kernel panic in the vm.zone sysctl after unloading pf. Submitted by: Earl Lapus END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-04T18:50:52.000000Z K 7 svn:log V 36 Document Marvell 6101/6145 support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-04T19:59:41.000000Z K 7 svn:log V 36 MFC: Fix kenv() function prototype. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-04T20:28:17.000000Z K 7 svn:log V 373 - Use a regular mutex rather than a spin mutex. This driver doesn't need a spin mutex since it doesn't have an INTR_FAST interrupt handler. Beyond that the driver is still under Giant anyway. - Remove unneeded locking during attach across operations that can't be called with locks held (such as bus_dma_tag_create()). MFC after: 1 week Not objected to by: scottl END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-04T20:38:50.000000Z K 7 svn:log V 205 Add a function that checks for duplicate requests (based on some fairly tight criteria) so we avoid having broken clients spam rpc.lockd to death. PR: 107530 Obtained from: Doug Rudoff MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-04T20:45:33.000000Z K 7 svn:log V 125 some whitespace cleanup (which I usually don't bother with) so I could note that the previous delta was: Reviewed by: Mohan END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T00:33:00.000000Z K 7 svn:log V 141 MFp4: struct fsm_opt_hdr needs to be __packed as it is used as an array for handling wire data This is required to get ppp working on arm. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T01:01:14.000000Z K 7 svn:log V 45 MFp4: fix a race in transmit buffer handling END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T01:07:59.000000Z K 7 svn:log V 27 MFp4: Add VLAN_MTU support END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T01:14:14.000000Z K 7 svn:log V 42 MFp4: BWCT boards are using an 16MHz xtal END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T01:18:32.000000Z K 7 svn:log V 164 MFp4: Read access require PDC to be setup first otherwise we might get overrun errors. Write access however need cmd first, so keep the existing order for them. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T01:46:26.000000Z K 7 svn:log V 61 MFp4: add basic driver for RTL8305SC switch in PHY emulation END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T02:06:53.000000Z K 7 svn:log V 56 MFp4: Make at91_rtc optional to allow other RTC choices END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T02:08:35.000000Z K 7 svn:log V 36 MFp4: add BWCT kernel configuration END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-05T02:25:44.000000Z K 7 svn:log V 154 Eliminate ASSERT_VOP_ELOCKED panics when doing mkdir or symlink when sysctl vfs.lookup_shared=1. Submitted by: daichi, Masanori OZAWA END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T02:50:27.000000Z K 7 svn:log V 61 MFp4: Add missing atomic functions Based on a patch by: des END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T02:52:06.000000Z K 7 svn:log V 109 MFp4: Use the next possible value for hz instead of defaulting to 128 Update tick value after modifying hz. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-05T02:54:27.000000Z K 7 svn:log V 147 Fix parsing of -o uid and -o gid options, so that -o uidxx and -o gidxx are not accepted. Submitted by: daichi, Masanori OZAWA END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-01-05T03:29:15.000000Z K 7 svn:log V 125 Check if the PP mutex is recursive, if we have already locked it, place the mutex in right order sorted by priority ceiling. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-01-05T03:33:47.000000Z K 7 svn:log V 30 Oops, don't corrupt the list. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-01-05T03:57:11.000000Z K 7 svn:log V 48 Insert mutex at tail if it has highest ceiling. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-05T05:28:57.000000Z K 7 svn:log V 105 Eliminate obsolete comment, now that getushort() is implemented in terms of functions in . END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-05T05:50:36.000000Z K 7 svn:log V 313 MFC 1.14, 1.15: marcel 2006-12-21 05:40:46 UTC Unbreak 64-bit little-endian systems that do require alignment. The fix involves using le16dec(), le32dec(), le16enc() and le32enc(). This eliminates invalid casts and duplicated logic. PR: 106703 Tested by: Axel Gonzalez END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-05T07:14:26.000000Z K 7 svn:log V 39 Remove a note pertaining to the Alpha. END K 10 svn:author V 3 das K 8 svn:date V 27 2007-01-05T07:15:26.000000Z K 7 svn:log V 56 Remove an unneeded fnstcw instruction. Noticed by: bde END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-05T08:50:38.000000Z K 7 svn:log V 646 - ftick was initialized to -1 for init and any of it's children. Fix this by setting ftick = ltick = ticks in schedinit(). - Update the priority when we are pulled off of the run queue and when we are inserted onto the run queue so that it more accurately reflects our present status. This is important for efficient priority propagation functioning. - Move the frequency test into sched_pctcpu_update() so we don't repeat it each time we'd like to call it. - Put some temporary work-around code in sched_priority() in case the tick mechanism produces a bad priority. Eventually this should revert to an assert again. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-01-05T09:51:14.000000Z K 7 svn:log V 202 MFC rev. 1.167 of src/sys/dev/md/md.c rev. 1.514, 1.515 of src/sys/kern/vfs_bio.c rev. 1.319, 1.320 of src/sys/sys/vnode.h Resolve two deadlocks that could be caused by busy md device backed by vnode. END K 10 svn:author V 8 blackend K 8 svn:date V 27 2007-01-05T10:13:01.000000Z K 7 svn:log V 51 Fix 2 typos, as consequence update copyright year. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2007-01-05T10:30:51.000000Z K 7 svn:log V 81 Hints are handled differently on -current Don't include hints.at91rm9200 for now END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-01-05T10:48:18.000000Z K 7 svn:log V 262 Change the client skipper API to use off_t instead of size_t/ssize_t; but wrap this within #if/#else/#endif so that it will only take effect once ARCHIVE_API_VERSION is increased (which should happen on HEAD some time between now and when RELENG_7 is branched). END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-01-05T11:55:35.000000Z K 7 svn:log V 149 MFC all the recent fixes to systat(1). As a pleasant side-effect, this reduces its difference against HEAD almost to zero. Idea by: bde OK by: re END K 10 svn:author V 4 piso K 8 svn:date V 27 2007-01-05T12:15:31.000000Z K 7 svn:log V 97 Prevent adding a rule with a nat action in case IPFIREWALL_NAT was not defined. Reviewed: luigi END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-01-05T14:03:21.000000Z K 7 svn:log V 338 MFC pkill(1) totally. Besides bugfixes, this brings in the following visible changes: * a new option -I for interactive killing; * a new syntax for jail wildcards: -j any, -j none; -j0 is deprecated now. MFC the regression tests for pkill(1), too, to make sure it works well. Approved by: gad, pjd, re Tested by: the regression tests END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-05T14:06:42.000000Z K 7 svn:log V 227 Simplify code in union_hashins() and union_hashget() functions. These functions now more closely resemble similar functions in nullfs. This also eliminates some errors. Submitted by: daichi, Masanori OZAWA END K 10 svn:author V 8 takawata K 8 svn:date V 27 2007-01-05T14:46:18.000000Z K 7 svn:log V 59 Make agp_intel capable to work after resume from S3 state. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-01-05T14:46:54.000000Z K 7 svn:log V 94 MFC 1.33: Use a single comma instead of comma and space to separate additional group entries. END