Ĩr186394 208 206 1386 141 794 179 115 352 399 151 131 180 430 349 182 153 237 237 139 110 127 154 369 237 133 365 149 364 147 220 142 250 149 177 249 357 141 150 228 176 250 419 252 210 203 184 205 145 150 167 118 172 259 334 136 122 116 161 122 168 146 199 239 250 184 370 234 108 366 146 120 133 176 215 174 175 352 166 121 142 150 153 162 144 251 242 274 467 182 216 401 224 267 144 156 179 153 127 149 125 883 159 296 282 469 151 130 1650 161 458 346 177 103 212 824 256 249 141 140 286 189 192 162 234 376 259 330 446 126 354 146 141 275 203 237 205 265 215 370 322 435 214 210 114 135 193 477 189 129 115 171 275 2650 134 225 224 140 190 257 203 248 291 288 285 424 129 401 821 326 282 408 708 477 145 233 233 234 369 152 126 139 160 197 185 124 133 147 133 250 172 165 190 131 160 156 155 148 143 143 133 153 116 146 132 123 1560 291 402 309 K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-12-22T13:36:15.075481Z K 7 svn:log V 111 o Correct a database name: "group" not "groups". PR: docs/129853 Submitted by: Denis Barov MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-22T15:34:06.323695Z K 7 svn:log V 1289 - According to comments in OpenBSD, E{2,4}50 tend to have fragile firmware versions which wedge when using the OFW test service, so given that we don't really depend on SUNW,stop-self just nuke it altogether instead of risking problems. - At least Fire V880 have a small hardware glitch which causes the reception of IDR_NACKs for CPUs we actually haven't tried to send an IPI to, even not as part of the initial try. According to tests this apparently can be safely ignored though, so just return if checking for the individual IDR_NACKs indicates no outstanding dispatch. Serializing the sending of IPIs between MD and MI code by the combined usage of smp_ipi_mtx makes no difference to this phenomenon. [1] - Provide relevant debugging bits already with the initial panic in case of problems with the IPI dispatch, which would have allowed to diagnose the above problem without a specially built kernel. - In case of cheetah_ipi_selected() base the delay we wait for other CPUs which also might want to dispatch IPIs on the total amount of CPUs instead of just the number of CPUs we let this CPU send IPIs to because in the worst case all CPUs also want to IPI us at the same time. Reported and access for extensive tests provided by: Beat Gaetzi [1] END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-12-22T16:58:47.046937Z K 7 svn:log V 46 Fix a comment to reflect what really happens. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-12-22T17:32:52.656404Z K 7 svn:log V 701 Make preparations for resurrecting shared/read locks on vm maps: mac_proc_vm_revoke_recurse() requests a read lock on the vm map at the start but does not handle failure by vm_map_lock_upgrade() when it seeks to modify the vm map. At present, this works because all lock request on a vm map are implemented as exclusive locks. Thus, vm_map_lock_upgrade() is a no-op that always reports success. However, that is about to change, and proc_vm_revoke_recurse() will require substantial modifications to handle vm_map_lock_upgrade() failures. For the time being, I am changing mac_proc_vm_revoke_recurse() to request a write lock on the vm map at the start. Approved by: rwatson MFC after: 3 months END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-22T19:52:21.663950Z K 7 svn:log V 83 Only show the pathname in verbose output as intended in the last commit (r172862). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-22T20:31:35.335115Z K 7 svn:log V 19 MFH r185731:186398 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-22T20:38:00.351452Z K 7 svn:log V 255 Add a local hack to WITNESS so it can be asserted that the lock is not released for a section of code, this uses WITNESS_NOREL() and WITNESS_RELOK() to mark the boundaries. This allows net80211 to assert that the com lock isnt dropped over driver calls. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2008-12-22T21:22:42.825555Z K 7 svn:log V 302 Implement a new feature for the "-m" option: if the month number is followed by 'f' or 'p', use the following or preceding month of that number, respectively. Document this. Also includes other minor grammatical and punctuation fixes to the manual page (capitalize Easter, etc.). MFC after: 1 month END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-12-22T21:37:06.219238Z K 7 svn:log V 56 Fix typo for udav include. Add link to the u3g2 driver. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-22T22:40:17.941754Z K 7 svn:log V 39 Add 9 more Analog Devices codec names. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-23T01:22:57.301070Z K 7 svn:log V 84 Add a basic manual page for elf2aout. Alter Makefile and remove NO_MAN. PR: 109975 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-12-23T01:23:09.624199Z K 7 svn:log V 332 Prevent cross-site forgery attacks on ftpd(8) due to splitting long commands into multiple requests. [08:12] Avoid calling uninitialized function pointers in protocol switch code. [08:13] Merry Christmas everybody... Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:12.ftpd, FreeBSD-SA-08:13.protosw END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T01:56:51.186085Z K 7 svn:log V 256 o add Transaction Translator (TT) hack; not complete (need to hit ISOC xfers too) but enough to get us going w/ LS and FS devices o split out ehci_reset work and make it public; we need to do this before ehci_init so we can force the byte-order select END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T01:57:51.403534Z K 7 svn:log V 90 o enable TT and big-endian MMIO o force controller reset early to setup byte-order select END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-23T02:05:56.926792Z K 7 svn:log V 56 Prepare for 7.1-RC2 builds. Approved by: re (implicit) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-12-23T02:14:42.359001Z K 7 svn:log V 143 MFH: part of 186372 Disable the pccard, parallel, GbE and wireless lan related devices to decrease a kernel size. Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-12-23T02:19:14.813587Z K 7 svn:log V 143 MFH: part of 186372 Disable the pccard, parallel, GbE and wireless lan related devices to decrease a kernel size. Approved by: re (kensmith) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-23T03:33:32.914026Z K 7 svn:log V 44 Don't create a bogus ARP entry for 0.0.0.0. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:34:44.027844Z K 7 svn:log V 18 correct hint path END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:35:01.119282Z K 7 svn:log V 35 NPE_PORTS_MAX is not used; kill it END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:36:11.720876Z K 7 svn:log V 62 allow multiple references; we need this for ancillary drivers END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:42:10.895380Z K 7 svn:log V 276 o add Transaction Translator support (still missing ISOC xfers) o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be set in USBMODE o split reset work into new public routine ehci_reset so bus shim drivers can force big-endian byte-select before ehci_init END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:44:23.811836Z K 7 svn:log V 144 o enable TT and big-endian MMIO o force a reset before ehci_init to get byte-select setup LS, FS, and HS devices now work on the Cambria board END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:46:13.926595Z K 7 svn:log V 41 add IXP465 and generic IXP425 definition END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:48:27.946287Z K 7 svn:log V 272 Fill in feature control support: o add definitions for more bits, for masking out IXP465-specific bits, and %b format string o add ixp4xx_read_feature_bits to retrieve the mask of valid features (aka fuse bits) o add cpu_is_ixp42x() macro o print feature bits at boot END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:49:01.988283Z K 7 svn:log V 57 kill NPE_PORTS_MAX, it's not used and likely will not be END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T04:51:46.735197Z K 7 svn:log V 271 NPE cleanups needed for ancillary drivers (e.g. crypto acceleration): o check feature bits when probing NPE ethernet support o move firmware loading logic from if_npe to core npe support o allow multiple refs to core NPE driver o while here fix hw.npe.debug tunable path END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-23T05:00:00.041590Z K 7 svn:log V 53 IF_RELENG7 185850:186420 merge latest from 7 stable END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-12-23T05:01:43.430935Z K 7 svn:log V 122 If conversion from UTF8 fails, don't mark Unicode text as available. Submitted by: Michihiro NAKAJIMA MFC after: 30 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-23T05:10:05.110584Z K 7 svn:log V 48 turn off verbose debugging of xenbus by default END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-12-23T09:11:05.893751Z K 7 svn:log V 155 Add quirk for the Storcase InfoStation 12bay SATA to FC SAN. PR: 129858 Submitted by: Nick Triantos MFC after: 1 week END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-23T12:08:06.509270Z K 7 svn:log V 54 Close the read side of the pipe to self when exiting. END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-12-23T12:15:21.406459Z K 7 svn:log V 83 Add support for 2 EVDO devices. PR: 119150 Submitted by: lioux MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-12-23T12:44:18.639992Z K 7 svn:log V 154 Add support for the MaxSream USB test carrier. PR: 117546 Submitted by: Daniel J. O'Connor MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-12-23T13:09:17.001140Z K 7 svn:log V 262 Add support for the HP 4470C scanner. Note that there is no working backend (or at least that is mentioned in the PR ticket) but the device is now supported on our end. PR: 117205 Submitted by: Artem Naluzhnyy MFC after: 1 week END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-23T13:35:26.870996Z K 7 svn:log V 45 Document the "-o large" option. PR: 129792 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-23T14:58:08.715143Z K 7 svn:log V 58 Organize Conexant codecs. Add CX20561 (Hermosa) codec ID. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-23T15:00:03.317796Z K 7 svn:log V 131 Note that when shutdown is run without options, it will place the system into single user mode at the time specified. PR: 129765 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-23T15:47:31.427926Z K 7 svn:log V 80 Move another block of ASUS events to devd/asus.conf that were missed in r186249 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-23T16:04:33.009738Z K 7 svn:log V 157 Clear busy state on the pages which are after the one that failed the bind attempt. Reported and tested by: ganbold Reviewed by: rnoland MFC after: 2 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-12-23T16:16:30.816755Z K 7 svn:log V 322 Fix up handling of Intel G4X chips some more. Note that you need at least xf86-video-intel 2.4.3 for this to work. The G4X doesn't put the GATT into the same area of stolen memory as all the other chips and older versions of the driver didn't handle that properly. Tested by: ganbold Approved by: kib MFC after: 2 weeks END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2008-12-23T16:19:59.800521Z K 7 svn:log V 156 Add missing newlines to flags tags of CPU topology, for prettier output. Reviewed by: jeff (original version) Approved by: gnn (mentor) (original version) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-23T16:49:07.400263Z K 7 svn:log V 118 Check for ipprotosw.h more precisely. It hasn't been needed for more than 5 years, since r120386. MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-23T16:52:03.403774Z K 7 svn:log V 111 Remove long unused netinet/ipprotosw.h (basically since r82884). Discussed with: rwatson MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-23T16:54:00.556715Z K 7 svn:log V 93 pr_pfh has been gone from protosw since r120386 (more than 5 years ago). MFC after: 4 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-23T17:36:25.071708Z K 7 svn:log V 108 Name the bus mutex by the controller name, this allows each bus to be distinguished in lock profiling, etc. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-23T17:39:24.322515Z K 7 svn:log V 49 Add "crit" to the list of keywords. PR: 126934 END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T17:40:02.184211Z K 7 svn:log V 58 move IXP4XX EHCI bus shim to the usb directory and rename END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-12-23T17:55:07.657992Z K 7 svn:log V 75 Document SA-08:07, 08, 09, 10, 11, 12, and 13. Approved by: re (implicit) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2008-12-23T17:55:37.771762Z K 7 svn:log V 26 Document SA-08:12 and 13. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-23T17:57:17.966674Z K 7 svn:log V 77 Make signal handler safer. Submitted by: Jaakko Heinonen END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-23T18:00:33.012425Z K 7 svn:log V 162 Netgroup database can be centralized via NIS, list it. Add a missing comma and bump doc date. PR: 127602 Submitted by: Dmitry Sivachenko END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T18:30:32.013184Z K 7 svn:log V 239 This directory was added to src/contrib/bind9 prior to the svn move so that BIND 9.4.1 could compile and run on the ARM platform, but is not part of the vendor source. It will remain in src/contrib/bind9 since it is a local modification. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T18:31:38.966927Z K 7 svn:log V 42 Minor tweak to reflect my actual process. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T18:35:21.980632Z K 7 svn:log V 28 Vendor import of BIND 9.4.3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T18:36:21.053519Z K 7 svn:log V 22 Tag the 9.4.3 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T19:15:04.186307Z K 7 svn:log V 67 Update copyrights and comments as of 9.4.3 (no functional changes) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T19:18:41.133139Z K 7 svn:log V 28 Vendor import of BIND 9.4.3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T19:19:45.482896Z K 7 svn:log V 74 The lib/bind directory has its own configure script. Update accordingly. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-23T19:46:12.317810Z K 7 svn:log V 54 Add the mctest program and description to the README. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-12-23T19:59:21.546503Z K 7 svn:log V 102 Remove CALLOUT_RETURNUNLOCKED from the callouts, there is no reason for them to drop the lock for us. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-23T20:04:31.658048Z K 7 svn:log V 146 Keep the hold on the vnode during VOP_VPTOCNP() call, allowing the vop implementation to drop vnode lock, if needed. Reported and tested by: pho END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-23T20:07:51.477469Z K 7 svn:log V 157 Fix a bug in the man page where we were not showing the correct flags in the explanation. Several of the flags were -i, since it was a copy/paste operation. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-12-23T20:25:04.630940Z K 7 svn:log V 92 Add a new program, ether_reflect, which is useful in testing ethernet devices and switches. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2008-12-23T20:43:42.030788Z K 7 svn:log V 274 Do not KASSERT when vp->v_dd is NULL. Only directories which have had ".." looked up would have v_dd set to a non-NULL value. This fixes a panic seen when running installworld on a diskless system with a separate /usr file system. Submitted by: cracauer Approved by: kib END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T20:45:40.020006Z K 7 svn:log V 141 checkpoint NPE crypto support; this is just a shell of the driver but compiles and doesn't affect the system so commit it to simplify merges END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-23T21:07:57.648298Z K 7 svn:log V 16 merge from HEAD END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-12-23T22:20:59.249089Z K 7 svn:log V 270 Add support for the FPA floating-point format on ARM. The FPA floating-point format is identical to the VFP format, but is always stored in big-endian. Introduce _IEEE_WORD_ORDER to describe the byte-order of the FP representation. Obtained from: Juniper Networks, Inc END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T22:47:56.040143Z K 7 svn:log V 52 Merge from vendor/bind9/dist as of the 9.4.3 import END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T22:50:39.098206Z K 7 svn:log V 26 Updates for version 9.4.3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-12-23T22:51:10.306350Z K 7 svn:log V 39 Update bmake glue for changes in 9.4.3 END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-12-23T22:53:57.237682Z K 7 svn:log V 80 Only set registers if irqs are enabled Approved by: kib Obtained from: drm git END K 10 svn:author V 4 emax K 8 svn:date V 27 2008-12-24T00:00:52.314340Z K 7 svn:log V 121 Change message severity level from WARN to INFO. This should reduce amount of messages sent to syslog MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-24T01:00:30.138299Z K 7 svn:log V 82 structures must be packed to get the expected sizes (fixes assertion trip on arm) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-24T01:08:18.947788Z K 7 svn:log V 81 avoid lock recursion by deferring the link check until after LLE lock is dropped END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-24T02:41:35.597506Z K 7 svn:log V 254 Ensure that slow starting after an RTO when ABC is enabled enforces abc_l_var = 1 until we've recovered from any lingering badness. I believe this commit pretty much wraps up the ABC implementation. Inspired by: NetBSD Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-24T02:46:56.895965Z K 7 svn:log V 69 Forgot to correct the logic. Ahem. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-24T03:07:19.091622Z K 7 svn:log V 26 Garbage collect 'fflags'. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-24T04:42:13.215271Z K 7 svn:log V 45 There are some phat diffs going into head... END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-24T04:44:39.541807Z K 7 svn:log V 53 IFC r184919:186471 Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-24T05:31:26.503531Z K 7 svn:log V 59 Fix missed unlock and reference drop of lle Found by: pho END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-24T06:59:07.742506Z K 7 svn:log V 70 must pack structures for architectures like arm Reviewed by: thompsa END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-24T09:17:30.497344Z K 7 svn:log V 48 Fix a typo higter->higher. Spotted by: ganbold END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-24T10:08:39.985974Z K 7 svn:log V 154 Update the description of -k, output files appear to be left regardless of an error, signal, or complete run. PR: 69861 Submitted by: vlad902@gmail.com END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-24T11:12:21.068067Z K 7 svn:log V 145 Apply various fixes: Silence mdoc(7) warnings; Xref correct manual pages; Point user to the ddb.8 manual page. PR: 129398 Submitted by: gavin END K 10 svn:author V 3 bms K 8 svn:date V 27 2008-12-24T19:57:22.369423Z K 7 svn:log V 181 Add macro RB_FOREACH_SAFE(), which accepts an additional argument specifying a temporary tree node pointer. It may be used in a similar way to the *_SAFE() macros in . END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-24T22:40:13.052241Z K 7 svn:log V 370 In ugidfw(8), print the rule number and rule contents (as parsed and then regenerated in libugidfw) rather than simply printing that the rule was added with only the number. This makes ugidfw(8) behave a bit more like ipfw(8), and also means that the administrator sees how the rule was interpreted once uids/gids/etc were processed. Obtained from: TrustedBSD Project END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-12-25T00:01:29.035321Z K 7 svn:log V 87 Add a trivial node to reflect ethernet frames to whence they came. MFC after: 1 month END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2008-12-25T01:59:44.458339Z K 7 svn:log V 118 Fix yesterday's botched IFC and make the patch work with the recent vimage changes. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-25T02:14:25.250930Z K 7 svn:log V 306 - Close a race during which the open flag could be cleared but the tun_softc would still be referenced by adding a separate TUN_CLOSED flag that is set after tunclose is done referencing it. - drop the tun_mtx after the flag check to avoid holding it across if_detach which can recurse in to if_tun.c END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-12-25T04:29:40.363733Z K 7 svn:log V 127 fix a silly bug that I missed a for-loop to initialize AL2230S PHY. Reported by: Hans Petter Selasky END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-25T06:44:19.576754Z K 7 svn:log V 170 Print a warning when blackhole and reject are used together. Update arp.8 manual page syntax. PR: 125896 Submitted by: Marc Olzheim Approved by: sam END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-12-25T07:34:14.729882Z K 7 svn:log V 49 Hook up the ether_echo node and fix the man page END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-25T08:48:08.466110Z K 7 svn:log V 60 Remove reference to unimplemented "-c" option. PR: 119338 END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-12-25T09:02:55.239251Z K 7 svn:log V 84 shave about 7% off the overhead of ng_ether by using per-hook receive data methods. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-25T09:15:31.780592Z K 7 svn:log V 57 Document that kldunloadf can return EINVAL. PR: 125639 END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-25T09:32:20.497624Z K 7 svn:log V 35 Rejoin ng_tty module to the build. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-25T10:05:00.693333Z K 7 svn:log V 57 ng_tty(4) module updated to match the new TTY subsystem. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-25T10:18:35.512008Z K 7 svn:log V 33 Update for the last API changes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-25T11:32:38.365053Z K 7 svn:log V 786 Following the recent security advisory, add a comment describing our invariants and approach for protocol switch methods in protsw_init(), and also some KASSERT's for non-domain init entries in protocol switch tables: pru_abort and pru_send must both be implemented. For now, leave those assertions #if 0'd, since there are a few protocols that violate them in non-harmful ways. Whether or not we should enforce pru_abort being implemented for non-stream protocols is an interesting question: currently abort is only invoked on stream sockets in situations where un-accepted sockets must be abruptly closed (i.e., close() on a listen socket with pending connections), but in principle it is useful for datagram sockets and most datagram socket types implement it. MFC after: 3 weeks END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-12-25T15:44:10.584155Z K 7 svn:log V 67 Add package directory for 7.1-RELEASE in head as well as stable/7. END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-12-25T16:44:01.176329Z K 7 svn:log V 203 Synchronize pkg_install with HEAD (20080708): r180361: actually enable '-n' for pkg_create(1) r181376: use humanize_number to report pen-sizes r186494: add package directory for 7.1-RELEASE END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-12-25T16:59:35.281422Z K 7 svn:log V 189 Follow symlinks when deleting directories. Bump PKG_INSTALL_VER to 20081225 (Merry Christmas \o/). PR: bin/54446 Submitted by: Andrea Barberio MFC after: 1 month END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-25T22:32:32.562521Z K 7 svn:log V 373 The "tun?" dev need not be opened at all. One is allowed to perform the following operations, e.g.: 1) ifconfig tun0 create 2) ifconfig tun0 10.1.1.1 10.1.1.2 3) route add -net 192.103.54.0/24 -iface tun0 4) ifconfig tun0 destroy If cv wait on the TUN_CLOSED flag, then the last operation (4) will block forever. Revert the previous changes and fix the mtx_unlock() leak. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-12-26T07:16:20.001427Z K 7 svn:log V 57 o Fix grammar. PR: bin/129938 Submitted by: Bruce Cran END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-12-26T11:11:30.234064Z K 7 svn:log V 35 Right align the CPU column header. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2008-12-26T19:45:24.865293Z K 7 svn:log V 1553 This checkin addresses a couple of issues: 1. The "route" command allows route insertion through the interface-direct option "-iface". During if_attach(), an sockaddr_dl{} entry is created for the interface and is part of the interface address list. This sockaddr_dl{} entry describes the interface in detail. The "route" command selects this entry as the "gateway" object when the "-iface" option is present. The "arp" and "ndp" commands also interact with the kernel through the routing socket when adding and removing static L2 entries. The static L2 information is also provided through the "gateway" object with an AF_LINK family type, similar to what is provided by the "route" command. In order to differentiate between these two types of operations, a RTF_LLDATA flag is introduced. This flag is set by the "arp" and "ndp" commands when issuing the add and delete commands. This flag is also set in each L2 entry returned by the kernel. The "arp" and "ndp" command follows a convention where a RTM_GET is issued first followed by a RTM_ADD/DELETE. This RTM_GET request fills in the fields for a "rtm" object, which is reinjected into the kernel by a subsequent RTM_ADD/DELETE command. The entry returend from RTM_GET is a prefix route, so the RTF_LLDATA flag must be specified when issuing the RTM_ADD/DELETE messages. 2. Enforce the convention that NET_RT_FLAGS with a 0 w_arg is the specification for retrieving L2 information. Also optimized the code logic. Reviewed by: julian END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-26T20:27:32.822887Z K 7 svn:log V 66 When the geometry does not match the label, print out the values. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-26T22:31:45.019770Z K 7 svn:log V 363 Clarify the behaviour of conditionals when dealing with comparisons. In particular, point out that string comparison can only use != and == (how weird, given that the underlying call to strcmp returns more information), that floating point values are correctly interpreted as numbers, and that the left-hand side must be a variable expansion. MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-26T22:47:11.819785Z K 7 svn:log V 253 Add some special handling for AD1986A codec: Disable some unneeded pathes in overcomplicated input mixer to help parser to handle the rest better. This gives mic input boost control in some configurations and just more predictable operation in others. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-26T22:54:53.203871Z K 7 svn:log V 82 Make the sub-'argc' static to make it harder to overwrite thru a buffer overflow. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-26T22:55:38.955400Z K 7 svn:log V 9 style(9) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-12-27T00:17:41.061380Z K 7 svn:log V 115 Fix up after last commit: Bump doc date; Kill hard sentence breaks; Fix commas by moving them off their own line. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-12-27T08:03:32.836151Z K 7 svn:log V 727 Integrate the NDIS USB support code to CURRENT. Now the NDISulator supports NDIS USB drivers that it've tested with devices as follows: - Anygate XM-142 (Conexant) - Netgear WG111v2 (Realtek) - U-Khan UW-2054u (Marvell) - Shuttle XPC Accessory PN20 (Realtek) - ipTIME G054U2 (Ralink) - UNiCORN WL-54G (ZyDAS) - ZyXEL G-200v2 (ZyDAS) All of them succeeded to attach and worked though there are still some problems that it's expected to be solved. To use NDIS USB support, you should rebuild and install ndiscvt(8) and if you encounter a problem to attach please set `hw.ndisusb.halt' to 0 then retry. I expect no changes of the NDIS code for PCI, PCMCIA devices. Obtained from: //depot/projects/ndisusb/... END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T09:36:22.172435Z K 7 svn:log V 164 Make ipsec_getpolicybysock() static and no longer export it. It has not been used outside this file since about the FAST_IPSEC -> IPSEC change. MFC after: 4 weeks END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-12-27T09:42:17.517833Z K 7 svn:log V 152 fix a bug to handling the argument that it passed `device_t' but it's handled as `struct ndis_softc'. It'll cause a panic when the driver is detached. END K 10 svn:author V 3 pho K 8 svn:date V 27 2008-12-27T10:13:43.828835Z K 7 svn:log V 49 Prevent overflow of uio_resid. Approved by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-27T11:00:20.237892Z K 7 svn:log V 48 Add some found NVidia MCP7x HDA controller IDs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-27T11:12:23.869153Z K 7 svn:log V 189 Include param.h instead of types.h when using user.h. Otherwise there is a dependence on ucred.h including audit.h including param.h, which we would like to eliminate. MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T11:38:41.730954Z K 7 svn:log V 98 Remove an unused variable to make the SENTRY5 mips kernel compile (though with some asm warning). END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-12-27T12:23:22.541660Z K 7 svn:log V 96 unbreak the build. Decoupled the USB2's NDIS build from the default build. Pointy hat to: me END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-27T14:17:15.148640Z K 7 svn:log V 66 Including mount.h requires including param.h. MFC after: 3 weeks END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-27T14:24:24.062123Z K 7 svn:log V 140 - Back out r186038. Rather than changing the intent of the caller, the problem should be handled internally in gvinum. Suggested by: pjd END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-12-27T14:32:39.412497Z K 7 svn:log V 282 - Fix an issue with access permissions to underlying disks used by a gvinum plex. If the plex is a raid5 plex, and is being written to, parity data might have to be read from the underlying disks, requiring them to be opened for reading as well as writing. MFC after: 1 week END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-12-27T14:34:33.763754Z K 7 svn:log V 166 Fix memory leaks introduced in last commit. Bump version to 20081227. Reported by: gcooper Submitted by: Andrea Barberio MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T15:07:51.398562Z K 7 svn:log V 238 Permit digits at the beginning and end of kernel config file names for `make universe'. This catches a few more arm and, once enabled, mips configs and permits having local configs named like NOINET6. Reviewed by: phk MFC after: 4 weeks END K 10 svn:author V 3 rik K 8 svn:date V 27 2008-12-27T15:22:22.725153Z K 7 svn:log V 353 Add support for the Oxford OX16PCI958-based card. Note, that the patch provided with this card for the Linux states that the card uses DEFAULT_RCLK * 2, while in fact it is '* 10'. So probably we should also use the subdevice/subvendord here. For now just ignore that fact. PR: kern/129665 Submitted by: bsam Obtained from: united efforst with bsam END K 10 svn:author V 3 kan K 8 svn:date V 27 2008-12-27T16:03:34.232895Z K 7 svn:log V 34 Minor style(9) compliance change. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T17:19:16.202989Z K 7 svn:log V 262 Hide detect_virtual() along with the accompanying string arrays under #ifndef XEN to make XEN config compile again. In case of Xen vm_guest is hard coded. Move the list for the vm_guest sysctl out of the restictive bounds as the sysctl is there in either case. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T17:22:17.361238Z K 7 svn:log V 55 Removed duplicate makeoptions MODULES_OVERRIDE="" END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-27T19:02:01.602845Z K 7 svn:log V 49 arm is in DEFAULTS; remove dup Submitted by: bz END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T19:03:57.938629Z K 7 svn:log V 183 In additions to the configs from r185478, which also enabled the use of modules for arm, disable them by adding MODULES_OVERRIDE="" here as well. Reviewed by: sam MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T19:37:46.932821Z K 7 svn:log V 111 Change the in6p variable names to inp to be able to diff the v4 to the v6 implementations. MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T19:42:59.566804Z K 7 svn:log V 145 For consistency with ipsec4_setspidx_inpcb() rename file local function ipsec6_setspidx_in6pcb() to ipsec6_setspidx_inpcb(). MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T20:37:53.557281Z K 7 svn:log V 113 Rewrite ipsec6_setspidx_inpcb() to match the logic in the (now) equivalent IPv4 counterpart. MFC after: 4 weeks END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-12-27T20:48:11.678512Z K 7 svn:log V 171 - Fix incorrect array declaration that was causing the stack overflow on some (most?) Asus laptops. Discussed with: rpaulo Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T21:20:34.520876Z K 7 svn:log V 123 Convert function definitions to constantly use ANSI-style parameter declarations. Reviewed by: rwatson MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T22:58:16.989680Z K 7 svn:log V 278 Non-functional (style) changes: - Always use round brackets with return (). - Add empty line to beginning of functions without local variables. - Comments start with a capital letter and end in a '.'. While there adapt a few comments. Reviewed by: rwatson MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-27T23:24:59.320507Z K 7 svn:log V 230 Like in the rest of the file and the network stack use inp as variable name for the inpcb. For consistency with the other *_hdrsiz functions use 'size' instead of 'siz' as variable name. No functional change. MFC after: 4 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-28T05:32:17.471920Z K 7 svn:log V 338 Revert the bce(4) MFC and restore the state of code as of before changeset 184826. Some pending reliability changes needs to be tested throughly and it does not seem to be a good idea to ship the current state of bce(4) with the release. Thanks for everyone who provided testing and sorry for the mess. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-28T05:38:49.143693Z K 7 svn:log V 117 Revert MFC of 185574 in response of changeset 186533 which removed BCM5709/5716 support. Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-28T06:01:42.733851Z K 7 svn:log V 115 - merge in latest xenbus from dfr's xenhvm - fix race condition in xs_read_reply by converting tsleep to mtx_sleep END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-28T06:16:35.951830Z K 7 svn:log V 20 disable KSE and SSE END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-28T07:06:20.140314Z K 7 svn:log V 41 unmask evtchn in bind_{virq, ipi}_to_irq END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-28T07:09:00.176381Z K 7 svn:log V 99 - remove code for handling case of not being able to sleep - eliminate tsleep - make sleeps atomic END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-28T11:04:24.077836Z K 7 svn:log V 385 Include std.ixp425 for "cpu" and comment out duplicate memory map options. Using the already included std.avila is not considered to be entirely right (and the options slightly differ) but the best match we currently have. Upcoming work should fit better. Reorder another variable to match the layout of other configs. Reviewed by: sam, warner (earlier version with options removed) END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2008-12-28T13:50:58.778363Z K 7 svn:log V 93 Remove unused variable. Found with: Coverity Prevent(tm) CID: 542 Approved by: weongyo END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-28T14:32:27.628637Z K 7 svn:log V 35 drop rnh lock before destroying it END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-12-28T14:37:09.091437Z K 7 svn:log V 22 Create my own branch. END K 10 svn:author V 4 piso K 8 svn:date V 27 2008-12-28T17:16:32.072022Z K 7 svn:log V 78 Import sctp nat support in ipfw obtained from CAIA - http://caia.swin.edu.au. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-12-28T21:18:01.205009Z K 7 svn:log V 183 For consistency use LLE_IS_VALID() in this 4th place that is actually interested in the (void *)-1 return value hack. This way we can easily identify those special parts of the code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-28T22:40:42.706583Z K 7 svn:log V 2552 Vendor import of OpenBSM 1.1 alpha4, which incorporates the following changes since the last imported OpenBSM release: OpenBSM 1.1 alpha 4 - With the addition of BSM error number mapping, we also need to map the local error number passed to audit_submit(3) to a BSM error number, rather than have the caller perform that conversion. - Reallocate user audit events to avoid collisions with Solaris; adopt a more formal allocation scheme, and add some events allocated in Solaris that will be of immediate use on other platforms. - Add an event for Calife. - Add au_strerror(3), which allows generating strings for BSM errors directly, rather than requiring applications to map to the local error space, which might not be able to entirely represent the BSM error number space. - Major auditd rewrite for launchd(8) support. Add libauditd library that is shared between launchd and auditd. - Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for (re)starting auditing under launchd(8) on Mac OS X. - Add 'current' symlink to active audit trail. - Add crash recovery of previous audit trail file when detected on audit startup that it has not been properly terminated. - Add the event AUE_audit_recovery to indicated when an audit trail file has been recovered from not being properly terminated. This event is stored in the new audit trail file and includes the path of recovered audit trail file. - Mac OS X and FreeBSD dependent code in auditd.c is separated into auditd_darwin.c and auditd_fbsd.c files. - Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system calls. - For Mac OS X, we use ASL(3) instead of syslog(3) for logging. - Add support for NOTICE level logging. OpenBSM 1.1 alpha 3 - Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map between BSM error numbers (largely the Solaris definitions) and local errno(2) values for 32-bit and 64-bit return tokens. This is required as operating systems don't agree on some of the values of more recent error numbers. - Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the total size for the token. This bug resulted in "unknown" tokens being printed after the exec args/env tokens. - Support for AUT_SOCKET_EX extended socket tokens, which describe a socket using a pair of IPv4/IPv6 and port tuples. - OpenBSM BSM file header version bumped for 1.1 release. - Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed. Obtained from: TrustedBSD Project Sponsored by: Apple Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-28T22:52:07.881120Z K 7 svn:log V 38 Tag OpenBSM 1.1-alpha4 vendor import. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-12-28T23:47:32.513660Z K 7 svn:log V 129 MFC r185692: - correct variable name PR: docs/129448 Submitted by: Kenyon Ralph Approved by: re@ (kensmith) END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-12-28T23:50:05.489392Z K 7 svn:log V 128 MFC r185692 - correct variable name PR: docs/129448 Submitted by: Kenyon Ralph Approved by: re@ (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T00:55:33.465208Z K 7 svn:log V 46 Log: integrate generic sleepq_add and _sleep END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-29T00:58:21.349972Z K 7 svn:log V 94 Reflect what is actually being supported by bce(4) in RELENG_7_1. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-29T01:06:11.958569Z K 7 svn:log V 160 Revert r184442 (ata(4) changes to support ICH10 and ITE8213F chips) to previous state due to some late problem reports on -stable@. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-12-29T01:09:40.243029Z K 7 svn:log V 106 Revert partially manual page changes as we reveted ICH10 and IT8213F support. Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T01:35:56.787346Z K 7 svn:log V 153 Integrate 186535 from releng_7_xen - merge in latest xenbus from dfr's xenhvm - fix race condition in xs_read_reply by converting tsleep to mtx_sleep END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T01:40:09.697716Z K 7 svn:log V 196 merge 186537 and 186538 from releng_7_xen Log: unmask evtchn in bind_{virq, ipi}_to_irq Log: - remove code for handling case of not being able to sleep - eliminate tsleep - make sleeps atomic END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T04:36:33.790227Z K 7 svn:log V 193 merge 186553 from releng_6_xen Log: Integrate 186535 from releng_7_xen - merge in latest xenbus from dfr's xenhvm - fix race condition in xs_read_reply by converting tsleep to mtx_sleep END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T04:40:52.604565Z K 7 svn:log V 190 merge 186554 from releng_7_xen Log: unmask evtchn in bind_{virq, ipi}_to_irq Log: - remove code for handling case of not being able to sleep - eliminate tsleep - make sleeps atomic END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T06:31:03.731980Z K 7 svn:log V 329 merge 186535, 186537, and 186538 from releng_7_xen Log: - merge in latest xenbus from dfr's xenhvm - fix race condition in xs_read_reply by converting tsleep to mtx_sleep Log: unmask evtchn in bind_{virq, ipi}_to_irq Log: - remove code for handling case of not being able to sleep - eliminate tsleep - make sleeps atomic END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-29T08:05:49.405373Z K 7 svn:log V 34 Consistently use Var_SetGlobal(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-29T10:26:02.013812Z K 7 svn:log V 305 1. Add the ability to tweak the token output before targets in job mode. E.g., .MAKE.JOB.PREFIX=${.newline}---[${.MAKE.PID}] would produce ---[1234] target --- 2. Added ${.newline} as a simple means of being able to include '\n' in the assignment of .MAKE.JOB.PREFIX Obtained from: NetBSD END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-29T12:07:18.267985Z K 7 svn:log V 728 After the pfs_vncache_mutex is dropped, another thread may attempt to do pfs_vncache_alloc() for the same pfs_node and pid. In this case, we could end up with two vnodes for the pair. Recheck the cache under the locked pfs_vncache_mutex after all sleeping operations are done [1]. This case mostly cannot happen now because pseudofs uses exclusive vnode locking for lookup. But it does drop the vnode lock for dotdot lookups, and Marcus' pseudofs_vptocnp implementation is vulnerable too. Do not call free() on the struct pfs_vdata after insmntque() failure, because vp->v_data points to the structure, and pseudofs_reclaim() frees it by the call to pfs_vncache_free(). Tested by: pho [1] Approved by: des MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-29T12:12:23.330015Z K 7 svn:log V 233 Drop the pseudofs vnode lock around call to pfs_read handler. The handler may need to lock arbitrary vnodes, causing either lock order reversal or recursive vnode lock acquisition. Tested by: pho Approved by: des MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-29T12:41:32.976834Z K 7 svn:log V 189 Use curproc->p_sysent->sv_flags bit SV_ILP32 for detection of the 32 bit caller, instead of direct comparision with ia32_freebsd_sysvec. Tested by: pho Approved by: des MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-29T12:45:11.109468Z K 7 svn:log V 315 vm_map_lock_read() does not increment map->timestamp, so we should compare map->timestamp with saved timestamp after map read lock is reacquired, not with saved timestamp + 1. The only consequence of the +1 was unconditional lookup of the next map entry, though. Tested by: pho Approved by: des MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-29T12:58:45.728506Z K 7 svn:log V 616 Push down Giant inside sysctl. Also add some more assertions to the code. In the existing code we didn't really enforce that callers hold Giant before calling userland_sysctl(), even though there is no guarantee it is safe. Fix this by just placing Giant locks around the call to the oid handler. This also means we only pick up Giant for a very short period of time. Maybe we should add MPSAFE flags to sysctl or phase it out all together. I've also added SYSCTL_LOCK_ASSERT(). We have to make sure sysctl_root() and name2oid() are called with the sysctl lock held. Reviewed by: Jille Timmermans END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-29T13:25:58.635964Z K 7 svn:log V 384 When the insmntque() in the pfs_vncache_alloc() fails, vop_reclaim calls pfs_vncache_free() that removes pvd from the list, while it is not yet put on the list. Prevent the invalid removal from the list by clearing pvd_next and pvd_prev for the newly allocated pvd, and only move pfs_vncache list head when the pvd was at the head. Suggested and approved by: des MFC after: 2 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-12-29T14:59:22.189215Z K 7 svn:log V 51 Add missing -o to usage output. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-29T18:58:22.849380Z K 7 svn:log V 136 Include param.h instead of types.h before user.h so that the nested include of param.h can be removed from audit.h. MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-29T18:59:50.211198Z K 7 svn:log V 136 Include param.h instead of types.h before mount.h so that the nested include of param.h can be removed from audit.h. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-12-29T19:00:28.488516Z K 7 svn:log V 137 Include param.h instead of types.h before mount.h so that the nested include of param.h can be removed from audit.h. MFC after: 3 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-12-29T19:24:00.850896Z K 7 svn:log V 277 Fix compilation. Also move ogetkerninfo() to kern_xxx.c. It seems I forgot to remove `int error' from a single piece of code. I'm also moving ogetkerninfo() to kern_xxx.c, because it belongs to the class of compat system information system calls, not the generic sysctl code. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T21:49:09.136833Z K 7 svn:log V 58 create new branch for updated flowtable and route caching END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T21:50:50.784998Z K 7 svn:log V 32 move repo to personal directory END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T22:07:18.580810Z K 7 svn:log V 45 cache rtentry in inpcb for connected sockets END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T22:30:08.310021Z K 7 svn:log V 66 change if_output signature to allow passing cached lle down to L2 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T22:36:23.968383Z K 7 svn:log V 102 - add cached llentry to inpcb - reduce header pollution by removing net/route.h include from in_pcb.h END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T23:31:04.869791Z K 7 svn:log V 91 install cached llentry in the inpcb and then pass down to ether_output in the struct route END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-29T23:41:12.958755Z K 7 svn:log V 30 use cached lle where possible END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T00:15:12.445100Z K 7 svn:log V 39 don't LLE_FREE if llentry is unchanged END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T00:19:06.815024Z K 7 svn:log V 53 cleanup upgrade / downgrade checks for route and lle END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T00:50:25.096959Z K 7 svn:log V 39 don't check INP_WLOCKED if inp is NULL END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-30T00:57:39.603086Z K 7 svn:log V 154 Sound less scary about errorousous disk geometry due to wanting to limit to 65535 cylinders. Submitted by: Carlos A. M. dos Santos END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-12-30T01:33:15.823331Z K 7 svn:log V 77 Add gssd.h to the list of SRCS so one can build without 'make depend' first. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T04:20:06.668953Z K 7 svn:log V 71 import updated flowtable for use by forwarding and unconnected sockets END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-12-30T04:22:47.904275Z K 7 svn:log V 99 Bring in if_transmit support for if_em and also fix a use after free bug that was fixed in r185621 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T04:38:39.916453Z K 7 svn:log V 37 make ipv4 forwarding flowtable aware END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-30T04:46:25.243232Z K 7 svn:log V 68 Bump the odometer of the years. A little early this year for 7.1R. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-30T04:48:59.096635Z K 7 svn:log V 64 Bump the odometer of the years, this time a bit early for 7.1R. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T05:00:10.355886Z K 7 svn:log V 61 enabled flowid usage for supporting multiple transmit queues END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-30T05:04:06.954374Z K 7 svn:log V 56 MFC: Merge copyright bump. Approved by: re@ (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-30T05:08:05.407677Z K 7 svn:log V 51 Merge copyright bump. Approved by: re@ (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T05:29:43.439199Z K 7 svn:log V 49 validate so before checking options in tcp_input END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T05:35:27.811312Z K 7 svn:log V 39 so isn't set yet, reference inp_socket END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T05:35:54.049181Z K 7 svn:log V 59 import multiple tx queue support from HEAD_fast_multi_xmit END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-30T05:36:13.956686Z K 7 svn:log V 22 set flowid valid flag END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-30T05:36:18.853450Z K 7 svn:log V 54 Merge bump of copyright. Approved by: re@ (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-30T05:37:39.993712Z K 7 svn:log V 40 Bump year. Approved by: re@ (kensmith) END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-12-30T08:06:03.342173Z K 7 svn:log V 32 Create a jbuild branch for head END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-30T09:40:50.970215Z K 7 svn:log V 1464 A number of small changes to make the 'save choice to disk' safer, and re-enable it as default. In particular: + re-enable the 'update' flag in the Makefile (of course!); + commit Warner's patch "orb $NOUPDATE,_FLAGS(%bp)" to avoid writing to disk in case of a timeout/default choice; + fix an off-by-one count in the partition scan code that would print the wrong name for unknown partitions; + unconditionally change the boot prompt to 'Boot:' instead of 'Default:' to make room for the extra code/checks/messages. Some of the changes listed below are also made to save space; + rearrange and fix comments for known partition types. Right now we explicitly recognise *BSD, Linux, FAT16 (type 6, used on many USB keys), NTFS (type 7), FAT32 (type 11). Depending on other options we also recognise Extended (type 5), FAT12 (type 1) and FAT16 < 32MB (type 4). + Add an entry "F6 PXE" when the code is built with -DPXE (which is a default now). Technically, F6 boots through INT18, so the prompt 'PXE' is a bit misleading. Unfortunately the name INT18 is too long and does not fit in - we could use ROM perhaps. The reason I picked 'PXE' is that on many (I believe) new systems INT18 calls PXE. Apart from the choice of the name for PXE/ROM/INT18, this should close pending issues on the 1-sector boot0 code and we should be able to move the code to RELENG_7 when it reopens. No boot0cfg changes are necessary. MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-30T09:43:01.797845Z K 7 svn:log V 198 MFC rev. 1.227 ng_node and ng_worklist locks both migrated from being spinning locks to adaptive mutexes. Let witness(4) calm down and bring proper types of those locks to the lock order database. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-30T12:51:14.887879Z K 7 svn:log V 309 In r185557, the check for existing negative entry for the given name did not compared nc_dvp with supplied parent directory vnode pointer. Add the check and note that now branches for vp != NULL and vp == NULL are the same, thus can be merged. Reported and reviewed by: kan Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-30T12:51:56.804538Z K 7 svn:log V 216 Clear the pointers to the file in the struct filedesc before file is closed in fdfree. Otherwise, sysctl_kern_proc_filedesc may dereference stale struct file * values. Reported and tested by: pho MFC after: 1 month END