ƒ³N200000 173 196 238 264 163 218 218 95 167 221 167 289 289 147 147 135 134 676 663 249 211 417 392 699 291 429 140 536 298 215 679 247 173 173 360 327 295 188 387 560 195 373 155 129 141 141 219 156 213 213 246 165 531 222 444 508 127 171 267 257 443 251 462 1519 513 571 251 296 287 218 141 257 114 267 267 186 186 256 428 692 112 112 120 201 228 552 245 669 161 1261 368 160 297 135 135 135 159 254 261 208 176 249 182 180 177 143 124 152 1061 148 157 721 237 104 152 518 234 326 271 155 999 159 641 230 779 189 240 1099 268 268 183 121 123 743 157 202 241 364 148 205 516 627 219 295 125 476 172 189 546 450 157 300 224 146 643 289 147 342 258 507 272 341 372 344 766 235 559 493 122 242 151 343 931 482 K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-01T21:05:08.621116Z K 7 svn:log V 101 Finish updating usage() for --always-fetch Continue removing debug stuff in preparation for release END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-12-01T21:54:53.496019Z K 7 svn:log V 142 Fix parenthesis typo -- copy full frame pointer for userland callchain, not just one byte. Submitted by: Ryan Stone rysto32 at gmail dot com END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-01T22:18:27.771967Z K 7 svn:log V 169 Handle the -P option in getopts() to accomodate including it together with other options (e.g., -Pav). On the other hand, add an explicit error for -PP END K 10 svn:author V 2 np K 8 svn:date V 27 2009-12-01T22:23:15.718216Z K 7 svn:log V 72 T3 firmware 7.8.0 for cxgb(4) Obtained from: Chelsio MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-01T22:38:17.082710Z K 7 svn:log V 125 MFC 199579: Always use 64-bit LBAs for disk addresses in zfsboot and gptzfsboot to fully support booting from large volumes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-01T22:38:37.400331Z K 7 svn:log V 125 MFC 199579: Always use 64-bit LBAs for disk addresses in zfsboot and gptzfsboot to fully support booting from large volumes. END K 10 svn:author V 3 eri K 8 svn:date V 27 2009-12-01T22:41:38.311085Z K 7 svn:log V 4 MFH END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-01T22:59:37.637252Z K 7 svn:log V 71 MFC 198343: Handle the case where there is only one PMC in the system. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-01T23:01:29.625523Z K 7 svn:log V 128 Add CAM_ATAIO_DMA ATA command flag to mark DMA protocol commands. It is not needed for SATA controllers, but required for PATA. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-01T23:01:59.060848Z K 7 svn:log V 71 MFC 198343: Handle the case where there is only one PMC in the system. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-01T23:06:17.554100Z K 7 svn:log V 192 MFC 199763: - fix a LOR between process lock and pmc thread mutex - fix a system deadlock on process exit when the sample buffer is full (pmclog_loop blocked in fo_write) and pmcstat exit. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-01T23:07:38.915591Z K 7 svn:log V 192 MFC 199763: - fix a LOR between process lock and pmc thread mutex - fix a system deadlock on process exit when the sample buffer is full (pmclog_loop blocked in fo_write) and pmcstat exit. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-01T23:23:52.831302Z K 7 svn:log V 51 MFC 198339: Fix the NO_PROXY handling. PR: 139751 END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-01T23:24:42.420853Z K 7 svn:log V 51 MFC 198339: Fix the NO_PROXY handling. PR: 139751 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-02T00:37:03.046065Z K 7 svn:log V 39 Remove unknown ath hal device entries. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-02T00:38:11.259174Z K 7 svn:log V 38 Add missing ath_ar9* ath hal entries. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-12-02T02:47:29.136926Z K 7 svn:log V 579 MFC revs 199781,199782,199784,199785,199786: Eliminate dead stores. In __mbsconv(), if prec was zero, nconv could have been used uninitialized. Initialize it to a safe value so that there's no chance of returning an error if stack garbage happens to be equal to (size_t)-1 or (size_t)-2. In svc_raw_reply(), don't leave stat uninitialized if the MSG_ACCEPTED && SUCCESS case succeeds. The stack garbage might be zero. In clnt_raw_create(), avoid minor race condition initializing the file-scope variable clntraw_private. Found by: Clang static analyzer END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-12-02T03:08:29.266010Z K 7 svn:log V 566 MFC revs 199781,199782,199784,199786: Eliminate dead stores. In __mbsconv(), if prec was zero, nconv could have been used uninitialized. Initialize it to a safe value so that there's no chance of returning an error if stack garbage happens to be equal to (size_t)-1 or (size_t)-2. In clnt_raw_create(), avoid minor race condition initializing the file-scope variable clntraw_private. Mark head rev 199785 as merged; 7-STABLE's version of svc_raw_reply() doesn't have the same bug (or even look all that similar). Found by: Clang static analyzer END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-12-02T06:49:22.209360Z K 7 svn:log V 148 Bump limits on PowerPC. This allows large executables like parts of LLVM to function. Reviewed by: grehan Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-12-02T07:51:25.930278Z K 7 svn:log V 113 Fix the dprintf() prototype. PR: 141087 Submitted by: Jeremy Huddleston MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-02T08:52:06.376414Z K 7 svn:log V 322 change the type of the opcode from enum *:8 to u_int8_t so the size and alignment of the ipfw_insn is not compiler dependent. No changes in the code generated by gcc. There was only one instance of this kind in our entire source tree, so i suspect the old definition was a poor choice (which i made). MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-02T10:10:37.637740Z K 7 svn:log V 299 MFC r199279, r199280, r199281: - Fix several device freeze counting bugs. - Remove code that years ago was closing race between request submission to SIM and device/SIM freeze. That race become impossible after moving from spl to mutex locking, while this workaround causes some unexpected effects. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-02T10:32:34.240807Z K 7 svn:log V 606 MFC r199747, r199799, r199821: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision negotiation for both SATA and PATA SIMs. - Make ahci(4) and siis(4) to use submitted maximum tag number, when scheduling requests. It allows to support NCQ on devices with lower tags count then controller supports. - Make PMP driver to report attached devices connection speeds. - Implement ATA mode negotiation between user settings, device and controller capabilities. - Improve ATA mode/SATA revision control. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-02T10:36:41.529969Z K 7 svn:log V 196 Add new sockopt names for ipfw and dummynet. This commit is just grabbing entries for the new names that will be used in the future, so you don't need to rebuild anything now. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-02T10:47:11.450302Z K 7 svn:log V 336 MFC r199822: Drop USB mass storage devices support from ata(4). It is out of the build as long as I remember, and completely superseded by better maintained umass(4). It's main idea was to optionally avoid CAM dependency for such devices, but with move ATA to CAM, it is not actual any more. No objections: hselasky@, thompsa@, arch@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-02T12:26:26.445665Z K 7 svn:log V 48 MFC r199644: Add some missing WDMA/UDMA modes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2009-12-02T13:24:21.492399Z K 7 svn:log V 439 Until this moment carp(4) used a strange logging priority. It used debug priority for such important information as MASTER/BACKUP state change, and used a normal logging priority for such innocent messages as receiving short packet (which is a normal VRRP packet between some other routers) or receving a CARP packet on non-carp interface (someone else running CARP). This commit shifts message logging priorities to a more sane default. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-12-02T14:32:01.400089Z K 7 svn:log V 205 Teach an IPv6 to send_pkt() and ipfw_tick(). It fixes the issue which keep-alive doesn't work for an IPv6. PR: kern/117234 Submitted by: mlaier, Joost Bekkers MFC after: 1 month END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-12-02T15:05:26.973368Z K 7 svn:log V 122 Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 and rc.d/ip6fw. Reviewed by: dougb, jhb MFC after: 1 month END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-02T15:20:31.492978Z K 7 svn:log V 584 small changes for portability and diff reduction wrt/ FreeBSD 7. No functional differences. - use the div64() macro to wrap 64 bit divisions (which almost always are 64 / 32 bits) so they are easier to handle with compilers or OS that do not have native support for 64bit divisions; - use a local variable for p_numbytes even if not strictly necessary on HEAD, as it reduces diffs with FreeBSD7 - in dummynet_send() check that a tag is present before dereferencing the pointer. - add a couple of blank lines for readability near the end of a function MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-02T15:24:57.741773Z K 7 svn:log V 154 MFC 194429: Add support for UMA_SLAB_KERNEL to page_free(). (While I'm here remove an unnecessary newline character from the end of two panic messages.) END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-12-02T15:30:53.502891Z K 7 svn:log V 80 MFC 199813, 199817, 199842, 199867: Update unifdef to latest upstream version. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-12-02T15:34:13.460420Z K 7 svn:log V 80 MFC 199813, 199817, 199842, 199867: Update unifdef to latest upstream version. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-02T15:45:55.200215Z K 7 svn:log V 267 mca: improve status checking, recording and reporting - directly print mca information in case we fail to allocate memory for a record - include bank number into mca record - print raw mca status value for extended information Reviewed by: jhb MFC after: 10 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-02T15:50:43.118893Z K 7 svn:log V 232 Dispatch sockopt calls to ipfw and dummynet using the new option numbers, IP_FW3 and IP_DUMMYNET3. Right now the modules return an error if called with those arguments so there is no danger of unwanted behaviour. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-02T15:56:18.847804Z K 7 svn:log V 203 Make work when included by itself. There are several reasons why it didn't work: - It was missing for __BEGIN_DECLS. - It uses various primitive types that were not declared. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-12-02T16:08:33.088717Z K 7 svn:log V 93 Fix several cases where the periph lock was held over malloc. Submitted by: Jaakko Heinonen END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-02T16:26:18.819978Z K 7 svn:log V 294 ndis_scan_results() can sleep if the scan results are not ready when ndis_scan() is called. However, ndis_scan() is invoked from softclock() and cannot sleep. Move ndis_scan_results() to the ndis' driver's scan_end hook instead. Submitted by: Paul B Mahol onemda of gmail MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-02T16:34:20.847562Z K 7 svn:log V 467 Properly support -fPIE by linking PIE binaries with specially-built Scrt1.o instead of crt1.o, since the later is built as non-PIC. Separate i386-elf crt1.c into the pure assembler part and C code, supplying all data extracted by assembler stub as explicit parameters [1]. Hide and localize _start1 symbol used as an interface between asm and C code. In collaboration with: kan Inspired by: PR i386/127387 [1] Prodded and tested by: rdivacky [1] MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-02T16:40:23.056386Z K 7 svn:log V 102 Bump __FreeBSD_version for sigpause(3) addition [1] and PIE support in csu. Requested by: fluffy [1] END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-02T17:50:52.992595Z K 7 svn:log V 278 - initialize src_ip in the main loop to prevent a compiler warning (gcc 4.x under linux, not sure how real is the complaint). - rename a macro argument to prevent name clashes. - add the macro name on a couple of #endif - add a blank line for readability. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-02T18:09:22.134983Z K 7 svn:log V 61 Don't use ap->a_td->td_ucred when we were passed ap->a_cred. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-02T18:11:14.325800Z K 7 svn:log V 35 Add missing parameter description. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-12-02T19:28:55.447463Z K 7 svn:log V 48 MFC 199815: Fix performance bugs in factor(6). END K 10 svn:author V 4 fanf K 8 svn:date V 27 2009-12-02T19:30:33.200339Z K 7 svn:log V 48 MFC 199815: Fix performance bugs in factor(6). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-02T20:24:37.063721Z K 7 svn:log V 123 Include , to get the declarations of ostype and osrelease. Remove the duplicate declarations from this file. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-02T21:22:10.564962Z K 7 svn:log V 60 Fix cut'n paste on the AR9280 entry. Submitted by: pluknet END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-02T21:58:00.396455Z K 7 svn:log V 116 MFC r199066 + 199339: Apply a NetBSD fix (revision 1.12) to handle multi-session bzip2 files as created by pbzip2. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-02T21:58:34.911424Z K 7 svn:log V 116 MFC r199066 + 199339: Apply a NetBSD fix (revision 1.12) to handle multi-session bzip2 files as created by pbzip2. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-03T00:27:16.599789Z K 7 svn:log V 151 - Minimize ARC churn by moving functions interfacing with the buffer cache to a separate file - consolidate I/O cache synchronization in zio_create END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-03T02:19:12.878163Z K 7 svn:log V 71 - remove unused variables - break out zbio_getblk and zbio_data_getblk END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-03T04:06:48.590256Z K 7 svn:log V 435 Make sure bus space accesses use unorder memory loads and stores. Memory accesses are posted in program order by virtue of the uncacheable memory attribute. Since GCC, by default, adds acquire and release semantics to volatile memory loads and stores, we need to use inline assembly to guarantee it. With inline assembly, we don't need volatile pointers anymore. Itanium does not support semaphore instructions to uncacheable memory. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-03T08:01:29.467020Z K 7 svn:log V 129 ichsmb: add pci ids for some newer supported hardware Submitted by: Dmitry S. Luhtionov MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-03T08:11:20.460773Z K 7 svn:log V 351 ichsmb: try attaching only to intel hardware in the default case Ideally we should attempt attaching only to known supported devices. But I am not sure that we have all supported PCI IDs already listed, and I am too young to die, err, I don't want to take the heat from causing a trouble to someone. MFC after: 1 week X-ToDo: drop the default case END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-12-03T09:18:40.205485Z K 7 svn:log V 410 Disable SSL renegotiation in order to protect against a serious protocol flaw. [09:15] Correctly handle failures from unsetenv resulting from a corrupt environment in rtld-elf. [09:16] Fix permissions in freebsd-update in order to prevent leakage of sensitive files. [09:17] Approved by: so (cperciva) Security: FreeBSD-SA-09:15.ssl Security: FreeBSD-SA-09:16.rtld Security: FreeBSD-SA-09:17.freebsd-udpate END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-12-03T11:16:53.705433Z K 7 svn:log V 35 Teach an IPv6 to the debug prints. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-03T12:23:48.442439Z K 7 svn:log V 77 use qsort_r instead of heapsort; staticize two functions. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2009-12-03T12:59:39.047377Z K 7 svn:log V 172 Bump the patch level in the kernel version number, which was accidentally left out of main commit for SA-09:15, SA-09:15, and SA-09:17 in r200054. Approved by: so (simon) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T13:29:24.202623Z K 7 svn:log V 162 Add change that was somehow missed in r192586. It could manifest by incorrectly returning EINVAL from acl_valid(3) for applications linked against pre-8.0 libc. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-03T14:22:15.718590Z K 7 svn:log V 348 preparation work to replace the monster switch in ipfw_chk() with table of functions. This commit (which is heavily based on work done by Marta Carbone in this year's GSOC project), removes the goto's and explicit return from the inner switch(), so we will have a easier time when putting the blocks into individual functions. MFC after: 3 weeks END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2009-12-03T14:59:42.677841Z K 7 svn:log V 155 Use a better check for a valid kernel stack address when capturing kernel call chains. Submitted by: Mark Unangst Tested by: fabient END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-03T15:14:30.131559Z K 7 svn:log V 369 The fd_mask type is an unsigned long, not an int, so treat the mask as a long instead of an int when examining the results of select() to look for RPC requests. Previously this routine would ignore RPC requests to sockets whose file descriptor mod 64 was greater than 31 on a 64-bit platform. PR: amd64/141130 Submitted by: liujb of array networks MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-03T15:48:24.847044Z K 7 svn:log V 1426 Add a new library: libulog. One of the things I really want to do, is to get rid of the limitations of our current utmp(5) mechanism: - It only allows 8 byte TTY device names. - The hostname only allows 16 bytes of storage. I'm not a big fan of , but I think we should at least try to add parts of it. Unfortunately we cannot implement , because we miss various fields, such as ut_id, ut_pid, etc. The API provided by libulog shares some similarities with , so it shouldn't be too hard to port these applications eventually. In most simple cases, it should just be a matter of removing the ulog_ prefix everywhere. As a bonus, it also implements a function called ulog_login_pseudo(), which allows unprivileged applications to write log entries, provided they have a valid file descriptor to a pseudo-terminal master device. libulog will allow a smoother transition to a new file format by adding a library interface to deal with utmp/wtmp/lastlog files. I initially thought about adding the functionality to libutil, but because I'm not planning on keeping this library around forever, we'd better keep it separated. Next items on the todo list: 1. Port applications in the base system (and ports) to libulog, instead of letting them use . 2. Remove , implement and reimplement this library on top. 3. Port as many applications as possible back to . END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-03T16:08:00.607429Z K 7 svn:log V 417 Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded system. Instead of constantly calling the mibII_idle function when the server is not busy call the function only once every 10 seconds to avoid bsnmpd constantly doing gettimeofday syscalls. Make the idle polling interval confugurable via begemotIfDataPoll. Reported and tested by: misho (at) aitbg (dot) com Oked by: harti MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-03T16:10:21.544013Z K 7 svn:log V 478 mca: small enhancements related to cpu quirks - use utility macros for CPU family/model checking - limit Intel P6 quirk to pre-Nehalem models (taken from OpenSolaris) - add AMD GartTblWkEn quirk for families 0Fh and 10h; I haven't experienced any problems without the quirk but both Linux and OpenSolaris do this - slightly re-arrange quirk code to provide for the future generalization and separation of vendor-specific quirk functions Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-03T16:33:47.810130Z K 7 svn:log V 159 Also implement ut_type. I thought we couldn't emulate this field, but we can derive this field by looking at special values for ut_host, ut_line and ut_name. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-03T16:42:18.868717Z K 7 svn:log V 204 Port users(1) to libulog. Instead of digging through the utmp database by hand, use proper API calls to do so. Instead of parsing entries with a non-empty ut_user, we now look at LOGIN_PROCESS entries. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-03T17:05:36.601542Z K 7 svn:log V 195 Use USER_PROCESS instead of LOGIN_PROCESS. POSIX isn't clear about how the fields should be used, but according to utmpx(5) on Linux, LOGIN_PROCESS refers to a TTY that's still running a getty. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-12-03T18:02:55.491562Z K 7 svn:log V 120 Connect unzip to the build. Approved by: ed (mentor) Approved by: des (unzip author) Tested by: exp ports build (miwi) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T18:03:42.624381Z K 7 svn:log V 47 Remove unneeded ifdefs. Reviewed by: rmacklem END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-12-03T18:13:47.563711Z K 7 svn:log V 156 Add manpages for ams(4), akbd(4), adb(4), and cuda(4), which describe various drivers for Apple Desktop Bus controllers and peripherals. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T18:16:14.909422Z K 7 svn:log V 20 Remove unused code. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-03T18:42:19.987912Z K 7 svn:log V 170 MFC r199564: Minimize interface reinitialization by checking IFF_DRV_RUNNING flag. This fixes unnecessary interface UP/DOWNs during getting an IP address via DHCP. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-03T18:45:01.035599Z K 7 svn:log V 170 MFC r199564: Minimize interface reinitialization by checking IFF_DRV_RUNNING flag. This fixes unnecessary interface UP/DOWNs during getting an IP address via DHCP. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-03T18:48:32.983021Z K 7 svn:log V 90 MFC r199565: Move interface reinitialization down after disabling WOL in resume path. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-03T18:50:04.946018Z K 7 svn:log V 90 MFC r199565: Move interface reinitialization down after disabling WOL in resume path. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T19:16:40.738797Z K 7 svn:log V 161 Description of steps required to setup NFSv4 server is in nfsv4(4); add reference to exports(5), since that's the obvious starting point for searching for this. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-12-03T19:27:12.125925Z K 7 svn:log V 333 - Update the Spanish NLS catalog Reviewed by: carvay, the.infamous.paul@gmail.com, Joan Picanyol i Puig , Ing . Marcos Luis Ortiz Valmaseda , eskanete@gmail.com, Jose M Rodriguez , Guillermo Hernandez , dani.doni@gmail.com END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-03T19:37:52.646542Z K 7 svn:log V 595 MFC 179886: Complete the merge after hwpmc backport. Make preparations for increasing the size of the kernel virtual address space on the amd64 architecture. The amd64 architecture requires kernel code and global variables to reside in the highest 2GB of the 64-bit virtual address space. Thus, KERNBASE cannot change. However, KERNBASE is sometimes used as the start of the kernel virtual address space. Henceforth, VM_MIN_KERNEL_ADDRESS should be used instead. Since KERNBASE and VM_MIN_KERNEL_ADDRESS are still the same address, there should be no visible effect from this change (yet). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T19:59:27.825105Z K 7 svn:log V 18 Cosmetical fixes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T20:02:26.261925Z K 7 svn:log V 18 Cosmetical fixes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-12-03T20:06:03.479927Z K 7 svn:log V 26 Yet another cosmetic fix. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-03T20:16:59.657820Z K 7 svn:log V 108 Remove wrong assertion. Debugee is allowed to lose a signal. Reported and tested by: jh MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-12-03T20:55:09.798815Z K 7 svn:log V 127 The first argument of dcbz interprets r0 as a literal zero, not the second. This worked before by accident. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-03T20:59:28.059833Z K 7 svn:log V 459 Properly return an error reply if an NFS remove or link operation fails. Previously the failing operation would allocate an mbuf and construct an error reply, but because the function did not return 0, the NFS server assumed it had failed to generate a reply and would leak the reply mbuf as well as not sending the reply to the NFS client. PR: kern/140853 Submitted by: Ted Faber faber at isi edu (remove) Reviewed by: rmacklem (remove) MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-03T21:44:41.488372Z K 7 svn:log V 153 Repair breakage to last-minute API change. I changed ulog_log{in,out} to return a void, but forgot to change ulog-helper as well. Reported by: stefanf END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-03T21:47:51.187858Z K 7 svn:log V 576 Change 'load' balancing mode algorithm: - Instead of measuring last request execution time for each drive and choosing one with smallest time, use averaged number of requests, running on each drive. This information is more accurate and timely. It allows to distribute load between drives in more even and predictable way. - For each drive track offset of the last submitted request. If new request offset matches previous one or close for some drive, prefer that drive. It allows to significantly speedup simultaneous sequential reads. PR: kern/113885 Reviewed by: sobomax END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-03T23:24:12.739651Z K 7 svn:log V 65 Add uhci/ehci controller ids. Submitted by: mitya_cabletv.dp.ua END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-03T23:57:06.470215Z K 7 svn:log V 1163 Add workaround to overcome hardware limitation which allows only a single outstanding DMA read operation. Most controllers targeted to client with PCIe bus interface(e.g. BCM5761) may have this limitation. All controllers for servers does not have this limitation. Collapsing mbuf chains to reduce number of memory reads before transmitting was most effective way to workaround this. I got about 940Mbps from 850Mbps with mbuf collapsing on BCM5761. However it takes a lot of CPU cycles to collapse mbuf chains so add tunable to control the number of allowed TX buffers before collapsing. The default value is 0 which effectively disables the forced collapsing. For most cases 2 would yield best performance(about 930Mbps) without much sacrificing CPU cycles. Note the collapsing is only activated when the controller is on PCIe bus and the frame does not need TSO operation. TSO does not seem to suffer from the hardware limitation because the payload size is much bigger than normal IP datagram. Thanks to davidch@ who told me the limitation of client controllers and actually gave possible workarounds to mitigate the limitation. Reviewed by: davidch, marius END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2009-12-04T03:34:12.577016Z K 7 svn:log V 272 Fix cases where we've managed to get a Loop UP event prior to initializing the loop down counter, as well as other things. This was brought to my attention with a different fix, more for RELENG_7- this one covers the multiple channel case. PR: 140438 MFC after: 1 month END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-04T05:31:40.055105Z K 7 svn:log V 66 Don't create the list of valid distinfos when -P[P] and -a either END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-12-04T05:45:46.482997Z K 7 svn:log V 204 ichsmb: drop default attachment to generic smbus hardware Attach only to devices known to be supported. This change overrided and undoes r200053. Suggested by: jhb MFC after: 2 weeks (only to stable/8) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-12-04T07:08:15.599614Z K 7 svn:log V 38 MFC: r199988 Add an .Nm for strncat. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-12-04T07:09:17.100346Z K 7 svn:log V 38 MFC: r199988 Add an .Nm for strncat. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-12-04T07:10:18.306829Z K 7 svn:log V 38 MFC: r199988 Add an .Nm for strncat. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2009-12-04T09:20:20.368979Z K 7 svn:log V 63 Add a missing word to a sentence in the return values section. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-12-04T10:57:01.611611Z K 7 svn:log V 161 Add disk-magic for amd64: same as i386. Pass PORTS_OPTS wherever we invoke ports makefiles Add a logfile where we can see the progress of distfile prefetching END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-04T11:23:37.046706Z K 7 svn:log V 169 MFC r199529: Extend ddb(4) "show mount" command to print active string mount options. Note that only option names are printed, not values. Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-04T11:26:52.306320Z K 7 svn:log V 116 MFC r199843: Clarify that the value of the fts_info field is different in post-order. Approved by: trasz (mentor) END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2009-12-04T14:08:57.211047Z K 7 svn:log V 79 - Replace magic number with YPOLDVERS macro (which may be missed in r14262). END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2009-12-04T14:12:37.968553Z K 7 svn:log V 151 - In ypproc_all_2_svc(), yp_fork() is called only when !debug case. So _exit() in the bottom of this function should be called with the same case. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-04T14:18:30.976167Z K 7 svn:log V 88 fix argument type in the call to expand_number Submitted by: gcc 4.3 MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-12-04T15:39:37.418150Z K 7 svn:log V 88 Use INET_ADDRSTRLEN and INET6_ADDRSTRLEN rather than hard coded number. Spotted by: bz END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-04T18:29:59.286948Z K 7 svn:log V 82 MFC rev 200051: Make sure bus space accesses use unorder memory loads and stores. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-04T18:35:02.467655Z K 7 svn:log V 48 Revert unintentional change in revision 200103. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-12-04T20:33:26.904818Z K 7 svn:log V 27 Allow acces to vendor/v4l. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-12-04T20:34:23.396542Z K 7 svn:log V 55 Create playground for the upcomming v4l header import. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-12-04T20:42:08.911536Z K 7 svn:log V 963 Import the interface description of the video for linux (v4l) subsystem. The header is importet from linux 2.6.17. The header does not come with a license, the author (Alan Cox ) gave his permission to use it (note, X.org has a copy of the header too): ---snip--- > Alan Cox said: > > > On Tue, Apr 12, 2005 at 03:13:15PM -0700, Julian Elischer wrote: > > > How does the licensing of the include files stand? > > Basically you cannot copyright an interface - its a fact rather > than creative expression normally. > > > > Of course there's always the "type it all in again" approach > > > where we define a functionally equivalent but completely > > > differntly spelled API, > > Wouldn't even need to be differently spelled. > > I'm all for this kind of sharing. > > Alan ---snip--- A more complete mail history is provided in the README file. Approved by: core Thanks to: julian (he also has the OK to use the v4l2 header) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-12-04T20:43:30.318916Z K 7 svn:log V 51 Tag the current code as comming from linux 2.6.17. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-12-04T20:46:45.181359Z K 7 svn:log V 60 Import the unchanged v4l videodev.h from the vendor branch. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-12-04T21:06:54.857636Z K 7 svn:log V 623 This is v4l support for the linuxulator. This allows to access FreeBSD native devices which support the v4l API from processes running within the linuxulator, e.g. skype or flash can access the multimedia/pwcbsd driver. Not tested is firmware upload, framebuffer stuff and video tuner stuff due to lack of hardware. The clipping part (VIDIOCSWIN) needs a little bit of further work (partly in progress, but can not be tested due to lack of a suitable device). The submitter tested this sucessfully with Skype and flash apps on amd64 and i386 with the multimedia/pwcbsd driver. Submitted by: J.R. Oldroyd END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-04T21:52:31.530727Z K 7 svn:log V 144 Add several syscall compat32 entries for acl manipulation. They do not require translation of the arguments. Tested by: bsam MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-04T21:53:20.735956Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-05T08:32:12.520003Z K 7 svn:log V 58 fix build with VNET enabled Reported by: David Wolfskill END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-05T08:41:08.591560Z K 7 svn:log V 423 If we are using --packages{-only|-newer} then don't run build dependencies unless we are actually going to build the port. When doing the second-chance attempt at fetching a package directly (after the reading of the directory listing does not show anything useful) print a more helpful message if -v. No need to print stderr if the package fetch fails. Make the "checking package repository" message more clear/verbose END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-05T08:44:55.754724Z K 7 svn:log V 141 MFC r200008: Add CAM_ATAIO_DMA ATA command flag to mark DMA protocol commands. It is not needed for SATA controllers, but required for PATA. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-05T09:13:06.697049Z K 7 svn:log V 231 remove a dead block of code, document how the ipfw clients are hooked and the difference in handling the 'enable' variable for layer2 and layer3. The latter needs fixing once i figure out how it worked pre-vnet. MFC after: 7 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-05T10:30:54.081919Z K 7 svn:log V 178 On Soft Reset, read device signature from FIS receive area, instead of PxSIG register. It works better for NVidia chipsets. ahci(4) does the same. PR: kern/140472, i386/138668 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-05T11:51:32.597038Z K 7 svn:log V 61 adjust comment in previous commit after Julian's explanation END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-05T12:51:51.202921Z K 7 svn:log V 904 some simple MFC: r200020: change the type of the opcode from enum *:8 to u_int8_t so the size and alignment of the ipfw_insn is not compiler dependent. No changes in the code generated by gcc. r200023: Add new sockopt names for ipfw and dummynet. This commit is just grabbing entries for the new names that will be used in the future, so you don't need to rebuild anything now. r200034 Dispatch sockopt calls to ipfw and dummynet using the new option numbers, IP_FW3 and IP_DUMMYNET3. Right now the modules return an error if called with those arguments so there is no danger of unwanted behaviour. r200040 - initialize src_ip in the main loop to prevent a compiler warning (gcc 4.x under linux, not sure how real is the complaint). - rename a macro argument to prevent name clashes. - add the macro name on a couple of #endif - add a blank line for readability. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-12-05T13:12:04.448101Z K 7 svn:log V 63 Add a missing space to the error message when execvp() failed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-05T13:40:51.530139Z K 7 svn:log V 548 Do not ignore device interrupt if bus mastering is still active. It is normal in case of media read error and some ATAPI cases, when transfer size is unknown beforehand. PCI ATA BM specification tells that in case of such underrun driver should just manually stop DMA engine. DMA engine should same time guarantie that all bus mastering transfers completed at the moment of driver reads interrupt flag asserted. This change should fix interrupt storms and command timeouts in many cases. PR: kern/103602, sparc64/121539, kern/133122, kern/139654 END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-05T13:45:21.766594Z K 7 svn:log V 134 Make sure enough memory is allocated for a struct pft_entry when refreshing the list of pf tables. OKed by: philip MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-05T13:53:41.941873Z K 7 svn:log V 684 some MFC: r200020 change the type of the opcode from enum *:8 to u_int8_t so the size and alignment of the ipfw_insn is not compiler dependent. No changes in the code generated by gcc. r200023 Add new sockopt names for ipfw and dummynet. This commit is just grabbing entries for the new names that will be used in the future, so you don't need to rebuild anything now. r200034 Dispatch sockopt calls to ipfw and dummynet using the new option numbers, IP_FW3 and IP_DUMMYNET3. Right now the modules return an error if called with those arguments so there is no danger of unwanted behaviour. The code for r200040 was already in RELENG_7 before the 8.x freeze END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-12-05T14:21:42.115932Z K 7 svn:log V 97 Avoid using additional variable for storing an error if we are not going to do anything with it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-12-05T14:24:22.029414Z K 7 svn:log V 147 Always check guid when opening by path, because we may end up with provider that does have the same name, but only by accident. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-12-05T14:33:11.972453Z K 7 svn:log V 1005 Fix deadlock when ZVOLs are present and we are replacing dead component or calling scrub when pool is in a degraded state. It will try to taste ZVOLs, which will lead to deadlock, as ZVOL will try to acquire the same locks as replace/scrub is holding already. We can't simply skip provider based on their GEOM class, because ZVOL can have providers build on top of it and we need to skip those as well. We do it by asking for ZFS::iszvol attribute. Any ZVOL-based provider will give us positive answer and we have to skip those providers. This way we remove possibility to create ZFS pools on top of ZVOLs, but it is not very useful anyway. I believe deadlock is still possible in some very complex situations like when we have MD provider on top of UFS file on top of ZVOL. When we try to replace dead component in the pool mentioned ZVOL is based on, there might be a deadlock when ZFS will try to taste MD provider. There is no easy way to detect that, but it isn't very common. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-12-05T17:07:43.455996Z K 7 svn:log V 172 MFC r200001: Fix parenthesis typo -- copy full frame pointer for userland callchain, not just one byte. Submitted by: Ryan Stone rysto32 at gmail dot com END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-12-05T17:08:45.098644Z K 7 svn:log V 172 MFC r200001: Fix parenthesis typo -- copy full frame pointer for userland callchain, not just one byte. Submitted by: Ryan Stone rysto32 at gmail dot com END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-12-05T17:45:56.688633Z K 7 svn:log V 87 Remove trailing ";" in UMA_HASH_INSERT and UMA_HASH_REMOVE macros. MFC after: 1 month END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-12-05T17:46:51.537037Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T18:17:15.267243Z K 7 svn:log V 32 MFC r199894: Correct a typo. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-05T18:40:26.014291Z K 7 svn:log V 648 If we are using --packages and/or --packages-newer and we have to build anyway we must run the 'make config' code in addition to the build dep check since a) the user might actually want to change something, and b) if using -H and there are OPTIONS the build will hang. To facilitate this turn the actual code to do 'make config' into a function Testing if an existing package is actually readable is slightly more useful than just testing if it exists. If the package does exist, and we're not using --always-fetch then return 0, both to skip the rest of the function and to make good use of the return value in the 'second chance fetch' code. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T18:51:44.050984Z K 7 svn:log V 66 Remove (hidden) warning about missing prototypes for fdevname(3). END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T18:53:04.628439Z K 7 svn:log V 110 Use ANSI C prototypes inside termios. While there, add a missing __unused to hide a warning in tcsetbreak(). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T18:54:21.524534Z K 7 svn:log V 149 MFC r199883: Add SDT_PROBE[1-5] in the same way we have SDT_PROBE_DEFINE[1-5] to avoid having to add all the unused trailing arguments as zeros. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T18:55:16.657027Z K 7 svn:log V 272 Remove warnings from exec.c. The entries in the argv array are not const themselves, but sometimes we want to fill in const values. Just make the array const and use __DECONST() to make it const for the execve()-call itself. Also convert the only K&R prototype to ANSI. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T18:55:54.400064Z K 7 svn:log V 57 MFC r199884: Define an SDT provider for "opencrypto". END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T18:57:32.798282Z K 7 svn:log V 113 MFC r199885: Add SDT probes for opencrypto:deflate:deflate_gobal:*. They are not nice but they were helpful. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T18:59:58.625210Z K 7 svn:log V 424 MFC r199887: Z_PARTIAL_FLUSH is marked deprecated. Z_SYNC_FLUSH is the suggested replacement but only use it for inflate. For deflate use Z_FINISH as Z_SYNC_FLUSH adds a trailing marker in some cases that inflate(), despite the comment in zlib, does npt seem to cope well with, resulting in errors when uncompressing exactly fills the outbut buffer without a Z_STREAM_END and a successive call returns an error. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:01:50.902749Z K 7 svn:log V 535 MFC r199895: Change memory managment from a fixed size array to a list. This is needed to avoid running into out of buffer situations where we cannot alloc a new buffer because we hit the array size limit (ZBUF). Use a combined allocation for the struct and the actual data buffer to not increase the number of malloc calls. [1] Defer initialization of zbuf until we actually need it. Make sure the output buffer will be large enough in all cases. Details discussed with: kib [1] Reviewed by: kib [1] END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:03:20.120781Z K 7 svn:log V 127 MFC r199896: Directly send data uncompressed if the packet payload size is lower than the compression algorithm threshold. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T19:04:21.126200Z K 7 svn:log V 203 Don't let the C library depend on . The maximum length of a username has nothing to do with the size of the username in the utmp files. Use MAXLOGNAME, which is defined as 17 (UT_USERSIZE + 1). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:06:03.836483Z K 7 svn:log V 34 MFC r199897: Remove whitespace. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:07:28.519357Z K 7 svn:log V 384 MFC r199899: Only add the IPcomp header if crypto reported success and we have a lower payload size. Before we had always added the header, no matter if we actually send out compressed data or not. With this, after the opencrypto/deflate changes, IPcomp starts to work apart from edge cases. Leave it disabled by default until those are fixed as well. PR: kern/123587 END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:09:26.884339Z K 7 svn:log V 81 MFC r199904: Add SDT iter probes forgotten in r199885 (r200138 for stable/8). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:11:02.195781Z K 7 svn:log V 98 MFC r199905: Assimilate very similar input and output code paths (no real functional change). END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:12:35.162333Z K 7 svn:log V 454 MFC r199906: In case the compression result is the same size as the orignal version, the compression was useless as well. Make sure to not update the data and return, else we would waste resources when decompressing. This also avoids the copyback() changing data other consumers like xform_ipcomp.c would have ignored because of no win and sent out without noting that compression was used, resulting in invalid packets at the receiver. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:21:58.276145Z K 7 svn:log V 358 MFC r199946: Add more statistics variables for IPcomp. Try to version the struct in a backward compatible way. People asked for the versioning of the stats structs in general before. Note: old netstat binaries, as only consumer, continue to work as they are still using kvm but will not display the new stats. [1] Discussed with: rwatson [1] END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:25:29.563529Z K 7 svn:log V 66 MFC r199947, 199950: Enable IPcomp by default. PR: kern/123587 END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T19:31:38.142306Z K 7 svn:log V 208 Fix many "function declaration isn't a prototype" warnings in libc. I've only fixed code that seems to be written by `us'. There are still many warnings like this present in resolv/, rpc/, stdtime/ and yp/. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:42:42.986202Z K 7 svn:log V 132 MFC r198076: Explicitly compare to a return code. Discussed with: philip (after we both misread the logic there the 1st time) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T19:44:16.083937Z K 7 svn:log V 55 MFC r198050: Compare pointer to NULL rather than 0. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T19:53:29.000899Z K 7 svn:log V 551 Massively extend libulog: - Just like struct utmp, store strings inside struct utmpx itself. This is needed to make things like pututxline() work. - Add ut_id and ut_pid fields, even though they have little use in our implementation. - It turns out our "reboot" wtmp entries indicate a system boot, so remove REBOOT_TIME - Implement getutxline() and pututxline - Add getutxuser() and setutxfile(), which allows us to crawl wtmp and lastlog files as well. - Add _ULOG_POSIX_NAMES, so we can already use the POSIX names if we really want to. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T19:54:37.139530Z K 7 svn:log V 197 Use _ULOG_POSIX_NAMES here, to make eventual porting to easier. By the time we gain a real , it's just a matter of changing the include at the top and -lulog from the Makefile. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T19:55:26.026654Z K 7 svn:log V 56 Add WARNS?=6, because it seems to build out of the box. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T20:05:25.252553Z K 7 svn:log V 250 Let wall(1) use utmpx. Because our implementation guarantees the strings inside struct utmpx to be null terminated, we don't need to copy everything out, which makes the code nicer to read. Also set WARNS to 6 and add $FreeBSD$ to keep SVN silent. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T20:09:50.187638Z K 7 svn:log V 166 Let date(1) use utmpx instead of logwtmp(). utmpx also has OLD_TIME/NEW_TIME messages, which seem to be intended for the same purpose as how we call logwtmp() here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-12-05T20:16:28.417148Z K 7 svn:log V 414 We have to eventually look for provider without checking guid as this is need for attaching when there is no metadata yet. Before r200125 the order of looking for providers was wrong. It was: 1. Find provider by name. 2. Find provider by guid. 3. Find provider by name and guid. Where it should have been: 1. Find provider by name and guid. 2. Find provider by guid. 3. Find provider by name. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-05T20:17:04.812625Z K 7 svn:log V 177 If we're installing a package update the pkgdep versions to match what is installed. Make the message about updating entries for dependencies on the new port more informative. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T20:22:26.174125Z K 7 svn:log V 249 Let wall(1) use utmpx. Because our implementation guarantees the strings inside struct utmpx to be null terminated, we don't need to copy everything out, which makes the code nicer to read. Also set WARNS to 6 and add $FreeBSD$ to keep SVN happy. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T20:26:55.511764Z K 7 svn:log V 280 Let init(8) and reboot(8) use utmpx to log wtmp entries. logwtmp() gets called with the raw strings that are written to disk. For regular user entries, this isn't too bad, but when booting/shutting down, the contents get rather cryptic. Just call the standardized pututxline(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-05T20:36:42.559304Z K 7 svn:log V 251 Change VOP_FSYNC for zfs vnode from VOP_PANIC to zfs_freebsd_fsync(), both to not panic when fsync(2) is called for fifo on zfs filedescriptor, and to actually fsync fifo inode to permanent storage. PR: kern/141177 Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T20:37:46.444708Z K 7 svn:log V 674 MFC r197518: lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961 END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T20:40:28.777512Z K 7 svn:log V 143 MFC r197726: Print a warning in case we cannot add more brandinfo because we would overflow the MAX_BRANDS sized array. Reviewed by: kib END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-05T20:43:15.591528Z K 7 svn:log V 467 MFC r197729: Make sure that the primary native brandinfo always gets added first and the native ia32 compat as middle (before other things). o(ld)brandinfo as well as third party like linux, kfreebsd, etc. stays on SI_ORDER_ANY coming last. The reason for this is only to make sure that even in case we would overflow the MAX_BRANDS sized array, the native FreeBSD brandinfo would still be there and the system would be operational. Reviewed by: kib END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T20:44:19.480266Z K 7 svn:log V 401 Port who(1) to utmpx. (Un)fortunately there is no standardized interface to switch between utmp database files, so we must call ulog_setutxfile() here. I'm also changing the column widths to magic numbers here. Display layout should in this case not be derived from structure fields sizes. Because I don't want struct utmpx ever to become too small, the fields are too big to reserve all the space. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T20:52:11.938027Z K 7 svn:log V 31 Let systat's vmstat use utmpx. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-05T21:50:06.035232Z K 7 svn:log V 147 Add the ability to specify a repository on the local file system. Fall back to fetching if the local package does not exist, or is not up to date. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-05T23:23:46.135473Z K 7 svn:log V 60 Unbreak rescue(8). We should also link against libulog now. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2009-12-05T23:27:21.292157Z K 7 svn:log V 249 Fix burst processing for WF2Q pipes - do not increase available burst size unless pipe is idle. This should fix follwing issues: - 'dummynet: OUCH! pipe should have been idle!' log messages. - exceeding configured pipe bandwidth. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-06T00:10:13.429609Z K 7 svn:log V 838 MFp4: Introduce ATA_CAM kernel option, turning ata(4) controller drivers into cam(4) interface modules. When enabled, this options deprecates all ata(4) peripheral drivers (ad, acd, ...) and interfaces and allows cam(4) drivers (ada, cd, ...) and interfaces to be natively used instead. As side effect of this, ata(4) mode setting code was completely rewritten to make controller API more strict and permit above change. While doing this, SATA revision was separated from PATA mode. It allows DMA-incapable SATA devices to operate and makes hw.ata.atapi_dma tunable work again. Also allow ata(4) controller drivers (except some specific or broken ones) to handle larger data transfers. Previous constraint of 64K was artificial and is not really required by PCI ATA BM specification or hardware. Submitted by: nwitehorn (powerpc part) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-06T01:10:30.559848Z K 7 svn:log V 390 Let w(1) use utmpx. We don't have UT_*SIZE anymore. One of the reasons for that is because all strings are null terminated, there is no need for apps to copy strings out of the utmpx structure. This means we can define W_DISP*SIZE lengths for all columns. While there, adjust the sizes a little. Steal some bytes from the username column, while extending the hostname column quite a bit. END