ƒ­146220 187 365 248 425 211 342 138 329 160 297 274 1383 419 127 123 135 155 140 148 242 229 124 188 161 195 779 164 207 169 178 170 184 165 536 236 283 420 392 347 145 224 155 150 322 214 184 180 283 115 135 143 127 132 298 265 138 134 143 219 299 130 432 542 139 188 165 133 129 279 225 188 275 389 389 143 240 172 277 129 155 135 236 185 177 125 258 130 186 159 215 416 239 182 213 177 478 238 259 260 159 209 126 163 286 115 150 316 306 172 124 431 450 202 166 186 155 907 276 144 297 170 177 267 478 286 540 335 405 219 1001 367 197 116 374 106 142 181 520 845 512 273 512 164 290 138 2008 135 182 116 585 271 258 421 305 140 641 344 301 173 258 318 219 196 143 124 132 189 110 200 294 171 113 1647 3972 281 113 169 134 109 273 137 252 210 128 164 129 178 193 K 10 svn:author V 2 le K 8 svn:date V 27 2005-05-14T14:55:47.000000Z K 7 svn:log V 273 MFC: Only allow RAID5 plexes to be parity checked. PR: kern/80427 Submitty by: Stijn Hoop -- Don't allow to synchronize a plex that is already sychronizing. Reset the 'syncing' flag in case of errors, too. Some cosmetics. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-14T18:54:58.000000Z K 7 svn:log V 155 Remove symblic link kernel->dev/null creation. We don't need it in 5.x/6.x world (there is no /kernel file anymore). Reminded by: Isaac Levy presentation END K 10 svn:author V 3 gnn K 8 svn:date V 27 2005-05-14T19:43:10.000000Z K 7 svn:log V 332 Submitted by: Jinmei Tatuya, Hajimu Umemoto Reviewed by: rwatson at freebsd dot org Approved by: rwatson at freebsd dot org MFC after: 1 week Fix the matchlen() function so that it handles the IPv4 (AF_INET) case correctly. Until now it has been treating IPv4 addresses as if they were IPv6 which could lead to corruption errors. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2005-05-14T19:47:53.000000Z K 7 svn:log V 115 MFC rev 1.115: Add libdata/pkgconfig. It is used under ${LOCALBASE} as much (if not more) than under ${X11BASE}. END K 10 svn:author V 2 dd K 8 svn:date V 27 2005-05-14T23:23:10.000000Z K 7 svn:log V 250 Add an interface to the lchflags(2) syscall. The new -h option is analogous to chmod(1)'s -h. It allows setting flags on symbolic links, which *do* exist in 5.x+ despite a claim to the contrary in the chflags(1) man page. Suggested by: Chris Dillon END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-05-15T01:07:36.000000Z K 7 svn:log V 43 Reindent and improve style(9) comformance. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-15T01:44:26.000000Z K 7 svn:log V 232 - When carp interface is destroyed, and it affects global preemption suppresion counter, decrease the latter. [1] - Add sysctl to monitor preemption suppression. PR: kern/80972 [1] Submitted by: Frank Volf [1] MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-15T01:58:32.000000Z K 7 svn:log V 64 - Document net.inet.carp.suppress_preempt MIB. - Xref pfsync(4) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2005-05-15T02:28:30.000000Z K 7 svn:log V 204 Fixes for various nits found by the Coverity tool. In particular 2 missed return values and an inappropriate bcopy from a possibly NULL pointer. Reviewed by: jake Approved by: rwatson MFC after: 1 week END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2005-05-15T03:34:17.000000Z K 7 svn:log V 177 Enable IPFilter to correctly determine if BPF has been optioned into the kernel it is being compiled against and subsequently enable using BPF for packet matching in ipf rules. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-15T04:27:59.000000Z K 7 svn:log V 1287 Add support for NdisMEthIndicateReceive() and MiniportTransferData(). The Ralink RT2500 driver uses this API instead of NdisMIndicateReceivePacket(). Drivers use NdisMEthIndicateReceive() when they know they support 802.3 media and expect to hand their packets only protocols that want to deal with that particular media type. With this API, the driver does not manage its own NDIS_PACKET/NDIS_BUFFER structures. Instead, it lets bound protocols have a peek at the data, and then they supply an NDIS_PACKET/NDIS_BUFFER combo to the miniport driver, into which it copies the packet data. Drivers use NdisMIndicateReceivePacket() to allow their packets to be read by any protocol, not just those bound to 802.3 media devices. To make this work, we need an internal pool of NDIS_PACKETS for receives. Currently, we check to see if the driver exports a MiniportTransferData() method in its characteristics structure, and only allocate the pool for drivers that have this method. This should allow the RT2500 driver to work correctly, though I still have to fix ndiscvt(8) to parse its .inf file properly. Also, change kern_ndis.c:ndis_halt_nic() to reap timers before acquiring NDIS_LOCK(), since the reaping process might entail sleeping briefly (and we can't sleep with a lock held). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-05-15T06:26:59.000000Z K 7 svn:log V 323 o Add option -n. The -n option takes a count and breaks the line after that many values have been printed. The line length is not considered anymore. o Add option -x. The -x option will cause the byte values to be printed in hexadecimal instead of decimal. o Bump WARNS to 6. o Update the manpage accordingly. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-15T07:15:06.000000Z K 7 svn:log V 30 MFC: rev. 1.15 Wordsmithing. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-15T07:19:51.000000Z K 7 svn:log V 26 MFC: rev. 1.14 Fix typo. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-05-15T07:35:34.000000Z K 7 svn:log V 40 o -n option added. o -x option added. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T07:35:49.000000Z K 7 svn:log V 62 Remove the ADJUST_CLOCK ioctl on pc98. It's not used at all. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T07:41:38.000000Z K 7 svn:log V 47 Use \e for escape char instead of ^[ directly. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T08:04:46.000000Z K 7 svn:log V 55 A foreground color number on pc98 console is 7 not 15. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T08:59:00.000000Z K 7 svn:log V 148 - Mask an underline attribute on the pc98 console. It enables to use the same color on the pc98 and the others. - Remove old epson note support. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T09:07:04.000000Z K 7 svn:log V 135 - Add color tables for 16 colors mode and 8 colors mode, use a different table on the pc98 console. - Remove old epson note support. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T09:07:42.000000Z K 7 svn:log V 31 Remove old epson note support. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-05-15T09:43:14.000000Z K 7 svn:log V 95 Use \033 instead of \e because \e is not a standard. Noticed by: stefanf Reviewed by: diff(1) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-05-15T11:46:20.000000Z K 7 svn:log V 69 MFC: add pentium-m, spell pentiumpro correctly, move nocona to Intel END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-15T19:46:14.000000Z K 7 svn:log V 100 Update ndiscvt to handle .INF files that specify multiple entries in their [Manufacturer] sections. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-15T20:15:15.000000Z K 7 svn:log V 686 - The ai_addrlen of a struct addrinfo used to be a size_t, per RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC 3493, it was changed to a socklen_t. And, the n_net of a struct netent used to be an unsigned long integer. In XNS5, and subsequently in POSIX-2001, it was changed to an uint32_t. To accomodate for this while preserving ABI compatibility with the old interface, we need to prepend or append 32 bits of padding, depending on the (LP64) architecture's endianness. - Correct 1st argument of getnetbyaddr() to uint32_t on 32 bit arch. Stay as is on 64 bit arch for ABI backward compatibility for now. Reviewed by: das, peter MFC after: 2 weeks END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-05-15T20:15:16.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-15T20:26:48.000000Z K 7 svn:log V 114 MFC Add machine-specific, optimized implementations of bcmp, bcopy, bzero, memcmp, memcpy, memmove, and memset. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-05-15T21:02:51.000000Z K 7 svn:log V 77 Print a warning once when trying to bring up interface before firmware load. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-05-15T21:08:51.000000Z K 7 svn:log V 86 Add note about required firmware to save others time and frustration with this device END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-05-16T00:00:38.000000Z K 7 svn:log V 74 Merge in_pcb.c:1.163 from HEAD to RELENG_5: o Tweak the comment a bit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-05-16T00:53:38.000000Z K 7 svn:log V 88 Close the connect socket as well as the listen socket on completion. Update copyright. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-05-16T00:54:47.000000Z K 7 svn:log V 69 Add an #ifdef'd non-blocking version of the test. Update copyright. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-05-16T02:47:34.000000Z K 7 svn:log V 438 MFC a number of small changes from about 2 months ago: archive_write_open_file.c 1.11: Non-regular files can be added to an archive, even if output is going to that file. archive_read_support_compression_gzip.c 1.9: better error messages archive_read_open_file.c 1.8: better error messages archive_read_support_format_cpio.c 1.12: better handling of I/O errors archive_read_support_format_tar.c 1.31: better error handling END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-05-16T02:54:04.000000Z K 7 svn:log V 138 MFC Makefile 1.32, archive_entry.c 1.25, archive_entry.h 1.13, archive_read_extract.c 1.38 Support extracting very long pathnames. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-05-16T04:32:16.000000Z K 7 svn:log V 185 MFC: Zip improvements (large files, Unix metadata, faster listing) The bulk of this is from archive_read_support_format_zip.c 1.5 with minor supporting changes to several other files. END K 10 svn:author V 3 gad K 8 svn:date V 27 2005-05-16T04:32:41.000000Z K 7 svn:log V 327 A second attempt to adjust option-parsing on a shell command, for the benefit of scripts start out as: #!/bin/sh -- # -*- perl -*- With this fix in place, we can commit a change to kern/imgact_shell.c so FreeBSD will process the `#!' line in shell-scripts in a more standard fashion. PR: 16393 Mentioned on: freebsd-arch END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-05-16T04:37:59.000000Z K 7 svn:log V 294 MFC several libarchive bugfixes: * "make distfile" uses correct automake/autoconf commands * Rewrite path shortening to avoid crash on certain paths between 245 and 255 characters long * Fix broken ACL configuration on FreeBSD 4 and Linux * Fix GNU tar long symlink handling END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-05-16T05:37:32.000000Z K 7 svn:log V 254 cleanup a danging reference to cleaning up /etc/fstab. Since we don't support 4->6 upgrades, this is moot. Most 4.x installations even, have things compatible with 5 at thsi point, but some don't, so I'll leave it in the branch... submitted by: kevlo END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-05-16T06:58:43.000000Z K 7 svn:log V 53 Add convenience functions to get port and interface. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T08:25:55.000000Z K 7 svn:log V 127 Make NETGRAPH_DEBUG a kernel option, so that it can't be turned off without hacking source. In collaboration with: ru, julian END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T09:05:46.000000Z K 7 svn:log V 59 Correct format is 'options'. Submitted by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-16T09:32:41.000000Z K 7 svn:log V 59 Make internal to libc. Suggested by: phantom END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-05-16T09:39:25.000000Z K 7 svn:log V 226 Revert a set of MFCs that worked for me but seem to be causing problems for others. Rest assured you haven't seen the end of these.. As soon as I get back to a test environment I can use for finding the problem I'm try again. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-16T09:47:53.000000Z K 7 svn:log V 118 Add the 2nd word of IA32 feature flags. This includes things such as SSE3. Obtained from: sys/amd64/amd64/identcpu. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T12:43:36.000000Z K 7 svn:log V 88 MFC 1.28: NG_MKRESPONSE() macro includes sizeof struct ng_mesg when doing allocation. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T12:44:32.000000Z K 7 svn:log V 84 MFC 1.13: - Return error, if there was one. - No need to initialize error here. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-05-16T13:07:27.000000Z K 7 svn:log V 190 Change the way ioctls are issue to ATA. The most prominent part is that its now possible to issue ata_requests directly to say acd0, instead of going through the cumbersome /dev/ata device. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-05-16T13:32:23.000000Z K 7 svn:log V 23 Reflect the new usage. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-05-16T13:39:49.000000Z K 7 svn:log V 43 longer used (contents added to sys/ata.h) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-05-16T15:01:00.000000Z K 7 svn:log V 50 MFC: Add -m modname option (find module by name). END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-05-16T15:05:22.000000Z K 7 svn:log V 34 MFC: Document kldstat -m modname. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-16T15:09:13.000000Z K 7 svn:log V 41 Fixed markup from the previous revision. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-05-16T15:10:15.000000Z K 7 svn:log V 204 MFC: - Use kldstat -m (finds geom_uzip even if it is compiled in statically). - Create output files with x bit set. - Make mkuzip 64-bit clean. - Fix typo in error message. - Enable mkuzip on all archs. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-16T15:29:21.000000Z K 7 svn:log V 170 Correct some problems with workitem usage. NdisScheduleWorkItem() does not use exactly the same workitem sturcture as ExQueueWorkItem() like I originally thought it did. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-16T15:44:41.000000Z K 7 svn:log V 44 Remove harmless bit of leftover debug code. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T15:53:50.000000Z K 7 svn:log V 42 MFC 1.60, 1.67: make yp stuff re-entrant. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T16:07:45.000000Z K 7 svn:log V 51 MFC 1.17: fix signed/unsigned comparison warnings. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2005-05-16T16:22:55.000000Z K 7 svn:log V 122 Enable building /sbin/ipf (but not the rescue version) with the ability to parse bpf strings for filter rules in ipf.conf END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T16:29:04.000000Z K 7 svn:log V 206 MFC: make getserv{byname,byport,ent} thread-safe. lib/libc/net/getservbyname.c: 1.5-1.7 lib/libc/net/getservbyport.c: 1.5-1.7 lib/libc/net/getservent.c: 1.14-1.18 lib/libc/net/netdb_private.h: 1.1-1.3 END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-16T16:50:52.000000Z K 7 svn:log V 36 Correct type for workitem routines. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T17:02:01.000000Z K 7 svn:log V 339 MFC: - we are no longer shareing any resources to be locked between getaddrinfo(3) and getipnodeby*(3). - use definitions in reentrant.h. - remove obsolete comment. - now, our getservbyname(3) is thread-safe. So, we don't need to protect it with mutex lock. lib/libc/net/getaddrinfo.c: 1.62, 1.65 lib/libc/net/name6.c: 1.43, 1.44 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T17:07:03.000000Z K 7 svn:log V 445 - Extend interface of ng_getqblk(), so that malloc wait flags are specified by caller. - Change ng_send_item() interface - use 'flags' argument instead of boolean 'queue'. - Extend ng_send_fn(), ng_package_data() and ng_package_msg() interface - add possibility to pass flags. Rename ng_send_fn() to ng_send_fn1(). Create macro for ng_send_fn(). - Update all macros, that use ng_package_data() and ng_package_msg(). Reviewed by: julian END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T17:07:39.000000Z K 7 svn:log V 43 Catch up with new ng_send_fn1() interface. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T17:08:53.000000Z K 7 svn:log V 92 - Catch up with new interface to ng_package_data(). - Handle errors from ng_package_data(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T17:09:35.000000Z K 7 svn:log V 69 Catch up with new ng_package_data(). Use NG_WAITOK on userland path. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T17:10:08.000000Z K 7 svn:log V 37 Catch up with new ng_package_data(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-16T17:12:23.000000Z K 7 svn:log V 34 Enable lukemftpd for 6.0-RELEASE. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T17:13:21.000000Z K 7 svn:log V 186 MFC: make getproto{byname,bynumber,ent} thread-safe. lib/libc/net/getproto.c: 1.4 lib/libc/net/getprotoent.c: 1.4 lib/libc/net/getprotoname.c: 1.4 lib/libc/net/netdb_private.h: 1.4 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T17:18:50.000000Z K 7 svn:log V 132 MFC: our get{proto,serv}by*() use a thread-specific data space. lib/libc/net/getprotoent.3: 1.11 lib/libc/net/getservent.3: 1.14 END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-16T17:21:10.000000Z K 7 svn:log V 95 Dont clear all flags in vkbd_clear_state_locked(). Clear only COMPOSE flag. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T17:25:49.000000Z K 7 svn:log V 178 Close race between node being shutdown and socket being detached. To do this, obtain netgraph locking in detach method via ng_send_fn1(). Reviewed by: julian MFC after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-16T18:17:38.000000Z K 7 svn:log V 293 Hardcode username to 8 characters. This makes top(1) output sane when there are users on the system (even if not running a single process) with a login > 8 chars. I'm not all that happy limiting the username width like this, but it restores sanity to top(1) output. Discussed with: keramida END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-16T18:28:19.000000Z K 7 svn:log V 296 MFC: hide implementation specific internal functions from netdb.h. include/netdb.h: 1.35 lib/libc/net/gethostbydns.c: 1.50 lib/libc/net/gethostbyht.c: 1.18 lib/libc/net/gethostnamadr.c: 1.24 lib/libc/net/getnetnamadr.c: 1.18 lib/libc/net/name6.c: 1.46 lib/libc/net/netdb_private.h: 1.5 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-16T18:31:55.000000Z K 7 svn:log V 48 Virgin import (trimmed) of Bzip2 version 1.0.3. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-16T18:31:55.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146293, 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 2005-05-16T18:31:56.000000Z K 7 svn:log V 76 This commit was manufactured by cvs2svn to create tag 'bzip2-vendor-v1_0_3'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T18:50:26.000000Z K 7 svn:log V 180 - Fix build with TRACE_MESSAGES on. - Reformat code under TRACE_MESSAGES to make it more readable. - Move linker hackery out of #ifdef. - Break long lines in linker hackery block. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-16T18:56:30.000000Z K 7 svn:log V 34 Update to match the 1.0.3 import. END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-05-16T19:10:58.000000Z K 7 svn:log V 62 MFC: Enable mpsafevm by default on sparc64. Approved by: alc END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-16T19:11:36.000000Z K 7 svn:log V 44 Vendor import of bwk's 24-Apr-2005 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-16T19:11:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146299, 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 2005-05-16T19:11:37.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'one-true-awk-vendor-bwk_20050424'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T19:12:57.000000Z K 7 svn:log V 81 Refactor places where ng_package_data() failed. Suggested & reviewed by: archie END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-16T19:19:32.000000Z K 7 svn:log V 34 Update for the 2005/04/24 import. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-05-16T19:26:46.000000Z K 7 svn:log V 166 Introduce routines to alloc/free sack holes. This cleans up the code considerably. Submitted by: Noritoshi Demizu. Reviewed by: Raja Mukerji, Mohan Srinivasan. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-16T19:52:42.000000Z K 7 svn:log V 34 Use NG_QUEUE instead of constant. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-05-16T20:51:46.000000Z K 7 svn:log V 94 Ignore sigpipe so we can properly detach clients to the pipe. Submitted by: Fredrik Lindberg END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-17T01:25:57.000000Z K 7 svn:log V 62 Remove a duplicate 'comment' to fix the syntax of a sentence. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-17T01:44:37.000000Z K 7 svn:log V 119 Temporarily disable support for bzip2'ed compressed filesystems, until a maintainable why of handling them is created. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2005-05-17T03:11:29.000000Z K 7 svn:log V 321 Import latest NetBSD version...changes: * Whitespace and gcc 4.x fixes. * Fix deallocation bug in fetch.c. * Implement timeouts for accept(2) and connect(2), which accept timeout values with '-q quittime'. (intended to help with active mode through firewalls) * Fix bin/77158 by Ryoji Kanai . END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2005-05-17T03:11:29.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146309, 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 2005-05-17T03:11:30.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'lukemftp-vendor-nbsd_20050516'. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-05-17T03:54:52.000000Z K 7 svn:log V 117 Correct script path. PR: docs/80948 Submitted by: anonymous coward Approved by: trhodes (mentor) MFC after: 2 days END K 10 svn:author V 3 des K 8 svn:date V 27 2005-05-17T11:08:11.000000Z K 7 svn:log V 85 Handle presumably uncompressed files with cat; exec the handlers. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2005-05-17T11:14:11.000000Z K 7 svn:log V 385 Add a zless script which invokes less using the lesspipe script. This is similar to the zmore script that comes with gzip (and in fact, in most Linux distros, zless is a symlink to that very same zmore script) but has the advantage that you get the correct file name on the less status line, and can use :n and :p to navigate back and forth between multiple files. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-17T11:41:01.000000Z K 7 svn:log V 146 Correct the script name to be "zless.sh". This avoids an extra cp/chmod (from the sys.mk rule) while still installing it under the "zless" name. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-05-17T12:00:43.000000Z K 7 svn:log V 166 Revision 1.173 broke updating a mount from ro to rw. Fix that by clearing the MNT_RDONLY flag if MNT_UPDATE is set and "ro" was not specified. Suggested by: cognet END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-17T12:18:13.000000Z K 7 svn:log V 163 - Unwind NG_SEND_MSG_PATH() macro and merge it with already unwinded version under TRACE_MESSAGES. - Pass NG_WAITOK flag to ng_package_data() in unwinded macro. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-05-17T12:31:54.000000Z K 7 svn:log V 67 Make certain the the 48bit flag is reset if we dont translate LBA. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-17T14:20:42.000000Z K 7 svn:log V 117 Recover the original Berkeley RCS id, and fix the description of format for source files when it comes to $FreeBSD$. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-17T14:24:33.000000Z K 7 svn:log V 35 Strip the initial world some more. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-17T14:29:06.000000Z K 7 svn:log V 72 Fix the contents of the underneath .depend files and "make checkdpadd". END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-17T14:54:33.000000Z K 7 svn:log V 194 Add temporary patches to make one-true-awk respect locale's collating order in [a-z] bracket expressions, until a more complete fix (like handing BREs) is ready. Prodded by: ache OK'ed by: tjr END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-17T15:03:50.000000Z K 7 svn:log V 20 Clarify the header. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-17T16:22:54.000000Z K 7 svn:log V 55 Re-enable support for bzip2'ed compressed filesystems. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-05-17T16:38:30.000000Z K 7 svn:log V 224 When a drive dies, don't call g_wither_geom() directly, but instead post an event to the geom event queue that will take care of it, letting outstanding bios finish, and closing the consumers. Plus some cosmetic clean ups. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-17T17:30:25.000000Z K 7 svn:log V 212 MFC to RELENG_5 Mark AVM USB Bluetooth-Adapter BlueFritz! as "broken". This device is not supported by ng_ubt(4) driver and needs its own driver. PR: kern/76205 Submitted by: Tim Hemel < bsd AT timit DOT nl > END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-17T17:46:29.000000Z K 7 svn:log V 77 Don't use a patch w/in /usr/src. Programmatically change files when needed. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-17T17:48:26.000000Z K 7 svn:log V 29 Clean up an additional file. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-17T17:52:27.000000Z K 7 svn:log V 333 Add manpages for devfs.conf and devfs.rules. These have been initially written by Roland, but hacked for a while by me. Any good parts are the results of Roland's hard work. Any typos or style mistakes are mine. Submitted by: Roland Smith PR: docs/63808, docs/75433, docs/80458, docs/80459 MFC after: 2 weeks END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-17T17:56:28.000000Z K 7 svn:log V 356 MFC to RELENG_5 Get rid of device nodes interface. It is useless and confusing. The original idea was to use it for firmware upgrading and similar operations. In real life almost all Bluetooth USB devices do not need firmware download. If device does require firmware download then ugen(4) (or specialized driver like ubtbcmfw(8)) should be used instead. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-17T18:01:01.000000Z K 7 svn:log V 108 MFC to RELENG_5 ng_ubt(4) no longer provides device nodes interface. Update the man page to document this. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-17T18:06:23.000000Z K 7 svn:log V 73 MFC to RELENG_5 while i'm here MFC ru's changes as well. Sort sections. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-05-17T18:23:03.000000Z K 7 svn:log V 94 Ugh. Previous commit got the logic exactly backward. Submitted by: bland Pointy hat to: des END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-17T21:41:11.000000Z K 7 svn:log V 63 MFC Add locking and enable INTR_MPSAFE. Eliminate spl calls. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-05-18T00:32:05.000000Z K 7 svn:log V 813 MFC Move MAC check_vnode_mmap entry point out from being exclusive to MAP_SHARED so that the entry point gets executed un-conditionally. This may be useful for security policies which want to perform access control checks around run-time linking. -add the mmap(2) flags argument to the check_vnode_mmap entry point so that we can make access control decisions based on the type of mapped object. -update any dependent API around this parameter addition such as function prototype modifications, entry point parameter additions and the inclusion of sys/mman.h header file. -Change the MLS, BIBA and LOMAC security policies so that subject domination routines are not executed unless the type of mapping is shared. This is done to maintain compatibility between the old vm_mmap_vnode(9) and these policies. END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-05-18T05:24:08.000000Z K 7 svn:log V 183 Unbreak r1.11 by delhij. Blind change from unsigned to signed char pointer causes problems with sign extension and leads to compress(1) dumping core on any non-trivial incoming data. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-05-18T05:31:34.000000Z K 7 svn:log V 53 Support passthru ioctl commands from 32bit binaries. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-18T06:50:39.000000Z K 7 svn:log V 202 Get rid of the ReturnStatus obscuration that was anyway used only in two places. While here don't bother returning anything from Lst_Replace - nobody ever checks the return code. Suggested by: jmallet END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-18T07:45:08.000000Z K 7 svn:log V 78 Convert to the faster bus_dmamap_load_mbuf_sg() interface. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-05-18T08:57:31.000000Z K 7 svn:log V 86 Correct 32 vs 64 bit signedness issues. Approved by: pjd (mentor) MFC after: 2 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-18T12:19:50.000000Z K 7 svn:log V 169 Switch to WARNS=2 instead of tinkering directly with CFLAGS (level 2 was picked because higher warn levels are broken for ftp-proxy at the moment). Approved by: mlaier END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-18T13:30:08.000000Z K 7 svn:log V 380 Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C' command that toggles between the two and update the ORDER_PCTCPU() macro to sort correctly by the visible "cpu" value. This saves 6 more columns in 80-column terminals, making things a lot better for the COMMAND column. Tested on: i386, sparc64 (panther), amd64 (sledge) Approved by: davidxu (in principle) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-18T13:42:51.000000Z K 7 svn:log V 188 (1) Revert unnecessary indentation changes I committed as part of the last version and (2) remove a disabled debugging fprintf() that I accidentally committed here. Noticed by: simon (2) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-18T13:48:33.000000Z K 7 svn:log V 442 Properly trim the header line too, to fix wrap-around problems that have been noticed by running top(1) in terminals that are too narrow (or on systems with usernames that were too long, pushing everything too far to the right). Note that this does *not* solve the wrap-around problem of the system statistics, which is an entirely different matter :-/ Tested on: i386, sparc64 (panther), amd64 (sledge) Approved by: davidxu (in principle) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-18T14:50:35.000000Z K 7 svn:log V 240 Get rid of global variables for argument vectors produced by brk_string() introduce a struct that holds all the information about an argument vector and pass that around. Author: Max Okumoto Obtained from: DragonFlyBSD END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-18T15:58:15.000000Z K 7 svn:log V 312 make getnetby*() thread-safe. lib/libc/net/getnetbydns.c: 1.29 lib/libc/net/getnetbyht.c: 1.13, 1.14 lib/libc/net/getnetbynis.c: 1.16, 1.17 lib/libc/net/getnetent.3: 1.20 lib/libc/net/getnetnamadr.c: 1.19 lib/libc/net/getprotoent.c: 1.5 lib/libc/net/getservent.c: 1.19 lib/libc/net/netdb_private.h: 1.6 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-18T16:01:24.000000Z K 7 svn:log V 126 ensure parsing numeric address before any host query. lib/libc/net/gethostbydns.c: 1.49 lib/libc/net/gethostnamadr.c: 1.23 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-18T16:23:11.000000Z K 7 svn:log V 903 Add a manpage for pthread_atfork(3). This copies a lot of the text of the Open Group manpage for pthread_atfork(), available online at: http://www.opengroup.org/onlinepubs/009695399/functions/pthread_atfork.html which should be ok, since Daniel Eischen had mailed me about Open Group manpages and the fact that they have granted permission to FreeBSD to use their material. Any differences from the OG text are my changes to the original manpage text submitted by Alex Vasylenko: - In an effort to clean up the part that describes hooks and their calling order, I used a list instead of a single paragraph for all the three types of fork() hooks. - After a short discussion with Dima Dorfman a long long time ago in a far away galaxy, I changed the RETURN VALUES section to look more like the rest of the pthread_xxx.3 manpages. PR: docs/68201 Submitted by: Alex Vasylenko END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-18T17:08:15.000000Z K 7 svn:log V 269 The correct copyright notice for manpages that copy material from Open Group's documentation is `/usr/share/examples/mdoc/POSIX-copyright', not the one I copied from `/usr/share/examples/etc/bsd-copyright'. Suggested by: simon 2nd pointy hat of the day: yours truly END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-18T17:48:04.000000Z K 7 svn:log V 104 Revert revision 1.270: swp_pager_async_iodone() need not perform VM_LOCK_GIANT(). Discussed with: jeff END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-18T20:45:33.000000Z K 7 svn:log V 24 Remove calls to spl*(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-18T21:50:14.000000Z K 7 svn:log V 281 MFC: geom_sunlabel.c 1.44 Protect against recursive labels creation in simlar way as it is done in BSD and MBR classes, ie. if provider below us uses the same metadata, don't create labels based on the metadata. This allows to create labels on geoms with rank != 1 without hacks. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-18T21:53:08.000000Z K 7 svn:log V 14 Correct typo. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-18T22:05:12.000000Z K 7 svn:log V 50 devfs_first() return value isn't used, remove it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-18T22:08:52.000000Z K 7 svn:log V 89 Update some comments to reflect the change from spl-based to lock-based synchronization. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2005-05-18T22:18:21.000000Z K 7 svn:log V 422 Allow removal of empty directories with high link counts. These can occur on a filesystem running with soft updates after a crash and before a background fsck has been run. To prevent discrepancies from arising in a background fsck that may already be running, the directory is removed but its inode is not freed and is left with the residual reference count. When encountered by the background fsck it will be reclaimed. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-18T23:03:44.000000Z K 7 svn:log V 751 Fix problem with session termination. bthidd(8) maintains two L2CAP connections to Bluetooth HID device. As soon as Bluetooth HID device is powered off (or goes out of RF range) the stack will terminate both connections. File descriptors for both connections will become active on next select(2) call. Because bthidd(8) processes file descriptors in order, it will detect descriptor for one of the closed connections first and kill the session. However, there is still a second (active) descriptor that used to point to the same session. bthidd(8) used to assert() if it cant find session by file descriptor, which was wrong. While I'm here fix a couple of typos in parser.y Reported by: Eric Anderson anderson AT centtech DOT com MFC after: 3 days END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2005-05-18T23:48:42.000000Z K 7 svn:log V 413 Changes to bring the driver closer to Intel's em version 2.1.7 - Changed from using explicit devices id to using descriptive labels. - Added support for 82573 and 82546 Quad adapters. - Corrected support for 82547EI and 82541ER (mac_type was not assigned) - Removed #ifdef DBG_STATS and extraneous code. - Corrected incorrect Packet Buffer assignment for 82541. - Cleaned up a few typos and style nits. PR: None END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2005-05-18T23:52:54.000000Z K 7 svn:log V 174 Changes to bring the driver closer to Intel's em version 2.1.7 - Added support for 82573 and 82546 Quad adapters. - Brought forward Intel's most current mac and phy changes. END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2005-05-18T23:54:40.000000Z K 7 svn:log V 413 Changes to bring the driver closer to Intel's em version 2.1.7 - Changed from using explicit devices id to using descriptive labels. - Added support for 82573 and 82546 Quad adapters. - Corrected support for 82547EI and 82541ER (mac_type was not assigned) - Removed #ifdef DBG_STATS and extraneous code. - Corrected incorrect Packet Buffer assignment for 82541. - Cleaned up a few typos and style nits. PR: None END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2005-05-19T00:24:32.000000Z K 7 svn:log V 66 Changed to reflect the latest changes in Intel's em version 2.1.7 END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-05-19T01:08:30.000000Z K 7 svn:log V 197 Fix a bug that caused preemption to happen for a thread in the same ksegrp with the same priority as the currently running thread. This can cause propagate_priority() to panic. Pointy hat to: ups END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-19T03:53:07.000000Z K 7 svn:log V 46 Remove a stale comment concerning spl* usage. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-19T04:44:26.000000Z K 7 svn:log V 1912 Fix some of the things I broke so that the SMC2602W (AMD Am1772) driver works again. This driver uses NdisScheduleWorkItem(), and we have to take special steps to insure that its workitems don't collide with any of the other workitems used by the NDISulator. In particular, if one of the driver's work jobs blocks, it can prevent NdisMAllocateSharedMemoryAsync() from completing when expected. The original hack to fix this was to have NdisMAllocateSharedMemoryAsync() defer its work to the DPC queue instead of the general task queue. To fix it now, I decided to add some additional workitem threads. (There's supposed to be a pool of worker threads in Windows anyway.) Currently, there are 4. There should be at least 2. One is reserved for the legacy ExQueueWorkItem() API, while the others are used in round-robin by the IoQueueWorkItem() API. NdisMAllocateSharedMemoryAsync() uses the latter API while NdisScheduleWorkItem() uses the former, so the deadlock is avoided. Fixed NdisMRegisterDevice()/NdisMDeregisterDevice() to work a little more sensibly with the new driver_object/device_object framework. It doesn't really register a working user-mode interface, but the existing code was completely wrong for the new framework. Fixed a couple of bugs dealing with the cancellation of events and DPCs. When cancelling an event that's still on the timer queue (i.e. hasn't expired yet), reset dh_inserted in its dispatch header to FALSE. Previously, it was left set to TRUE, which would make a cancelled timer appear to have not been cancelled. Also, when removing a DPC from a queue, reset its list pointers, otherwise a cancelled DPC might mistakenly be treated as still pending. Lastly, fix the behavior of ntoskrnl_wakeup() when dealing with objects that have nobody waiting on them: sync event objects get their signalled state reset to FALSE, but notification objects should still be set to TRUE. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-05-19T05:15:08.000000Z K 7 svn:log V 39 Whitespace only: kill trailing spaces. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-05-19T05:22:52.000000Z K 7 svn:log V 90 Fix low res profiling kernel build. Move two defines to collapse the #ifdef GUPROF case. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-19T06:11:13.000000Z K 7 svn:log V 24 Remove calls to spl*(). END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-05-19T07:21:46.000000Z K 7 svn:log V 489 Change ofw_readin/ofw_copyin to map the entire region before copying, rather than a page at a time. This was creating far too many single-page mappings, and eventually OFW overflowed some internal data structure and refused to map any more. The new algorithm creates far less mappings and fixed a bug where multiple mappings for the same page would be created. 'Twas known this was a problem, but only became urgent when the install CD's mfs_root grew large enough to cause the overflow. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2005-05-19T07:31:06.000000Z K 7 svn:log V 178 Keep the stack aligned to a 16 byte boundary when calling init functions so that we don't cause a bus error if they start storing SSE math stuff on the stack. MFC After: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2005-05-19T07:32:42.000000Z K 7 svn:log V 165 Align the stack to a 16 byte boundary before calling _rtld so that we can safely initialise shared libraries that use SSE in their init sections. MFC After: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2005-05-19T07:36:07.000000Z K 7 svn:log V 328 Align the stack to a 16 byte boundary so that we can safely call functions that use SSE. The compiler does attempt to do this in main() but not very successfully - it still manages to use unaligned offsets from %ebp in some cases. Also we need to have an aligned stack in case something uses SSE via _init(). MFC After: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-19T08:23:06.000000Z K 7 svn:log V 208 MFC 1.63: Run em_local_timer() once per second instead of running it once per 2 seconds. This makes gathering of error stats more precise, and netstat(1) output look right. Reviewed by: tackerman END K 10 svn:author V 8 takawata K 8 svn:date V 27 2005-05-19T09:13:26.000000Z K 7 svn:log V 43 Use General definition for general notify. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-19T10:46:14.000000Z K 7 svn:log V 548 MFC: - add IPv6 awareness for NIS query of gethostby*(). - make gethostby*() thread-safe. - do validation check and IPv4-mapped IPv6 address handling before any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). lib/libc/net/gethostbydns.c: 1.51, 1.53, 1.54 lib/libc/net/gethostbyht.c: 1.19-1.23 lib/libc/net/gethostbyname.3: 1.33, 1.34 lib/libc/net/gethostbynis.c: 1.18-1.25 lib/libc/net/gethostnamadr.c: 1.25, 1.27, 1.28 lib/libc/net/netdb_private.h: 1.7 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-19T10:55:14.000000Z K 7 svn:log V 247 MFC 1.24: - When carp interface is destroyed, and it affects global preemption suppresion counter, decrease the latter. [1] - Add sysctl to monitor preemption suppression. PR: kern/80972 [1] Submitted by: Frank Volf [1] END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-19T10:57:00.000000Z K 7 svn:log V 208 MFC: sync _map_v4v6_host*() with bind9's. it treats align better bit. lib/libc/net/gethostbydns.c: 1.52 lib/libc/net/gethostnamadr.c: 1.26 lib/libc/net/map_v4v6.c: 1.9 lib/libc/net/netdb_private.h: 1.8 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-19T10:57:01.000000Z K 7 svn:log V 77 MFC 1.7: - Document net.inet.carp.suppress_preempt MIB. - Xref pfsync(4) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-19T10:59:22.000000Z K 7 svn:log V 161 Merge a small piece of code from HEAD, that suppresses carp(4) preemption until pfsync(4) has synchronized. Reviewed by: dhartmei, mlaier Sponsored by: Rambler END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-19T11:11:09.000000Z K 7 svn:log V 225 MFC: - _gethostbynis{addr,name}() can handle an IPv6, now. - we don't need mutex lock to call _gethostbynis*(), anymore. - raise readability bit. lib/libc/net/getipnodebyname.3: 1.17 lib/libc/net/name6.c: 1.47-1.50, 1.52 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-19T11:12:45.000000Z K 7 svn:log V 126 MFC: our get{addr,name}info() is considered thread-safe. lib/libc/net/getaddrinfo.3: 1.31 lib/libc/net/getnameinfo.3: 1.23 END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-19T11:23:01.000000Z K 7 svn:log V 101 Some test cases for .SHELL target: builtin shell selection and changing the path of a builtin shell. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T11:25:58.000000Z K 7 svn:log V 51 MFC: use df -i, we can run out of inodes as well. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T11:26:25.000000Z K 7 svn:log V 32 MFC: add NANOBSD_PRUNE support END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T11:27:18.000000Z K 7 svn:log V 40 MFC: reorganize pruning in size order. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-19T11:35:15.000000Z K 7 svn:log V 93 MFC: Add startup script and default configuration file for bsnmpd. Reviewed by: harti END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T13:33:21.000000Z K 7 svn:log V 18 Explain the magic END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-05-19T13:34:19.000000Z K 7 svn:log V 102 The 'text' argument of u_header() is not used, so we don't need to trim_header() it. Noticed by: bde END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-19T14:33:44.000000Z K 7 svn:log V 200 Catch up on some low-hanging fruit... New release notes: SA-05:09.htt, awk 20050424, bzip2 1.0.3, libregex from a glibc CVS snapshot, pf from OpenBSD 3.7. Updated release notes: lukemftp 20050219. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-19T14:43:20.000000Z K 7 svn:log V 78 SA-05.09.htt only applies to i386 and amd64, so conditionalize appropriately. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-19T14:46:54.000000Z K 7 svn:log V 20 MFC: SA-05:09.htt. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T14:47:31.000000Z K 7 svn:log V 1550 - Add an IVAR for retrieving the interrupt group number of the parent Sbus device and which also applies to the children. This is very usefull for drivers for the various subordinate busses so they don't need to fiddle with the OFW node of their parent themselves. As SBus busses hang of the nexus and we don't use the ofw_bus interface for nexus devices, yet, this would also require special knowledge about this in the drivers for the SBus children which these shouldn't need to have. This includes switching to use an unshifted IGN in the sc_ign member of the sbus(4) softc internally. - For SBus child devices where there are variants that are actually split split into two SBus devices (as opposed to the first half of the device being a SBus device and the second half hanging off of the first one) like 'auxio' and 'SUNW,fdtwo' or 'dma' and 'esp' probe the SBus device which is a prerequisite to the driver attaching to the second one with a lower order. This saves us from dealing with different probe orders in the respective device drivers which generally is more hackish. - Remove a stale comment about the 'specials' array above the attaching of the child devices. This is a remnant of the NetBSD/sparc origin of this code. There the 'specials' array is also used to probe certain devices which are prerequisites to others first. Why NetBSD soley relies on the devices having the expected order in the OFW tree on sparc64 isn't clear to me, as far as I can tell OFW doesn't guaranteed such things. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T14:51:10.000000Z K 7 svn:log V 3875 - Try to not leak resources in the attach functions of the esp(4) SBus front-end and the LSI64854 and NCR53C9x code in case one of these functions fails. Add detach functions to these parts and make esp(4) detachable. - Revert rev. 1.7 of esp_sbus.c, since rev. 1.34 of sbus.c the clockfreq IVAR defaults to the per-child values. - Merge ncr53c9x.c rev. 1.111 from NetBSD (partial): On reset, clear state flags and the msgout queue. In NetBSD code to notify the upper layer (i.e. CAM in FreeBSD) on reset was also added with this revision. This is believed to be not necessary in FreeBSD and was not merged. This makes ncr53c9x.c to be in sync with NetBSD up to rev. 1.114. - Conditionalize the LSI64854 support on sbus(4) only instead of sbus(4) and esp(4) as it's also required for the 'dma', 'espdma' and 'ledma' busses/devices as well as the 'SUNW,bpp' device (printer port) which all hang off of sbus(4). - Add a driver for the 'dma', 'espdma' and 'ledma' (pseudo-)busses/ devices. These busses and devices actually represent the LSI64854 DMA engines for the ESP SCSI and LANCE Ethernet controllers found on the SBus of Ultra 1 and SBus add-on cards. With 'espdma' and 'ledma' the 'esp' and 'le' devices hang off of the respective DMA bus instead of directly from the SBus. The 'dma' devices are either also used in this manner or on some add-on cards also as a companion device to an 'esp' device which also hangs off directly from the SBus. With the latter variant it's a bit tricky to glue the DMA engine to the core logic of the respective 'esp' device. With rev. 1.35 of sbus.c we are however guaranteed that such a 'dma' device is probed before the respective 'esp' device which simplifies things a lot. [1] - In the esp(4) SBus front-end read the part-unique ID code of Fast-SCSI capable chips the right way. This fixes erroneously detecting some chips as FAS366 when in fact they are not. Add explicit checks for the FAS100A, FAS216 and FAS236 variants instead treating all of these as ESP200. That way we can correctly set the respective Fast-SCSI config bits instead of driving them out of specs. This includes adding the FAS100A and FAS236 variants to the NCR53C9x core code. We probably still subsume some chip variants as ESP200 while in fact they are another variant which however shouldn't really matter as this will only happen when these chips are driven at 25MHz or less which implies not being able to run Fast-SCSI. [3] - Add a workaround to the NCR53C9x interrupt handler which ignores the stray interrupt generated by FAS100A when doing path inquiry during boot and which otherwiese would trigger a panic. - Add support for the 'esp' devices hanging off of a 'dma' or 'espdma' busses or which are companions of 'dma' devices to esp(4). In case of the variants that hang off of a DMA device this is a bit hackish as esp(4) then directly uses the softc of the respective parent to talk to the DMA engine. It might make sense to add an interface for this in order to implement this in a cleaner way however it's not yet clear how the requirements for the LANCE Ethernet controllers are and the hack works for now. [2] This effectively adds support for the onboard SCSI controller in Ultra 1 as well as most of the ESP-based SBus add-on cards to esp(4). With this the code for supporting the Performance Technologies SBS430 SBus SCSI add-on cards is also largely in place the remaining bits were however omitted as it's unclear from the NetBSD how to couple the DMA engine and the core logic together for these cards. Obtained from: OpenBSD [1] Obtained from: NetBSD [2] Clue from: BSD/OS [3] Reviewed by: scottl (earlier version) Tested with: FSBE/S add-on card (FAS236), SSHA add-on card (ESP100A), Ultra 1 (onboard FAS100A), Ultra 2 (onboard FAS366) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-19T14:52:42.000000Z K 7 svn:log V 183 Manpage for the nve NVIDIA nForce MCP Ethernet driver. The manpage is based on the nvnet driver manpage by Quinton Dolan. Especially the list of supported hardware needs some work. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-19T14:53:18.000000Z K 7 svn:log V 20 MFC: SA-05:09.htt. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-19T14:54:48.000000Z K 7 svn:log V 72 - Connect nve(4) - Correct sorting order Suggested and reviewed by: ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-19T14:59:21.000000Z K 7 svn:log V 37 Directly link to the nve(4) manpage. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-19T15:01:44.000000Z K 7 svn:log V 12 Add nve(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T15:09:56.000000Z K 7 svn:log V 177 - Add suport for the bus_get_resource() device interface method to central(4) and fhc(4) by using bus_generic_rl_get_resource(). - Remove some superfluous breaks in central.c END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T15:20:49.000000Z K 7 svn:log V 45 Add a couple of basic customization scripts. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T15:22:16.000000Z K 7 svn:log V 156 Update the names of some member variables in comments to refect reality. Apparently this was forgotten when this code was derived from the BSD openprom(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T15:23:17.000000Z K 7 svn:log V 114 Sync with openfirm(4) and check the return value of malloc() although this isn't exactly necessary with M_WAITOK. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T15:23:47.000000Z K 7 svn:log V 36 Add some runtime admin/tool scripts END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-05-19T15:23:48.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T15:24:23.000000Z K 7 svn:log V 37 Run the "files" customization script END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T15:34:00.000000Z K 7 svn:log V 86 Save space by using -b 4096 -f 512 for newfs. Retain -i 8192 to avoid wasting inodes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-19T15:34:36.000000Z K 7 svn:log V 100 Make the path to make.conf a parameter which can be overridden. NB: you have to use absolute path! END