Ħr219000 158 163 137 139 250 223 199 163 121 104 147 147 1178 188 239 265 132 267 267 226 2067 203 125 230 240 163 345 228 195 544 487 218 421 183 183 604 604 518 237 179 207 110 324 326 180 190 279 303 234 186 215 169 368 368 319 238 162 282 498 309 197 229 139 318 316 164 145 379 180 110 180 111 288 117 225 237 158 273 677 172 317 168 276 188 124 259 220 215 156 233 448 153 534 142 262 166 407 189 145 185 513 213 204 602 202 426 426 315 4539 179 179 2322 2322 761 761 898 898 178 178 210 210 301 265 298 136 216 139 192 273 409 666 281 762 335 374 489 430 282 168 315 807 352 272 431 124 268 123 156 246 113 202 200 200 200 172 170 628 98 703 K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-24T13:23:40.109740Z K 7 svn:log V 72 Tag xz as 5.0.1 (git revision 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-24T13:42:35.371236Z K 7 svn:log V 46 Update xz to release 5.0.1 MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-24T14:56:12.477920Z K 7 svn:log V 39 Fix a copy/paste hardcode of /usr/src. END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-02-24T16:13:33.071771Z K 7 svn:log V 155 Add wording about the priority range and mention what effect this has at certain values. PR: 124469 Obtained from: NetBSD nice.1 v1.14 MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-24T18:08:23.088224Z K 7 svn:log V 125 - Add missing xhci(4) manual page. - Minor update in some USB manual pages. MFC after: 3 days Approved by: thompsa (mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-02-24T18:13:53.577242Z K 7 svn:log V 104 Add sticky.8 to the obsolete files since it had been moved to sticky.7 Submitted by: maxim and pluknet END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-24T19:11:27.970874Z K 7 svn:log V 71 Add more relnotes item: a carp(4) and linkstate change issue is fixed. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-24T19:22:04.649724Z K 7 svn:log V 29 Add relnotes items for 7.4R. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-02-24T19:22:59.335092Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-24T20:44:11.717749Z K 7 svn:log V 50 8.2-RELEASE has been announced, shift to -STABLE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-02-24T21:19:30.719329Z K 7 svn:log V 50 7.4-RELEASE has been announced, shift to -STABLE. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-24T21:45:58.944867Z K 7 svn:log V 1084 Recently, in upstream clang, a fix was done to add -L/usr/lib to the arguments passed to ld, when linking. This was to appease configure scripts in several ports, that grep for such a -L option in "${CC} -v" output, to determine the startup objects passed to ld. Note ld itself does not need to be told about /usr/lib, since it has this path builtin anyway. However, if clang is built as a bootstrap tool during buildworld, it should not use *anything* outside ${WORLDTMP} to include or link with. The upstream fix to add -L/usr/lib breaks this assumption, and can thus cause libraries from /usr/lib to be linked in during buildworld. This can result in buildworld dying during linking of zinject, where it picks up the wrong copy of libzpool.so, eventually leading to: /usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to `_rtld_get_stack_prot' Fix this issue by not adding any hardcoded paths, but by looping through the run-time library path list, which is already correctly set for the bootstrap phase. Reported by: datastream.freecity@gmail.com Pointy hat to: dim END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-24T22:11:36.998139Z K 7 svn:log V 96 Use ffs() to locate free bits in the inode and block bitmaps rather than loops with bit shifts. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-02-24T22:36:40.848712Z K 7 svn:log V 143 * Cleanup the code computing the retransmission timeout. * Fix an initialization bug for the scaled variance of the RTO. MFC after: 3 months. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-02-24T22:58:15.931570Z K 7 svn:log V 169 * Fix several bugs where the scaled versions of srtt and rttvar where used incorrectly. * Use appropriate variable names for RTO instead of RTT. MFC after: 3 months. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-02-24T22:59:24.522265Z K 7 svn:log V 38 - Raise my limit for BSD iconv import END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-24T23:43:56.184389Z K 7 svn:log V 172 MFC r218753: Remove in-addr.arpa from the list of zones it is possible to slave locally MFC r218865: Add a note about AXFR of important zones being available from ICANN END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-24T23:45:13.882796Z K 7 svn:log V 172 MFC r218753: Remove in-addr.arpa from the list of zones it is possible to slave locally MFC r218865: Add a note about AXFR of important zones being available from ICANN END K 10 svn:author V 6 brooks K 8 svn:date V 27 2011-02-24T23:51:59.049066Z K 7 svn:log V 130 Enable the check for negative permissions (the group on a file can't do something "everyone" can) by default. X-MFC after: never END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-02-25T00:04:39.930521Z K 7 svn:log V 1971 Add the BSD-licensed Citrus iconv to the base system with default off setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-02-25T00:10:26.729556Z K 7 svn:log V 108 - Add two more iconv-related files, which were left out from previous commit Approved by: delphij (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-02-25T00:11:34.431168Z K 7 svn:log V 31 - Restore my normal size limit END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-25T03:06:31.933299Z K 7 svn:log V 136 - Update Makefiles to correctly reference include files from /usr/obj rather than the host system when built as part of buildworld. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-25T03:19:24.741350Z K 7 svn:log V 146 - We always poll for send completions now, assume the lock is held. - Free the path late in teardown since we can not free it when a tx errors. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2011-02-25T07:33:42.731847Z K 7 svn:log V 69 o FreeBSD 8.2 and 7.4-RELEASE added. Mac OS X 10.6 added belatedly. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-02-25T09:07:17.427417Z K 7 svn:log V 249 Add a real dependency on the microcode. Now when one does 'make kernel ; make kernel' the second invocation only does: `kernel.ko' is up to date. rather than reproduce all the binary microcode files and relink the kernel. [continuation of r212429] END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2011-02-25T09:29:32.452623Z K 7 svn:log V 133 fixed size of AH_ALEN_MAX, which is 64 bytes for SHA-512. Obtained from: Matthias Drochner MFC after: 3d END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-02-25T09:40:17.332414Z K 7 svn:log V 102 Fix a bunch of trivial whitespace mistakes and update the miniobj.h file before the real work starts. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-25T10:11:01.689346Z K 7 svn:log V 446 Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/ PMC/SYSV/...). No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: arch@ (parts by rwatson, trasz, jhb) X-MFC after: to be determined in last commit with code from this project END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-25T10:24:35.229571Z K 7 svn:log V 389 Add some FEATURE macros for various GEOM classes. No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: silence on geom@ during 2 weeks X-MFC after: to be determined in last commit with code from this project END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-25T12:46:43.362801Z K 7 svn:log V 120 Make the description of the feature consistent with another similar description for another feature. Noticed by: trasz END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-25T13:59:59.601498Z K 7 svn:log V 324 Fix division by zero, causing floating point exception in a drive progress command. It was possible to read a value of zero from a busy controller used as the divisor to calculate the remaining rebuild time. Reported by: Pavel Udovenko Discussed with: jhb Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-25T14:54:57.845673Z K 7 svn:log V 88 MFC r218724: test: Note that this is used both as a normal program and a shell builtin. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-25T14:56:06.833810Z K 7 svn:log V 88 MFC r218724: test: Note that this is used both as a normal program and a shell builtin. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-25T15:32:44.606534Z K 7 svn:log V 506 MFC r216591: Suggest to run the delete-old target after the second mergemaster. If you run it before, your rc scripts may still reference old files/directories and if you are in the unlucky situation to have triggered a reboot (intentionally or not) between the delete-old run and the mergemaster, your system may not start anymore. While I'm here, give a hint about delete-old-libs. Noticed by: bcr (luckily in a discussion and not by getting hit by this) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-02-25T16:08:31.732174Z K 7 svn:log V 506 MFC r216591: Suggest to run the delete-old target after the second mergemaster. If you run it before, your rc scripts may still reference old files/directories and if you are in the unlucky situation to have triggered a reboot (intentionally or not) between the delete-old run and the mergemaster, your system may not start anymore. While I'm here, give a hint about delete-old-libs. Noticed by: bcr (luckily in a discussion and not by getting hit by this) END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-25T17:30:25.363931Z K 7 svn:log V 425 Silence 'out of chain frames' warnings and bump the number of frames. mps.c: Hide the 'out of chain frames' warning behind MPS_INFO. mps_sas.c: Hide the SIM queue freeze/unfreeze messages behind MPS_INFO. mpsvar.h: Bump the number of chain frames from 1024 to 2048. From testing, it looks like this makes it less likely that we'll run out of chain frames, and it doesn't cost much memory (32K). MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-02-25T18:29:57.828649Z K 7 svn:log V 143 Add more definitions for vendor-specific CPU capability bits to the last revision, which is renamed to "Intel Processor Vendor-Specific ACPI". END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-25T19:10:19.346954Z K 7 svn:log V 88 Document the input line length limit. Submitted by: Dominic Fandrey (original version) END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-02-25T19:38:42.238288Z K 7 svn:log V 112 Revert the commit that I made, there is a lot of discussion and it's not accurate anyway Requested by: jb, bde END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-25T20:49:07.821697Z K 7 svn:log V 16 Revert r217871. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-25T22:03:28.739127Z K 7 svn:log V 227 ktrace_resize_pool() locking slightly reworked: 1) do not take a lock around the single atomic operation. 2) do not lose the invariant of lock by dropping/acquiring ktrace_mtx around free() or malloc(). MFC after: 1 Month. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-25T22:05:33.655520Z K 7 svn:log V 229 Introduce preliminary support of the show description of the ABI of traced process by adding two new events which records value of process sv_flags to the trace file at process creation/execing/exiting time. MFC after: 1 Month. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-25T22:07:23.572652Z K 7 svn:log V 84 Teach kdump to understand sv_flags records in the trace files. MFC after: 1 Month. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-02-25T22:14:12.085589Z K 7 svn:log V 94 Update manual page to reflect latest changes of ABI description support. MFC after: 1 Month. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-02-25T23:05:35.724694Z K 7 svn:log V 187 Fix style(9) issues in pututxline(3). Also, make sure to initialize the `ret' variable properly. Reported by: Cedric Jonas Patch by: Garrett Cooper END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-02-25T23:14:24.625335Z K 7 svn:log V 209 Set C1 "I/O then Halt" capability bit for Intel EIST. Some broken BIOSes refuse to load external SSDTs if this bit is unset for _PDC. It seems Linux and OpenSolaris did the same long ago. MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-02-26T04:02:54.980355Z K 7 svn:log V 140 - Permit non-contiguous receive buffers. - If IPOIB_CM is enabled set the MTU to the largest supported to match the behavior of Linux. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-26T09:28:52.202738Z K 7 svn:log V 89 - Correct USB 3.0 wire-speed to 5.0Gbps MFC after: 3 days Approved by: thompsa (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-26T10:29:53.957958Z K 7 svn:log V 119 MFC r218965: Fix typos - remove duplicate "is". PR: docs/154934 Submitted by: Eitan Adler END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-02-26T11:20:51.808085Z K 7 svn:log V 75 Not only had I included a syntax / style error, nice.3 is also deprecated. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-26T11:46:06.269342Z K 7 svn:log V 272 MFC r218985: Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understand. PR: kern/118493 Submitted by: Weongyo Jeong END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-26T11:52:34.775537Z K 7 svn:log V 272 MFC r218985: Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understand. PR: kern/118493 Submitted by: Weongyo Jeong END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-26T12:04:34.762524Z K 7 svn:log V 223 MFC r218974: Handle memory allocation failures in include(). Fix a format specifier in libefi: status is an unsigned int, not unsigned long. PR: i386/85652 Submitted by: Ben Thomas END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-26T12:07:16.602378Z K 7 svn:log V 142 MFC r218974: Handle memory allocation failures in include(). PR: i386/85652 Submitted by: Ben Thomas END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-26T12:50:28.010301Z K 7 svn:log V 67 Fix typo - "is is" should have been changed to "it is" in r218965. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-26T14:58:54.651667Z K 7 svn:log V 181 Add the disk ident and a human-meaningful description (here, the disk model string) to the geom_disk config XML so that they are easily accessible from userland. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-26T15:23:46.384470Z K 7 svn:log V 405 Improvements to CC modules: 1) Add four new points that allow you to get more information to cc algo's 2) Fix the case where user changes module on a existing TCB, in such a case, the initialization module needs to be called on all nets. 3) Move htcp_cc structure to a union that other modules can use. 4) Add 5th point for get/set socket options for cc_module specific options MFC after: 2 months END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-26T15:44:03.580458Z K 7 svn:log V 208 Show disk model numbers in partition wizard screen. Also, since da(4) disks are probably more likely to be USB or Firewire these days than SCSI, just call them and anyone unknown "Disk" instead of SCSI disk. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-02-26T17:22:11.239271Z K 7 svn:log V 100 Connect uep.ko to build PR: kern/155044 Submitted by: Carl MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-02-26T17:28:09.216560Z K 7 svn:log V 133 - Allocate the DMA memory shared between the host and the controller as coherent. - Update a comment to no longer reference Alpha. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-02-26T18:54:54.030455Z K 7 svn:log V 47 When WITH_ICONV is set, use our in-tree iconv. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-02-26T20:04:14.318598Z K 7 svn:log V 225 MFC r217642: - Hide the internal scope address representation of the KAME IPv6 stack from the output of `netstat -ani'. - The node-local multicast address in the output of `netstat -rn' should be handled as well. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-26T21:08:09.600632Z K 7 svn:log V 223 MFC r216090 Correct an error in the allocation of the vm_page_dump array in vm_page_startup(). Specifically, the dump_avail array should be used instead of the phys_avail array to calculate the size of vm_page_dump. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-26T21:18:38.320911Z K 7 svn:log V 72 MFC r206140 Re-enable the call to pmap_release() by vmspace_dofree(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-26T21:24:13.645595Z K 7 svn:log V 53 MFC r217477 Clean up the start of vm_page_alloc(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-26T21:27:41.448861Z K 7 svn:log V 286 MFC r217453 For some time now, the kernel and kmem objects have been ordinary OBJT_PHYS objects. Thus, there is no need for handling them specially in vm_fault(). In fact, this special case handling would have led to an assertion failure just before the call to pmap_enter(). END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T22:03:50.785904Z K 7 svn:log V 88 Vendor import of llvm trunk r126547: http://llvm.org/svn/llvm-project/llvm/trunk@126547 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T22:05:14.606167Z K 7 svn:log V 18 Tag llvm r126547. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T22:09:03.733247Z K 7 svn:log V 88 Vendor import of clang trunk r126547: http://llvm.org/svn/llvm-project/cfe/trunk@126547 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T22:09:57.835854Z K 7 svn:log V 19 Tag clang r126547. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T22:45:40.275601Z K 7 svn:log V 195 Fix breakage in sys/netinet/sctp_sysctl.c, introduced by r219057. If SCTP_HAS_RTTC is not defined, this file fails to compile. Insert the necessary #ifdefs to make it work. Pointy hat to: rrs END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T23:05:47.173287Z K 7 svn:log V 25 Remove misapplied space. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T23:07:43.704638Z K 7 svn:log V 132 Remove getDriver().Dir + /../libexec and /usr/libexec from clang's program paths. Unlike gcc, clang has no executables in libexec. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-26T23:12:36.291707Z K 7 svn:log V 144 Update llvm's config.h files to match more closely what is generated by a regular autoconf-based build. More cosmetic than functional changes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-02-26T23:30:32.215788Z K 7 svn:log V 58 Missed a file in r219056: add disk description for da(4). END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-27T00:02:48.673625Z K 7 svn:log V 180 Instead of defining LLVM_MULTITHREADED as 0 or 1, define or undefine it, and test appropriately. Otherwise it might erroneously pick up some pthread primitives, and fail to link. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-27T01:32:10.860629Z K 7 svn:log V 584 Update llvm/clang to trunk r126547. There are several bugfixes in this update, but the most important one is to ensure __start_ and __stop_ symbols for linker sets and kernel module metadata are always emitted in object files: http://llvm.org/bugs/show_bug.cgi?id=9292 Before this fix, if you compiled kernel modules with clang, they would not be properly processed by kldxref, and if they had any dependencies, the kernel would fail to load those. Another problem occurred when attempting to mount a tmpfs filesystem, which would result in 'operation not supported by device'. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-27T01:45:36.553012Z K 7 svn:log V 80 Regenerate clang and tblgen manpages; the clang manpage has some minor updates. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-27T02:06:09.194887Z K 7 svn:log V 224 Clang's integrated assembler can now handle sys/boot/i386/boot2/sio.S. It used to choke on the notation "inb (%dx),%al" for "inb %dx,%al"; GNU as accepts both forms. Which notation is more 'correct' is an open question. :) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-27T09:12:24.305418Z K 7 svn:log V 76 MFC r218881: Add restrict keyword to pthread_sigmask prototype and manpage. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-27T10:13:16.832853Z K 7 svn:log V 180 Merge fix from r1.108 of NetBSD's usr.bin/ftp/main.c: Only attempt to el_parse() a command unknown by the default parser if editing is enabled. PR: bin/100089 MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-27T11:40:20.400325Z K 7 svn:log V 96 Recognize 'reload' command, as hastd can be reloaded with the SIGHUP signal. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-27T12:25:47.149932Z K 7 svn:log V 32 Rename bcpy() macro to bcopy(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-02-27T12:28:06.109593Z K 7 svn:log V 162 Accept == as an alias of = which is a popular GNU extension. This is intentionally undocumented for now since it's not part of any standard. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-27T13:58:20.121419Z K 7 svn:log V 127 Force DMA for controller found in Lenovo T510 (probably in others too). This makes reads 10 times faster. Discussed with: mav END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-27T17:14:06.874967Z K 7 svn:log V 122 Fix typo in kernel configuration entry. PR: 155074 Submitted by: Warren Block (wblock of wonkity com) MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-27T17:30:45.474552Z K 7 svn:log V 64 MFC 212498: Rewording and typo fixes in newfs(8). PR: 150490 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-02-27T18:23:28.435791Z K 7 svn:log V 140 MFC 205076 [1]: Fix reference to fsck(8). PR: 154215 Submitted by: Mats Erik Andersson (debian of gisladisker se) Obtained from: uqs [1] END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-27T19:41:40.180254Z K 7 svn:log V 355 Finally... Import the latest open-source ZFS version - (SPA) 28. Few new things available from now on: - Data deduplication. - Triple parity RAIDZ (RAIDZ3). - zfs diff. - zpool split. - Snapshot holds. - zpool import -F. Allows to rewind corrupted pool to earlier transaction group. - Possibility to import pool in read-only mode. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-27T19:44:10.112400Z K 7 svn:log V 61 Commit two more files missed in r219089. MFC after: 1 month END K 10 svn:author V 6 versus K 8 svn:date V 27 2011-02-27T21:32:25.514122Z K 7 svn:log V 438 Partial fix for PR 91106. Correct the short weekday names. Done according to this poll https://bugzilla.redhat.com/show_bug.cgi?id=242296. This will not close the bug fully yet, as the month names are still not correctly in Genitive. More research on this topic will be done, as I'm suspecting a bug in the libc locale functions picking the month name from the wrong group. PR: conf/91106 Approved by: gavin (mentor) MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-28T05:45:31.089346Z K 7 svn:log V 50 Use proper lock in assertion. MFC after: 1 month END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-02-28T06:54:14.952413Z K 7 svn:log V 167 Drop my OpenSSL maintainer hat. I don't have the motivation to keep chasing updates etc. Leave a reminder not to commit non-upstream changes (ref: Debian random...). END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-02-28T08:59:35.519918Z K 7 svn:log V 74 Don't override the perfectly good default ->zalloc and ->zfree functions. END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-02-28T09:11:46.435816Z K 7 svn:log V 314 Update fifolog internals to match main version: Rename ...write_bytes... to ...write_records..., that's what they do. Move writer .h stuff into writer private .h file. Change logic in writer to support both fifolog usage in FreeBSD and Measured usage better, by always using an input buffer. Various cleanups. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-28T10:03:48.754559Z K 7 svn:log V 94 Revert some of r177626. "in in" is valid in certain sentences. PR: 121490 MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-02-28T14:48:00.073946Z K 7 svn:log V 53 Type-change to ssize_t to (app|pl)ease ppc platform. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-02-28T15:58:30.080318Z K 7 svn:log V 90 Sync FreeBSD ISP with mercurial tree. Minor changes having to do with a macro for minima. END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-02-28T16:39:15.817365Z K 7 svn:log V 420 MFC: r219036 Silence 'out of chain frames' warnings and bump the number of frames. mps.c: Hide the 'out of chain frames' warning behind MPS_INFO. mps_sas.c: Hide the SIM queue freeze/unfreeze messages behind MPS_INFO. mpsvar.h: Bump the number of chain frames from 1024 to 2048. From testing, it looks like this makes it less likely that we'll run out of chain frames, and it doesn't cost much memory (32K). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-28T17:23:15.751549Z K 7 svn:log V 115 - Add support for software pre-scaling of ISOCHRONOUS transfers. MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-28T18:53:06.595574Z K 7 svn:log V 106 - Add missing MLINKS for libusb and some manpage fixes. MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T20:37:48.238570Z K 7 svn:log V 505 Make sure changing ownership of RX descriptor to be done as last operation. Previously ownership was transferred to hardware before setting address of new RX buffer such that it was possible for hardware to use wrong RX buffer address. While here keep compiler from re-ordering instructions by declaring descriptor members volatile. Memory barriers would do the same job but volatile is supposed to be cheaper than using memory barriers, especially on MP systems. Submitted by: marius MFC after: 1 week END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-02-28T20:55:41.440662Z K 7 svn:log V 104 Use vm_offset_t for virtual addresses. The unsigned int type used now is incorrect in n64 compilation. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T21:21:24.971994Z K 7 svn:log V 329 MFC r217857: Prefer MSI-X to MSI on controllers that support MSI-X. All recent PCIe controllers(RTL8102E or later and RTL8168/8111C or later) supports either 2 or 4 MSI-X messages. Unfortunately vendor did not publicly release RSS related information yet. However switching to MSI-X is one-step forward to support RSS. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T21:25:35.328093Z K 7 svn:log V 329 MFC r217857: Prefer MSI-X to MSI on controllers that support MSI-X. All recent PCIe controllers(RTL8102E or later and RTL8168/8111C or later) supports either 2 or 4 MSI-X messages. Unfortunately vendor did not publicly release RSS related information yet. However switching to MSI-X is one-step forward to support RSS. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-02-28T21:33:26.876045Z K 7 svn:log V 217 Use correct types and fromats for physical address - Use vm_paddr_t for pa in pmap_steal_memory() - Use uintmax_t and %jx to ensure that physical address are printed correctly in cpu_startup() and pmap_bootstrap() END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-02-28T23:28:35.703909Z K 7 svn:log V 4441 Merge userspace DTrace support from head to stable/8: r209721: Merge from vendor-sys/opensolaris: * add fasttrap files r209731: Introduce USD_{SET,GET}{BASE,LIMIT}. These help setting up the user segment descriptor hi and lo values. Idea from Solaris. Reviewed by: kib r209763: Fix style issues with the previous commit, namely use-tab-instead-of-space and don't use underscores in macro variables. Pointed out by: bde r210292: Fix typo in comment. r210357: MFamd64: Add USD_GETBASE(), USD_SETBASE(), USD_GETLIMIT() and USD_SETLIMIT(). r210611: Bump the witness pendlist to 768 to accomodate the increased number of spinlocks. r211553: Add sysname to struct opensolaris_utsname. This is needed by one DTrace test. r211566: Add a sysname char * to struct opensolaris_utsname. r211606: Add the FreeBSD definition for the fasttrap ioctls. r211607: Add a function compatibility function dtrace_instr_size_isa() that on FreeBSD does the same as dtrace_dis_isize(). r211608: Kernel DTrace support for: o uregs (sson@) o ustack (sson@) o /dev/dtrace/helper device (needed for USDT probes) r211610: Add more compatibility structure members needed by the upcoming fasttrap DTrace device. r211611: Destroy the helper device when unloading. r211613: Fix style issues. r211614: Bump KDTRACE_THREAD_ZERO and use M_ZERO as a malloc flag instead of calling bzero. r211615: Remove an elif and add an or-clause. r211616: Add an extra comment to the SDT probes definition. This allows us to get use '-' in probe names, matching the probe names in Solaris. Add userland SDT probes definitions to sys/sdt.h. r211617: Call the systrace_probe_func() when the error value. r211618: Port this to FreeBSD. We miss some suword functions, so we use copyout. r211738: 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. r211744: MD fasttrap implementation. r211745: Replace a pksignal() call with tdksignal(). Pointed out by: kib r211746: Update for the recent location of the fasttrap code. r211747: 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 r211751: Add a trap code for DTrace induced traps. r211752: Add two DTrace trap type values. Used by fasttrap. r211753: Enable fasttrap and make dtraceall depend on fasttrap when building i386 or amd64. r211804: Call the necessary DTrace function pointers when we have different kinds of traps. r211813: Add the necessary DTrace function pointers. r211839: Sync DTrace bits with amd64 and fix the build. r211924: Register an interrupt vector for DTrace return probes. There is some code missing in lapic to make sure that we don't overwrite this entry, but this will be done on a sequent commit. r211925: Replace a memory barrier with a mutex barrier. r211926: Add the path necessary to find fasttrap_isa.h to CFLAGS. r211929: Remove debugging. r212004: When DTrace is enabled, make sure we don't overwrite the IDT_DTRACE_RET entry with an IRQ for some hardware component. Reviewed by: jhb r212093: Make the /dev/dtrace/helper node have the mode 0660. This allows programs that refuse to run as root (pgsql) to install probes when their user is part of the wheel group. r212357: Fix two bugs in DTrace: * when the process exits, remove the associated USDT probes * when the process forks, duplicate the USDT probes. r212465: Avoid a LOR (sleepable after non-sleepable) in fasttrap_tracepoint_enable(). r212494: Revamp locking a bit. This fixes three problems: * processes now can't go away while we are inserting probes (fixes a panic) * if a trap happens, we won't be holding the process lock (fixes a hang) * fix a LOR between the process lock and the fasttrap bucket list lock Thanks to kib for pointing some problems. r212568: Bump __FreeBSD_version to reflect the userland DTrace changes Sponsored by: The FreeBSD Foundation Userspace DTrace work by: rpaulo END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T23:36:03.371200Z K 7 svn:log V 83 MFC r217868: Remove TX taskqueue and directly invoke re_start in interrupt task. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T23:37:38.564995Z K 7 svn:log V 83 MFC r217868: Remove TX taskqueue and directly invoke re_start in interrupt task. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T23:41:27.593911Z K 7 svn:log V 2224 MFC r217902: Do not use interrupt taskqueue on controllers with MSI/MSI-X capability. One of reason using interrupt taskqueue in re(4) was to reduce number of TX/RX interrupts under load because re(4) controllers have no good TX/RX interrupt moderation mechanism. Basic TX interrupt moderation is done by hardware for most controllers but RX interrupt moderation through undocumented register showed poor RX performance so it was disabled in r215025. Using taskqueue to handle RX interrupt greatly reduced number of interrupts but re(4) consumed all available CPU cycles to run the taskqueue under high TX/RX network load. This can happen even with RTL810x fast ethernet controller and I believe this is not acceptable for most systems. To mitigate the issue, use one-shot timer register to moderate RX interrupts. The timer register provides programmable one-shot timer and can be used to suppress interrupt generation. The timer runs at 125MHZ on PCIe controllers so the minimum time allowed for the timer is 8ns. Data sheet says the register is 32 bits but experimentation shows only lower 13 bits are valid so maximum time that can be programmed is 65.528us. This yields theoretical maximum number of RX interrupts that could be generated per second is about 15260. Combined with TX completion interrupts re(4) shall generate less than 20k interrupts. This number is still slightly high compared to other intelligent ethernet controllers but system is very responsive even under high network load. Introduce sysctl variable dev.re.%d.int_rx_mod that controls amount of time to delay RX interrupt processing in units of us. Value 0 completely disables RX interrupt moderation. To provide old behavior for controllers that have MSI/MSI-X capability, introduce a new tunable hw.re.intr_filter. If the tunable is set to non-zero value, driver will use interrupt taskqueue. The default value of the tunable is 0. This tunable has no effect on controllers that has no MSI/MSI-X capability or if MSI/MSI-X is explicitly disabled by administrator. While I'm here cleanup interrupt setup/teardown since re(4) uses single MSI/MSI-X message at this moment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-28T23:46:59.238608Z K 7 svn:log V 2224 MFC r217902: Do not use interrupt taskqueue on controllers with MSI/MSI-X capability. One of reason using interrupt taskqueue in re(4) was to reduce number of TX/RX interrupts under load because re(4) controllers have no good TX/RX interrupt moderation mechanism. Basic TX interrupt moderation is done by hardware for most controllers but RX interrupt moderation through undocumented register showed poor RX performance so it was disabled in r215025. Using taskqueue to handle RX interrupt greatly reduced number of interrupts but re(4) consumed all available CPU cycles to run the taskqueue under high TX/RX network load. This can happen even with RTL810x fast ethernet controller and I believe this is not acceptable for most systems. To mitigate the issue, use one-shot timer register to moderate RX interrupts. The timer register provides programmable one-shot timer and can be used to suppress interrupt generation. The timer runs at 125MHZ on PCIe controllers so the minimum time allowed for the timer is 8ns. Data sheet says the register is 32 bits but experimentation shows only lower 13 bits are valid so maximum time that can be programmed is 65.528us. This yields theoretical maximum number of RX interrupts that could be generated per second is about 15260. Combined with TX completion interrupts re(4) shall generate less than 20k interrupts. This number is still slightly high compared to other intelligent ethernet controllers but system is very responsive even under high network load. Introduce sysctl variable dev.re.%d.int_rx_mod that controls amount of time to delay RX interrupt processing in units of us. Value 0 completely disables RX interrupt moderation. To provide old behavior for controllers that have MSI/MSI-X capability, introduce a new tunable hw.re.intr_filter. If the tunable is set to non-zero value, driver will use interrupt taskqueue. The default value of the tunable is 0. This tunable has no effect on controllers that has no MSI/MSI-X capability or if MSI/MSI-X is explicitly disabled by administrator. While I'm here cleanup interrupt setup/teardown since re(4) uses single MSI/MSI-X message at this moment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:01:34.295122Z K 7 svn:log V 664 MFC r217911: Add support for RTL8105E PCIe Fast Ethernet controller. It seems the controller has a kind of embedded controller/memory and vendor applies a large set of magic code via undocumented PHY registers in device initialization stage. I guess it's a firmware image for the embedded controller in RTL8105E since the code is too big compared to other DSP fixups. However I have no idea what that magic code does and what's purpose of the embedded controller. Fortunately driver seems to still work without loading the firmware. While I'm here change device description of RTL810xE controller. H/W donated by: Realtek Semiconductor Corp. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:02:46.420057Z K 7 svn:log V 664 MFC r217911: Add support for RTL8105E PCIe Fast Ethernet controller. It seems the controller has a kind of embedded controller/memory and vendor applies a large set of magic code via undocumented PHY registers in device initialization stage. I guess it's a firmware image for the embedded controller in RTL8105E since the code is too big compared to other DSP fixups. However I have no idea what that magic code does and what's purpose of the embedded controller. Fortunately driver seems to still work without loading the firmware. While I'm here change device description of RTL810xE controller. H/W donated by: Realtek Semiconductor Corp. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:04:34.797371Z K 7 svn:log V 801 MFC r218289: Disable TX IP checksum offloading for RTL8168C controllers. The controller in question generates frames with bad IP checksum value if packets contain IP options. For instance, packets generated by ping(8) with record route option have wrong IP checksum value. The controller correctly computes checksum for normal TCP/UDP packets though. There are two known RTL8168/8111C variants in market and the issue I observed happened on RL_HWREV_8168C_SPIN2. I'm not sure RL_HWREV_8168C also has the same issue but it would be better to assume it has the same issue since they shall share same core. RTL8102E which is supposed to be released at the time of RTL8168/8111C announcement does not have the issue. Tested by: Konstantin V. Krotov ( kkv <> insysnet dot ru ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:05:46.727949Z K 7 svn:log V 801 MFC r218289: Disable TX IP checksum offloading for RTL8168C controllers. The controller in question generates frames with bad IP checksum value if packets contain IP options. For instance, packets generated by ping(8) with record route option have wrong IP checksum value. The controller correctly computes checksum for normal TCP/UDP packets though. There are two known RTL8168/8111C variants in market and the issue I observed happened on RL_HWREV_8168C_SPIN2. I'm not sure RL_HWREV_8168C also has the same issue but it would be better to assume it has the same issue since they shall share same core. RTL8102E which is supposed to be released at the time of RTL8168/8111C announcement does not have the issue. Tested by: Konstantin V. Krotov ( kkv <> insysnet dot ru ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:07:38.238027Z K 7 svn:log V 82 MFC r218760: Add initial support for RTL8401E PCIe Fast Ethernet. PR: 154789 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:08:49.609494Z K 7 svn:log V 82 MFC r218760: Add initial support for RTL8401E PCIe Fast Ethernet. PR: 154789 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:11:44.341732Z K 7 svn:log V 113 MFC r217914: Document newly added tunables. hw.re.intr_filter hw.re.msix_disable dev.re.%d.int_rx_mod END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-01T00:13:50.832980Z K 7 svn:log V 113 MFC r217914: Document newly added tunables. hw.re.intr_filter hw.re.msix_disable dev.re.%d.int_rx_mod END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-03-01T00:37:46.355659Z K 7 svn:log V 208 Adds a new Congestion Control that helps reduce the RTT that a flow will build up in buffers in transit. It is a slight modification to RFC2581 but is more friendly i.e. less aggressive. MFC after: 3 months END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-03-01T03:25:18.074279Z K 7 svn:log V 167 Use new thread's stack to invoke pmap_activate in cpu_switch() Restore the SP from the new thread's PCB before calling pmap_activate. Remove some old FIXME comments. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-03-01T04:21:56.677969Z K 7 svn:log V 200 Increase NKPT in case of n32 and n64 to support more physical memory. On n32, vm_page_startup() needs more virtual mem to map vm_page structs. The new value of 256 will allow us to support 16GB RAM. END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-03-01T08:52:10.093359Z K 7 svn:log V 44 Another couple of unsigned/ssize_t changes. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-01T11:04:30.580765Z K 7 svn:log V 120 Change the return type of vmspace_swap_count to a long to match the other vmspace_*_count functions. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-03-01T11:47:16.519566Z K 7 svn:log V 48 Fixed conversion of prefix length to a netmask. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-01T11:47:51.505106Z K 7 svn:log V 97 Remove duplicate "in". Suggested by: Rob Farmer MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-01T13:10:56.215857Z K 7 svn:log V 181 Add XMIT_FAILOVER transmit algorithm to ng_one2many node. Packets are delivered out the first active "many" hook. PR: kern/137775 Submitted by: Maxim Ignatenko MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:14:28.430737Z K 7 svn:log V 312 Add ECAPMODE, "Not permitted in capability mode", a new kernel errno constant to indicate that a system call (or perhaps an operation requested via a system call) is not permitted for a capability mode process. Submitted by: anderson Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:23:37.312415Z K 7 svn:log V 569 Add initial support for Capsicum's Capability Mode to the FreeBSD kernel, compiled conditionally on options CAPABILITIES: Add a new credential flag, CRED_FLAG_CAPMODE, which indicates that a subject (typically a process) is in capability mode. Add two new system calls, cap_enter(2) and cap_getmode(2), which allow setting and querying (but never clearing) the flag. Export the capability mode flag via process information sysctls. Sponsored by: Google, Inc. Reviewed by: anderson Discussed with: benl, kris, pjd Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:24:49.434334Z K 7 svn:log V 184 Hook up sys_capability.c to the build. Sponsored by: Google, Inc. Reviewed by: anderson Discussed with: benl, kris, pjd Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:28:27.161601Z K 7 svn:log V 665 Continue to introduce Capsicum Capability Mode support: Add a new system call flag, SYF_CAPENABLED, which indicates that a particular system call is available in capability mode. Add a new configuration file, kern/capabilities.conf (similar files may be introduced for other ABIs in the future), which enumerates system calls that are available in capability mode. When a new system call is added to syscalls.master, it will also need to be added here (if needed). Teach sysent parts to use this file to set values for SYF_CAPENABLED for the native ABI. Reviewed by: anderson Discussed with: benl, kris, pjd Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:30:23.543146Z K 7 svn:log V 238 Regenerate system call files following addition of cap_enter(2), cap_getmode(2), and capabilities.conf. Reviewed by: anderson Discussed with: benl, kris, pjd Obtained from: Capsicum Project Sponsored by: Google, Inc. MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:32:07.971222Z K 7 svn:log V 277 Continue introducing Capsicum capability mode support: If a system call wasn't listed in capabilities.conf, return ECAPMODE at syscall entry. Reviewed by: anderson Discussed with: benl, kris, pjd Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T13:35:48.006607Z K 7 svn:log V 392 Continue to introduce Capsicum capability mode: White list sysarch calls allowed in capability mode; arguably, there should be some link between the capability mode model and the privilege model here. Sysarch is a morass similar to ioctl, in many senses. Submitted by: anderson Discussed with: benl, kris, pjd Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-01T14:43:37.766458Z K 7 svn:log V 337 Similar to 189574, properly handle subclasses of bus drivers when deleting a driver during kldunload. Specifically, recursively walk the tree of subclasses of a given driver attachment's bus device class detaching all instances of that driver for each class and its subclasses. Reported by: bschmidt Reviewed by: imp MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-01T14:53:36.876362Z K 7 svn:log V 189 Use a suitable DIRPRFX for each invocation of make in the build32 and install32 targets so that the full path to each program or library is displayed in the make output. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-01T14:54:14.218997Z K 7 svn:log V 76 Fully honor KERNSRCDIR for 'make universe' if it is set. MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-01T16:42:28.852077Z K 7 svn:log V 218 Teach kdump to decode linux syscalls names too. Fix bug introduced in my previous commit: the kernel always dump native signal numbers, so no need to check the ABI in ktrpsig(). Suggested by: jhb MFC after: 1 Month. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-03-01T17:15:44.569875Z K 7 svn:log V 714 Put in a temporary workaround for ctfmerge hanging on processing kernel.debug (or possibly other files), when WITH_CTF is active. This is caused by a bug in clang's integrated assembler, causing malloc to sometimes hang during initialization in statically linked executables that use threading, such as the copy of ctfmerge that is built during the bootstrap stage of buildworld. The bug has been submitted upstream: http://llvm.org/bugs/show_bug.cgi?id=9352 Note that you might have to rebuild and install libc first, to get your kernel build to finish, because the ctfmerge binary built during bootstrap is linked with your base system's copy of libc.a, which might already contain a bad copy of malloc.o. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T17:37:58.201797Z K 7 svn:log V 255 Add Capsicum capability mode support; svn add of capability.h was missed in a previous commit. Whoops! Reported by: jhb Reviewed by: anderson Discussed with: benl, kris, pjd Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-01T17:39:27.963034Z K 7 svn:log V 175 Correct spelling in a last-minute tweaked NOTES entry for CAPABILITIES. Submitted by: netchild Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 3 months END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-01T18:05:57.942738Z K 7 svn:log V 339 MFC r187105 by obrien: Fix issue where ata_atapicmd() can never really return EBUSY which is expected in acd_fixate(). This should fix various problems folks are having with 'burncd' reporting "burncd: ioctl(CDRIOCFIXATE): Input/output error" during the fixate phase when "fixate" is issued together with the "data" command. PR: 95979 END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-01T20:27:02.731083Z K 7 svn:log V 28 MFC r217743: Style(9) fix. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-01T20:44:14.506846Z K 7 svn:log V 171 MFC r217896: Add macro to test the sv_flags of any process. Change some places to test the flags instead of explicit comparing with address of known sysentvec structures. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-01T20:48:03.426213Z K 7 svn:log V 27 MFC r218005: Style(9) fix. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-01T20:51:41.607933Z K 7 svn:log V 56 Fix misuse of TARGET_ARCH. This should be MACHINE_ARCH. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-01T21:16:55.454081Z K 7 svn:log V 151 Vendor Import of tzdata2011b USA/Mercer County, North Dakota - Moved from Mountain time to Central time. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-01T21:20:01.856623Z K 7 svn:log V 19 Tag of tzdata2011b END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-01T21:24:50.690994Z K 7 svn:log V 107 MFV of tzdata2011b, r219147 - USA/Mercer County, North Dakota - Moved from Mountain time to Central time. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-01T21:29:00.780681Z K 7 svn:log V 105 MFC of 219149, tzdata2011b: USA/Mercer County, North Dakota - Moved from Mountain time to Central time. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-01T21:29:08.918530Z K 7 svn:log V 105 MFC of 219149, tzdata2011b: USA/Mercer County, North Dakota - Moved from Mountain time to Central time. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-01T21:29:16.174726Z K 7 svn:log V 105 MFC of 219149, tzdata2011b: USA/Mercer County, North Dakota - Moved from Mountain time to Central time. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-01T21:47:06.099571Z K 7 svn:log V 77 printf: Note that this is used both as a normal program and a shell builtin. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-01T21:48:22.209909Z K 7 svn:log V 75 kill: Note that this is used both as a normal program and a shell builtin. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-01T21:51:32.134939Z K 7 svn:log V 535 MFC r210431: Remove the linux_exec_copyin_args(), freebsd32_exec_copyin_args() may serve as well. COMPAT_FREEBSD32 is a prerequisite for COMPAT_LINUX32. MFC r210451: Use forward declartion for enum uio_seg in imgact.h. This allows to remove inclusion of sys/uio.h from the header. MFC r210498: Revert r210451, and the similar part of the r210431. The forward-declaration for the enum tag when enum definition is not complete is not allowed by C99, and is gcc extension. MFC r210501: Remove unneeded includes. Requested by: dchagin END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-01T21:52:24.134736Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-03-02T00:24:07.560864Z K 7 svn:log V 610 Make a change to the implementation of the direct map to improve performance on processors that support 1 GB pages. Specifically, if the end of physical memory is not aligned to a 1 GB page boundary, then map the residual physical memory with multiple 2 MB page mappings rather than a single 1 GB page mapping. When a 1 GB page mapping is used for this residual memory, access to the memory is slower than when multiple 2 MB page mappings are used. (I suspect that the reason for this slowdown is that the TLB is actually being loaded with 4 KB page mappings for the residual memory.) X-MFC after: r214425 END