ƒ°x204632 206 208 153 157 315 318 272 233 167 208 865 119 120 190 183 206 319 376 123 192 149 171 182 264 163 130 328 141 129 115 218 144 173 210 405 222 308 131 118 1024 225 180 180 139 248 190 150 121 131 243 165 233 114 132 185 206 168 165 487 119 356 313 155 311 108 168 355 148 289 294 289 126 127 123 113 170 292 103 187 360 342 115 132 228 110 181 115 204 156 116 147 122 124 304 185 341 182 190 172 250 162 173 126 125 132 112 241 340 478 193 144 145 147 192 166 483 308 299 409 110 193 218 509 137 252 281 206 139 1002 158 491 335 139 245 121 117 114 198 256 233 181 140 116 315 315 312 255 498 156 156 151 266 265 114 232 142 121 321 438 149 190 120 121 117 115 329 133 3670 215 297 166 159 605 216 784 229 390 369 478 408 155 212 273 254 324 324 324 208 152 596 443 1845 174 319 754 373 209 621 263 260 279 158 220 176 117 345 282 K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-03T10:18:03.697815Z K 7 svn:log V 114 The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. Obtained from: NetBSD END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-03-03T13:29:39.180208Z K 7 svn:log V 58 Make the comment follow style(9) format. Spotted by: jhb END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-03T14:48:08.820469Z K 7 svn:log V 63 svn merge -r 201486:204591 svn+ssh://svn.freebsd.org/base/head END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-03-03T15:05:58.620929Z K 7 svn:log V 222 Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. Add macros for properly accessing coprocessor 0 registers that support performance counters. Reviewed by: jkoshy rpaulo fabien imp MFC after: 1 month END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-03-03T15:43:26.925289Z K 7 svn:log V 226 In reallocf(3), free the memory only when size != 0. Otherwise, when the System V compatibility option (malloc "V" flag) is in effect a zero sized reallocf() could cause a double free. PR: bin/141753 Submitted by: Dan Lukes END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-03-03T16:06:43.362430Z K 7 svn:log V 180 MFC r204276: Fix expansion of \W in prompt strings when the working directory is "/". The prompt string was truncated after \W when the working directory was "/". PR: bin/89410 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-03T16:18:04.947448Z K 7 svn:log V 140 Allow lseek(SEEK_END) to work on disk devices by using the DIOCGMEDIASIZE to determine the media size. Submitted by: nox MFC after: 1 week END K 10 svn:author V 4 lulf K 8 svn:date V 27 2010-03-03T16:45:58.631219Z K 7 svn:log V 74 - Include CURDIR in case the makefile is not run from the same directory. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-03T17:07:02.898940Z K 7 svn:log V 114 The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. Obtained from: NetBSD END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-03-03T17:13:29.680352Z K 7 svn:log V 768 Improving the clocks auto-tunning by firstly checking if the atrtc may be correctly initialized and just then assign to softclock/profclock. Right now, some atrtc seems reporting strange diagnostic error* making the current pattern bogus. In order to do that cleanly, lapic_setup_clock(), on both ia32 and amd64, now accepts as arguments the desired sources to handle, and returns the actual ones (LAPIC_CLOCK_NONE is forbidden because otherwise there is no meaning in calling such function). This allows to bring out into commont x86 code the handling part for machdep.lapic_allclocks tunable, which is retained. Sponsored by: Sandvine Incorporated Tested by: yongari, Richard Todd MFC: 3 weeks X-MFC: r202387, 204309 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-03T17:27:15.278290Z K 7 svn:log V 22 Update LLVM to 97654. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-03T17:28:16.577229Z K 7 svn:log V 23 Update clang to 97654. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-03T17:32:32.809777Z K 7 svn:log V 95 Replace Id keyword with FreeBSD keyword and set the svn props correctly. No functional change. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-03T17:42:39.436949Z K 7 svn:log V 88 Introduce ath_hal_setInterrupts(), a macro for ah_setInterrupts(). Pointed out by: sam END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-03T17:55:51.592286Z K 7 svn:log V 112 The NetBSD Foundation has granted permission to remove clause 3 and 4 from the software. Obtained from: NetBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-03T17:56:52.310099Z K 7 svn:log V 222 Remove programming LED register and enable 25MHz TX clock for 88E1149 PHY. This will fix intermittent watchdog timeouts as well as very slow network performance on 88E8072 Yukon Extreme. PR: kern/144148 MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-03T17:58:41.187211Z K 7 svn:log V 283 Several changes to fix livelock under high load, introduced by r203489: - change the way in which command queue overflow is handled; - do not expose to CAM two command slots, used for driver's internal purposes; - allow driver to use up to 1024 command slots, instead of 256 before. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-03T18:30:10.440756Z K 7 svn:log V 32 Remove last traces of . END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-03-03T18:49:15.472673Z K 7 svn:log V 96 Remove C99 initializer, since dominant style is to use non-C99 initializers. Requested by: jhb END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-03T19:11:39.634160Z K 7 svn:log V 57 MFC r204210, r204216: Add Intel PCH SATA controller IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-03T19:12:53.796511Z K 7 svn:log V 79 MFC r204250: Fix recursive lock attempt on hot-plug event in non-ATA_CAM mode. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-03T19:14:05.092170Z K 7 svn:log V 90 MFC r204509: - Add ALI M5228 PATA ID. - Add missed DMA initialization for ALI SATA chips. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2010-03-03T19:25:28.981769Z K 7 svn:log V 167 Use expand_number(3) from libutil instead of home-grown function to parse human-friendly power-of-two numbers (i.e. 2k, 5M etc). Suggested by: many MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-03T19:44:43.113110Z K 7 svn:log V 71 Add some more supported controllers. Crosslink with CAM ATA man pages. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-03T20:01:31.855470Z K 7 svn:log V 35 Add a missing ar9285_reset.c file. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-03-03T20:06:09.624246Z K 7 svn:log V 231 fixes an attached-at-boot issue that bwn(4) using device_identify interface didn't be attached automatically at boot time so changes a approach to attach children based on leveraging some newbus niceties. Submitted by: nwhitehorn END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-03T20:06:50.755337Z K 7 svn:log V 46 MFC 204656: Add missing ar9285_reset.c file. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-03T20:08:12.063861Z K 7 svn:log V 34 Add ar9280.c and ar9280_attach.c. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-03T20:28:35.529087Z K 7 svn:log V 20 Add ah_eeprom_v4k.c END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-03T21:08:44.898892Z K 7 svn:log V 125 Give make kernel-toolchain a one-liner here. Although documented in build(7), many people look here for a quick reminder... END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-03-03T21:10:13.345061Z K 7 svn:log V 48 Hook up the bwn driver. Pointed by: nwhitehorn END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-03T21:14:12.481086Z K 7 svn:log V 79 Fix the center alignment of month heading in the backwards compatibility mode. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2010-03-03T21:22:53.033671Z K 7 svn:log V 116 - Fix spelling. Pointed out by: Pawel Worach , b. f. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2010-03-03T21:27:54.215869Z K 7 svn:log V 311 - Make function of finding an available drive name a macro. - Move check of /dev/ prefix and copy into a function to save code duplication. This also fixes a bug where the /dev/ prefix could not be used when creating volumes on the command line. Tested by: Niclas Zeising END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-03T21:28:55.110459Z K 7 svn:log V 129 Looks like S8 and SP are reversed in setjmp, so longjmp doesn't work as well as one would hope.... Submitted by: Arten Belevich END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-03T21:34:21.137483Z K 7 svn:log V 210 In the PIC prologue for syscalls, use the address of the syscall leaf, not one of the weak symbols for it, as the function. This unbreaks at least lseek and anything else where libc overrides the weak symbol. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-03T21:39:49.205338Z K 7 svn:log V 34 Remove unused NetBSD compat file. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-03-03T21:40:44.358494Z K 7 svn:log V 22 Adds bwn(4) to NOTES. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-03-03T21:46:51.070867Z K 7 svn:log V 931 sched_getparam was just plain broke for time-share processes. It did not return an error but instead just let garbage be passed back. This I fix so it actually properly translates the priority the process is at to a posix's high means more priority. I also fix it so that if the ULE scheduler has bumped it up to a realtime process you get back a sane value i.e. the highest priority (63 for time-share). sched_setscheduler() had the setting of the timeshare class priority disabled. With some notes about rejecting the posix high numbers is greater priority and use nice instead. This fix also adjusts that to work, with the cavet that a t-s process may well get bumped up or down i.e. the setscheduler() will NOT change the nice value only the current priority. I think this is reasonable considering if the user wants to play with nice then he can. At least all the posix'ish interfaces now respond sanely. MFC after: 3 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-03-03T21:47:25.495290Z K 7 svn:log V 129 MFC r201959 Use the correct types to store uids and gids in the credential cache and eliminate an inappropriate use of NGROUPS. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-03T21:53:25.981473Z K 7 svn:log V 88 Cast these to intmax_t before printing to fix build bustage. Better solutions welcome. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-03T21:54:49.464406Z K 7 svn:log V 88 __main and __gccmain are no longer required, so eliminate them. Submitted by: jmallet@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-03T21:59:23.457066Z K 7 svn:log V 47 Use ABI neutral macrosa Submitted by: jmallet END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-03T21:59:45.461976Z K 7 svn:log V 155 When returning error from msdosfs_lookup(), make sure that *vpp is NULL. lookup() KASSERTs this condition. Reported and tested by: pho MFC after: 3 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-03T22:42:15.607382Z K 7 svn:log V 93 o) Store gp in the jmpbuf for n32 and n64. o) Attempt to make PIC- and N32-friendly *setjmp. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-03T23:11:14.489727Z K 7 svn:log V 54 Make 'make manlint' happy. No actual visible change. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-03T23:27:30.787965Z K 7 svn:log V 24 Fix return from setjmp. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-03T23:37:53.381928Z K 7 svn:log V 34 Turn off verbose sysinit and bpf. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-04T00:40:53.669418Z K 7 svn:log V 145 Switch to CF root, add /dev/random support (SSH works!) and let Octeon go to multi-user as long as it's not O32. Sponsored by: Packet Forensics END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-04T00:47:24.734833Z K 7 svn:log V 73 WIP: the last missing piece of the quota64 puzzle. Not quite there yet. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-04T02:24:14.488231Z K 7 svn:log V 135 Attempt to make new ABI friendly, etc. Now gdb panics the kernel, perhaps some lingering N32-related issues in kernel side of ptrace. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-04T02:32:45.812291Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-04T02:52:16.843502Z K 7 svn:log V 35 Reduce gratuitous diffs with head. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T04:30:16.572964Z K 7 svn:log V 93 Make the n32 scripts actually generate, ummm, n32 binaries... Submitted by: jmallet END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-03-04T04:33:57.356969Z K 7 svn:log V 108 - Fresh place to work on the ALQ patches to prep them for commit to head. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T04:53:05.632003Z K 7 svn:log V 76 Updated rtld for n32 support. Submitted by: jmallet@ Obtained from: NetBSD END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-03-04T05:19:46.067661Z K 7 svn:log V 68 - Import alqkld_9.x.r198700.patch Sponsored by: FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-03-04T05:23:08.662287Z K 7 svn:log V 393 Add support for CPUs with cache coherent DMA. The two main changes are: - We don't need to fall back to uncacheable memory to satisfy BUS_DMA_COHERENT requests on these CPUs. - The bus_dmamap_sync() is a no-op for these CPUs. A side-effect of this change is rename DMAMAP_COHERENT flag to DMAMAP_UNCACHEABLE. This conveys the purpose of the flag more accurately. Reviewed by: gonzo, imp END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-03-04T05:37:19.249730Z K 7 svn:log V 26 Remove some unused cruft. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2010-03-04T05:53:06.106678Z K 7 svn:log V 258 Enable the use of nanosleep() instead of using pause() and signals. This Makefile change can be removed when the next version of sendmail is imported as it will have this built in to the FreeBSD conf.h section. Submitted by: John Marshall MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-04T06:36:00.656442Z K 7 svn:log V 212 Rework smu(4) to be asynchronous. It turns out that the combination of the automatic fan management and the polling in smu_run_cmd() was putting my system interrupt load at 20%. This change reduces that to 0.4%. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-04T06:36:48.671481Z K 7 svn:log V 61 Replace random constant line lengths with #define constants. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-04T06:39:58.592297Z K 7 svn:log V 210 Patch some more concurrency issues here. This expands the page table lock to cover the PVOs, and removes the scratchpage PTEs from the PVOs entirely to avoid the system trying to be helpful and rewriting them. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T06:43:41.417544Z K 7 svn:log V 16 Merge from head END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-04T06:55:10.407954Z K 7 svn:log V 74 Remove my chanes to the Makefile, not needed anymore. Cleanup prototypes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-04T07:04:27.801379Z K 7 svn:log V 260 - Implement -3 option (show previous, this and next month) option. - Add -A option (months after this month). - Add -B option (months before this month). - Fix highlighting of today in year overview. - Fix aligning of "foreign" characters. MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T07:07:22.711255Z K 7 svn:log V 56 don't want rescue yet: binutils is busted still for it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-04T07:08:01.570266Z K 7 svn:log V 196 MFC r204308: Do not restrict the allowed signals that can be specified by number to the list of signals that has symbolic name. It was impossible to send rt signals with kill(1) due to the check. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-04T07:12:44.570521Z K 7 svn:log V 201 MFC r204307: Make pause(3) implementation not depended on the legacy sigcompat.c interfaces. Do not block rt signals during and after pause(3) calls. Use private libc namespace to call proper methods. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-04T07:24:09.671787Z K 7 svn:log V 196 MFC r204308: Do not restrict the allowed signals that can be specified by number to the list of signals that has symbolic name. It was impossible to send rt signals with kill(1) due to the check. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-04T10:54:29.835071Z K 7 svn:log V 34 Fix warnings + minor style issues END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-04T10:57:52.565712Z K 7 svn:log V 35 Fix warnings + indentation + utmpx END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-04T10:59:21.511777Z K 7 svn:log V 31 Reflect added CAM ATA support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-04T11:09:49.248569Z K 7 svn:log V 21 Add links to cam(4). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-04T12:18:24.769240Z K 7 svn:log V 76 Remove no-op of WARNS?= Submitted by: Ulrich Sp??rlein END K 10 svn:author V 6 scottl K 8 svn:date V 27 2010-03-04T12:35:20.590524Z K 7 svn:log V 196 Let the afterinstall target ignore failures from running chflags. This allows it to work over NFS, and puts it back into conformance with other 'schg' utlitilties in the system. Reviewed by: ed END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-04T13:35:57.951528Z K 7 svn:log V 11 IFH@204581 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-04T15:54:06.539083Z K 7 svn:log V 95 - Bump &release.*; for the upcoming 7.3R. - Bump copyright year. Approved by: re (implicitly) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-03-04T16:07:14.374702Z K 7 svn:log V 267 mount_nwfs(8): make WARNS=6 clean uid_t and gid_t are unsigned. While initializing them to -1 and later checking against -1 to see if they are still at their default usually works, introduce two new flags and stop the inband signalling. Approved by: ed (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-03-04T16:08:01.275631Z K 7 svn:log V 249 ed(1): make WARNS=6 clean Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler. Approved by: ed (the co-mentor, not ed(1)) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T16:08:51.708695Z K 7 svn:log V 21 remove stale comment END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T16:52:26.755912Z K 7 svn:log V 38 improve compatibility with RELENG_7.2 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T16:53:38.826755Z K 7 svn:log V 133 use callout_drain() (outside the lock) when unloading the module. This prevents a potential deadlock. Submitted by: Francesco Magno END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-04T16:54:16.027272Z K 7 svn:log V 18 Add my directory. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T16:54:56.858084Z K 7 svn:log V 87 reduce diffs with the cross-platform version (windows needs some extra initialization) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T16:55:32.130968Z K 7 svn:log V 21 fix handling of sets END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T16:56:36.725331Z K 7 svn:log V 109 make the listing of queues/pipes/schedulers handle the case of data size increasing while we fetch the info. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-04T17:24:31.478031Z K 7 svn:log V 56 Fix an obvious lock escape and fix a typo in a comment. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-04T17:40:41.776778Z K 7 svn:log V 19 Merge from vendor. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-04T17:46:01.404763Z K 7 svn:log V 50 Update build infrastructure to the latest import. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-04T17:47:58.068530Z K 7 svn:log V 25 zfsboot builds just fine END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-04T17:48:40.566946Z K 7 svn:log V 27 libsupc++ builds just fine END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-03-04T19:35:22.458017Z K 7 svn:log V 208 MFC r201853: Make options KGSSAPI build and add it to NOTES. rpcsec_gss_prot.c: Use kernel printf and headers. vc_rpcsec_gss.c: Use a local RPCAUTH_UNIXGIDS definition for 16 instead of using NGROUPS. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-04T19:38:24.008865Z K 7 svn:log V 92 Use our standard license text. No more voices in the authors head. :-) Approved by: trasz END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T19:56:08.367849Z K 7 svn:log V 248 Rather than having an ifdef for mips in the top level makefile, create a generic mechanism for us to tweak the build. # I'm debating having a bsd.own.$ARCH.mk for really global level things on # a per architecture basis, but that may be overkill. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-03-04T20:03:26.245615Z K 7 svn:log V 90 MFC r204315 Enable U-Boot storage for PowerPC. While there fix loader(8) help file name. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-03-04T20:07:59.831563Z K 7 svn:log V 98 MFC r204316 Let loader(8) for U-Boot use default storage more flexibly. Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-03-04T20:12:12.572740Z K 7 svn:log V 80 MFC r204317 Fix handling of GPT disk partition index. Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-03-04T20:22:48.094888Z K 7 svn:log V 157 MFC r204283 Do not force verbose and single mode in non-metadata boot case. We want to go multi-user by default also in case of booting without loader(8). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T20:31:49.171155Z K 7 svn:log V 70 moused is useful even without usb, so remove comment asking if it is. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T20:41:11.269829Z K 7 svn:log V 81 Merge through 204723 plus changes to usr.sbin to move to the Makefile.arch setup END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T20:52:15.309450Z K 7 svn:log V 34 Move to Makefile.arch for usr.bin END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T20:55:26.629901Z K 7 svn:log V 33 Update what this branch is about END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T21:01:59.908088Z K 7 svn:log V 38 don't use keywords as variable names. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-04T21:52:40.473608Z K 7 svn:log V 18 portability fixes END K 10 svn:author V 6 alfred K 8 svn:date V 27 2010-03-04T21:53:45.066938Z K 7 svn:log V 145 put calls to gzclose() under ifdef COMPRESS_USER_CORES to prevent undefined symbols on kernels without this option. Reported by: Alexander Best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-04T22:01:11.827146Z K 7 svn:log V 247 Remove stale references to libkrb5. Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend on something else, and then SUBDIR+= the rest. A separate commit will fix the SUBDIR style to be the same as the rest of the tree. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-04T22:06:57.716119Z K 7 svn:log V 384 Use our preferred license text (no more "voices in his head"). While here, also move to a 2-clause license. From n_hibma@: "The 3rd clause was originally there for a reason, but I guess that it is safe to assume that no one can assume endorsement by me or anyone else without prior consent on anything really, so we might as well remove that clause." Approved by: n_hibma END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-04T22:39:24.533939Z K 7 svn:log V 96 Make oct_* take advantage of 64-bit registers in n32. Update comment about what to do for o32. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-04T22:42:36.624412Z K 7 svn:log V 47 Fix the return type of read16 in the n64 case. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-03-04T23:30:57.385607Z K 7 svn:log V 51 create branch for integrating page lock in to HEAD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-05T00:31:03.143242Z K 7 svn:log V 51 MFC r203459: Plug two memory leaks in error case. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-05T00:32:22.058534Z K 7 svn:log V 96 MFC r203460: pukeText is an internal function so define it as static rather than exporting it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-05T00:33:05.816874Z K 7 svn:log V 70 MFC r203461: static'ify function prototypes and convert K&R to ANSI. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T00:54:28.775787Z K 7 svn:log V 385 o) Make SEGSHIFT users use consistent macros instead, so we can mask off the sign-extended bits (which is all we have since we don't use XKSEG, etc., yet) and get reasonable values for e.g. nkpt. o) Use two pages for pgtab. This is probably wrong, but since pointers double in size with n64, we need more space...though I suppose we could just store the 32-bit addresses. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T02:52:23.629924Z K 7 svn:log V 210 Make o32 work on my branch again. Most importantly: o) Refactor octeon_pcmap_regs.h to reduce the number of functions written for each ABI/ISA, and use macros to write the trivial ones for different types. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2010-03-05T03:37:42.373719Z K 7 svn:log V 202 Don't spam dmesg with "registered firmware ..." when module is compiled into kernel, unless there is a verbose boot flag set. There is no real need to have this information printed. MFC after: 1 week END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-03-05T04:26:30.311769Z K 7 svn:log V 311 A few niggling bits of cleanup: - Factor the ALQ destroy code out into a new function. - Ensure cleanup occurs if alq_open() fails to add the new ALQ to the ALD list. - Remove some gratuitous goto usage. - Ensure the module can't be forcibly unloaded if there are active ALQs. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T04:39:35.240141Z K 7 svn:log V 13 Fix for o32. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-03-05T05:01:07.638999Z K 7 svn:log V 96 Correct the alphabetical ordering of modules in the Makefile. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T06:06:20.880755Z K 7 svn:log V 120 Remove N32-related things that prevent building O32 world. Commits to come to add support for setting the default ABI. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-03-05T11:11:42.201654Z K 7 svn:log V 415 MFx86: the part of r204641 In order to do that cleanly, lapic_setup_clock(), on both ia32 and amd64, now accepts as arguments the desired sources to handle, and returns the actual ones (LAPIC_CLOCK_NONE is forbidden because otherwise there is no meaning in calling such function). This allows to bring out into commont x86 code the handling part for machdep.lapic_allclocks tunable, which is retained. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-05T12:58:19.422985Z K 7 svn:log V 43 fix a memory leak when deleting RED queues END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-05T13:13:35.065373Z K 7 svn:log V 159 Update the list of the process flags. Note that the lists of pending signals for process and its threads are distinct. Reviewed by: jilles MFC after: 2 weeks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-03-05T13:28:05.377431Z K 7 svn:log V 188 Properly declare non-extern functions in crt1 Also move the declarations after __progname consistently to make the distinction clearer. Reviewed by: jmallett Approved by: ed (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-03-05T13:29:05.983446Z K 7 svn:log V 113 Use default WARNS setting (of 6) for lib/csu. PR: bin/140089 Reviewed by: jmallett Approved by: ed (co-mentor) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-05T14:13:58.956144Z K 7 svn:log V 45 more documentation on new dummynet features. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-03-05T14:34:33.148184Z K 7 svn:log V 904 Redirect stdin from /dev/null when starting a jail: At least in RELENG_7 this fixes some start problems for some programs from the ports. It is also more correct, as a jail shall not expect input (interactivity) from the jail-host. Revert the current behavior of starting jails in the background and make it optional only for the start of jails (jail_parallell_start=YES in rc.conf): - The stop can not be done in the background, the system needs to wait until everything is stopped correctly before it can reboot or power down. - The start should not be done in parallel by default, this not only breaks POLA for people comming from RELENG_x, it may also break a dependency chain with other scripts in the jail-host, which need to do some stuff after the jails are up and running (e.g. hardlinking a mysql socket from one jail into another one). Discussed on: freebsd-jails@ END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-03-05T15:19:53.940355Z K 7 svn:log V 66 MFC r203061: KASSERT contract of return value of interrupt filter END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-03-05T15:23:01.542203Z K 7 svn:log V 399 - Use errx(3) instead of err(3) when checking if snprintf(3) succeeded. snprintf(3) doesn't set errno in the tested cases. - If the same argument reference (for example %1) was specified more than once, the command didn't necessarily fit to the final command buffer. Fix this using a dynamic sbuf buffer. Add a few regression tests for the case. PR: bin/95079 No objections: freebsd-hackers END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-05T16:56:08.665030Z K 7 svn:log V 242 Add support for o32 (when it isn't the default), n32, n64, and o64 to the linker spec. Provide the ability to have a default ABI that's different than o32 (again, for all 4). Submitted by: C. Jayachandran (JC) with tweaks for o64/o32 by me END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-05T17:53:28.798479Z K 7 svn:log V 45 plug a memory leak on pipe's reconfiguration END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-03-05T19:45:45.874868Z K 7 svn:log V 152 Provide correct TCLK value for Kirkwood A1 silicon revision. While there improve SOC ID output accordingly. Obtained from: Semihalf MFC after: 1 week END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-03-05T19:51:02.881276Z K 7 svn:log V 29 Remove stale path reference. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-05T19:58:45.591735Z K 7 svn:log V 24 Import ACPICA 20100304. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-05T20:00:43.213474Z K 7 svn:log V 21 Tag ACPICA 20100304. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T20:31:29.087089Z K 7 svn:log V 100 Disable and restore interrupts around the times when there may be 64 significant bits in registers. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T20:51:40.285995Z K 7 svn:log V 158 o) Add back old ABI support for syscalls. o) Zero args before use so that they aren't filled with garbage if something goes wrong in the syscall handling. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-05T21:04:44.687455Z K 7 svn:log V 135 Search for as/ld in PATH and change -B setting in world stage to direclty point to WORLDTMP/usr/bin. So this setup works with gcc too. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-05T21:24:41.799849Z K 7 svn:log V 89 Make little endian compiles produce little endian binaries on mips. Submitted by: neel@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-05T21:25:20.518244Z K 7 svn:log V 48 Tweak the linker spec a smidge. Correct a typo. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-05T21:39:16.431967Z K 7 svn:log V 23 Merge ACPICA 20100304. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-05T22:40:31.452568Z K 7 svn:log V 218 MFC 203790: - Reorganize code in 'plugin' to share log processing. - Kcachegrind (calltree) support with assembly/source code mapping and call count estimator (-F). - Top mode for calltree and callgraph plugin (-T). END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-05T22:43:44.616584Z K 7 svn:log V 218 MFC 203790: - Reorganize code in 'plugin' to share log processing. - Kcachegrind (calltree) support with assembly/source code mapping and call count estimator (-F). - Top mode for calltree and callgraph plugin (-T). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T22:44:49.813767Z K 7 svn:log V 214 Do not mask off the low byte of the chipid, it makes some of the case statements unreachable and seems to be wrong. Fixes detection of the number of ports available on some models. Sponsored by: Packet Forensics END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T22:46:11.481087Z K 7 svn:log V 157 Properly detect a type of real board that claims to have a 0.0 revision. This fixes at least memory detection on that board. Sponsored by: Packet Forensics END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T22:48:34.733590Z K 7 svn:log V 400 o) Simplify the implementation of bus read/write functions, and eliminate some redundant implementations. o) Use ABI, not ISA, to determine address length. o) Disable and restore interrupts around any operation that uses all 64 bits of a register. In kernels using the O32 ABI, the upper 32 bits of those registers is likely to be corrupted by an interrupt. Sponsored by: Packet Forensics END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-05T22:52:41.627899Z K 7 svn:log V 60 MFC 204329 partially: Fixed dependencies (make checkdpadd). END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-05T22:53:31.481591Z K 7 svn:log V 60 MFC 204329 partially: Fixed dependencies (make checkdpadd). END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-05T22:59:49.187330Z K 7 svn:log V 55 MFC 180091: Document messages printed in verbose mode. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T23:03:20.340305Z K 7 svn:log V 168 Harmonize Octeon ldscripts, reducing gratuitous diffs and using KERNLOADADDR in all of them to set the load address. Set svn:keywords. Sponsored by: Packet Forensics END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-05T23:08:19.176883Z K 7 svn:log V 168 Bug fixed: - no display on serial terminal in top mode. - display alignment for continuation string. - correct invalid value used for display limit. MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-05T23:14:01.349010Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-06T00:45:36.176566Z K 7 svn:log V 134 Check for device faults and for failures to set DRQ when expected, rather than spinning forever. This fixes booting with CF ejected. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-06T00:54:58.466393Z K 7 svn:log V 45 Remove some chattiness from the rgmx driver. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-06T01:00:11.084236Z K 7 svn:log V 24 Reduce diffs with head. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-06T05:45:49.812453Z K 7 svn:log V 223 o) Consistently use MIPS_KSEGn_TO_PHYS instead of MIPS_{,UN}CACHED_TO_PHYS etc. Get rid of the macros that spell KSEG0 CACHED and KSEG1 UNCACHED. o) Get rid of some nearby duplicated and unused macros. Reviewed by: imp END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-06T05:49:15.531098Z K 7 svn:log V 340 Check for device faults and for failures to set DRQ when expected, rather than spinning forever. This fixes booting with CF ejected. NB: I've made the driver pretty chatty about errors in case there's hardware that operates differently to mine, so we can easily track down any issues. Reviewed by: imp Sponsored by: Packet Forensics END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-06T05:57:24.820048Z K 7 svn:log V 56 Switch to our preferred license text. Approved by: imp END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-06T09:09:54.873963Z K 7 svn:log V 93 Dont define the program path to be inherited from the binary location but set it to /usr/bin END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-06T09:22:29.464372Z K 7 svn:log V 23 Update LLVM to r97873. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-06T09:23:02.660610Z K 7 svn:log V 24 Update clang to r97873. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-06T11:06:53.619857Z K 7 svn:log V 20 Update from vendor. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-06T11:07:17.899285Z K 7 svn:log V 18 Update the build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-06T12:35:33.341608Z K 7 svn:log V 236 MFC r204413: For kinfo_proc in kp->ki_siglist, return the set of the signals pending in the process queue when gathering information for the process, and set of signals pending for the thread, when gathering information for the thread. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-06T12:47:50.435680Z K 7 svn:log V 41 Create playground for IPv6-related work. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-06T16:27:43.088092Z K 7 svn:log V 3576 Summary: - Accept Router Advertisement messages even when net.inet6.ip6.forwarding=1. - A new per-interface knob: IPV6CTL_DEFROUTE_RTADV. This controls if accepting a route in an RA message as the default route. - A new sysctl: net.inet6.ip6.disable_isrouter_rtadvif. This controls if setting R-bit in NA on RA accepting interfaces. The default is 0 (R-bit is set based on net.inet6.ip6.forwarding). Background: IPv6 host/router model suggests a router sends an RA and a host accepts it for router discovery. Because of that, KAME implementation does not allow accepting RAs when net.inet6.ip6.forwarding=1. Accepting RAs on a router can make the routing table confused since it can change the default router unintentionally. However, in practice there are cases where we cannot distinguish a host from a router clearly. For example, a customer edge router often works as a host against the ISP, and as a router against the LAN at the same time. Another example is a complex network configurations like an L2TP tunnel for IPv6 connection to Internet over an Ethernet link with another native IPv6 subnet. In this case, the physical interface for the native IPv6 subnet works as a host, and the pseudo-interface for L2TP works as the default IP forwarding route. Problems: When processing RA messages is limited when net.inet6.ip6.forwarding=1, the following issues are typical: - A router cannot perform SLAAC. It becomes a problem if a box has multiple interfaces and you want to use SLAAC on some of them, for example. A customer edge router for IPv6 Internet access service using an IPv6-over-IPv6 tunnel sometimes needs SLAAC on the physical interface for administration purpose; updating firmware and so on (link-local addresses can be used there, but GUAs by SLAAC are often used for scalability). - When a box has multiple IPv6 interfaces and it receives multiple RAs on them, controlling the default route is difficult. Router preferences defined in RFC 4191 works only when the routers are under your control. Details of Implementation Changes: Router Advertisement messages will be accepted even when net.inet6.ip6.forwarding=1. More precisely, the conditions are as follow: (ACCEPT_RTADV && DEFROUTE_RTADV) => Normal RA processing (as IPv6 host) (ACCEPT_RTADV && !DEFROUTE_RTADV) => Accept RA but add the router to the defroute list with rtlifetime=0 unconditionally. This effectively prevents from setting the received router address as the box's default route. (!ACCEPT_RTADV && DEFROUTE_RTADV) => No RA processing ACCEPT_RTADV and DEFROUTE_RTADV are per-interface knob. R-bit in NA on the RA accepting interfaces is set based on net.inet6.ip6.forwarding. While an on-going discussion on draft-ietf-v6ops-ipv6-cpe-router suggests R-bit can be disabled completely even when net.inet6.ip6.forwarding=1, I believe there is no technical reason with disabling it. This behavior can be set by a new sysctl net.inet6.ip6.disable_isrouter_rtadvif (the default is 0). Usage: # ifconfig fxp0 inet6 accept_rtadv => accept RA on fxp0 # ifconfig fxp0 inet6 accept_rtadv -defroute_rtadv => accept RA but ignore default route information on fxp0. The default value of defroute_rtadv flag can be set by net.inet6.ip6.defroute_rtadv (the default is 1). # sysctl net.inet6.ip6.disable_isrouter_rtadvif=1 => R-bit in NAs on RA accepting interfaces will always be set as 0. Reviewed by: bz END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-03-06T16:45:55.245109Z K 7 svn:log V 119 MFC virtual machine guest detection code and r204420 - code to disable superpages on buggy AMD CPUs. Reviewed by: alc END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-03-06T16:57:53.405454Z K 7 svn:log V 201 sh: Improve the command builtin: * avoid unnecessary fork * allow executing builtins via command * executing a special builtin via command removes its special properties Obtained from: NetBSD (parts) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-03-06T17:09:22.429229Z K 7 svn:log V 71 sh: Make sure to popredir() even if a special builtin caused an error. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-03-06T17:31:09.947920Z K 7 svn:log V 64 sh: Make sure to popredir() even if a function caused an error. END K 10 svn:author V 4 ache K 8 svn:date V 27 2010-03-06T19:21:57.392900Z K 7 svn:log V 511 1) Rewrite input processing to not exit with error on the first EILSEQ found in the input data but fallback to "binary equal" check instead. POSIX says: "The input file shall be a text file", nothing more, so the text file with illegal sequence is valid input. BTW, GNU sort does not fails on EILSEQ too. 2) Speedup input processing a bit in complex cases like skipping fields, chars or ignore case. 3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file" and POSIX uniq(1) description). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-03-06T20:03:26.757167Z K 7 svn:log V 123 Remove racy assertion. Reported by: Attila Nagy Obtained from: OpenSolaris, Bug ID 6827260 MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-03-06T21:22:28.902574Z K 7 svn:log V 692 Rework reference counting in case we queue into the netisr, or overflow the netisr queue and fall back to the interface queue so that we can garuantee that the ifnet pointer stays valid. Formerly we ended up with reference counts <= 0 in case the netisr had returned ENOBUFS. The idea is to track any packet in the netisr queue and only change the refount on edge operations for the fallback interface queue. This also avoids problems in case the if_snd.ifq_len lies to us. Also rework refount assertions to make sure they trigger if we go below 1. Formerly a negative refence count did not trigger the assert as the refcount variable is u_int. Sponsored by: ISPsystem MFC after: 5 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-03-06T21:24:11.741552Z K 7 svn:log V 132 Wrap use of rw_try_upgrade() on pcbinfo with macro INP_INFO_TRY_UPGRADE() to match other pcbinfo locking macros. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-03-06T21:24:32.356251Z K 7 svn:log V 298 Destroy UDP UMA zones (empty or not) upon network stack teardown to not leak them making the VM subsystem unhappy with every stoped vnet(*). We will still leak pages (especially as zones are marked NOFREE). (*) This will also keep vmstat -z more usable. Sponsored by: ISPsystem MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-03-06T21:27:26.396316Z K 7 svn:log V 277 Introduce a function rn_detachhead() that will free the radix table root nodes. This is only needed (and available) in the virtualization case to free the resources when tearing down a virtual network stack. Sponsored by: ISPsystem Reviewed by: julian, zec MFC after: 5 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-03-06T21:38:31.491566Z K 7 svn:log V 381 Add a comment to tcp_usr_accept() to indicate why it is we acquire the tcbinfo lock there: r175612, which re-added it, masked a race between sonewconn(2) and accept(2) that could allow an incompletely initialized address on a newly-created socket on a listen queue to be exposed. Full details can be found in that commit message. MFC after: 1 week Sponsored by: Juniper Networks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-03-06T22:04:45.630138Z K 7 svn:log V 311 Remove unnecessary locking of divcbinfo lock from div_output(): this has not been required since FreeBSD 7.0 when the so_pcb pointer leading to inp was guaranteed to be stable when a valid socket reference is held (as it is in the output path). MFC after: 1 week Reviewed by: bz Sponsored by: Juniper Networks END K 10 svn:author V 4 ache K 8 svn:date V 27 2010-03-06T22:38:38.809195Z K 7 svn:log V 62 Remove vestiges of old %-format which prevents build on amd64 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-06T23:01:10.960371Z K 7 svn:log V 117 Fix the -y option In the Julian day format, properly highlight the current day Update the manpage with -3, -A and -B END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-07T00:05:44.588052Z K 7 svn:log V 177 MFC revs 203696, 203708, 203783 and 203788: Add PT_VM_TIMESTAMP and PT_VM_ENTRY so that the tracing process can obtain the memory map of the traced process. Requested by: kib@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-07T00:07:00.973857Z K 7 svn:log V 158 MFC revs 203696, 203783: Add PT_VM_TIMESTAMP and PT_VM_ENTRY so that the tracing process can obtain the memory map of the traced process. Requested by: kib@ END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2010-03-07T02:02:07.412750Z K 7 svn:log V 226 MFC: Enable the use of nanosleep() instead of using pause() and signals. This Makefile change can be removed when the next version of sendmail is imported as it will have this built in to the FreeBSD conf.h section. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2010-03-07T02:03:25.902717Z K 7 svn:log V 226 MFC: Enable the use of nanosleep() instead of using pause() and signals. This Makefile change can be removed when the next version of sendmail is imported as it will have this built in to the FreeBSD conf.h section. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2010-03-07T02:04:59.176437Z K 7 svn:log V 226 MFC: Enable the use of nanosleep() instead of using pause() and signals. This Makefile change can be removed when the next version of sendmail is imported as it will have this built in to the FreeBSD conf.h section. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-03-07T04:26:21.822847Z K 7 svn:log V 113 Implement the idea of parallel-only-at-start-time in a cleaner, more rc.d'ish way. Not objected to by: netchild END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-03-07T07:59:05.168773Z K 7 svn:log V 59 Switch to our preferred license text. Approved by: jedgar END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-07T08:30:21.392373Z K 7 svn:log V 504 Install termcap.small. Right now we have a termcap.small in the tree, but we don't install it. If we do install this file by default, it is more likely for applications to work in single user mode. I am not entirely happy with the contents of this file. In my opinion we should remove the `dosansi', `pc' and `pc3' entries and replace them with `vt100' in case someone uses a serial console. The file does already have entries for `cons25' and `xterm', which is used most often. Requested by: brucec END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-07T08:54:06.143037Z K 7 svn:log V 351 Improve the contents of termcap.small. - Remove dosansi, pc and pc3. I suspect nobody ever needs these. - Add vt100, screen and xterm-color. This file is now probably more than sufficient in most cases, even for common use outside single user mode, where people just use the console driver, a graphical terminal emulator and a terminal multiplexer. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-07T09:02:52.124615Z K 7 svn:log V 1751 * Support RTM_IFANNOUNCE message. route6d now works even when an interface is added or removed dynamically. * Improve data structures for the prefix filter: - struct ifc (for interfaces) and struct iff (for filters) are now separated from each other; struct iff is now a separated singly-linked list which contains if_name in each entry. Linear search is used for the prefix matching. - interface specifier in filtering rule now accepts non-existent interfaces at boot time and glob characters like gif* or fxp[012]. (this is based on fnmatch(3)) * Add a new flags: - -P num: ignore routes marked as RTF_PROTO. - -Q num: set RTF_PROTO for routes added by route6d. - -p pidfile: specify the PID file. * Increase retry count for NET_RT_DUMP to 15. * Usage: These fix a typical issue when using route6d + other routing daemon. For example, net/openbgpd which uses RTF_PROTO1 for its routing entries. However, route6d adds/removes routing entries regardless of the RTF_PROTO* flags, it happens that routes added by openbgpd is removed by route6d, and vice versa. Adding "-P 1" solves this situation. This is applied to net/quagga, too. Also, the glob character support greatly simplifies your command line options like this: [before] route6d_flags="\ -N bge0,bge1,re0,gif0,gif1,gif4,gre0,gre1,gre2,gre3,gre4,gre5,gre6,\ gre7,gre8,gre9,gre10,gre11,gre12,gre13,gre14,bridge0 \ -T gif2 \ -O 2001:db8:705:ef00::/56,gif3 \ -A 2001:db8:705:ef00::/56,gif3 \ -L 2001:db8:19:ff::/64,gif3 \ " [after] route6d_flags="\ -P 1 \ -N bge*,re0,gif[014],gre*,bridge* \ -T gif2 \ -O 2001:db8:705:ef00::/56,gif3 \ -A 2001:db8:705:ef00::/56,gif3 \ -L 2001:db8:19:ff::/64,gif3 \ " END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-07T09:52:35.628918Z K 7 svn:log V 82 MFC r204464: Several fixes for miscellaneous clone handlers in if_tun and if_tap. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-03-07T10:08:00.704629Z K 7 svn:log V 223 Look for "compile" to decide if this is run as part of the kernel build. The assumption of "${ARCH}/compile/FOO" is much harder to change in our build (so assume one hasn't), then assuming every kernel is rooted at "sys/". END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-07T10:43:45.557810Z K 7 svn:log V 662 Make /proc/self/fd `work'. On Linux, /proc//fd is comparable to fdescfs, where it allows you to inspect the file descriptors used by each process. Glibc's ttyname() works by performing a readlink() on these nodes, since all nodes in this directory are symlinks. It is a bit hard to implement this in linprocfs right now, so I am not going to bother. Add a way to make ttyname(3) work, by adding a /proc//fd symlink, which points to /dev/fd only if the calling process matches. When fdescfs is mounted, this will cause the readlink() in ttyname() to fail, causing it to fall back on manually finding a matching node in /dev. Discussed on: emulation@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-03-07T10:47:47.854931Z K 7 svn:log V 276 Make udp_set_kernel_tunneling() less forgiving when its invariants are violated: so_pcb can never be NULL for a valid UDP socket, and it is always SOCK_DGRAM. Use sotoinpcb() as the rest of the UDP code does. MFC after: 1 week Reviewed by: bz Sponsored by: Juniper Networks END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-03-07T12:29:50.187322Z K 7 svn:log V 113 MFC r204611, r204633: Comment and better sysctl documentation string for VM guest detection variable and sysctl. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-07T12:41:42.029248Z K 7 svn:log V 528 - Use RTF_PROTO2 for routes handled by RIPng and ignore the other routes. The route6d depends on RTF_WASCLONED to prevent connected network routes (normally configured automatically when ifconfig assigns an address with a prefix) from being removed. However, that flag is no longer used on 8.0 and later due to lltable rework. The route6d now sees routes with RTF_PROTO2 only. The flag can be changed by the -Q flag. The default is 2. - -Q and -P now allow the value "0". It clears the flag itself. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-03-07T14:13:59.052862Z K 7 svn:log V 166 Add comment in tcp_discardcb() talking about how we don't, but should, address TCP races relating to not calling tcp_drain() on stopped callouts. Discussed with: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-03-07T14:23:44.633230Z K 7 svn:log V 163 Locking the tcbinfo structure should not be necessary in tcp_timer_delack(), so don't. MFC after: 1 week Reviewed by: bz Sponsored by: Juniper Networks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-07T14:29:12.058398Z K 7 svn:log V 184 MFC r197137 and r200510, which fixes a problem in 8.0 with callouts firing one tick too late. See the logs for the original patch for details. RELENG_7 is not affected by the problem. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-07T14:31:57.501270Z K 7 svn:log V 64 working area to merge recent ipfw and dummynet work to RELENG_8 END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-03-07T14:55:43.532875Z K 7 svn:log V 123 Remove old documents when they are not compressed. (NO_INFOCOMPRESS, NO_DOCCOMPRESS or NO_MANCOMPRESS) MFC after: 1 month END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-07T14:58:25.712666Z K 7 svn:log V 82 all important pieces in this branch are now in HEAD, so we don't need it anymore. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-07T15:07:24.194334Z K 7 svn:log V 23 reduce diffs from HEAD END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-03-07T15:08:42.770648Z K 7 svn:log V 249 sh: Add various testcases for here documents. They are mainly about expansions in here documents but because all the testcases are in $() command substitution, we also test that $() command substitution is recursively parsed (or very close to it). END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-03-07T15:37:58.870833Z K 7 svn:log V 190 Not only flush the ipfw tables when unloading ipfw or tearing down a virtual netowrk stack, but also free the Radix Node Head. Sponsored by: ISPsystem Reviewed by: julian MFC after: 5 days END