ƒ¯K216158 172 894 304 265 252 783 182 174 174 228 138 421 127 121 527 303 371 482 944 113 123 153 271 127 124 133 121 186 127 119 156 220 225 210 224 317 286 328 335 389 276 277 368 316 138 528 1302 420 327 161 431 538 192 815 116 282 283 160 226 234 715 834 248 243 111 214 131 188 178 178 108 141 179 522 555 182 247 139 354 250 681 760 201 363 325 240 363 180 376 514 194 216 273 238 285 259 229 1656 356 346 171 295 110 398 195 195 362 1046 1046 243 384 177 283 112 507 142 173 308 221 166 257 304 160 257 534 176 191 2018 151 218 218 134 477 269 341 155 302 351 364 226 257 327 242 363 106 127 121 222 234 337 972 391 241 443 147 238 394 231 389 228 116 151 219 198 141 144 162 357 364 205 364 205 126 K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T20:39:06.550795Z K 7 svn:log V 801 Trim whitespaces at the end of lines. Use the commit to record proper log message for r216150. MFC after: 1 week If unix socket has a unix socket attached as the rights that has a unix socket attached as the rights that has a unix socket attached as the rights ... Kernel may overflow the stack on attempt to close such socket. Only close the rights file in the context of the current close if the file is not unix domain socket. Otherwise, postpone the work to taskqueue, preventing unlimited recursion. The pass of the unix domain sockets over the SCM_RIGHTS message control is not widely used, and more, the close of the socket with still attached rights is mostly an application failure. The change should not affect the performance of typical users of SCM_RIGHTS. Reviewed by: jeff, rwatson END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-03T21:06:30.688998Z K 7 svn:log V 210 Do not change CPU ticker frequency if TSC is P-state invariant. Note this change was meant to be committed with r184102 (and its subsequent MFCs) but it fell off somehow. Pointyhat to: jkim MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T21:52:01.348199Z K 7 svn:log V 172 MFC r216120: For /proc//{regs,fpregs} read access, require the thread to be in stopped state. Otherwise, return EBUSY as is done for write case. Approved by: re (bz) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-03T21:54:10.066125Z K 7 svn:log V 158 Explicitly initialize TSC frequency. To calibrate TSC frequency, we use DELAY(9) and it may use TSC in turn if TSC frequency is non-zero. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T22:07:07.228046Z K 7 svn:log V 690 MFC r209463: Fix bugs on pc98, use npxgetuserregs() instead of npxgetregs() for get_fpcontext(), and npxsetuserregs() for set_fpcontext). Also, note that usercontext is not initialized anymore in fpstate_drop(). Systematically replace references to npxgetregs() and npxsetregs() by npxgetuserregs() and npxsetuserregs() in comments. MFC r215865: Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() functions, they are unused. Remove 'user' from npxgetuserregs() etc. names. For {npx,fpu}{get,set}regs(), always use pcb->pcb_user_save for FPU context storage. MFC r216012: Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Approved by: re (bz) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-03T22:27:51.449346Z K 7 svn:log V 89 Revert r216161. It is not necessary because we zero-fill BSS anyway. Requested by: jhb END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-03T22:47:53.712757Z K 7 svn:log V 77 MFC r215105: Uninitialized buffers considered harmful. Approved by: re (bz) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-03T22:48:15.262422Z K 7 svn:log V 77 MFC r215105: Uninitialized buffers considered harmful. Approved by: re (bz) END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-12-03T22:59:54.548862Z K 7 svn:log V 133 Merge OpenSSL 0.9.8q into head. Security: CVE-2010-4180 Security: http://www.openssl.org/news/secadv_20101202.txt MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-12-03T23:07:45.350868Z K 7 svn:log V 44 Regenerate manual pages for OpenSSL 0.9.8q. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-03T23:24:27.811943Z K 7 svn:log V 325 sh(1): Clean up documentation of built-in commands. Make sure all built-in commands are in the subsection named such, except exp, let and wordexp which are deliberately undocumented. The text said only built-ins that really need to be a built-in were documented there but in fact almost all of them were already documented. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-04T00:42:21.113977Z K 7 svn:log V 33 Vendor import of BIND 9.6-ESV-R3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-04T00:43:21.092801Z K 7 svn:log V 27 Tag the 9.6-ESV-R3 release END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-04T01:43:38.245868Z K 7 svn:log V 434 This small little change is a bug that drove me nuts finding. The test to compare the mbuf m_len against a fixed value and then returning needs to be removed. When using VLANS and doing HW_TAGGING, and IPV6, the ICMP6 packets actually fail this condition, the constant assumes that the tag is IN the frame, and its not, so the length is actually tiny. Furthermore, I'm not sure what the point was to just return?? MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-04T01:59:58.396987Z K 7 svn:log V 210 Small cut and paste bug in flow control string fixed. Second, correct the discard/refresh_mbufs code to behave more like igb, there have been panics due to discards and this should fix them. MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-04T02:04:02.549030Z K 7 svn:log V 278 Remove the bogus test in the TX context setup for IPV6, the size can be smaller than the constant when you are doing HW TAGGING, and you still need to process this packet in a normal way. I'm not sure where the notion to just return came from, but its wrong. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-04T02:42:52.933736Z K 7 svn:log V 381 Add an abstraction layer to the 64-bit AIM MMU's page table manipulation logic to support modifying the page table through a hypervisor. This uses KOBJ inheritance to provide subclasses of the base 64-bit AIM MMU class with additional methods for page table manipulation. Many thanks to Peter Grehan for suggesting this design and implementing the MMU KOBJ inheritance mechanism. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-04T05:58:56.518824Z K 7 svn:log V 849 Update to version 9.6-ESV-R3, the latest from ISC, which addresses the following security vulnerabilities. For more information regarding these issues please see: http://www.isc.org/announcement/guidance-regarding-dec-1st-2010-security-advisories 1. Cache incorrectly allows ncache and rrsig for the same type http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3613 Affects resolver operators whose servers are open to potential attackers. Triggering the bug will cause the server to crash. This bug applies even if you do not have DNSSEC enabled. 2. Key algorithm rollover http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3614 Affects resolver operators who are validating with DNSSEC, and querying zones which are in a key rollover period. The bug will cause answers to incorrectly be marked as insecure. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-04T06:38:21.654625Z K 7 svn:log V 21 Correct build error. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-12-04T08:44:56.910988Z K 7 svn:log V 32 Remove stale link. PR: 151252 END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-04T10:11:20.065767Z K 7 svn:log V 61 Move most of the remaining USD/PSD/SMM papers into share/doc END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-04T11:40:40.487248Z K 7 svn:log V 178 Document two more ways to find duplicates in the obsolete file list. Remove the only duplicate found by the optional files check. Fix typos, while here. Suggested by: netchild END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-12-04T11:42:06.582215Z K 7 svn:log V 35 Added two new SU+J test scenarios. END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-12-04T11:42:49.488708Z K 7 svn:log V 32 Removed blank line from script. END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-12-04T11:45:24.941371Z K 7 svn:log V 41 Added three new truncate test scenarios. END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-12-04T13:06:41.651089Z K 7 svn:log V 29 Added a new procfs scenario. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-04T14:19:27.597025Z K 7 svn:log V 94 traceroute(8): make WARNS=3 clean Also fixes an operator precedence bug for TCP tracerouting END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-04T14:19:35.474980Z K 7 svn:log V 35 traceroute6(8): make WARNS=3 clean END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-04T17:41:58.277543Z K 7 svn:log V 25 Fix comment intentation. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-04T18:52:05.262234Z K 7 svn:log V 62 Add MAKEDEV.8 Submitted by: Alex Kozlov END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-12-04T19:29:49.698440Z K 7 svn:log V 124 Fix a bug where also the number of non-renegable gap reports was considered to be potentially renegable. MFC after: 1 day. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-04T21:54:23.806116Z K 7 svn:log V 132 De-orbit usbdevs(8) which hasn't worked with the new USB stack for a long time now. usbconfig(8) should be an adequate replacement. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-04T23:24:35.222871Z K 7 svn:log V 112 Remove unnecessary #includes which seem to have been accidentally added as part of CVS r1.76 (in January 2006). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-04T23:36:40.428082Z K 7 svn:log V 126 Remove gratuitous i386/amd64 inconsistency in favour of the less verbose version of declaring a variable initialized to zero. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-05T01:09:48.937056Z K 7 svn:log V 225 Use correct field to track statistics counting error as bad header length. This assimilates the code to what ip_input has been doing since r1.1 in this case. Submitted by: Rozhuk Ivan (rozhuk.im gmail.com) MFC after: 4 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-05T01:17:53.429416Z K 7 svn:log V 185 Switch which software-reserved bit is used to designate a locked PTE to correspond to the definition used by the PAPR spec so that its PTE insertion algorithm will properly respect it. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-05T03:20:55.338891Z K 7 svn:log V 230 MFamd64 r204214: Enforce stronger alignment semantics (require that the end of segments be aligned, not just the start of segments) in order to allow Xen's blkfront driver to operate correctly. PR: kern/152818 MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-05T09:00:32.207242Z K 7 svn:log V 237 For 6000 series and newer devices the DC calibration results are no longer requested of the boot firmware. Instead of sending those results to the runtime firmware the firmware is told to do the DC calibration itself. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T09:33:04.073009Z K 7 svn:log V 294 Bring in the change from NetBSD 1.18: "If using stat (the -L flag) and it fails, fall back to lstat(). It may be the case that we're examining a broken symlink, and anything is better than nothing." The changes in 1.14 through 1.17 were not relevant to us. Obtained from: atatat@NetBSD.org END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T09:35:07.874549Z K 7 svn:log V 181 Add my own documentation for the change in our r216196, aka NetBSD's 1.18 For -L if stat(2) fails, fall back to lstat(2). .Dd purposely not bumped because more changes are coming. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-12-05T10:15:23.183644Z K 7 svn:log V 185 Use proper bounds checking on VPA. We must check against tp->t_cursor.tp_row, not row, to figure out whether we must clamp the cursor position. Submitted by: luigi MFC after: 3 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-05T16:09:03.289597Z K 7 svn:log V 272 sh: jobs -p: Do not ask the kernel for the pgid. The getpgid() call will fail if the first process in the job has already terminated, resulting in output of "-1". The pgid of a job is always the pid of the first process in the job and other code already relies on this. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-12-05T20:24:22.191875Z K 7 svn:log V 223 For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so the ELF branding for FreeBSD is done in the same way as amd64, i386 and sparc. Something similar should probably also be done for arm, mips and powerpc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-12-05T20:47:36.691461Z K 7 svn:log V 43 svn+ssh://svn.freebsd.org/base/head@216199 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T20:47:53.724247Z K 7 svn:log V 433 Bring in the change from NetBSD 1.22: "Fix a trivial truncation case, and eliminate a corner case that might print a nul character." I am purposely bypassing the following versions: 1.19 A build infrastructure change that does not apply to us 1.20 A feature I am not interested in, but don't object if someone else wants to pick it up 1.21 A build infrastructure change that does not apply to us Obtained from: atatat@NetBSD.org END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T21:11:45.799819Z K 7 svn:log V 1206 Bring in a new feature, adding a -f option to readlink to print the path of the target, similar to realpath(1). See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=34662 This brings in the following changes: 1.24 "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no alternative (+fix) Patch applied with minor tweak (%y -> %R, as it was already taken) plus some nits from myself. Thanks!" Obtained from: elad@NetBSD.org 1.25 "Fix a segfault when doing 'stat -f %R' on the stdin file handle, instead fake the filename '(stdin)' like the %N format." Obtained from: mlelstv@NetBSD.org 1.27 "The ofmt variable is actually a bit mask (not the character that was in the format string) so that we can "or" it with the bits in the formats variable. This fixes the missing " -> " in front of the real path (when you use %SR). Also, the ?: needs another space." Obtained from: atatat@NetBSD.org I am purposely omitting the following changes: 1.23 A humanize_number(3) clone that should better be implemented by actually using humanize_number(3) 1.26 This is the removal of license clause 3 and 4, already handled by imp in r203971 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T21:17:02.329474Z K 7 svn:log V 325 Bring in the update from NetBSD 1.19, the documentation of readlink -f "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no alternative (+fix) Patch applied with minor tweak (%y -> %R, as it was already taken) plus some nits from myself. Thanks!" Obtained from: elad@NetBSD.org END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T21:29:20.250331Z K 7 svn:log V 232 Bring in the update from NetBSD 1.28: "Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)" Because of code differences I had to hand-apply parts of the patch, so responsibility for errors goes to me. Obtained from: lukem@NetBSD.org END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T21:33:05.239247Z K 7 svn:log V 67 Fix an "unused variable" error that gets us all the way to WARNS=6 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T21:53:12.801551Z K 7 svn:log V 336 Bring in the following changes from NetBSD. See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44128 1.29 "Don't printf time_t with %d; fixes PR 44128 from yamt. With this change it successfully prints mtimes after 2038." 1.30 "Improve previous with comments." Obtained from: dholland@NetBSD.org (both) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-05T21:53:29.110664Z K 7 svn:log V 442 sh: Avoid marking a job as done before it is fully created. In r208489, I added code to reap zombies when forking new processes, to limit the amount of zombies. However, this can lead to marking a job as done or stopped if it consists of multiple processes and the first process ends very quickly. Fix this by only checking for zombies before forking the first process of a job and not marking any jobs without processes as done or stopped. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T22:01:01.093033Z K 7 svn:log V 98 Bring in the change from NetBSD 1.12: "document default format." Obtained from: yamt@NetBSD.org END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-05T22:11:03.583915Z K 7 svn:log V 722 Add a "kernel" log function, based on e_log.c, which is useful for implementing accurate logarithms in different bases. This is based on an approach bde coded up years ago. This function should always be inlined; it will be used in only a few places, and rudimentary tests show a 40% performance improvement in implementations of log2() and log10() on amd64. The kernel takes a reduced argument x and returns the same polynomial approximation as e_log.c, but omitting the low-order term. The low-order term is much larger than the rest of the approximation, so the caller of the kernel function can scale it to the appropriate base in extra precision and obtain a much more accurate answer than by using log(x)/log(b). END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-05T22:11:22.093522Z K 7 svn:log V 24 Add log2() and log2f(). END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-05T22:12:07.143725Z K 7 svn:log V 189 Bump __FreeBSD_version for the addition of log2(). This is mainly for the benefit of ports such as opencity and inkscape that have workarounds for the lack of a log2() in the base system. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T22:16:51.996660Z K 7 svn:log V 188 Bring in the changes from NetBSD 1.13 that we did not already have, with some differences. "Sort options. Use more mdoc macros. Some nit fixes. Bump date." Obtained from: wiz@NetBSD.org END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-05T22:18:35.616402Z K 7 svn:log V 68 Add regression tests for logarithmic functions in the math library. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T22:20:08.205071Z K 7 svn:log V 131 Bring in the changes from NetBSD 1.16 that we did not already have. "Some fixes from jmc@openbsd." Obtained from: wiz@NetBSD.org END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T22:24:34.294805Z K 7 svn:log V 139 Bring in the change from NetBSD 1.20: "Make sentence easier to parse. From jsing@openbsd via jmc@openbsd." Obtained from: wiz@NetBSD.org END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-05T22:37:01.566528Z K 7 svn:log V 619 sh: Improve jobs output of pipelines. If describing the status of a pipeline, write all elements of the pipeline and show the status of the last process (which would also end up in $?). Only write one report per job, not one for every process that exits. To keep some earlier behaviour, if any process started by the shell in a foreground job terminates because of a signal, write a message about the signal (at most one message per job, however). Also, do not write messages about signals in the wait builtin in non-interactive shells. Only true foreground jobs now write such messages (for example, "Terminated"). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T22:41:58.234155Z K 7 svn:log V 739 Bring in the following changes from NetBSD: 1.21 "Document the flags displayed by the default format, and mention their short names. From espie@openbsd via jmc@openbsd." 1.24 "Fix three variable names. From Todd T. Fries via Jason McIntyre." Obtained from: wiz@NetBSD.org (previous 2) 1.25 "Be consistent: document the birthtime field of struct stat for the "B" field specifier." Obtained from: reed@NetBSD.org 1.26 "Drop trailing space." Obtained from: wiz@NetBSD.org 1.27 "Since we have st_birthtime in struct stat, it is in default display." Obtained from: enami@NetBSD.org Purposely skipping the following revisions: 1.22 NetBSD-specific change 1.23 Removal of license clauses 3 and 4, already handled by imp in our r203971 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-05T22:47:08.562510Z K 7 svn:log V 153 Bring in the change from NetBSD 1.28: "\\ -> \e" Obtained from: joerg@NetBSD.org Bump .Dd because we're now up to date with the latest NetBSD version END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-05T22:56:46.084244Z K 7 svn:log V 147 sh: POSIX says there should not be a space between Done and (exitstatus). (On the other hand, (core dumped) does need a space and so does [1] +.) END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-05T23:50:49.008663Z K 7 svn:log V 19 Fix some warnings. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-06T00:02:49.388256Z K 7 svn:log V 121 signbit() returns nonzero for negative arguments, but we shouldn't assume that it always returns the same nonzero value. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-06T00:19:56.335533Z K 7 svn:log V 39 Work around gcc constant folding bugs. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-12-06T09:18:11.675416Z K 7 svn:log V 97 Don't write the terminating NUL past end of buffer. PR: bin/152345 Submitted by: Mateusz Guzik END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-12-06T09:37:56.815828Z K 7 svn:log V 82 Catch up with kernel using time_uptime to drive ARP timeouts. Noticed by: jilles END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-12-06T09:39:36.849926Z K 7 svn:log V 82 Catch up with kernel using time_uptime to drive ARP timeouts. Noticed by: jilles END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-06T10:24:06.574523Z K 7 svn:log V 14 Fix double ;; END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-12-06T10:58:13.403054Z K 7 svn:log V 50 Add "title" field to describe what task is doing. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-06T11:37:24.684826Z K 7 svn:log V 84 Revert r209469: it causes the rest of the function to be bypassed. Reported by: ae END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-12-06T12:18:02.933521Z K 7 svn:log V 426 Use GEOM stripesize field when calculating ashift. This will enable correct alignment on drives with large sector sizes (e.g. 4 KiB) but the implementation might need to be revisited if devices with large stripesizes appear (e.g. if RAID controllers or flash drives start using the field), probably by introducing a physsectorsize field in GEOM providers. Discussed with: mav, mostly silence on freebsd-geom@ and freebsd-fs@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-06T15:15:27.872378Z K 7 svn:log V 462 Do not leak %rdx value in the previous image to the new image after execve(2). Note that ia32 binaries already handle this properly, since ia32_setregs() resets td_retval[1], but not exec_setregs(). We still do not conform to the amd64 ABI specification, since %rsp on the image startup is not aligned to 16 bytes. PR: amd64/124134 Discussed with: Petr Salinger (who convinced me that there is indeed several bugs) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-06T15:19:03.466281Z K 7 svn:log V 90 Add a manpage for SYSINIT() and SYSUNINIT(). PR: docs/132884 Submitted by: pluknet, hmp END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-06T16:39:18.953550Z K 7 svn:log V 152 Improve readability by factoring out the !RFPROC case. While here, turn K&R function definitions into ANSI. No functional changes. Reviewed by: kib@ END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-06T16:45:36.685458Z K 7 svn:log V 45 Fix style bug introduced by previous commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-06T17:02:56.061397Z K 7 svn:log V 261 When masking direct and processor devices during an inquiry, properly preserve the upper bits of the first data byte. While here, shorten a few nearby lines. PR: kern/152768 Reported by: Sascha Wildner saw of online.de Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-06T17:06:21.540545Z K 7 svn:log V 157 When masking direct and processor devices during an inquiry, properly preserve the upper bits of the first data byte. Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-06T18:28:39.205437Z K 7 svn:log V 583 Fixes for monitor mode: - Do not call iwn_calib_reset() for monitor mode. We do not want to query information and do runtime calibration while in monitor mode. Poking the firmware with adjustments for calibration results in firmware asserts. This could happened on RUN -> RUN transition only. - Adjust blink rate for monitor mode. It's supposed to not freak out and turn off after a while. - While here, remove one useless assignment of calib.state, it gets overwritten later in the function. Submitted by: Brandon Gooch MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-06T19:05:44.903697Z K 7 svn:log V 662 Fix scanning after loosing a connection. The firmware assumes that as long as an association ID is set any scan is supposed to be a background scan. This implies that the firmware will switch back to the associated channel after a certain threshold, though, we are not notified about that. We currently catch this case by a timer which will reset the firmware after a 'scan timeout', though, upper layers are not notified about that and will simply hang until manual intervention. Fix this by resetting the firmware's knowledge about any association on RUN -> ASSOC and !INIT -> SCAN transitions. Tested by: Zhihao Yuan MFC after: 1 week END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-06T19:12:51.297135Z K 7 svn:log V 108 Drop advertising clause in manpages. It was done a long time ago for the source code. Discussed with: core END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-06T19:15:38.946096Z K 7 svn:log V 268 Add a KASSERT to make it obvious when fork_norfproc() is to be called, and set *procp to NULL in all cases. Previously, it was not being set in the ERESTART case. This is effectively no-op, since its value is ignored by callers in the error case. Reviewed by: kib@ END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-06T20:40:15.849292Z K 7 svn:log V 227 Set correct maximum I/O length. We can only handle I/O of up to max_request_segments * PAGE_SIZE if the I/O is page-aligned; the largest I/O we can guarantee will work is PAGE_SIZE less than that. This unbreaks 'diskinfo -t'. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-06T20:54:53.937164Z K 7 svn:log V 142 Implement NdisGetRoutineAddress and MmGetSystemRoutineAddress used in newer Ralink drivers. Submitted by: Paul B Mahol END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-06T20:55:14.137004Z K 7 svn:log V 267 Ignore any failures with the "local" distribution since it's not present on release CDs and so will normally fail. installCommit() returns a DITEM_ value, not a Boolean. distExtractAll() returns a Boolean, not a DITEM_ value. Reported by: kensmith MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-12-06T21:15:46.632141Z K 7 svn:log V 85 stable branch for adding xen DomU support into FreeBSD 7 Obtained from: Yahoo! Inc. END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-12-06T22:45:29.374546Z K 7 svn:log V 282 MFC r215195 Add firmware downloader for Atheros AR3011 based USB Bluetooth devices. Hardware donated by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by: Andrzej Tobola ato at iem dot pw dot edu dot pl Approved by: re END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-06T23:49:27.808191Z K 7 svn:log V 418 sh: Improve internal-representation-to-text code to avoid binary output. The code to translate the internal representation to text did not know about various additions to the internal representation since the original ash and therefore wrote binary stuff to the terminal. The code is used in the jobs command and similar output. Note that the output is far from complete and mostly serves for recognition purposes. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-07T02:19:15.801662Z K 7 svn:log V 101 Fix various nits in style and comments that were pointed out by bde. Code changes verified with md5. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-07T03:29:36.494806Z K 7 svn:log V 123 Another minor nit: Make sure the constant here is a float so the compiler doesn't promote the entire expression to double. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2010-12-07T08:20:20.747205Z K 7 svn:log V 175 Re-add a status check which sneaked out during r214804. This change can fix some USB error messages showing up during bootup. MFC after: 3 days Approved by: thompsa (mentor) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-07T09:03:17.468111Z K 7 svn:log V 145 dtrace_gethrtime_init: pin to master while examining other CPUs Also use pc_cpumask to be future-friendly. Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-07T09:19:47.264327Z K 7 svn:log V 192 dtrace_xcall: no need for special handling of curcpu smp_rendezvous_cpus alreadt does the right thing in a very similar fashion, so the code was kind of duplicating that. MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-07T12:04:06.038825Z K 7 svn:log V 166 opensolaris cyclic xcall: no need for special handling of curcpu smp_rendezvous_cpus already properly handles current CPU case and non-SMP case. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-07T12:17:43.893093Z K 7 svn:log V 136 Retire write-only PCB_FULLCTX pcb flag on amd64. Reminded by: Petr Salinger Tested by: pho MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-07T12:25:26.854925Z K 7 svn:log V 1562 opensolaris cyclic: fix deadlock and make a little bit closer to upstream The dealock was caused in the following way: - thread T1 on CPU C1 holds a spin mutex, IPIs CPU C2 and waits for the IPI to be handled - C2 executes timer interrupt filter, thus has interrupts disabled, and gets blocked on the spin mutex held by T1 The problem seems to have been introduced by simplifications made to OpenSolaris code during porting. The problem is fixed by reorganizing the code to more closely resemble the upstream version. Interrupt filter (cyclic_fire) now doesn't acquire any locks, all per-CPU data accesses are performed on a target CPU with preemption and interrupts disabled thus precluding concurrent access to the data. cyp_mtx spin mutex is used to disable preemtion and interrupts; it's not used for classical mutual exclusion, because xcall already serializes calls to a CPU. It's an emulation of OpenSolaris cyb_set_level(CY_HIGH_LEVEL) call, the spin mutexes could probably be reduced to just a spinlock_enter()/_exit() pair. Diff with upstream version is now reduced by ~500 lines, however it still remains quite large - many things that are not needed (at the moment) or are irrelevant on FreeBSD were simply ripped out during porting. Examples of such things: - support for CPU onlining/offlining - support for suspend/resume - support for running callouts at soft interrupt levels - support for callout rebinding from CPU to CPU - support for CPU partitions Tested by: Artem Belevich MFC after: 3 weeks X-MFC with: r216252 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-07T12:44:33.132824Z K 7 svn:log V 263 Update some comments related to use of amd64 full context switch. In exec_linux_setregs(), use locally cached pointer to pcb to set pcb_full_iret. In set_regs(), note that full return is needed when code that sets segment registers is enabled. MFC after: 1 week END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-12-07T15:24:08.554263Z K 7 svn:log V 250 Undo r216230: the interaction between saved ashift in metadata and detected ashift does not support this. With this change, pools created while stripesize=512 could not be imported when stripesize becomes larger (on the same drive). Noticed by: pjd END K 10 svn:author V 3 phk K 8 svn:date V 27 2010-12-07T16:30:52.929219Z K 7 svn:log V 79 Use a "push" strategy to get data through libz, rather than a "pull" strategy. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2010-12-07T16:48:01.924857Z K 7 svn:log V 197 Don't write data into an empty "file." In particular, this check avoids a warning when extracting directory entries from certain GNU tar archives that store directory contents. MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-12-07T17:36:17.082134Z K 7 svn:log V 14 MFC @ r216258 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-07T17:54:04.490030Z K 7 svn:log V 303 In the section about doing a complete version upgrade encourage users to back up critical files in /usr/local before completely blowing it away. Inspired by [1] While I'm here add -t to the recommended --clean-distfiles-all command. PR: ports/152167 Submitted by: Ben Grimm END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T18:14:38.057173Z K 7 svn:log V 101 MFC: r216159 Do not change CPU ticker frequency if TSC is P-state invariant. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T18:15:18.181470Z K 7 svn:log V 101 MFC: r216159 Do not change CPU ticker frequency if TSC is P-state invariant. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-07T18:49:11.104272Z K 7 svn:log V 269 Use proper resource ID's for HPET IRQ resources. This mostly consists of looking to see if there is an existing IRQ resource for a given IRQ provided by the BIOS and using that RID if so. Otherwise, allocate a new RID for the new IRQ. Reviewed by: mav (a while ago) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-07T19:14:18.240559Z K 7 svn:log V 949 MFC r216111: If RX lockup workaround is enabled, fxp(4) will periodically reset the controller to workaround silicon bug of i82557. Each reset will re-establish link which in turn triggers MII status change callback. The callback will try to reconfigure controller if the controller is not i82557 to enable flow-control. This caused endless link UP/DOWN when the workaround was enabled on non-i82557 controller. To fix the issue, apply RX lockup workaround only for i82557. Previously it blindly checked undocumented EEPROM location such that it sometimes enabled the workaround for other controllers. At this time, only i82557 is known to have the silicon bug. This fixes a regression introduced in r215906 which enabled flow control support for all controllers except i82557. Reported by: Karl Denninger (karl <> denninger dot net) Tested by: Karl Denninger (karl <> denninger dot net) Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-07T19:15:33.969686Z K 7 svn:log V 949 MFC r216111: If RX lockup workaround is enabled, fxp(4) will periodically reset the controller to workaround silicon bug of i82557. Each reset will re-establish link which in turn triggers MII status change callback. The callback will try to reconfigure controller if the controller is not i82557 to enable flow-control. This caused endless link UP/DOWN when the workaround was enabled on non-i82557 controller. To fix the issue, apply RX lockup workaround only for i82557. Previously it blindly checked undocumented EEPROM location such that it sometimes enabled the workaround for other controllers. At this time, only i82557 is known to have the silicon bug. This fixes a regression introduced in r215906 which enabled flow control support for all controllers except i82557. Reported by: Karl Denninger (karl <> denninger dot net) Tested by: Karl Denninger (karl <> denninger dot net) Approved by: re (kensmith) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-12-07T19:18:00.822946Z K 7 svn:log V 147 Add a comment to clarify that some BIOSes may clear the hw watchdog indicator bit, preventing us from reporting in that case. X-MFC-with: r215868 END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-12-07T20:23:47.183390Z K 7 svn:log V 287 Introduces IFF_CANTCONFIG interface flag to point that the interface isn't configurable in a meaningful way. This is for ifconfig(8) or other tools not to change code whenever IFT_USB-like interfaces are registered at the interface list. Reviewed by: brooks No objections: gavin, jkim END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-12-07T20:31:04.467867Z K 7 svn:log V 81 Adds IFF_CANTCONFIG to IFF_CANTCHANGE that it shouldn't happen through ioctl(2). END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-07T20:46:11.762768Z K 7 svn:log V 187 Don't warn if a partition appears not to be aligned on a track boundary. Modern disks use LBA and create a fake CHS geometry that doesn't have any relation to the on-disk layout of data. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-12-07T21:39:36.654395Z K 7 svn:log V 17 Update to stable END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-07T22:00:48.883376Z K 7 svn:log V 412 MFC r216084: Don't panic when we read an empty ACL from ZFS. Apparently this may happen with filesystems created under MacOS X ZFS port. This is kind of filesystem corruption (we don't allow for setting empty ACLs), so make acl_get_file(3) and related syscalls fail with EINVAL in that case. In theory, we could return empty ACL to userland, but I'm afraid this would break some code. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T22:12:02.547972Z K 7 svn:log V 49 Probe P-state invariant TSC from rightful place. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-12-07T22:16:37.344444Z K 7 svn:log V 78 Merge in Xen DomU to a stable_7 branch. Note this is AMD64 only and HVM only END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T22:23:26.401235Z K 7 svn:log V 214 Now the P-state invariant TSC is probed early enough, do not register event handlers for CPU freqency changes when it is found P-state invariant. Adjust a comment about non-existent tsc_freq_max() while I am here. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T22:34:51.133647Z K 7 svn:log V 127 Do not register a event handler for CPU freqency changes when it is found P-state invariant. This is continuation of r216274. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T22:43:25.678341Z K 7 svn:log V 73 Remove stale comments about P-state invariant TSC and fix style(9) nits. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-07T22:43:29.316833Z K 7 svn:log V 165 Loosen the locking in nd6-free() again after r216022 to avoid a LOR and a recursed lock. Reported by: delphij Tested by: delphij PR: kern/148857 MFC After: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-07T23:14:00.581061Z K 7 svn:log V 203 Fix another .got references-in-linkonce-sections issue with C++. There are remaining issues here, and a more general solution is probably called for. Submitted by: Jakob van Santen END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-07T23:19:49.398829Z K 7 svn:log V 67 Use int for 'tsc_present' instead of u_int. It is just a boolean. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-07T23:33:20.768973Z K 7 svn:log V 159 Postpone the unmasking of event channels (aka. interrupts) until after the interrupt handlers have been registered. NULL isn't a very good interrupt handler. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-07T23:44:07.005148Z K 7 svn:log V 433 Try a more generic version of the last two fixes. Assuming this is correct, it should also be MI. The problem here arises when ld ends up linking a link-once section with relocations against sections that point back to it that are as yet unresolved. Instead of piecemeal finding sections we think are potentially subject to this issue, just defer processing for sections that have yet to be relocated instead of immediately bailing. END K 10 svn:author V 3 flo K 8 svn:date V 27 2010-12-07T23:56:51.779715Z K 7 svn:log V 84 Add myself to calendar.freebsd and committers-ports.dot Approved by: fjoe (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-08T00:09:24.162069Z K 7 svn:log V 98 Merge sys/amd64/amd64/tsc.c and sys/i386/i386/tsc.c and move to sys/x86/x86. Discussed with: avg END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-08T01:24:05.279700Z K 7 svn:log V 1920 r184610 changed the way how TX frames are handled on AX88178 and AX88772 controllers. ASIX added a new feature for AX88178/AX88772 controllers which allows combining multiple TX frames into a single big frame. This was to overcome one of USB limitation where it can't generate more than 8k interrupts/sec which in turn means USB ethernet controllers can not send more than 8k packets per second. Using ASIX's feature greatly enhanced TX performance(more than 3~4 times) compared to 7.x driver. However it seems r184610 removed boundary checking for buffered frames which in turn caused instability issues under certain conditions. In addition, using ASIX's feature triggered another issue which made USB controller hang under certain conditions. Restarting ethernet controller didn't help under this hang condition and unplugging and replugging the controller was the only solution. I believe there is a silicon bug in TX frame combining feature on AX88178/AX88772 controllers. To address these issues, reintroduce the boundary checking for both AX88178 and AX88772 after copying a frame to USB buffer and do not use ASIX's multiple frame combining feature. Instead, use USB controller's multi-frame transmit capability to enhance TX performance as suggested by Hans[1]. This should fix a long standing axe(4) instability issues reported on AX88772 and AX88178 controllers. While I'm here remove unnecessary TX frame length check since upper stack always guarantee the size of a frame to be less than MCLBYTES. Special thanks to Derrick Brashear who tried numerous patches during last 4 months and waited real fix with patience. Without this enthusiastic support, patience and H/W donation I couldn't fix it since I was not able to trigger the issue on my box. Suggested by: hselasky [1] Tested by: Derrick Brashear (shadow <> gmail dot com> H/W donated by: Derrick Brashear (shadow <> gmail dot com> PR: usb/140883 END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-08T01:35:19.251422Z K 7 svn:log V 57 Closing file descriptors when it's done Reviewed by: np END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T07:00:22.800081Z K 7 svn:log V 123 MFC r216065: Update the description of green_saver.ko Improvements to my suggested text from: jhb Approved by: re (kib) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T07:00:53.463010Z K 7 svn:log V 123 MFC r216065: Update the description of green_saver.ko Improvements to my suggested text from: jhb Approved by: re (kib) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-12-08T07:10:25.876529Z K 7 svn:log V 42 Fix a typo. Submitted by: Garrett Cooper END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T07:32:17.467274Z K 7 svn:log V 382 Move the getopts routine up to the point right after the --options processing. The -v option was already in use by --check-port-dbdir, and -t was in use by --clean-distfiles. Moving getopts up allows us to use the standard routine rather than duplicating code. More importantly, this will allow us to use getopts flags earlier in other places, and form the basis for some new work. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T08:01:27.317755Z K 7 svn:log V 174 Add a -y option to answer "Yes" to all dialogs that pose a yes/no question Begin implementation of this feature, and enhanced support for -n in the --check-depends feature. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-08T08:57:37.344482Z K 7 svn:log V 249 Do not print OpenSolaris hint to use (non-existing) installgrub(1) command if creating a mirror by attaching a new vdev to a root pool. Reported by: James R. Van Artsdalen (on freebsd-fs@freebsd.org) Approved by: delphij (mentor) MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-08T10:27:07.652253Z K 7 svn:log V 61 Close fd in initattr() and showattr(). Reviewed by: rwatson END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-08T13:51:25.038320Z K 7 svn:log V 210 Print message with information about updating the boot code if a new vdev is attached to a root pool (e.g. when creating a mirrored boot pool). Reviewed by: pav Approved by: delphij (mentor) MFC after: 3 days END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-08T13:51:38.675220Z K 7 svn:log V 255 In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@ END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-08T14:30:25.623938Z K 7 svn:log V 268 Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base system. Sponsored by: The FreeBSD Foundation (the SNMPv3 bits), Google Summer of Code 2005 Reviewed by: philip@ (mostly), bz@ (earlier version based on p4 ch124545) Approved by: philip@ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-12-08T15:10:27.227402Z K 7 svn:log V 129 Add RTM_IEEE80211 to array of route message descriptions. PR: 151664 Submitted by: Alexey Illarionov END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-12-08T15:12:37.225424Z K 7 svn:log V 160 - Fix array bounds checking. [1] - Add message length checking. PR: 151664 [1] Submitted by: Alexey Illarionov [1] Reviewed by: yar END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-12-08T15:32:54.636006Z K 7 svn:log V 230 Use convenience macro for minimum and maximum value capping when re-arming the watchdog timeout. Sponsored by: Sandvine Incorporated Submitted by: Mark Johnston Reviewed by: des MFC after: 10 days END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-08T15:52:06.314070Z K 7 svn:log V 146 Add a forgotten file from r216294 and unbreak the build. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@ END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-08T17:27:59.590006Z K 7 svn:log V 267 Add (disabled) sample configurations needed to enable the snmp_usm and snmp_vacm modules and minimal user/view configurations needed to for the modules to work properly. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@ END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-08T17:34:07.500870Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T19:33:18.965942Z K 7 svn:log V 33 Vendor import of BIND 9.4-ESV-R4 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T19:33:44.730188Z K 7 svn:log V 27 Tag the 9.4-ESV-R4 release END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-08T19:42:21.318128Z K 7 svn:log V 124 MFi386 r1.81, r1.82, r1.84: Reorganize code to reduce cache pressure and branch mispredictions. No objections from: scottl END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-08T19:48:29.720271Z K 7 svn:log V 136 MFC r216194 / MFamd64 r206610: Enforce stronger alignment semantics in order to unbreak the Xen blkfront driver. Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-08T19:52:04.810289Z K 7 svn:log V 239 MFi386 r1.94: If XEN, make pmap_kextract = pmap_kextract_ma. This is a no-op currently, since FreeBSD/amd64 doesn't have (paravirtualized) Xen support, but if/when that support is ever added we'll want this, and until then it's harmless. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-08T19:59:53.429675Z K 7 svn:log V 877 Update to version 9.6-ESV-R4, the latest from ISC, which addresses the following security vulnerabilities. For more information regarding these issues please see: http://www.isc.org/announcement/guidance-regarding-dec-1st-2010-security-advisories 1. Cache incorrectly allows ncache and rrsig for the same type http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3613 Affects resolver operators whose servers are open to potential attackers. Triggering the bug will cause the server to crash. This bug applies even if you do not have DNSSEC enabled. 2. Key algorithm rollover http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3614 Affects resolver operators who are validating with DNSSEC, and querying zones which are in a key rollover period. The bug will cause answers to incorrectly be marked as insecure. Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-08T20:20:10.815697Z K 7 svn:log V 293 On amd64, we have (since r1.72, in December 2005) MAX_BPAGES=8192, while on i386 we have MAX_BPAGES=512. Implement this difference via '#ifdef __i386__'. With this commit, the i386 and amd64 busdma_machdep.c files become identical; they will soon be replaced by a single file under sys/x86. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-12-08T20:35:20.565808Z K 7 svn:log V 148 Add IDs of HighPoint RocketRAID 62x cards (Marvell 88SE9128 chips). PR: kern/152926 Submitted by: Mike Tancsa MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-08T22:13:27.027935Z K 7 svn:log V 347 printf: Remove support for building as a csh builtin. The #define BUILTIN was for building as a csh (not tcsh) builtin. Given that csh was replaced by tcsh years ago there is no point in keeping this. The #define SHELL is for building as an sh builtin and is in active use. This commit does not change the /bin/sh and /usr/bin/printf binaries. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-08T22:54:18.704872Z K 7 svn:log V 52 printf: Test that the "--" option terminator works. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-08T23:40:41.669036Z K 7 svn:log V 144 Do not subtract 0.5% from estimated frequency if DELAY(9) is driven by TSC. Remove a confusing comment about converting to MHz as we never did. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-12-09T02:42:02.093878Z K 7 svn:log V 297 MFp4: It is possible a lower priority thread lending priority to higher priority thread, in old code, it is ignored, however the lending should always be recorded, add field td_lend_user_pri to fix the problem, if a thread does not have borrowed priority, its value is PRI_MAX. MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-12-09T05:16:20.453207Z K 7 svn:log V 134 MFp4: The unit number allocator reuses ID too fast, this may hide bugs in other code, add a ring buffer to delay freeing a thread ID. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-09T06:34:28.772409Z K 7 svn:log V 291 UMA_MD_SMALL_ALLOC for mips. Implement uma_small_alloc() and uma_small_free() for mips that allocates pages from direct mapped memory. Uses the same mechanism as the page table page allocator, so that we allocate from KSEG0 in 32 bit, and from XKPHYS on 64 bit. Reviewed by: alc, jmallett END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-09T06:41:50.164817Z K 7 svn:log V 130 Replace i386/i386/busdma_machdep.c and amd64/amd64/busdma_machdep.c (which are identical) with a single x86/x86/busdma_machdep.c. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-09T06:54:06.818055Z K 7 svn:log V 19 swi_vm() for mips. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-12-09T07:01:03.529231Z K 7 svn:log V 57 - Populate dump_avail with proper values from phys_avail END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-09T07:39:06.270744Z K 7 svn:log V 121 Revert the vm/vm_page.c change in r216317. This adds back changes in r216141, which was reverted by the above check in. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-12-09T07:47:40.866523Z K 7 svn:log V 103 - dump_avail layout should be sequence of [start, end) pairs, not . Spotted by: alc@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-09T08:36:23.123698Z K 7 svn:log V 47 Closing fd when it's done Reviewed by: sbruno END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-09T11:37:40.597798Z K 7 svn:log V 49 Build sade on amd64 as well as i386 and sparc64. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-09T12:25:45.392508Z K 7 svn:log V 67 Unbreak "make installworld" w/ DESTDIR specified PR : kern/152939 END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-09T12:30:13.317221Z K 7 svn:log V 259 Fix compilation when DEBUG option is enabled. - remove unused code in mips/rmi/xlr_pci.c - remove unused variable in mips/rmi/dev/nlge/if_nlge.c - fix reference to old function in mips/mips/pmap.c Reported by: Prabhath Raman (prabhath at netlogicmicro com) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-09T15:24:59.322906Z K 7 svn:log V 268 MFC r216243: Ignore any failures with the "local" distribution since it's not present on release CDs and so will normally fail. installCommit() returns a DITEM_ value, not a Boolean. distExtractAll() returns a Boolean, not a DITEM_ value. Approved by: re (kensmith) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-09T15:26:38.175152Z K 7 svn:log V 109 MFC r216229: Revert r209469: it causes the rest of the function to be bypassed. Approved by: re (kensmith) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-09T15:27:43.339358Z K 7 svn:log V 268 MFC r216243: Ignore any failures with the "local" distribution since it's not present on release CDs and so will normally fail. installCommit() returns a DITEM_ value, not a Boolean. distExtractAll() returns a Boolean, not a DITEM_ value. Approved by: re (kensmith) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-09T15:28:59.261975Z K 7 svn:log V 109 MFC r216229: Revert r209469: it causes the rest of the function to be bypassed. Approved by: re (kensmith) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-09T17:39:40.680116Z K 7 svn:log V 26 Fix a missing underscore. END