Ļd211535 218 1829 630 313 151 151 231 151 242 242 242 175 186 200 188 188 192 183 170 212 731 235 378 183 172 382 222 323 204 160 192 167 185 159 194 422 274 336 191 360 150 150 159 282 173 173 152 163 163 175 175 185 185 177 177 179 179 192 642 312 157 343 804 222 644 198 297 297 250 250 246 246 185 249 273 238 222 175 129 151 217 170 350 186 789 108 242 149 251 198 128 206 229 146 327 166 153 378 242 146 166 193 289 139 137 143 131 143 125 125 127 127 389 135 1314 113 139 154 154 154 165 165 165 165 165 165 165 165 167 183 123 145 117 195 181 193 186 177 129 115 112 138 174 165 212 148 212 119 132 975 359 205 105 117 182 151 509 171 200 114 113 172 132 110 110 154 154 272 309 130 118 303 958 191 212 162 186 138 118 183 165 127 948 335 116 334 334 164 154 1012 130 224 330 113 131 669 158 771 471 182 1125 160 170 216 319 148 129 157 164 134 161 160 186 383 365 200 137 175 184 K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-21T04:04:46.774774Z K 7 svn:log V 1733 Roto-rooter some old code in check_for_updates() and check_restart_and_udf(): 1. Add a new function, check_force_multi() which is called from check_for from several places now. It checks whether or not -f is in use, and if not whether the port in question is part of multiport(). 2. Cut some of the stale code in check_for: a. Since the only time check_for is called in a list context is when using -L, rely on that instead of its own variable. b. There is no need to specify the udf file on its own anymore, so eliminate that here (and everywhere else). c. It is not necessary to check URB* related stuff in check_for, all of the callers handle this already. 3. check_pkg_version() does not need to be its own function anymore, so bring that code back in line. 4. Call the new check_force_multi() from all the places that need it. This is new to the --index case (a bug fix), and modified/streamlined when the ports directory is being checked whether $iport and $port_ver are the same or not. 5. If there is no $origin directory but +IGNOREME exists make the result consistent with the MOVED case by adding some white space after the warning message and adding the port to CUR_DEPS so it won't warn again. 6. At the end when no update is available don't create CUR_DEPS if -L 7. In check_restart_and_udf() make the code consistent with other functions that check flags, and just derive the udf file from $iport. 8. In update_port() print more relevant messages on what is going to be done based on whether we are doing an update, or (re-)install. 9. In dependency_check() pass the arg to already_done (really old bug). 10. Correct some spurious whitespace in the code. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-21T08:49:53.611714Z K 7 svn:log V 537 MFC r210679: Report the time left for the sleep on SIGINFO. Be stricter in the checking of interval specification. MFC r210696: Deal with proper format for printing time_t. MFC r210749: Simplify argument parser by using sscanf(); simplify usage() by not refusing to use stdio. Reduce nesting level in the sleep loop by returning earlier for negative timeouts. Limit the maximum timeout to INT_MAX seconds. MFC r210750: Document the new argument parser for sleep(1) and SIGINFO behaviour. Remove higlight for the unportability notice. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T10:31:26.300322Z K 7 svn:log V 217 Revert part of r211505. Some of the removed casts are actually safe so put them back in again. Also, clang only complained about the lvalue cast. Submitted by: Dimitry Andric Pointed out: bde END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T10:38:50.697199Z K 7 svn:log V 57 MFC r211315: Disable TCP inflight limiter by default. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T10:39:51.255108Z K 7 svn:log V 57 MFC r211315: Disable TCP inflight limiter by default. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T10:40:12.799968Z K 7 svn:log V 135 Install a PIC libelf. This will be needed by the DTrace runtime instrumentation object (dtri.o). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T10:40:44.114597Z K 7 svn:log V 57 MFC r211315: Disable TCP inflight limiter by default. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T11:01:40.208591Z K 7 svn:log V 147 MFC r211316: Change the messages of the ICMP bad port bandwidth limiter from a kernel printf to a log output with the priority of LOG_NOTICE. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T11:02:18.618620Z K 7 svn:log V 147 MFC r211316: Change the messages of the ICMP bad port bandwidth limiter from a kernel printf to a log output with the priority of LOG_NOTICE. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T11:02:54.348251Z K 7 svn:log V 147 MFC r211316: Change the messages of the ICMP bad port bandwidth limiter from a kernel printf to a log output with the priority of LOG_NOTICE. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:04:38.468288Z K 7 svn:log V 80 Port most of the DTrace tests to FreeBSD. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-08-21T11:06:21.316291Z K 7 svn:log V 89 Wrap remaining ieee80211_ratectl_node_init() calls missed in r211314. MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:09:03.149764Z K 7 svn:log V 104 The DTrace instrumentation object is going to be i386/amd64 only. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T11:10:58.636718Z K 7 svn:log V 94 MFC r211317: Reset the internal tso flag in tcp_output() on every iteration of sendalot. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-21T11:11:32.941783Z K 7 svn:log V 94 MFC r211317: Reset the internal tso flag in tcp_output() on every iteration of sendalot. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:14:50.261214Z K 7 svn:log V 97 Use double quotes when checking the value of MACHINE_ARCH. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:32:54.499277Z K 7 svn:log V 88 Import dtruss from Brendan Gregg's DTraceToolkit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:33:49.977269Z K 7 svn:log V 75 Tag the latest DTraceToolkit import. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:41:32.083584Z K 7 svn:log V 116 Add sysname to struct opensolaris_utsname. This is needed by one DTrace test. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:50:53.559753Z K 7 svn:log V 635 Add libdtrace support for tracing userland programs. Summary of changes: * Implement a compatibility shim between Solaris libproc and our libproc and remove several ifdefs because of this. * Port the drti to FreeBSD. * Implement the missing DOODAD sections * Link with libproc and librtld_db * Support for ustack, jstack and uregs (by sson@) * Misc bugfixing When writing the SUWN_dof section, we had to resort to building the ELF file layout by "hand". This is the job of libelf, but our libelf doesn't support this yet. When libelf is fixed, we can remove the code under #ifdef BROKEN_LIBELF. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T11:58:08.338786Z K 7 svn:log V 139 Port the DTrace helper ioctls to FreeBSD and add a helper member to dof_helper_t (needed by drti.o). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T12:55:39.670400Z K 7 svn:log V 282 Revert the import because the vendor/dtracetoolkit directory was created at the same time as the import. This makes the svn merge in head unable to understand what I was trying to accomplish and doesn't allow me to merge dtracetoolkit to head. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T13:15:56.535995Z K 7 svn:log V 88 Import dtruss from Brendan Gregg's DTraceToolkit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T13:21:05.245048Z K 7 svn:log V 77 Add a directory for the DTraceToolkit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-21T13:23:54.479031Z K 7 svn:log V 285 - Introduce the client_pinfo() KPI in order to print informations in the infofile. - Adjust/Modify comments about error handling in the specific functions. TODO: Better handle the free_client() callings, specify a correct semantic, auditing the callers and verify nothing breaks. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T13:42:12.053484Z K 7 svn:log V 126 Add libelf to the prebuild libs. This is needed for the DTrace instrumentation object. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T13:48:04.933173Z K 7 svn:log V 227 Link drti.o with a PIC version of libelf. This is needed because drti.o depends on libelf and this avoids linking every other drti.o program (namely programs with USDT probes) with libelf. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T13:54:33.866769Z K 7 svn:log V 108 Port plockstat to FreeBSD. This will be connected to the build later. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T13:56:29.271314Z K 7 svn:log V 65 Add a Makefile for dtruss. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T14:02:04.747679Z K 7 svn:log V 97 Use double quotes when checking the value of MACHINE_ARCH. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T14:08:04.078998Z K 7 svn:log V 72 Add the definition of LIBELF_PIC. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T14:09:24.193554Z K 7 svn:log V 90 Add a sysname char * to struct opensolaris_utsname. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T14:14:24.428102Z K 7 svn:log V 64 Update for the new tests. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-08-21T14:28:48.243259Z K 7 svn:log V 99 Skip a KASSERT which isn't appropriate when not employing page coloring. Reported by: Michael Moll END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-21T14:50:16.771784Z K 7 svn:log V 325 handle_packet() and handle_timeout() can free the client. In order to cope with it, rather than switching the iterator by hand, just use SLIST_FOREACH_SAFE() where there is the necessity to do that. Successively, when a further style cleanup happens, the comments on the top of 'freeing' functions must be put, tagging them. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T14:59:37.076735Z K 7 svn:log V 178 We need to pull bsd.own.mk before modifying the CC variable. Otherwise it will be overwritten when we include bsd.lib.mk. Pointed out by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T15:01:59.076626Z K 7 svn:log V 240 Make sure the boot2 stage is compiled with gcc, as clang has no problems compiling it, but it just gets too big at the moment, even with -Os. This is not applicable to gptboot, though. Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T15:39:06.206868Z K 7 svn:log V 96 Add clang to the cross-tools build stage. Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T15:46:33.969440Z K 7 svn:log V 264 Modify clang so that when TOOLS_PREFIX is defined we register the CLANG_PREFIX macro. This changes the default header search path when we are building clang as part of cross-tools. Submitted by: Dimitry Andric Reviewed by: freebsd-current END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T16:40:04.395379Z K 7 svn:log V 58 MFC r210454: ichwd: correct range check for timeout value END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T16:47:41.833730Z K 7 svn:log V 58 MFC r210454: ichwd: correct range check for timeout value END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-21T17:15:37.454877Z K 7 svn:log V 63 Replace the use of the old gethostbyname() with getnameinfo(). END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T17:29:59.609905Z K 7 svn:log V 186 Don't link drti.o with libelf_pic.a. This means that all software with userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T17:48:29.280055Z K 7 svn:log V 81 MFC r210422: cpufreq: allocate long-lived buffer for handling of sysctl requests END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T17:52:33.068682Z K 7 svn:log V 81 MFC r210422: cpufreq: allocate long-lived buffer for handling of sysctl requests END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-21T17:53:16.009298Z K 7 svn:log V 57 Remove LIBELF_PIC. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:20:56.002868Z K 7 svn:log V 71 MFC r210427: zfs arc_memory_throttle: available memory is free + cache END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:26:55.480605Z K 7 svn:log V 71 MFC r210427: zfs arc_memory_throttle: available memory is free + cache END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:38:56.565128Z K 7 svn:log V 83 MFC r210245: binutils/ld: fix incorrect placement of __start_SECNAME in some cases END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:40:42.883478Z K 7 svn:log V 83 MFC r210245: binutils/ld: fix incorrect placement of __start_SECNAME in some cases END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:48:24.090048Z K 7 svn:log V 93 MFC r210423: completely ignore zero-sized elf sections in modules of elf object type (amd64) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:51:25.262207Z K 7 svn:log V 93 MFC r210423: completely ignore zero-sized elf sections in modules of elf object type (amd64) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:54:13.299136Z K 7 svn:log V 85 MFC r210424: kgdb: correctly map sections to addresses in elf object modules (amd64) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T18:55:28.854957Z K 7 svn:log V 85 MFC r210424: kgdb: correctly map sections to addresses in elf object modules (amd64) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T19:02:49.050748Z K 7 svn:log V 87 MFC r210425: dtrace: correctly map sections to addresses in elf object modules (amd64) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-21T19:09:34.163942Z K 7 svn:log V 87 MFC r210425: dtrace: correctly map sections to addresses in elf object modules (amd64) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-21T19:31:58.329172Z K 7 svn:log V 92 MFC r209963: Add a missing architecture declaration to the machine specification for sun4v. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-21T20:48:09.303671Z K 7 svn:log V 546 MFC r211155: sh: Fix heap-based buffer overflow in pathname generation. The buffer for generated pathnames could be too small in some cases. It happened to be always at least PATH_MAX long, so there was never an overflow if the resulting pathnames would be usable. This bug may be abused if a script subjects input from an untrusted source to pathname generation, which a bad idea anyhow. Most shell scripts do not work on untrusted data. secteam@ says no advisory is necessary. PR: bin/148733 Reported by: Changming Sun snnn119 at gmail com END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-21T22:23:22.020207Z K 7 svn:log V 211 MFC r209812: Replace the existing PowerPC busdma implementation with the one from amd64 (with slight modifications). This provides support for bounce buffers, which are required on systems with RAM above 4 GB. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-21T23:13:16.468485Z K 7 svn:log V 61 Load tunable from loader.conf(5) instead of device.hints(5). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-22T00:04:24.717938Z K 7 svn:log V 242 MFC r209950: Unify ABI-related bits of the Book-E and AIM machdep routines (exec_setregs, etc.) in order to simplify the addition of 64-bit support, and possible future extension of the Book-E code to handle hard floating point and Altivec. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-22T01:39:09.354150Z K 7 svn:log V 707 It seems all Broadcom controllers have a bug that can generate UDP datagrams with checksum value 0 when TX UDP checksum offloading is enabled. Generating UDP checksum value 0 is RFC 768 violation. Even though the probability of generating such UDP datagrams is low, I don't want to see FreeBSD boxes to inject such datagrams into network so disable UDP checksum offloading by default. Users still override this behavior by setting a sysctl variable or loader tunable, dev.bge.%d.forced_udpcsum. I have no idea why this issue was not reported so far given that bge(4) is one of the most commonly used controller on high-end server class systems. Thanks to andre@ who passed the PR to me. PR: kern/104826 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-22T01:40:59.707052Z K 7 svn:log V 125 Document newly introduced tunable dev.bge.%d.forced_udpcsum. While I'm here also mention tunable dev.bge.%d.forced_collapse. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-22T05:36:06.898464Z K 7 svn:log V 552 Add support for whiteouts on tmpfs. Right now unionfs only allows filesystems to be mounted on top of another if it supports whiteouts. Even though I have sent a patch to daichi@ to let unionfs work without it, we'd better also add support for whiteouts to tmpfs. This patch implements .vop_whiteout and makes necessary changes to lookup() and readdir() to take them into account. We must also make sure that when adding or removing a file, we honour the componentname's DOWHITEOUT and ISWHITEOUT, to prevent duplicate filenames. MFC after: 1 month END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-22T08:18:32.270129Z K 7 svn:log V 105 Fix a mismerge in r211581, MFC of r210427 This is a direct commit. Reported by: many Pointyhat to: avg END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-22T08:47:00.070377Z K 7 svn:log V 202 MFC r211327: Add more logging points for failures in syncache_socket() to report when a new socket couldn't be created because one of in_pcbinshash(), in6_pcbconnect() or in_pcbconnect() failed. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-22T08:47:51.418047Z K 7 svn:log V 202 MFC r211327: Add more logging points for failures in syncache_socket() to report when a new socket couldn't be created because one of in_pcbinshash(), in6_pcbconnect() or in_pcbconnect() failed. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-22T09:01:58.505901Z K 7 svn:log V 155 MFC r211333: Fix the interaction between 'ICMP fragmentation needed' MTU updates, path MTU discovery and the tcp_minmss limiter for very small MTU's. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-08-22T09:02:38.271704Z K 7 svn:log V 155 MFC r211333: Fix the interaction between 'ICMP fragmentation needed' MTU updates, path MTU discovery and the tcp_minmss limiter for very small MTU's. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-22T09:05:08.357372Z K 7 svn:log V 151 Merge r211066 from head: Add a termcap entry for rxvt-256color. PR: conf/147726 Submitted by: Sterling (Chip) Camden END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-22T09:06:55.275057Z K 7 svn:log V 151 Merge r211066 from head: Add a termcap entry for rxvt-256color. PR: conf/147726 Submitted by: Sterling (Chip) Camden END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T10:13:56.928672Z K 7 svn:log V 90 Add the FreeBSD definition for the fasttrap ioctls. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T10:40:15.080501Z K 7 svn:log V 153 Add a function compatibility function dtrace_instr_size_isa() that on FreeBSD does the same as dtrace_dis_isize(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T10:53:32.264177Z K 7 svn:log V 177 Kernel DTrace support for: o uregs (sson@) o ustack (sson@) o /dev/dtrace/helper device (needed for USDT probes) The work done by me was: Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-22T11:04:30.015736Z K 7 svn:log V 142 sh: Add a test for breaking from a loop outside the current function. It is unwise to rely on this but I'd like to know if this would break. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:04:43.579368Z K 7 svn:log V 126 Add more compatibility structure members needed by the upcoming fasttrap DTrace device. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:05:37.742993Z K 7 svn:log V 80 Destroy the helper device when unloading. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-22T11:07:46.753817Z K 7 svn:log V 34 Fix keyword expansion properties. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:08:18.720493Z K 7 svn:log V 56 Fix style issues. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:09:53.995766Z K 7 svn:log V 121 Bump KDTRACE_THREAD_ZERO and use M_ZERO as a malloc flag instead of calling bzero. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:12:07.122145Z K 7 svn:log V 75 Remove an elif and add an or-clause. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:18:57.751410Z K 7 svn:log V 254 Add an extra comment to the SDT probes definition. This allows us to get use '-' in probe names, matching the probe names in Solaris.[1] Add userland SDT probes definitions to sys/sdt.h. Sponsored by: The FreeBSD Foundation Discussed with: rwaston [1] END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:30:49.103087Z K 7 svn:log V 91 Call the systrace_probe_func() when the error value. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-22T11:41:06.861779Z K 7 svn:log V 693 Port this to FreeBSD. We miss some suword functions, so we use copyout. Sponsored by: The FreeBSD Foundation > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M sys/fasttrap_impl.h END K 10 svn:author V 3 des K 8 svn:date V 27 2010-08-22T11:48:32.893757Z K 7 svn:log V 16 UTFize my name. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-22T12:03:31.205116Z K 7 svn:log V 147 Merge r211026 from head: Add a keymap for the Swiss-German Macbook keyboard. PR: conf/139997 Submitted by: Andreas Tobler END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-22T13:04:00.114896Z K 7 svn:log V 54 sh(1): Add a brief summary of arithmetic expressions. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-22T13:09:12.285568Z K 7 svn:log V 155 sh: Test that all bytes from 128 to 255 can be used in IFS. To avoid multibyte issues, this test forces ISO8859-1 charset. This also passes on stable/8. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-08-22T13:27:33.709663Z K 7 svn:log V 105 Fix a mismerge in r211581, MFC of r210427 This is a direct commit. Reported by: many Pointyhat to: avg END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-22T14:54:59.966589Z K 7 svn:log V 36 MFC r211339: Add missed dependency. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-22T16:03:33.023017Z K 7 svn:log V 110 Add some glue to shim ath direct into a SoC setup. This doesn't include the stuff needed for eeprom support. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-22T16:04:20.950488Z K 7 svn:log V 133 Bring over the ar9100 inivals from Linux. Tidy them up to resemble the formatting used in the FreeBSD ath hal. Obtained from: Linux END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-22T16:06:07.425356Z K 7 svn:log V 51 Commit the AR9100 device id. Obtained from: Linux END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-08-22T16:08:12.110138Z K 7 svn:log V 235 Introduce and use devfs_populate_vp() to unlock a vnode before calling devfs_populate(). This is a prerequisite for the automatic removal of empty directories which will be committed in the future. Reviewed by: kib (previous version) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-22T16:12:44.916437Z K 7 svn:log V 71 Add the mac revision id AR9100 SoC wireless MAC. Obtained from: Linux END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-08-22T16:13:51.612322Z K 7 svn:log V 58 Revert the incorrectly committed part to the last commit. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T16:22:44.004103Z K 7 svn:log V 281 - Fix the arguments passing to the process by using the getopt interface - Always close the process via the exit(3) interface - Fix some points where the exit(3) was invoked without a prior cleanup of pidfile - Add a couple of comments explaining how the error handling happpens END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-08-22T16:32:59.944537Z K 7 svn:log V 147 Merge r211026 from head: Add a keymap for the Swiss-German Macbook keyboard. PR: conf/139997 Submitted by: Andreas Tobler END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-08-22T16:42:46.590354Z K 7 svn:log V 55 Add missing mlink for insmntque1(). MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T16:53:28.897583Z K 7 svn:log V 70 Style cleanup for macros, structures and static variable declaration. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-22T19:06:20.944925Z K 7 svn:log V 93 Fix one instance where a non-hypervisor page table routine was being called unconditionally. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-22T19:09:18.289349Z K 7 svn:log V 188 Get interrupts functioning, along with a few other minor things. The kernel now can transmit and receive network traffic, mounts root, and gets several thousand packets in before hanging. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T19:57:41.725321Z K 7 svn:log V 43 Fix style fot the alloc_client() function. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T20:04:48.269305Z K 7 svn:log V 41 More style cleanups for other functions. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-22T20:17:28.798530Z K 7 svn:log V 46 MFC: r211355 Fixed a typo and added a comma. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T20:21:10.392792Z K 7 svn:log V 35 More functions converted to style. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-22T20:22:56.427680Z K 7 svn:log V 46 MFC: r148681 Fixed a typo and added a comma. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-22T20:24:24.754992Z K 7 svn:log V 28 MFC: r148701 Fixed a typo. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-08-22T20:25:03.503137Z K 7 svn:log V 28 MFC: r148701 Fixed a typo. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T20:30:18.457531Z K 7 svn:log V 31 More functions style cleanups. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T21:06:18.831546Z K 7 svn:log V 31 Style-cleanup for eventloop(). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-22T21:18:21.292079Z K 7 svn:log V 293 sh: Remove remnants of '!!' to negate pattern. This Almquist extension was disabled long ago. In pathname generation, components starting with '!!' were treated as containing wildcards, causing unnecessary readdir (which could fail, causing pathname generation to fail while it should not). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T21:25:21.721724Z K 7 svn:log V 39 Style-cleanup for the main() function. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-22T21:26:35.895546Z K 7 svn:log V 1216 It seems some newer RTL8139 controllers provides only memory space register mapping. I'm not sure whether it comes from the fact that controllers live behind certain PCI brdge(PLX PCI 6152 33BC) and the bridge has some issues in handling I/O space register mapping. Unfortunately it's not possible to narrow down to an exact controller that shows this issue because RealTek used the same PCI device/revision id again. In theory, it's possible to check parent PCI bridge device and change rl(4) to use memory space register mapping if the parent PCI bridge is PLX PCI 6152. But I didn't try to do that and we wouldn't get much benefit with added complexity. Blindly switching to use memory space register mapping for rl(4) may make most old controllers not to work. At least, I don't want to take potential risk from such change. So use I/O space register mapping by default but give users chance to override it via a tunable. The tunable to use memory space register mapping would be given by adding the following line to /boot/loader.conf file. dev.rl.%d.prefer_iomap="0" This change makes P811B quad-port work with this tunable. Tested by: Nikola Kalpazanov ( n.kalpazanov <> gmail dot com ) MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-22T21:27:15.046716Z K 7 svn:log V 17 Fix for WARNS=6. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-22T21:32:48.089781Z K 7 svn:log V 43 Document tunable dev.rl.%unit.prefer_iomap END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:42:30.475648Z K 7 svn:log V 62 Merge to head @211636 -- with hand tweaks hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:44:05.469845Z K 7 svn:log V 62 Merge to head @211636 -- with hand tweaks hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:44:51.854811Z K 7 svn:log V 62 Merge to head @211636 -- with hand tweaks hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:47:19.206471Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:47:34.701175Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:52:38.993447Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:53:24.667882Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:53:54.947602Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:54:08.405960Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:54:40.337383Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:55:12.510970Z K 7 svn:log V 73 Merge to head @211636 -- with hand tweaks [given up] hoping for the best END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T21:59:55.203817Z K 7 svn:log V 75 Merge gone wrong, trying to commit what I can before wiping and doing over END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T22:32:39.605399Z K 7 svn:log V 91 wring out that last little bit of merge lovin' goodness from my old F'd up tree, I hope... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T22:36:33.805712Z K 7 svn:log V 31 Merge this last bit by hand... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T23:20:58.925639Z K 7 svn:log V 53 Record proper(?) merge info for this tree for /head* END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-22T23:31:16.979818Z K 7 svn:log V 25 merge @211665 (by hand!) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-23T00:10:43.383288Z K 7 svn:log V 99 Better wording and fix wrong explanation. Submitted by: Ben Kaduk ( minimarmot <> gmail dot com ) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-23T00:11:37.573940Z K 7 svn:log V 81 Remove some unnecessary indirection that breaks when ofwfb is not in the kernel. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-23T00:15:50.328013Z K 7 svn:log V 93 Unswap the red and blue channels. sysinstall looks awfully funny with red and blue inverted. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-23T00:24:12.026961Z K 7 svn:log V 90 Clean up SIOCSIFCAP handler and allow RX checksum offloading could be controlled by user. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-23T00:31:55.721068Z K 7 svn:log V 81 Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-23T00:52:52.489440Z K 7 svn:log V 29 Make glc(4) a little faster. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:07:07.765959Z K 7 svn:log V 23 Minor tweak from tbemd END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:29:22.112695Z K 7 svn:log V 20 Don't need this one END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:33:27.774065Z K 7 svn:log V 46 MF tbemd: differentiate between arm and armeb END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:37:55.769995Z K 7 svn:log V 82 It turns out that the OUTPUT_FORMAT should do the right thing for both endians... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:42:09.245305Z K 7 svn:log V 73 MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:43:47.029489Z K 7 svn:log V 119 MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:48:07.037666Z K 7 svn:log V 56 MF tbemd: move to using specific architecture makefiles END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T01:50:34.712909Z K 7 svn:log V 119 MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T02:04:27.407544Z K 7 svn:log V 23 Fix style for headers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T02:37:58.735945Z K 7 svn:log V 40 Merge head @211680 to loop back changes END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-23T05:33:20.761461Z K 7 svn:log V 880 The --clean-packages and --clean-packages-all features were added just a little too hastily, so overhaul them. 1. Don't do the test for whether or not the package is installed until we are sure both that it's up to date, and that we're not using -all. This makes the whole thing a little slower, but is more friendly to the "master build server" idea, and doesn't prompt unecessarily. Now more useful information is printed to help the user decide if the package can safely be deleted in the !-all case. 2. Try to display information for out of date versions more intelligently 3. Use a little more white space in the output to make it easier to parse For both --clean-packages-all and --clean-distfiles-all use a simpler method of handling the -all version. Inappropriate prompting for --clean-packages-all was raised in: PR: ports/149787 Submitted by: mandree END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-23T05:33:31.535405Z K 7 svn:log V 264 uio_resid isn't updated by VOP_READDIR for nfs filesystems. Use the uio_offset adjustment instead to calculate a correct *len. Without this change, we run off the end of the directory data we're reading and panic horribly for nfs filesystems. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T05:50:04.611043Z K 7 svn:log V 112 nyan@-san asked me to put this back in... If I remove it again it will be because config adds it automatically END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T05:53:21.369571Z K 7 svn:log V 13 Fix mismerge END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T05:59:19.682331Z K 7 svn:log V 25 Revert accidental commit END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:00:21.253181Z K 7 svn:log V 90 style(9) is ambiguous on this. I must have hacked and commited, but reduce diffs to head END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:06:55.110459Z K 7 svn:log V 59 Vastly simplify the rats-nest of ifs for the atomic ops... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:13:29.235559Z K 7 svn:log V 416 MFtbemd: Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:15:08.646407Z K 7 svn:log V 79 These were removed from the main line, but mismerged into this branch somehow. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:16:35.347148Z K 7 svn:log V 107 name2oid always sets len, but gcc can't grok that... but revert this to maintain small diffs against head. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:17:26.225733Z K 7 svn:log V 22 reduce diffs to head. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:19:57.682511Z K 7 svn:log V 21 Reduce diffs to head END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:22:35.208332Z K 7 svn:log V 80 This should really be MACHINE not MACHINE_ARCH, and is this Makefile even used? END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:31:58.016212Z K 7 svn:log V 40 Actually MACHINE here is the better fit END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:33:23.478895Z K 7 svn:log V 18 not really needed END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T06:40:21.685017Z K 7 svn:log V 18 Merge head@211697 END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-23T09:52:04.628042Z K 7 svn:log V 60 MFC r210407: Add a -S switch to override syslogd's pidfile. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-23T09:54:32.007462Z K 7 svn:log V 60 MFC r210407: Add a -S switch to override syslogd's pidfile. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2010-08-23T10:04:26.431152Z K 7 svn:log V 177 - Change default grep back to GNU version. BSD grep can be built with the WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-23T11:58:45.240627Z K 7 svn:log V 216 MFC r205078,208483,211401-211402,211404: mdoc cleanup - Fix typo in macro name and macro usage. - Consistently spell our email addresses - Wordsmithing of bsnmpd.1; bump .Dd - Fix two minor typos. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-23T13:47:20.034198Z K 7 svn:log V 38 Move mergeinfo for sys/cam up to sys. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-23T15:18:35.594814Z K 7 svn:log V 26 Style. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-23T15:27:03.633682Z K 7 svn:log V 210 Introduce implementation-private rtld interface _rtld_addr_phdr, which fills struct dl_phdr_info for the shared object that contains the specified address, if any. Idea and reviewed by: kan MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-23T15:38:02.436634Z K 7 svn:log V 865 On shared object unload, in __cxa_finalize, call and clear all installed atexit and __cxa_atexit handlers that are either installed by unloaded dso, or points to the functions provided by the dso. Use _rtld_addr_phdr to locate segment information from the address of private variable belonging to the dso, supplied by crtstuff.c. Provide utility function __elf_phdr_match_addr to do the match of address against dso executable segment. Call back into libthr from __cxa_finalize using weak __pthread_cxa_finalize symbol to remove any atfork handler which function points into unloaded object. The rtld needs private __pthread_cxa_finalize symbol to not require resolution of the weak undefined symbol at initialization time. This cannot work, since rtld is relocated before sym_zero is set up. Idea by: kan Reviewed by: kan (previous version) MFC after: 3 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-23T16:47:29.738801Z K 7 svn:log V 91 Add powerpc64 to the list of architectures with real atomic operations. Submitted by: imp END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T17:03:06.583284Z K 7 svn:log V 115 Add a -D flag that runs the tool in 'debugging mode', avoiding daemonization and having output on console instead. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T17:08:18.210204Z K 7 svn:log V 66 Use stderr for reporting errors and stdout for the normal output. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T17:22:11.906160Z K 7 svn:log V 90 - Fix a compilation problem - There is no need to wrap up syslog(), thus just it plainly. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T17:22:45.907439Z K 7 svn:log V 42 Rename netdump_server.c into netdumpsrv.c END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T17:27:29.631602Z K 7 svn:log V 22 Update che copyright. END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-08-23T17:48:50.287642Z K 7 svn:log V 90 MFC r210783 as requested by Helge Oldach on freebsd-bluetooth@ Fix typo PR: kern/140590 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T18:11:10.238523Z K 7 svn:log V 69 Add a manpage for the netdumpsrv utility. Text submitted by: emaste END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T18:21:40.851608Z K 7 svn:log V 31 Make the manpage an 8 subtype. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-23T18:51:31.279740Z K 7 svn:log V 851 Move xl_reset() to xl_init_locked(). This will make driver initialize controller from a known good state. Previously driver used to issue controller reset while TX/RX DMA are in progress. I guess resetting controller in active TX/RX DMA cycle is to ensure stopping I/Os in xl_shutdown(). I remember some buggy controllers didn't respond with stop command if controller is under high network load at the time of shutdown so resetting controller was the only safe way to stop the I/Os. However, from my experiments, controller always responded with stop command under high network load so I think it's okay to remove the xl_reset() in device_shutdown handler. Resetting controller also will clear configured RX filter which in turn will make WOL support hard because driver have to reprogram RX filter in WOL handler as well as setting station address. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-23T19:18:50.750813Z K 7 svn:log V 238 Implement basic WOL support. Note, not all xl(4) controllers support WOL. Some controllers require additional 3-wire auxiliary remote wakeup connector to draw power. More recent xl(4) controllers may not need the wakeup connector though. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-23T20:19:17.313574Z K 7 svn:log V 20 Add the FBSDID tag. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-23T20:53:01.764297Z K 7 svn:log V 241 MFC 210936,210946: Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-08-23T20:53:24.198583Z K 7 svn:log V 241 MFC 210936,210946: Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-08-23T21:40:03.603779Z K 7 svn:log V 68 Fix a possible unaligned access to savebyte array. PR: kern/122195 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-08-23T22:04:30.193472Z K 7 svn:log V 59 Use real atomic operations for sparc64. MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-08-23T22:09:25.938812Z K 7 svn:log V 917 MFC of r205821 r205827 r205828 r205862 r205872 r205937 r206568 MFC of r208825 r208826 r208827 r208828 r208829 r208943 r205821: Long awaited update to the calendar system: - Repeating events which span multiple years (because of -A, -B or just the three days before the end of the year). - Support for lunar events (full moon, new moon) and solar events (equinox and solstice, chinese new year). Because of this, the options -U (UTC offset) and -l (longitude) are available to compensate if reality doesn't match the calculated values. r205828: Use local names for calendar.dutch r205862: Fix DST thingies in calendar.australia r205872: Make licenses 3 clause instead of 4 clause r205937: Make the dates in the Tasmanian part of calendar.australia properly variable. r206568: Typo in Allerheiligen in calendar.dutch r208825, r208826, r208827, r208828, r208829, r208943: Coverity Prevent related fixes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-08-23T22:21:37.397756Z K 7 svn:log V 36 Merge with head to revision r211721 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-23T22:24:11.279493Z K 7 svn:log V 131 MFtbemd: Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-23T22:41:49.153924Z K 7 svn:log V 229 Fix propagation of ref/changed bits out of the page table. Thanks to Geoff Levand of SCE for explaining how lv1_read_htab_entries() works. Unfortunately, this does not fix some userspace programs from crashing after a fork()... END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-23T22:58:13.247282Z K 7 svn:log V 13 MFC @ 211726 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-24T00:17:05.774091Z K 7 svn:log V 39 merge head@211727 to loop back changes END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T00:23:40.414016Z K 7 svn:log V 573 Mark the following static variables as __used__ instead of __unused__: o force_to_data o __CTOR_LIST__ o __do_global_dtors_aux_fini_array_entry o __frame_dummy_init_array_entry This is necessary because Clang is smart enough to optimize out these variables was they were marked as __unused__ (and they are also static). The end result was programs segfaulting because these symbols weren't present. This follows the upstream revision 159228 and the author of that revision (Jan Hubicka ) allowed us to backport this to our GPLv2 GCC. Discussed with: core END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-24T06:11:46.022412Z K 7 svn:log V 66 Indent things consistently PR: 149926 Submitted by: John Hixson END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-24T06:30:46.148106Z K 7 svn:log V 678 Create a checklist and call one of the *printw() functions from the selected() callback. When the dialog first appears, you will not see the printed statement on the dialog, if you move down one, you will, move up again and it now appears. I am assuming that you call a *printw() function on a line in the dialog box of course. The fix, from the pr: This is a hack at best, I looked at the redraw code in dialog_checklist() and took the minimal amount of it out to do a simple "refresh" right after the items are drawn. This doesn't hurt anything and makes the library work like it should. There is probably a better way however =). PR: 148609 Submitted by: John Hixson END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-24T07:22:24.273475Z K 7 svn:log V 374 - According to specification, SI_USER code should only be generated by standard kill(). On other systems, SI_LWP is generated by lwp_kill(). This will allow conforming applications to differentiate between signals generated by standard events and those generated by other implementation events in a manner compatible with existing practice. - Bump __FreeBSD_version END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-24T07:29:55.089424Z K 7 svn:log V 86 Optimize thr_suspend, if timeout is zero, don't call msleep, just return immediately. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-08-24T07:59:39.709854Z K 7 svn:log V 1029 For some reason, the new files which got merged from the head branch didn't get automatically added to the repository. MFC of r205821 r205827 r205828 r205862 r205872 r205937 r206568 MFC of r208825 r208826 r208827 r208828 r208829 r208943 r205821: Long awaited update to the calendar system: - Repeating events which span multiple years (because of -A, -B or just the three days before the end of the year). - Support for lunar events (full moon, new moon) and solar events (equinox and solstice, chinese new year). Because of this, the options -U (UTC offset) and -l (longitude) are available to compensate if reality doesn't match the calculated values. r205828: Use local names for calendar.dutch r205862: Fix DST thingies in calendar.australia r205872: Make licenses 3 clause instead of 4 clause r205937: Make the dates in the Tasmanian part of calendar.australia properly variable. r206568: Typo in Allerheiligen in calendar.dutch r208825, r208826, r208827, r208828, r208829, r208943: Coverity Prevent related fixes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-24T08:09:30.328520Z K 7 svn:log V 64 Bump __FreeBSD_version for revision 211732. Noticed by: thompa END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-08-24T08:11:11.806294Z K 7 svn:log V 75 Branch HEAD to add support for the ARM EABI abi Approved by: imp (mentor) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-24T09:57:06.677320Z K 7 svn:log V 119 Add wrapper for setcontext() and swapcontext(), the wrappers unblock SIGCANCEL which is needed by thread cancellation. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T11:11:58.662947Z K 7 svn:log V 223 Port the fasttrap provider to FreeBSD. This provider is responsible for injecting debugging probes in the userland programs and is the basis for the pid provider and the usdt provider. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-24T11:39:24.603905Z K 7 svn:log V 52 Add a suitable Makefile for the netdumpsrv utility. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-24T11:39:48.919892Z K 7 svn:log V 33 Connect netdumpsrv to the build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-24T11:53:30.832412Z K 7 svn:log V 65 Use preferred spelling for the __attribute__. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-24T11:54:48.823534Z K 7 svn:log V 72 The __hidden definition is provided by sys/cdefs.h. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-24T11:55:25.763492Z K 7 svn:log V 42 Remove unused source. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T12:05:58.669539Z K 7 svn:log V 66 MD fasttrap implementation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T12:12:03.516605Z K 7 svn:log V 65 Replace a pksignal() call with tdksignal(). Pointed out by: kib END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T12:18:39.736527Z K 7 svn:log V 91 Update for the recent location of the fasttrap code. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T12:56:45.961850Z K 7 svn:log V 287 Replace structure assignments with explicity memcpy calls. This allows Clang to compile this file: it was using the builtin memcpy and we want to use the memcpy defined in gptboot.c. (Clang can't compile boot2 yet). Submitted by: Dimitry Andric Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-24T12:58:54.920353Z K 7 svn:log V 272 Move the __stack_chk_fail_local@FBSD_1.0 compat symbol definition into the separate .o for libc_pic.a. This prevents rtld from making the symbol global. Putting the stack_protector_compat.c into the public domain acknowledged by kan. Reviewed by: kan MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-24T13:01:14.448079Z K 7 svn:log V 107 Remove exports table. Export control by the version script is enough. Reviewed by: kan MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-24T13:02:22.385914Z K 7 svn:log V 45 Remove extra FreeBSD tag. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T13:11:24.876272Z K 7 svn:log V 80 Add a trap code for DTrace induced traps. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-08-24T13:13:24.579673Z K 7 svn:log V 89 Add two DTrace trap type values. Used by fasttrap. Sponsored by: The FreeBSD Foundation END