ƒ—163825 175 198 489 305 686 264 345 179 277 223 186 191 189 360 169 427 112 838 279 263 190 442 146 151 165 168 160 151 119 140 159 145 158 159 1053 115 139 603 245 504 159 312 122 219 128 131 120 312 210 126 271 140 351 338 117 161 228 181 163 331 104 184 128 135 320 122 2063 275 183 295 126 244 192 517 273 165 113 280 200 198 261 132 314 262 113 518 164 152 117 1490 632 635 812 158 153 103 374 146 398 340 144 164 187 146 221 208 153 116 245 194 132 198 216 732 414 238 326 410 214 218 271 306 199 175 166 274 357 237 799 1215 314 246 310 179 103 136 175 97 142 234 174 188 442 268 296 203 129 293 660 254 172 165 1003 239 179 177 137 231 329 221 477 149 730 1234 143 158 322 154 232 240 657 178 471 635 205 247 K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-10-31T16:13:38.000000Z K 7 svn:log V 105 Remove unused softc pointer variable from the probe routine. CID: 1560 Found by: Coverity Prevent (tm) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-10-31T16:19:21.000000Z K 7 svn:log V 392 Rework the transmit register handling. In em_encap() store index of the EOP descriptor in the first descriptor of the packet. And then in em_txeof() search for DD bits set only in the EOP descriptors, embedding the cleanup of all packet's descriptors into inner loop. This change is important for future chips, where DD bit is going to be set only on the EOP descriptors. Submitted by: jfv END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-10-31T17:05:02.000000Z K 7 svn:log V 212 - Use callout_init_mtx() to close various callout-related races. - Drain the two timers in detach. - Check IFF_DRV_RUNNING in the link task and bail w/o doing anything if it is clear. Reviewed by: jfv, scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-10-31T17:21:14.000000Z K 7 svn:log V 593 Allocate receive and transmit data structures during attach() and free them during detach() similar to other NIC drivers rather than allocating them during init() and freeing them during stop(): - Move creation of tx bus_dma tag amd maps and tx_buffer_area from em_setup_transmit_structures() to em_allocate_transmit_structures(). - Call em_allocate_xxx_structures() in em_attach(). - Only call em_free_xxx_structures() in em_detach(). - Change em_setup_xxx_structures() to free any existing tx or rx buffers and in the case of rx repopulate the ring with newer buffers. Reviewed by: jfv END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-10-31T17:53:02.000000Z K 7 svn:log V 171 Fix a typo resulting in truncated linux32 signal trampoline code copied to the usermode. Usually, signal handler segfaulted on return. Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-10-31T20:25:37.000000Z K 7 svn:log V 249 Make EWOULDBLOCK a recoverable error so that the request is retransmitted. This bug results in data corruption with NFS/TCP. Writes are silently dropped on EWOULDBLOCK (because socket send buffer is full and sockbuf timer fires). Reviewed by: ups@ END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-10-31T21:05:35.000000Z K 7 svn:log V 87 remove gdbserver on ARCH i386 as we now install it again.. Submitted by: Pawel Worach END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:11:21.000000Z K 7 svn:log V 184 Add a new I/O request - BIO_FLUSH, which basically tells providers below to flush their caches. For now will mostly be used by disks to flush their write cache. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:12:43.000000Z K 7 svn:log V 130 Add a new disk flag - DISKFLAG_CANFLUSHCACHE, which indicates that the disk can handle BIO_FLUSH requests. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:19:25.000000Z K 7 svn:log V 94 Implement BIO_FLUSH handling for da(4), amr(4), ata(4) and ataraid(4). Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:21:48.000000Z K 7 svn:log V 99 Implement cgwrite1(3) function which stored a given cylinder group on disk. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:23:51.000000Z K 7 svn:log V 97 Implement BIO_FLUSH handling by simply passing it down to the components. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:31:00.000000Z K 7 svn:log V 267 Add gjournal GEOM class (kernel side), which implements block level journaling and can be tought about marking file system as clean before doing journal switch, which easly allows to add journaling to file systems that don't have this feature. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:32:54.000000Z K 7 svn:log V 77 Add userland control utility for gjournal GEOM class. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:38:51.000000Z K 7 svn:log V 334 Add MNT_GJOURNAL flag which indicates, that file system has gjournal support enabled. Add mnt_gjprovider field which keeps gjournal provider's name on which file system is placed on. This allows to not place file system on gjournal directly and allows gjournal class to pair gjournal provider with file system. Sponsored by: home.pl END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-10-31T21:44:46.000000Z K 7 svn:log V 16 Fix buildworld. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:48:54.000000Z K 7 svn:log V 745 Add gjournal specific code to the UFS file system: - Add FS_GJOURNAL flag which enables gjournal support on a file system. - Add cg_unrefs field to the cylinder group structure which holds number of unreferenced (orphaned) inodes in the given cylinder group. - Add fs_unrefs field to the super block structure which holds total number of unreferenced (orphaned) inodes. - When file or a directory is orphaned (last reference is removed, but object is still open), increase fs_unrefs and cg_unrefs fields, which is a hint for fsck in which cylinder groups looks for such (orphaned) objects. - When file is last closed, decrease {fs,cg}_unrefs fields. - Add VV_DELETED vnode flag which points at orphaned objects. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:52:28.000000Z K 7 svn:log V 186 Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournal support. I left -j flag for UFS journal implementation which we may gain at some point. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T21:54:51.000000Z K 7 svn:log V 170 Teach mount(8) about MNT_GJOURNAL flag. MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show 'gjournal' option in mount(8) output. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:02:24.000000Z K 7 svn:log V 98 Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:06:56.000000Z K 7 svn:log V 349 Implements gjournal support. If file system has gjournal support enabled and -p flag was given perform fast file system checking (bascially only garbage collecting of orphaned objects). Rename bread() to blread() and bwrite() to blwrite() as we now link to the libufs library, which also implement functions with that names. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:07:29.000000Z K 7 svn:log V 54 Update after function renames. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:15:59.000000Z K 7 svn:log V 59 Add recently added fs_unrefs field. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:18:33.000000Z K 7 svn:log V 73 Add fs_unrefs field to the super block structure. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:21:01.000000Z K 7 svn:log V 76 Forgot to add file with gjournal specific fsck code. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:21:47.000000Z K 7 svn:log V 68 Add Makefile for geom_journal kernel module. Sponsored by: home.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-10-31T22:22:30.000000Z K 7 svn:log V 59 Hook up gjournal bits to the build. Sponsored by: home.pl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-10-31T22:36:49.000000Z K 7 svn:log V 27 Whitespace and style nits. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T01:19:13.000000Z K 7 svn:log V 48 Remove debugging code I accidentally committed. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-11-01T01:25:51.000000Z K 7 svn:log V 64 Reworking of how to add ports. submitted by: Jean Milanez Melo END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-11-01T01:54:30.000000Z K 7 svn:log V 49 Add error code EPERM. Reviewed by: ru, deischen END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2006-11-01T03:45:24.000000Z K 7 svn:log V 64 Document the cdp for controlling CD power. Approved by: cognet END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-01T04:46:06.000000Z K 7 svn:log V 65 o Expand "Nov" to "November" in Dd macro, remove eol whitespace. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-01T04:54:51.000000Z K 7 svn:log V 961 Add a cnputs() function to write a string to the console with a lock to prevent interspersed strings written from different CPUs at the same time. To avoid putting a buffer on the stack or having to malloc one, space is incorporated in the per-cpu structure. The buffer size if 128 bytes; chosen because it's the next power of 2 size up from 80 characters. String writes to the console are buffered up the end of the line or until the buffer fills. Then the buffer is flushed to all console devices. Existing low level console output via cnputc() is unaffected by this change. ithread calls to log() are also unaffected to avoid blocking those threads. A minor change to the behaviour in a panic situation is that console output will still be buffered, but won't be written to a tty as before. This should prevent interspersed panic output as a number of CPUs panic before we end up single threaded running ddb. Reviewed by: scottl, jhb MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-01T04:56:35.000000Z K 7 svn:log V 21 o OpenBSD 4.0 added. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-01T08:14:14.000000Z K 7 svn:log V 48 Add the trap-trace function for the hypervisor. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-01T09:02:11.000000Z K 7 svn:log V 511 Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting to WITH_CDDL. This option enables building code that is licensed under Sun's CDDL. The DTrace code is licensed that way, so by default it will get built unless the WITHOUT_CDDL option is used. There is another build toggle, NO_CTF, which turns off execution of ctfconvert and ctfmerge in sys.mk, but this can't be implemented as WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and sys.mk is included automatically by make. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-01T09:05:40.000000Z K 7 svn:log V 153 When building an upgraded make, don't worry about processing it for use with DTrace because the normal buildworld will do that when the tools are built. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-01T09:07:47.000000Z K 7 svn:log V 407 Bring in support for the Rapid Spanning Tree Protocol (802.1w). RSTP provides faster spanning tree convergence, the protocol will exchange information with neighboring switches to quickly transition to forwarding without creating loops. The code will default to RSTP mode but will downgrade any port connected to a legacy STP network so is fully backward compatible. Reviewed by: syrinx Tested by: syrinx END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T09:22:33.000000Z K 7 svn:log V 67 Fix powerpc build. Reported by: Peter Grehan END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T09:37:11.000000Z K 7 svn:log V 219 Update the code to the current sync(2) version: - Do not modify mnt_flag without mount interlock held. - Do not touch MNT_ASYNC flag, as this can lead to a race with nmount(2). Pointed out by: tegge Reviewed by: tegge END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-01T10:56:33.000000Z K 7 svn:log V 31 Fix -fstrict-aliasing warning. END K 10 svn:author V 6 philip K 8 svn:date V 27 2006-11-01T12:13:08.000000Z K 7 svn:log V 123 Fix vim syntax highlighting. Vim complained about the (comment). The syntax file is also called "sendpr", not "send-pr". END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T12:29:49.000000Z K 7 svn:log V 36 Add BIO_FLUSH support to GPT class. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T12:30:51.000000Z K 7 svn:log V 39 Add BIO_FLUSH support to GSHSEC class. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T12:34:35.000000Z K 7 svn:log V 28 Document BIO_FLUSH request. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-11-01T12:41:43.000000Z K 7 svn:log V 216 Do not include both and , it is a style bug as sys/types.h is included in sys/param.h, so instead just move the #include before the headers that need it. Spotted out by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T12:42:14.000000Z K 7 svn:log V 117 - Document two new function g_alloc_bio() and g_duplicate_bio(). - Bump modification date. - Update copyright years. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T12:44:28.000000Z K 7 svn:log V 34 Better English. Submitted by: ru END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-01T13:48:44.000000Z K 7 svn:log V 178 Aquire Giant in the softdep_flush for clear_remove() and clear_inodedeps() processing when QUOTA is set. Reported and tested by: Peter Holm Reviewed by: tegge MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T14:09:59.000000Z K 7 svn:log V 48 Forgot to remove this line. Reported by: maxim END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-01T15:36:47.000000Z K 7 svn:log V 258 Fix botch in last commit (I tested on 6.x which doesn't have TSO): - Test the mac_type rather than if_hwassist (since ifp doesn't exist yet) to determine if the adapter supports TSO and thus to change the sizes for the bus_dma tag. Reviewed by: glebius END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T16:05:06.000000Z K 7 svn:log V 245 Skip disabled CPU, because after we sched_bind() to a disabled CPU, we won't be able to exit from the thread. Function g_eli_cpu_is_disabled() stoled from kern_pmc.c. PR: 104669 Reported by: Nikolay Mirin MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-01T16:48:33.000000Z K 7 svn:log V 25 Comment and style tweak. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-01T16:50:13.000000Z K 7 svn:log V 69 Increment nb_allocated while holding the pt_mtx lock to avoid races. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-01T18:17:53.000000Z K 7 svn:log V 132 Remove the atkbd(4), atkbdc(4) and psm(4) hints. In theory they can be used on sparc64 but that would be totally wrong in practice. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-01T18:24:12.000000Z K 7 svn:log V 89 Fix compile botch in the last panic botch fix. :( Pointy hat: jhb Reported by: brueffer END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-01T18:55:32.000000Z K 7 svn:log V 72 MFC: 1.98: Handle vnode_if.h dependencies right. Approved by: re (hrs) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T18:56:18.000000Z K 7 svn:log V 238 Fix md(4) panic which occurs when I/O request different than BIO_READ/BIO_WRITE is sent to vnode-backed provider (BIO_DELETE or BIO_FLUSH). Reported by: ceri Add support for BIO_FLUSH to vnode-backed md(4) devices based on VOP_FSYNC(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T18:59:06.000000Z K 7 svn:log V 12 Style nits. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-01T21:33:17.000000Z K 7 svn:log V 93 Spaces to tabs. (I shouldn't copy and paste from diff output to a terminal) Noticed by: pjd END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T22:16:53.000000Z K 7 svn:log V 36 Change spaces to tabs where needed. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T22:28:11.000000Z K 7 svn:log V 43 G_TYPE_NONE was replaced with G_TYPE_BOOL. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T22:51:49.000000Z K 7 svn:log V 227 Now, that we have gjournal in the tree add possibility to configure gmirror and graid3 in a way that it is not resynchronized after a power failure or system crash. It is safe when gjournal is running on top of gmirror/graid3. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-01T23:40:44.000000Z K 7 svn:log V 30 Document MNT_GJOURNAL option. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-02T00:01:15.000000Z K 7 svn:log V 1966 - In sunkbd_probe_keyboard() don't bother to determine the keyboard layout as we have no use for that info. Instead let this function return the keyboard ID and verify at its invocation in sunkbd_configure() that we're talking to a Sun type 4/5/6 keyboard, i.e. a keyboard supported by this driver. - Add an option SUNKBD_EMULATE_ATKBD whose code is based on the respective code in ukbd(4) and like UKBD_EMULATE_ATSCANCODE causes this driver to emit AT keyboard/KB_101 compatible scan codes in K_RAW mode as assumed by kbdmux(4). Unlike UKBD_EMULATE_ATSCANCODE, SUNKBD_EMULATE_ATKBD also triggers the use of AT keyboard maps and thus allows to use the map files in share/syscons/keymaps with this driver at the cost of an additional translation (in ukbd(4) this just is the way of operation). - Implement an option SUNKBD_DFLT_KEYMAP, which like the equivalent options of the other keyboard drivers allows to specify the default in-kernel keyboard map. For obvious reasons this made to only work when also using SUNKBD_EMULATE_ATKBD. - Implement sunkbd_check(), sunkbd_check_char() and sunkbd_clear_state(), which are also required for interoperability with kbdmux(4). - Implement K_CODE mode and FreeBSD keypad compose. - As a minor hack define KBD_DFLT_KEYMAP also in the !SUNKBD_EMULATE_ATKBD case so we can obtain fkey_tab from rather than having to duplicate it and #ifdef some more code. - Don't use the TX-buffer for writing the two command bytes for setting the keyboard LEDs as this consequently requires a hardware FIFO that is at least two bytes in depth, which the NMOS-variant of the Zilog SCCs doesn't have. Thus use an inlined version of uart_putc() to consecutively write the command bytes (a cleaner approach would be to do this via the soft interrupt handler but that variant wouldn't work while in ddb(4)). [1] - Fix some minor style(9) bugs. PR: 90316 [1] Reviewed by: marcel [1] END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-02T00:02:22.000000Z K 7 svn:log V 179 o Make sure to clear f->f_devdata if d_dev->dv_open() fails. It would otherwise cause devclose() to free() the memory again. o Refactor devopen() so that it's more readable. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-02T00:05:15.000000Z K 7 svn:log V 88 Remove ; including both and violates style(9). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-02T00:26:45.000000Z K 7 svn:log V 199 Don't unconditionally compile-in the bcache code. It's only used on i386/amd64 and pc98. Remove useless calls to bcache_init() from the ia64 and sparc64 loaders, as well as from the OFW common code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-02T00:37:39.000000Z K 7 svn:log V 34 Grr, fix one more build breakage. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-02T00:39:36.000000Z K 7 svn:log V 147 If the port is agreed or edge then allow it go go straight to forwarding rather than waiting another tick (1s) for the states to be checked again. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-02T00:54:38.000000Z K 7 svn:log V 97 2nd and final commit that moves us to CAM_NEW_TRAN_CODE as the default. Reviewed by multitudes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-02T01:23:18.000000Z K 7 svn:log V 421 Extend struct devdesc with a unit field, called d_unit. Promote the device (kind) specific unit field to the common field. This change allows a future version of libefi to work without requiring anything more than what is defined in struct devdesc and as such makes it possible to compile said version of libefi for different platforms without requiring that those platforms have identical derivatives of struct devdesc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-02T02:42:48.000000Z K 7 svn:log V 177 Sync the EFI headers with version 1.10.14.62 of the Intel sample EFI implementation. This re-introduces C99 style comments that previously were replaced by original C comments. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-02T03:21:32.000000Z K 7 svn:log V 70 Add 4Gb (24XX) support and lay the foundation for a lot of new stuff. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-02T03:23:01.000000Z K 7 svn:log V 18 Use 2K Login f/w. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-11-02T04:16:15.000000Z K 7 svn:log V 182 Fix "1 day ago", "yesterday" and similar relative-time phrases when parsing dates. PR: bin/104934: bug in some date handling of bsdtar Reported by: Herve Boulouis MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-02T07:36:33.000000Z K 7 svn:log V 105 o There is no securenets(5) man page, refer to ypserv(8). Obtained from: DragonFlyBSD MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-02T08:04:13.000000Z K 7 svn:log V 101 Fix a resource leak when the mbuf pointer changes. CID: 1564, 1565 Found by: Coverity Prevent (tm) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-02T08:44:19.000000Z K 7 svn:log V 164 Do not test all the conditions if the port is already forwarding. Also print a debug message if the port is agreed as it is an important condition of the protocol. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-02T09:01:34.000000Z K 7 svn:log V 40 I want CPU number here. Noticed by: ru END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-02T09:14:18.000000Z K 7 svn:log V 221 - Use g_duplicate_bio() instead of g_clone_bio(), so there memory is allocated with M_WAITOK flag. - Check 'buf' instead of 'error' so Prevent is not confused. CID: 1562, 1563 Found by: Coverity Prevent analysis tool END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-11-02T09:21:57.000000Z K 7 svn:log V 166 Document Elf{32,64}_Lword. Keep the list of ELF types sorted. Describe the contents of the 'e_shnum' and 'e_shstrndx' fields when using extended section numbering. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-11-02T10:44:02.000000Z K 7 svn:log V 20 Bump .Dd for -f|-F. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-02T11:47:38.000000Z K 7 svn:log V 425 On trap while inside ddb, the trap handler calls kdb_reenter(), that longjmp to the default context. As result, "alltrace" command may be prematurely terminated (without error message). This is happens, for instance, when system is low on memory and referenced page in kernel-mode thread stack is swapped out. Protect "alltrace" against termination on trap by setting temporary kdb_jmpbuf context. Submitted by: Peter Holm END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-02T14:10:56.000000Z K 7 svn:log V 73 Replace the SEE ALSO xrefs with a more reasonable set stolen from POSIX. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-02T14:57:22.000000Z K 7 svn:log V 58 MFC Adaptec ServeRAID 7x IDs. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-02T16:24:18.000000Z K 7 svn:log V 25 Fix ia64 build breakage. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-11-02T16:53:26.000000Z K 7 svn:log V 1394 Rewrite kern_sendfile() to work in two loops, the inner which turns as many VM pages into mbufs as it can -- up to the free send socket buffer space. The outer loop then drops the whole mbuf chain into the send socket buffer, calls tcp_output() on it and then waits until 50% of the socket buffer are free again to repeat the cycle. This way tcp_output() gets the full amount of data to work with and can issue up to 64K sends for TSO to chop up in the network adapter without using any CPU cycles. Thus it gets very efficient especially with the readahead the VM and I/O system do. The previous sendfile(2) code simply looped over the file, turned each 4K page into an mbuf and sent it off. This had the effect that TSO could only generate 2 packets per send instead of up to 44 at its maximum of 64K. Add experimental SF_MNOWAIT flag to sendfile(2) to return ENOMEM instead of sleeping on mbuf allocation failures. Benchmarking shows significant improvements (95% confidence): 45% less cpu (or 1.81 times better) with new sendfile vs. old sendfile (non-TSO) 83% less cpu (or 5.7 times better) with new sendfile vs. old sendfile (TSO) (Sender AMD Opteron 852 (2.6GHz) with em(4) PCI-X-133 interface and receiver DELL Poweredge SC1425 P-IV Xeon 3.2GHz with em(4) LOM connected back to back at 1000Base-TX full duplex.) Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-02T17:28:38.000000Z K 7 svn:log V 540 Revert the last change. Masking only 2 MSBs of the virtual address to get the physical address doesn't work for all values of KVA_PAGES, while masking 8 MSBs works for all values of KVA_PAGES that are multiple of 4 for non-PAE and 8 for PAE. (This leaves us limited with 12MB for non-PAE kernels and 14MB for PAE kernels.) To get things right, we'd need to subtract the KERNBASE from the virtual address (but KERNBASE is not easy to figure out from here), or have physical addresses set properly in the ELF headers. Discussed with: jhb END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-11-02T17:37:22.000000Z K 7 svn:log V 540 Rename m_getm() to m_getm2() and rewrite it to allocate up to page sized mbuf clusters. Add a flags parameter to accept M_PKTHDR and M_EOR mbuf chain flags. Provide compatibility macro for m_getm() calling m_getm2() with M_PKTHDR set. Rewrite m_uiotombuf() to use m_getm2() for mbuf allocation and do the uiomove() in a tight loop over the mbuf chain. Add a flags parameter to accept mbuf flags to be passed to m_getm2(). Adjust all callers for the extra parameter. Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-11-02T17:45:28.000000Z K 7 svn:log V 717 Use the improved m_uiotombuf() function instead of home grown sosend_copyin() to do the userland to kernel copying in sosend_generic() and sosend_dgram(). sosend_copyin() is retained for ZERO_COPY_SOCKETS which are not yet supported by m_uiotombuf(). Benchmaring shows significant improvements (95% confidence): 66% less cpu (or 2.9 times better) with new sosend vs. old sosend (non-TSO) 65% less cpu (or 2.8 times better) with new sosend vs. old sosend (TSO) (Sender AMD Opteron 852 (2.6GHz) with em(4) PCI-X-133 interface and receiver DELL Poweredge SC1425 P-IV Xeon 3.2GHz with em(4) LOM connected back to back at 1000Base-TX full duplex.) Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-02T17:52:43.000000Z K 7 svn:log V 67 Unbreak compile with ELF_VERBOSE defined, and fix format warnings. END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-11-02T18:57:09.000000Z K 7 svn:log V 60 Properly htole16() PSM in sockaddr_l2cap MFC after: 3 days END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-11-02T19:10:05.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-11-02T19:48:17.000000Z K 7 svn:log V 278 MFC: Make EWOULDBLOCK a recoverable error so that the request is retransmitted. This bug results in data corruption. Writes are silently dropped on EWOULDBLOCK (caused because socket send buffer is full and sockbuf timer fires - with NFS/TCP). Reviewed by: ups@ Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-11-02T19:53:57.000000Z K 7 svn:log V 50 Cross-reference libmemstat(3), malloc(9), uma(9). END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2006-11-02T20:43:20.000000Z K 7 svn:log V 301 Only use the filename part of the kernel configuration file as an argument to KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This allows the use of one kernel config file for multiple images. E.g.: NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS MFC: after 6.2 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-02T21:12:37.000000Z K 7 svn:log V 244 Add a tunable that allows one to turn off the automatic sending of the ORDERED tag. This recoups significant performance gains for many arrays. The default is still to send out the ORDERED tag periodically. Reviewed by: scsi (justin+timeout) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-02T23:18:25.000000Z K 7 svn:log V 49 add some missing MPT<>CAM and CAM<>MPT bogolocks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-02T23:19:00.000000Z K 7 svn:log V 69 Fix some negotiation issues (like not being able to negotiate async) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-03T03:34:04.000000Z K 7 svn:log V 91 Defer sending the bpdu from bstp_update_info as all code paths will test this flag anyway. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-03T04:04:19.000000Z K 7 svn:log V 51 Properly calculate the checksum of the APIC table. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-03T04:06:17.000000Z K 7 svn:log V 125 Make sure kern_envp is never NULL. If we don't get a pointer to the environment from the loader, use the static environment. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-03T04:19:31.000000Z K 7 svn:log V 112 Make this compile on EFI32. The EFI_PHYSICAL_ADDRESS type is always 64-bit, even when sizeof(void *) is 32-bit. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-11-03T04:57:23.000000Z K 7 svn:log V 58 Add PCI Id for ServeRAID 8k. Submitted by: Danny Braniss END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-11-03T05:42:15.000000Z K 7 svn:log V 24 Remove extra whitespace END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-03T06:23:53.000000Z K 7 svn:log V 153 Always init the console before trying to cnadd it to avoid the case where the console name isn't set and cnadd wants to use printf to complain about it. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-03T06:31:56.000000Z K 7 svn:log V 102 Add a low level function to write a string to the hypervisor console directly. Discussed with: kmacy END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-11-03T06:50:03.000000Z K 7 svn:log V 35 Document IBM ServeRAID 8k support. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-03T07:27:55.000000Z K 7 svn:log V 103 make sure physmem is initialized add clarifying comments Reviewed by: jb Approved by: rwatson (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-03T07:29:09.000000Z K 7 svn:log V 121 Fix initialization sequence for console Fix commenting convention slightly Approved by: rwatson (mentor) Reviewed by: jb END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-03T07:39:37.000000Z K 7 svn:log V 639 MFp4: o Fix the packet statistics o Make sure we set the FD bit when in full duplex o Improve TX side efficency by eliminating a data copy for unfragmented mbufs (the hardware can't do s/g). o Minor busdma pedantry o better comments in some places, more XXX in others o Minor style nits. This solves a problem I was seeing where I'd get no ethernet when not booting with a NFS root. Well, unless I unplugged the cable and plugged it back in first so I'd get the same up down up messages I get for NFS root... Thanks to sam and scottl for suggestions on making this driver more efficient through better use of approrpiate APIs. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T08:38:26.000000Z K 7 svn:log V 317 MFC: o Note the value from getenv() should not be modified by applications[1]; o getenv.3: Put "is" on a line with other words. [2] o getobjformat.3: "takes precedence over" is not an envrionment variable. [2] [1]: PR: 60544 Reviewed by: ru [2]: PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T08:43:37.000000Z K 7 svn:log V 141 MFC: Note the naming convention of files in share/skel and explain the "dot" prefix is removed. PR: 103828 Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T08:50:26.000000Z K 7 svn:log V 229 MFC: The SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of it in the tun.4 manual page. PR: 98541 Submitted by: David Gilbert (In actuality it was submitted by bz@) Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T09:00:18.000000Z K 7 svn:log V 313 Paritially sync with CURRENT, kills hard sentence breaks, fixes some markup. MFC: 1.197 Add a note about rule syntax compared to the shell used so users do not get frustraited when: ipfw add 201 deny ip from any to table(2) in via xl1 returns "Badly placed ( )'s" PR: 73638 Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T09:03:17.000000Z K 7 svn:log V 117 MFC: Add information on how to escape a literal colon in a value or name. PR: 101262 Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T09:05:44.000000Z K 7 svn:log V 121 Sync up to CURRENT and note the -P option is not supported on FreeBSD. PR: 99831 Reviewed by: ru Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T09:14:24.000000Z K 7 svn:log V 174 MFC: Note that the -v option may be used to expand long SSIDs. Use .Fl inplace of .Cm (ru change). PR: 102118 Reviewed by: sam Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-03T09:15:55.000000Z K 7 svn:log V 213 MFC rev. 1.427: The attempt to rename "." with MAC framework compiled in would cause attempt to twice unlock the vnode. Check that ni_vp and ni_dvp are different before doing second unlock. Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-03T09:16:48.000000Z K 7 svn:log V 106 MFC rev. 1.166: Fix leak in NAMEI zone caused by nfs server when VOP_RENAME fails. Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-03T09:18:31.000000Z K 7 svn:log V 83 MFC rev. 1.25 Use correct linux32 signal trampoline length. Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T09:18:41.000000Z K 7 svn:log V 70 MFC: Remove ndisapi.9 Xref. PR: 97375 Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T09:24:52.000000Z K 7 svn:log V 177 MFC 1.43 (markup fixes by ru) and 1.44: Mark up keywords with .Cm. PR: 95039 Sumitted by: SeaD (older version) Reviewed by: ru Approved by: re (hrs) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-03T10:40:02.000000Z K 7 svn:log V 260 Sync up to CURRENT: Kill reference to ndisapi.9 here as well, it doesn't exist. PR: 82114 Point users to ndisgen(8) over directly interacting with ndiscvt(8) as the former is easier to use. PR: 97231 Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-03T11:43:47.000000Z K 7 svn:log V 144 MFC rev. 1.202: Aquire Giant in the softdep_flush for clear_remove() and clear_inodedeps() processing when QUOTA is set. Approved by: re (hrs) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-03T12:02:24.000000Z K 7 svn:log V 707 Remove the -C option as it does more harm than good. To be fully compatible, it would have to (at least): - support the "compat-compat" -T option, - *not* support the -l, -O, and -v options, - default to soft updates being disabled. Worse, the compatibility mode makes it impossible to mount_mfs(8) a file system from fstab(5) with soft updates disabled (-S). [1] Now, the only difference when called as "mount_mfs" or "mfs" (as opposed to "mdmfs") is that the file mode of the mount point is set by default to 01777. All options available to mdmfs(8) are also available to mount_mfs(8); the -C option is still recognized but ignored for backward compatibility. PR: bin/98860 [1] MFC after: 2 weeks END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-03T15:23:16.000000Z K 7 svn:log V 1121 Ok, here it is, we finally add SCTP to current. Note that this work is not just mine, but it is also the works of Peter Lei and Michael Tuexen. They both are my two key other developers working on the project.. and they need ata-boy's too: **** peterlei@cisco.com tuexen@fh-muenster.de **** I did do a make sysent which updated the syscall's and sysproto.. I hope that is correct... without it you don't build since we have new syscalls for SCTP :-0 So go out and look at the NOTES, add option SCTP (make sure inet and inet6 are present too) and play with SCTP. I will see about comitting some test tools I have after I figure out where I should place them. I also have a lib (libsctp.a) that adds some of the missing socketapi functions that I need to put into lib's.. I will talk to George about this :-) There may still be some 64 bit issues in here, none of us have a 64 bit processor to test with yet.. Michael may have a MAC but thats another beast too.. If you have a mac and want to use SCTP contact Michael he maintains a web site with a loadable module with this code :-) Reviewed by: gnn Approved by: gnn END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-03T17:21:53.000000Z K 7 svn:log V 221 Opps... in my fix up of all the $FreeBSD:$-> $FreeBSD$ I inserted a few to the new files.. but I falied to add the #include Which causes a compile error.. sorry about that... got it now :-) Approved by:gnn END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-11-03T17:35:23.000000Z K 7 svn:log V 153 MFC rev.1.3: Suppress a spurious warning message when a kernel without INET6 is used. Spotted by: ru Reviewed by: ume Approved by: re (kensmith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-03T18:57:49.000000Z K 7 svn:log V 217 This commits the remake in kern/ make sysent to get the correct syscalls.master's $FreeBSD$ tag record and a make sysent in sys/compat/freebsd32. Thanks Ruslan for pointing out the steps I missed :-0 Approved by: gnn END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-03T19:48:56.000000Z K 7 svn:log V 87 Somehow I missed this one. The sys/cdef.h was out of order with respect to the FSBID.. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-03T21:09:03.000000Z K 7 svn:log V 12 Nitpicking. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-03T21:19:54.000000Z K 7 svn:log V 44 Fix two of the 64bit errors on the printfs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-03T21:21:28.000000Z K 7 svn:log V 84 Fix build breakage introduced in previous commit (redeclatation of sctp functions). END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-03T21:23:33.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-03T21:41:19.000000Z K 7 svn:log V 51 Remove no longer existing opt_bdg.h and opt_bge.h. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-03T23:03:46.000000Z K 7 svn:log V 142 The relocation definitions are now defined in the machine independent elf_common.h so that one arch can identify relocations on another arch. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-03T23:04:34.000000Z K 7 svn:log V 82 More 64 bit pointer fun. %p changed in multiple prints the mtod() was also fixed. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-03T23:33:40.000000Z K 7 svn:log V 94 make pcb pad area accessible from asm Approved by: scottl (standing in for rwatson as mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-03T23:41:53.000000Z K 7 svn:log V 347 - map hardware trap numbers to those used by by sparc64 for inter-compatibility and to make user-level trap handlers work - add new trap entry to trap table to enable fast fetching of floating point trap context - remove unused debug code - map unimplemented floating point trap to SIGFPE Approved by: scottl (standing in for mentor rwatson) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-03T23:43:18.000000Z K 7 svn:log V 173 - change ABI for user trap handler for sun4v (eventually will sync sparc64 no hardware set up to test at the moment) Approved by: scottl (standing in for mentor rwatson) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-04T00:27:14.000000Z K 7 svn:log V 199 MFC: Remove mention of "lomac" as it's been gone for a good while now (at least two years). Revision Changes Path 1.25 +2 -2 src/sbin/kldload/kldload.8 Approved by: re (bmah) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-04T01:45:50.000000Z K 7 svn:log V 106 MFC 1.197: Provide a less cryptic panic message in place of just "found inode." Approved by: re (hrs) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-11-04T02:01:52.000000Z K 7 svn:log V 36 Updated release note: em(4) 6.2.9. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-04T04:39:05.000000Z K 7 svn:log V 201 Allow a makefile to set IGNORE_PRAGMA so that OpenSolaris code can be built with other gcc warnings enabled. Every Solaris source file has a #pragma ident in it. We can just ignore those definitions. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-04T04:58:10.000000Z K 7 svn:log V 568 Build in kernel support for loading DTrace modules by default. This adds the hooks that DTrace modules register with, and adds a few functions which have the dtrace_ prefix to allow the DTrace FBT (function boundary trace) provider to avoid tracing because they are called from the DTtrace probe context. Unlike other forms of tracing and debug, DTrace support in the kernel incurs negligible run-time cost. I think the only reason why anyone wouldn't want to have kernel support enabled for DTrace would be due to the license (CDDL) under which DTrace is released. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-04T05:27:21.000000Z K 7 svn:log V 162 Backout the previous change. It was not intended to be part of the commit and, while something like that is probably required for sparc64, it hadn't been tested. END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-04T05:39:39.000000Z K 7 svn:log V 81 Remove a bogus cast in an attempt to fix the tinderbox builds on lots of arches. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-04T06:56:51.000000Z K 7 svn:log V 73 Doh! Actually commit checking against NULL for res. Noticed by: dougb@ END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-11-04T07:53:25.000000Z K 7 svn:log V 908 Update to version 9.3.2-P2, which addresses the vulnerability announced by ISC dated 31 October (delivered via e-mail to the bind-announce@isc.org list on 2 November): Description: Because of OpenSSL's recently announced vulnerabilities (CAN-2006-4339, CVE-2006-2937 and CVE-2006-2940) which affect named, we are announcing this workaround and releasing patches. A proof of concept attack on OpenSSL has been demonstrated for CAN-2006-4339. OpenSSL is required to use DNSSEC with BIND. Fix for version 9.3.2-P1 and lower: Upgrade to BIND 9.3.2-P2, then generate new RSASHA1 and RSAMD5 keys for all old keys using the old default exponent and perform a key rollover to these new keys. These versions also change the default RSA exponent to be 65537 which is not vulnerable to the attacks described in CAN-2006-4339. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-11-04T07:53:25.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r163976, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-11-04T07:53:26.000000Z K 7 svn:log V 83 This commit was manufactured by cvs2svn to create tag 'bind9-vendor-BIND_9_3_2_P2'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-04T08:19:01.000000Z K 7 svn:log V 86 Remove bogus casts that Randall for some reason didn't borrow from my supplied patch. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-04T08:45:50.000000Z K 7 svn:log V 46 Fix pointer arithmetic to be 64-bit friendly. END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-11-04T09:35:36.000000Z K 7 svn:log V 135 - clock_gettime is in time.h instead of sys/time.h Approved by: trhodes (mentor), keramida (mentor) PR: docs/104707 MFC-after: 3 days END K 10 svn:author V 8 lawrance K 8 svn:date V 27 2006-11-04T09:42:22.000000Z K 7 svn:log V 231 Document return values for res_query and res_search. h_errno is not an extern int, just a macro providing an integer lvalue. PR: doc/50573 Submitted by: Ronald F.Guilmette Reviewed by: trhodes MFC after: 3 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-04T10:08:16.000000Z K 7 svn:log V 124 Xref pthread_condattr.3, pthread_attr.3, and pthread_mutexattr.3. PR: 60679 Submitted by: roam (with minor modifications) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-04T10:40:59.000000Z K 7 svn:log V 380 When the packet is for the bridge then note which interface to send the reply to, previously it was always broadcast to all interfaces (a bug). This is useful when the bridge is the default gateway and vlans are used to isolate each client, the reply is now kept private to the vlan which the client resides. Reported by: Jon Otterholm Tested by: Jon Otterholm MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-11-04T19:02:18.000000Z K 7 svn:log V 54 Make it compile again for RE6. Approved by: re (hrs) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-11-04T20:54:37.000000Z K 7 svn:log V 636 Currently, we initialize "error" to zero when it's declared, then we never initialize it to anything else. However, in the case that m_uiotombuf fails, we return error (effectively reporting success). This appears to be a relic of an older revision of this file, where "error" used to be doing something useful. (See revision 1.1, where error is used in a loop with uiomove() instead of using m_uiotomubf). So instead on unconditionally reporting success in the case there is a failure in m_uiotombuf, explicitly return ENOBUFS. While we are here, garbage collect the error variable since it's no longer required. MFC after: 2 weeks END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-04T23:50:12.000000Z K 7 svn:log V 1141 Remove the KDTRACE option again because of the complaints about having it as a default. For the record, the KDTRACE option caused _no_ additional source files to be compiled in; certainly no CDDL source files. All it did was to allow existing BSD licensed kernel files to include one or more CDDL header files. By removing this from DEFAULTS, the onus is on a kernel builder to add the option to the kernel config, possibly by including GENERIC and customising from there. It means that DTrace won't be a feature available in FreeBSD by default, which is the way I intended it to be. Without this option, you can't load the dtrace module (which contains the dtrace device and the DTrace framework). This is equivalent to requiring an option in a kernel config before you can load the linux emulation module, for example. I think it is a mistake to have DTrace ported to FreeBSD, but not to have it available to everyone, all the time. The only exception to this is the companies which distribute systems with FreeBSD embedded. Those companies will customise their systems anyway. The KDTRACE option was intended for them, and only them. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-04T23:57:02.000000Z K 7 svn:log V 51 Typo, 'from' vnode is locked here, not 'to' vnode. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-04T23:58:15.000000Z K 7 svn:log V 66 VOP_REMOVE() doesn't unlock vnodes nor decrease reference counts. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-11-04T23:59:51.000000Z K 7 svn:log V 229 When the source and destination objects for VOP_RENAME() are the same, POSIX advice to just ignore the operation and return 0. We already handle this case in kern_rename(), but don't give bad example - the source is not removed. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-05T00:39:56.000000Z K 7 svn:log V 58 The rune interface was removed by tjr over two years ago. END K 10 svn:author V 2 bp K 8 svn:date V 27 2006-11-05T06:31:08.000000Z K 7 svn:log V 140 It seems to be safe to ignore 'file not locked' error from server. This effectively suppresses 'Unmapped error 1:158'. MFC after: 1 month END K 10 svn:author V 2 bp K 8 svn:date V 27 2006-11-05T06:38:42.000000Z K 7 svn:log V 148 Create a bidirectional mapping of the DOS 'read only' attribute to the 'w' flag. PR: kern/77958 Submitted by: ghozzy gmail com MFC after: 1 month END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-11-05T08:50:38.000000Z K 7 svn:log V 564 MFC of the following: - sys/modules/md/Makefile rev 1.14: Rename GEOM class kernel module g_md.ko to geom_md.ko for consistency with the rest. The g_md.ko is now a hardlink of geom_md.ko for backward compatibility. - sys/sys/mdioctl.h rev 1.21: Removed (now unused) #define. - sys/boot/forth/loader.conf rev 1.102: Add more GEOM classes to defaults/loader.conf. Add references to manual pages to those already present. - sbin/mdconfig/mdconfig.c rev 1.45: Simplify mdmaybeload() function. Reviewed by: ru and pjd Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-05T08:55:21.000000Z K 7 svn:log V 84 o Document ServeRAID 7x support. Submitted by: Andrey V. Elsukov MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2006-11-05T13:25:18.000000Z K 7 svn:log V 378 Tons of fixes to get all the 64bit issues removed. This also moves two 16 bit int's to become 32 bit values so we do not have to use atomic_add_16. Most of the changes are %p, casts and other various nasty's that were in the orignal code base. With this commit my machine will now do a build universe.. however I as yet have not tested on a 64bit machine .. it may not work :-( END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-05T13:32:58.000000Z K 7 svn:log V 539 MFC: 1.16 In the replacement text of the __bswapN_const() macros encapsulate the argument in parentheses so these macros are safe to use and invocations with an expression as the argument like __bswap32_const(42 << 23 | 13) work as expected. Additionally, mask all the individually shifted bytes as appropriate so the bytes which exceed the width of the respective __bswapN_const() macro in invocations like __bswap16_const(0xdead600d) are ignored like it's the case with the corresponding __bswapN_var() function. Approved by: re (hrs) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-05T14:36:59.000000Z K 7 svn:log V 113 Revert previous commit, and instead make the expression in rev. 1.2 match the style of this file. OK'ed by: rrs END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2006-11-05T14:49:47.000000Z K 7 svn:log V 150 Sync up with rhyolite routed 2.31 which fixes the handling of varargs. Remove -p from usage, it's gone completely now. PR: 83387 Submited by: arved END