ĵ7122817 165 140 367 579 1077 219 191 246 280 172 374 300 411 172 417 130 223 240 142 158 152 263 266 205 232 224 278 180 1339 145 125 195 229 977 163 152 324 144 167 277 212 296 355 166 871 256 177 219 175 135 142 231 255 340 158 847 215 272 426 1390 185 138 206 255 214 163 229 400 250 319 225 456 361 366 452 294 398 203 541 202 138 598 304 301 525 481 431 250 1466 326 245 181 254 235 934 215 173 237 146 221 261 497 397 277 176 466 989 280 242 221 405 989 257 283 648 245 224 250 234 188 185 209 206 244 165 440 1844 262 428 529 237 1212 159 235 765 175 255 346 317 117 204 169 127 735 505 258 170 142 185 226 310 183 177 250 139 629 271 211 147 178 273 317 192 212 244 469 K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-16T22:15:09.000000Z K 7 svn:log V 46 Document NO_DYNAMICROOT. Reviewed by: gordon END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-16T22:33:42.000000Z K 7 svn:log V 274 Gross kludge: o when compiling lint, undefine certain things and redefine them so that the driver doesn't #error out. Since lint kernels aren't supposed to be bootable, I'm no troubled by this breakage. This fixes the tinderbox Suggested by: rwatson Approved by: bms END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-16T23:05:52.000000Z K 7 svn:log V 486 Don't waste so much space for the latency debugging buffer. Its size will now need editing except for spot checks. Changed this buffer from a circular one to a linear one. This is more useful for some cases and the sysctl that prints it doesn't support circular buffers. Fixed (output) formatting bugs in this sysctl. An off by 1 error caused a garbage byte to be returned after annotation of large deltas, and a race with the writer sometimes caused premature string termination. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-16T23:31:45.000000Z K 7 svn:log V 980 Implement sockets support for __mac_get_fd() and __mac_set_fd() system calls, and prefer these calls over getsockopt()/setsockopt() for ABI reasons. When addressing UNIX domain sockets, these calls retrieve and modify the socket label, not the label of the rendezvous vnode. - Create mac_copy_socket_label() entry point based on mac_copy_pipe_label() entry point, intended to copy the socket label into temporary storage that doesn't require a socket lock to be held (currently Giant). - Implement mac_copy_socket_label() for various policies. - Expose socket label allocation, free, internalize, externalize entry points as non-static from mac_net.c. - Use mac_socket_label_set() in __mac_set_fd(). MAC-aware applications may now use mac_get_fd(), mac_set_fd(), and mac_get_peer() to retrieve and set various socket labels without directly invoking the getsockopt() interface. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-16T23:40:06.000000Z K 7 svn:log V 126 - Remove unnecessary synchronization from sf_buf_init(). (There is only one active CPU when sf_buf_init() is performed.) END K 10 svn:author V 3 das K 8 svn:date V 27 2003-11-17T00:08:28.000000Z K 7 svn:log V 99 Document nologin(8) as being insecure in conjunction with a dynamic root and suggest alternatives. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T00:56:53.000000Z K 7 svn:log V 149 Update a comment about needing to fix NFS server credential use by 5.0-RELEASE: make it now read 5.3-RELEASE to be realistic. Still needs fixing... END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T01:04:07.000000Z K 7 svn:log V 183 Don't implement mpo_destroy() for Biba, LOMAC, and MLS, as they aren't allowed to be unloaded. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-11-17T01:22:07.000000Z K 7 svn:log V 75 Print the dirpref avgfilesize and avgfpdir parameters. MFC after: 2 weeks END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-17T02:11:13.000000Z K 7 svn:log V 281 Avoid a warning for compiling with `gcc -Wbad-function cast'. (This is the warning that points to the bug in `(char *)malloc(...)' where malloc() is implicitly declared as returning int. We do similar things here, but they work because u_int is the same as uintptr_t on i386's.) END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-17T02:55:25.000000Z K 7 svn:log V 207 Fixed pedantic syntax errors. Many macros didn't permit a semicolon after their invocation in the !KLD_MODULE case, but a semicolon is provided after all invocations and is required in the KLD_MODULE case. END K 10 svn:author V 5 green K 8 svn:date V 27 2003-11-17T03:17:49.000000Z K 7 svn:log V 316 Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, but do not have mh_nextpkt initialized. Somtimes what's there is "1", and the ip_input() code pukes trying to m_free() it, rendering divert sockets and such broken. This really underscores the need to get rid of MT_TAG. Reviewed by: rwatson END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-17T03:40:41.000000Z K 7 svn:log V 80 Fixed a pedantic syntax error (a stray semicolon at the end of PCPU_MD_FIELDS). END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-11-17T04:19:15.000000Z K 7 svn:log V 321 Detect range errors when using the %s specifier. Previously, LONG_MAX was rejected as a range error, while any values less than LONG_MIN were silently substituted with LONG_MIN. Furthermore, on some platforms `time_t' has less range than `long' (e.g. alpha), which may give incorrect results when parsing some strings. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-11-17T04:20:02.000000Z K 7 svn:log V 35 Baby steps. Set WARNS=1 for libc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-17T04:38:14.000000Z K 7 svn:log V 130 Copy ukbdmap.h rules from .i386. # maybe this should be in files. # This may fix sparc64 tinderbox. I'll kinow in a few hours. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-17T04:40:58.000000Z K 7 svn:log V 147 Fixed pedantic warnings for statement-expressions using __extension__ and by not using a statement-expression for the non-expression __PCPU_SET(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-17T05:16:26.000000Z K 7 svn:log V 47 /rescue/tar exists, so build this dynamic now. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-17T05:18:36.000000Z K 7 svn:log V 63 /rescue/g{{,un}zip,zcat} exist, so build this dynamically now. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-17T05:19:37.000000Z K 7 svn:log V 57 /rescue/b{,un}zip exists, so build this dynamically now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-17T05:21:18.000000Z K 7 svn:log V 170 Ignore errors on ln. This is a quick fix for the make depend twice in a row being broken. A better filx will come as soon as I have time to analyse things more deeply. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-17T05:45:21.000000Z K 7 svn:log V 172 Start turning on a few devices in the amd64 hardware notes, based on things that I've observed to work. Obtained from: sledge, various dmesg(1) output messages from peter END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-17T05:47:42.000000Z K 7 svn:log V 109 Declare crc32 static. There's a copy in libz that conflicts for the crunched binary. Found by: make release END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-17T06:08:10.000000Z K 7 svn:log V 137 Expand the argument to the ithread enable/disable helper hooks from an int to something big enough to hold a pointer. amd64 needs this. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-17T06:10:15.000000Z K 7 svn:log V 129 Widen the enable/disable helper function's argument in line with the ithread_create() changes etc. This should be mostly a NOP. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-11-17T06:39:38.000000Z K 7 svn:log V 185 Reimplement nologin(8) as a C program. This allows us to statically link it at low cost and avoid environment poisoning attacks associated with LD_LIBRARY_PATH. Suggested by: rwatson END K 10 svn:author V 3 das K 8 svn:date V 27 2003-11-17T06:39:54.000000Z K 7 svn:log V 88 Remove the BUGS section introduced in rev 1.11 now that the problem has been addressed. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-17T07:21:19.000000Z K 7 svn:log V 1245 Tweaked the siointr1() so that it works better at 921600 bps, especially with multiple ports on a shared interrupt demultiplexed by the puc_intr() handler. siointr1() first read as much input as possible and then checked all possibly-relevant status registers, partly for robustness and partly for historical reasons. This is very bad if it is called for every port sharing an interrupt like puc_intr() does. It can spend too long reading all the input for some ports when the interrupt is for a more urgent event on another, or just too long checking all the status registers when there are lots of ports. The inter-character time is too long for reading all the input even when the interrupt is for a transmitter interrupt on the same port, and at 921600 bps the inter-char time is 10.85 usec and was often exceeded with just 2 ports, leaving the transmitters idle for about 6% of the time. The tweak is to break out of the read loop after reading 1 char if output can be done. This avoids most of the idle transmitter time for 2 active ports at 921600 bps bidirectional on the test system. It also reduces overhead by about 20%. More complete fixes use the programmable tx low watermark on 16950's and reduce overhead by another 65%. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-17T07:50:59.000000Z K 7 svn:log V 51 Oh, how embarresing. I broke my own platform. :-) END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-17T07:53:32.000000Z K 7 svn:log V 33 correct to look right interface. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-17T08:24:14.000000Z K 7 svn:log V 101 - Remove long dead code. rslices hasn't been used in some time and neither has sched_pickcpu(). END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-11-17T08:27:11.000000Z K 7 svn:log V 135 - Mark ksq_assigned as volatile so that when this code is used without sched_lock we can be sure that we'll pick up the new value. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-17T08:58:16.000000Z K 7 svn:log V 882 Initial landing of SMP support for FreeBSD/amd64. - This is heavily derived from John Baldwin's apic/pci cleanup on i386. - I have completely rewritten or drastically cleaned up some other parts. (in particular, bootstrap) - This is still a WIP. It seems that there are some highly bogus bioses on nVidia nForce3-150 boards. I can't stress how broken these boards are. I have a workaround in mind, but right now the Asus SK8N is broken. The Gigabyte K8NPro (nVidia based) is also mind-numbingly hosed. - Most of my testing has been with SCHED_ULE. SCHED_4BSD works. - the apic and acpi components are 'standard'. - If you have an nVidia nForce3-150 board, you are stuck with 'device atpic' in addition, because they somehow managed to forget to connect the 8254 timer to the apic, even though its in the same silicon! ARGH! This directly violates the ACPI spec. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-17T09:11:04.000000Z K 7 svn:log V 69 Restore file accidently killed in the crossfire from the smp commit. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-17T09:19:12.000000Z K 7 svn:log V 58 Add SMP changes as should have been committed as rev 1.28 END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-17T11:08:28.000000Z K 7 svn:log V 231 Instead of blindly loading the ums module and bailing out if that fails, check if it's already loaded or compiled into the kernel, and only try to load it if it isn't. PR: bin/59368 Submitted by: Jens Rehsack END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-17T11:14:34.000000Z K 7 svn:log V 52 Sort includes, and remove superfluous END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-17T11:26:51.000000Z K 7 svn:log V 75 __FBSDID; remove duplicate ; try to reduce style inconsistencies. END K 10 svn:author V 6 eivind K 8 svn:date V 27 2003-11-17T14:02:04.000000Z K 7 svn:log V 181 * Auto-detect what device to use if none is specified * Replace references to mcd0 with acd0 (doc only) * Remove references to the "c" partition (doc only - code was already fixed) END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-11-17T14:59:06.000000Z K 7 svn:log V 117 No need for two copies of this file; there is already a distribution copy in src/crypto/heimdal/... Reported by: ru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T15:56:00.000000Z K 7 svn:log V 199 Don't attempt to make devices if we're using devfs. This substantially cleans up the output when running the vinum management tool, and also makes it work better. Long sustained silence from: grog END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T16:04:52.000000Z K 7 svn:log V 258 Add an entry to the BUGS section indicating that Vinum cannot currently be used on devices with a block size other than DEV_BSIZE (512), which specifically includes being unable to run on a swap-backed md device. Swap-backed md devices use a 4k block size. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-11-17T17:29:04.000000Z K 7 svn:log V 71 Update hier(7) to reflect the world with respect to /lib and /libexec. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-17T18:22:24.000000Z K 7 svn:log V 778 - Change the i386's sf_buf implementation so that it never allocates more than one sf_buf for one vm_page. To accomplish this, we add a global hash table mapping vm_pages to sf_bufs and a reference count to each sf_buf. (This is similar to the patches for RELENG_4 at http://www.cs.princeton.edu/~yruan/debox/.) For the uninitiated, an sf_buf is nothing more than a kernel virtual address that is used for temporary virtual-to-physical mappings by sendfile(2) and zero-copy sockets. As such, there is no reason for one vm_page to have several sf_bufs mapping it. In fact, using more than one sf_buf for a single vm_page increases the likelihood that sendfile(2) blocks, hurting throughput. (See http://www.cs.princeton.edu/~yruan/debox/.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T18:57:20.000000Z K 7 svn:log V 159 Add a MAC check for VOP_LOOKUP() in the Linux getwcd() implementation. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-17T19:02:18.000000Z K 7 svn:log V 85 on a beacon miss try to reassociate before starting a scan Submitted by: Henry Qian END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-17T19:12:52.000000Z K 7 svn:log V 126 o fix WEP use in hostap mode; need to reset the pointer to the 802.11 packet header after stripping the WEP header on input END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-17T19:13:01.000000Z K 7 svn:log V 84 Check the correct set of interface flags and fix a memory leak. Reviewed by: harti END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-11-17T19:13:44.000000Z K 7 svn:log V 44 Fixed two memory leaks. Reviewed by: harti END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-17T19:15:09.000000Z K 7 svn:log V 50 move rate control change messages under ath_debug END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-11-17T19:21:53.000000Z K 7 svn:log V 135 In rip_abort(), unlock the inpcb if we didn't detach it, or we may recurse on the lock before destroying the mutex. Submitted by: sam END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T19:48:35.000000Z K 7 svn:log V 158 Staticize label_default_head to prevent it from leaking out of mac.c. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T20:20:53.000000Z K 7 svn:log V 243 Add a sysctl, security.bsd.see_other_gids, similar in semantics to see_other_uids but with the logical conversion. This is based on (but not identical to) the patch submitted by Samy Al Bahra. Submitted by: Samy Al Bahra END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-11-17T22:58:57.000000Z K 7 svn:log V 63 MFC: r1.56 (Prevent leaking fsid to non-root in linux compat). END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-11-17T23:02:21.000000Z K 7 svn:log V 752 Overhaul the entropy device: o Each source gets its own queue, which is a FIFO, not a ring buffer. The FIFOs are implemented with the sys/queue.h macros. The separation is so that a low entropy/high rate source can't swamp the harvester with low-grade entropy and destroy the reseeds. o Each FIFO is limited to 256 (set as a macro, so adjustable) events queueable. Full FIFOs are ignored by the harvester. This is to prevent memory wastage, and helps to keep the kernel thread CPU usage within reasonable limits. o There is no need to break up the event harvesting into ${burst} sized chunks, so retire that feature. o Break the device away from its roots with the memory device, and allow it to get its major number automagically. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-17T23:13:08.000000Z K 7 svn:log V 122 Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416. Approved by: nyan (Blanket approval for simple changes in sio.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-17T23:25:16.000000Z K 7 svn:log V 175 Clarify UPDATING language: do buildworld before buildkernel, and do installkernel before installworld, rather than don't make world before installkernel. Pointed out by: gad END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-11-18T00:36:40.000000Z K 7 svn:log V 328 Document that the live dump command (`dump -L') creates its snapshot in the .snap directory in the root of the filesystem being dumped. Document that if the .snap directory is missing that it must be created manually and that it should be owned by user root and group operator and set to mode 770 before a live dump can be run. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-18T00:39:07.000000Z K 7 svn:log V 1292 Introduce a MAC label reference in 'struct inpcb', which caches the MAC label referenced from 'struct socket' in the IPv4 and IPv6-based protocols. This permits MAC labels to be checked during network delivery operations without dereferencing inp->inp_socket to get to so->so_label, which will eventually avoid our having to grab the socket lock during delivery at the network layer. This change introduces 'struct inpcb' as a labeled object to the MAC Framework, along with the normal circus of entry points: initialization, creation from socket, destruction, as well as a delivery access control check. For most policies, the inpcb label will simply be a cache of the socket label, so a new protocol switch method is introduced, pr_sosetlabel() to notify protocols that the socket layer label has been updated so that the cache can be updated while holding appropriate locks. Most protocols implement this using pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use the the worker function in_pcbsosetlabel(), which calls into the MAC Framework to perform a cache update. Biba, LOMAC, and MLS implement these entry points, as do the stub policy, and test policy. Reviewed by: sam, bms Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-18T00:52:30.000000Z K 7 svn:log V 89 Revert a NOOP change to Makefile that slipped into the last commit. Pointed out by: tjr END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-11-18T02:33:27.000000Z K 7 svn:log V 43 Catch up with the latest in device naming. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-11-18T03:36:23.000000Z K 7 svn:log V 108 MFC 1.116 which tweaks the minbfree, minifree, maxcontigdirs calculations to give results that work better. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-18T04:11:52.000000Z K 7 svn:log V 158 Use UMA zone allocator for Biba and MLS labels rather than MALLOC(9). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-18T07:54:12.000000Z K 7 svn:log V 121 Fix a harmless bug and add a ')' in a debugging printf. Submitted by: "Bjoern A. Zeeb" END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-18T13:42:04.000000Z K 7 svn:log V 69 Bump version number since we are at 4.9-STABLE now. Approved by: ru END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-18T14:21:34.000000Z K 7 svn:log V 136 Replace the dangerous strcpy() call with strlcpy(), instead of the safe one that was incorrectly changed in rev. 1.61. Approved by: re END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-11-18T14:21:41.000000Z K 7 svn:log V 306 Install the user trap handlers that libc provides from a constructor, so that they will be installed before application constructors are invoked. Its possible to link applications such that this fails, application code is invoked before they are installed, but, well, Don't Do That. Approved by: re (jhb) END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-11-18T14:35:43.000000Z K 7 svn:log V 155 Hackfix to patch around a kernel panic I introduced. Real fix to follow. In the meanwhile, we are not harvesting interrupt entropy. Approved by: re (jhb) END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-18T15:23:37.000000Z K 7 svn:log V 226 Work around the problem that some CDROM drives might return different TOC's for the same media!! that borks up GEOM. Although this looks like bad HW the following patch removes the chance for GEOM panic'ing. Approved by: re@ END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-18T15:27:28.000000Z K 7 svn:log V 132 Add support for the SiS964 ATA/SATA southbridge. This could not have been done without the support from kuriyama. Approved by: re@ END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2003-11-18T17:25:53.000000Z K 7 svn:log V 358 MFC: - Code cleanup - In the receive routine handle the case where last descriptor could have less than 4 bytes of data. - Handle race between detach/ioctl routine. - Add facilities for tuning "em" drivers interrupt delays without recompiling the driver. These changes were done by John Polstra. Submitted by: jdp (sysctl's for interrupt delay tuning) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-18T18:17:39.000000Z K 7 svn:log V 268 Call class->init() an class->fini() while the class is hooked up, rather than right before and right after. This allows these routines to manipulate the mesh. KASSERT that nobody creates a geom on an alien class. Assert topology in g_valid_obj(). Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-18T18:19:26.000000Z K 7 svn:log V 273 Use the class->init() to hitch up preload devices, rather than rely on the "old" SYSINIT. This makes sure things happen in the right order. XXX: md(4) needs to be fully geom-ified and in particluar /dev/md.ctl should be abandonded for the GEOM OaM api. Approved by: re@ END K 10 svn:author V 6 archie K 8 svn:date V 27 2003-11-18T20:43:23.000000Z K 7 svn:log V 356 Lower the maximum ACK timeout for GRE packets from 10 to 1 second. In practice it seems that in situations of high packet loss the ACK timeout seems to hit this maximum (perhaps inappropriately, but the estimation algorithm is not perfect, so apparently it happens). In any case, 10 seconds is way too high a value so lower to 1 second. MFC after: 3 days END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-11-18T23:22:03.000000Z K 7 svn:log V 199 MFC: Add vendor ID to make Marvell chipset work. E.g. to be found on SMC9452TX it seems Submitted by: Jung-uk Kim Tested by: veedee@c7.campus.utcluj.ro END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-19T04:12:32.000000Z K 7 svn:log V 305 Do not call VOP_GETATTR in getdents function. It does not serve any purpose and the resulting vattr structure was ignored. In addition, the VOP_GETATTR call was made with no vnode lock held, resulting in vnode locking violation panic with debug kernels. Reported by: truckman Approved by: re@ (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-19T04:14:42.000000Z K 7 svn:log V 110 Fix vnode locking in fdesc_setattr. Lock vnode before invoking VOP_SETATTR on it. Approved by: re@ (rwatson) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-19T05:08:27.000000Z K 7 svn:log V 448 o Remove @- from the ln and change it to a -sf. This was bogus, and regocnized as such at the time. Now that the other bogons in the tree have been fixed, we can remove this ugly kludge. o Remove stale/bogus opt_foo.h files. These are left over from by-gone resources. And they point to the need, yet again, to improve the build system so meta information is only in one place. Submitted by: ru Reviewed by: bde Approved by: re@ (jhb) END K 10 svn:author V 3 dds K 8 svn:date V 27 2003-11-19T13:05:50.000000Z K 7 svn:log V 109 Documented missing EINVAL errno value kern_prot.c: if (ngrp > NGROUPS) return (EINVAL); MFC after: 2 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-19T15:28:21.000000Z K 7 svn:log V 46 Off by one error in malloc. Approved by: re@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-19T15:38:56.000000Z K 7 svn:log V 505 - Add counts to the ATPIC interrupt sources and point the ATPIC interrupt source count pointers at them so that intr_execute_handlers() won't choke when it tries to handle an unregisterd ATPIC interrupt source. - Install the low-level ATPIC interrupt handlers when we first program the ATPIC in atpic_startup() rather than at SI_SUB_INTR. This is only necessary to work around buggy code that enables interrupts too early in the boot process (namely, the vm86 code). Approved by: re (rwatson) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-19T15:40:23.000000Z K 7 svn:log V 211 Add a special check for a stray IRQ 7 or IRQ 15 to see if it is actually a spurious interrupt from one of the 8259As. If so, don't log it as a stray IRQ, but just silently ignore it. Approved by: re (rwatson) END K 10 svn:author V 3 dds K 8 svn:date V 27 2003-11-19T15:51:26.000000Z K 7 svn:log V 208 Fix problem where initgroups would silently truncate groups with more than NGROUP elements without providing the opportunity to setgroups to fail and correctly return error and set errno. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-19T16:59:00.000000Z K 7 svn:log V 429 Force a staticly linked /bin and /sbin for ia64. The necessary changes to gcc have not been made for ia64, which means that executables still have /usr/libexec/ld-elf.so.1 as the dynamic linker. This simply does not work if /usr is a seperate filesystem not mounted when the kernel tries to execute init(8). Note that this is a temporary fix until a new gcc has been imported that does have the required changes. Approved: re@ END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-19T18:11:27.000000Z K 7 svn:log V 386 Sync with i386. - turn on SMP in generic - add 'device atpic' - this is unconditional on i386, but certain nvidia based systems need to disable acpi because the reference bios seems to be hosed. If acpi is disabled, we won't find the apic. amd64 has the mptable code in a seperate compile option as well. - turn sym back on, it doesn't fail to compile anymore. Approved by: re END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-11-19T18:48:45.000000Z K 7 svn:log V 338 - Avoid a lock-order reversal between Giant and a system map mutex that occurs when kmem_malloc() fails to allocate a sufficient number of vm pages. Specifically, we avoid the lock-order reversal by not grabbing Giant around pmap_remove() if the map is the kmem_map. Approved by: re (jhb) Reported by: Eugene END K 10 svn:author V 6 gordon K 8 svn:date V 27 2003-11-19T19:57:20.000000Z K 7 svn:log V 154 Make init statically linked by default. It's not worth the pain of having a dynamically linked init as recently seen by ia64 woes. Approved by: re (jhb) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-19T20:27:06.000000Z K 7 svn:log V 1372 * Add a DEVMETHOD for acpi so that child detach methods get called. Add an acpi_cpu method for shutdown that disables entry to acpi_cpu_idle and then IPIs/waits for threads to exit. This fixes a panic late in reboot in the SMP case. * In the !SMP case, don't use the processor id filled out by the MADT since there can only be one processor. This was causing a panic in acpi_cpu_idle if the id was 1 since the data was being dereferenced from cpu_softc[1] even though the actual data was in cpu_softc[0] (which is correct). * Rework the initialization functions so that cpu_idle_hook is written late in the boot process. * Make the P_BLK, P_BLK_LEN, and cpu_cx_count all softc-local variables. This will help SMP boxes that have _CST or multiple P_BLKs. No such boxes are known at this time. * Always allocate the C1 state, even if the P_BLK is invalid. This means we will always take over idling if enabled. Remove the value -1 as valid for cx_lowest since this is redundant with machdep.cpu_idle_hlt. * Reduce locking for the throttle initialization case to around the write to the smi_cmd port. Add disabled code to write the CST_CNT. It will be enabled once _CST re-evaluation is tested (post 5.2R). Thank you: dfr, imp, jhb, marcel, peter Tested by: rwatson, Harald Schmalzbauer Approved by: re (rwatson) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-19T20:28:56.000000Z K 7 svn:log V 233 Improve the section on Cx states, documenting the removal of -1 as a valid value for cx_lowest. To disable sleeping, use machdep.cpu_idle_hlt instead. Update the version of the ACPI spec we implement. Approved by: re (implicitly) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-19T20:30:18.000000Z K 7 svn:log V 152 Update the man page for hw.acpi.reset_video and a few mdoc(7) cleanups. Submitted by: Andreas Kohn Approved by: re (implicitly) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-19T20:37:15.000000Z K 7 svn:log V 89 Clean up one more sentence that was wrapped unnecessarily. Approved by: re (implicitly) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-19T22:42:34.000000Z K 7 svn:log V 161 eliminate an unnecessary 8Kbyte bzero that was being done for each submitted operation Submitted by: Thor Lancelot Simon Reviewed by: jhb Approved by: re (jhb) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-20T02:46:44.000000Z K 7 svn:log V 138 No need to copy sysinstall into a jail with -CURRENT, since in -CURRENT, we have /usr/sbin/sysinstall. Approved by: re (bmah implicitly) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-11-20T03:47:50.000000Z K 7 svn:log V 837 A variety of content cleanups: (1) Document the notion of using jail(8) to run "virtual servers" or just to constrain specific applications. If only running specific applications, some configuration steps are unnecessary (such as editing rc.conf). (2) Add some more subsection headers to break up the bigger chunks of text. (3) Clarify the problems associated with applications binding all IP addresses in the host, and attempt to be more specific about potential application problems. Document how to force sshd to bind the the right socket. (4) Suggest that in a jailed application scenario, you might want to have the host syslogd listen on the socket in the jail, rather than running syslogd in the jail. (5) Catch another reference to /stand/sysinstall. Approved by: re (bmah implicitly) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-20T04:42:50.000000Z K 7 svn:log V 119 Remove unneeded file. (could be repo removed as nothing ever referenced it.) Submitted by: Jim Rees END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-20T07:55:08.000000Z K 7 svn:log V 81 MFP4: fix confusion about the layout of resp (#42758) Approved by: re (rwatson) END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-20T07:55:08.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r122912, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-11-20T08:24:33.000000Z K 7 svn:log V 54 MFC: warn about partitions that overlap with the mbr. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-11-20T10:28:33.000000Z K 7 svn:log V 126 Fix an arguments order in check_uidgid() call. PR: kern/59314 Submitted by: Andrey V. Shytov Approved by: re (rwatson, jhb) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2003-11-20T13:36:31.000000Z K 7 svn:log V 164 Fix a bug which causes wrong filename being written into the syslog in the case when client sends request with RFC2347 options. Approved by: re MFC After: 2 weeks END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-11-20T15:35:48.000000Z K 7 svn:log V 402 Fix a major faux pas of mine. I was causing 2 very bad things to happen in interrupt context; 1) sleep locks, and 2) malloc/free calls. 1) is fixed by using spin locks instead. 2) is fixed by preallocating a FIFO (implemented with a STAILQ) and using elements from this FIFO instead. This turns out to be rather fast. OK'ed by: re (scottl) Thanks to: peter, jhb, rwatson, jake Apologies to: * END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-11-20T16:42:39.000000Z K 7 svn:log V 301 Set the ACPI processor Id in the PCPU structure so that CPU idling on SMP systems has a chance of working. This was a loose end of the implementation of the ACPI Cx idle states. Since our logical CPU Id is the ACPI processor Id, we do not need to jump through hoops to obtain it. Approved: re@ (jhb) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-20T17:07:59.000000Z K 7 svn:log V 183 New release note: sparc64 syscons(4) support [1] Modified release note: mount_udf(8) -C. [2] Submitted by: kris [1], "R. Imura" [2] Approved by: re (implicitly) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-20T19:39:53.000000Z K 7 svn:log V 79 o Use manpage entity for xe(4) o Various grammar fixes Approved by: re (bmah) END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-20T19:47:31.000000Z K 7 svn:log V 371 Remove RTF_PRCLONING from routing table and adjust users of it accordingly. The define is left intact for ABI compatibility with userland. This is a pre-step for the introduction of tcp_hostcache. The network stack remains fully useable with this change. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-20T20:07:39.000000Z K 7 svn:log V 894 Introduce tcp_hostcache and remove the tcp specific metrics from the routing table. Move all usage and references in the tcp stack from the routing table metrics to the tcp hostcache. It caches measured parameters of past tcp sessions to provide better initial start values for following connections from or to the same source or destination. Depending on the network parameters to/from the remote host this can lead to significant speedups for new tcp connections after the first one because they inherit and shortcut the learning curve. tcp_hostcache is designed for multiple concurrent access in SMP environments with high contention and is hash indexed by remote ip address. It removes significant locking requirements from the tcp stack with regard to the routing table. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-20T20:28:18.000000Z K 7 svn:log V 187 Update the size of the OS string table that wasn't updated in the previous commit that removed the UNIX entry. Submitted by: Rudolf Cejka Approved by: re (rwatson) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-20T20:41:12.000000Z K 7 svn:log V 149 Fix a typo that broke one of the Greek keyboard maps. PR: bin/59078 Submitted by: Panagiotis Astithas Approved by: re (rwatson) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-20T20:43:06.000000Z K 7 svn:log V 128 Add Greek keymaps to sysinstall. PR: bin/59078 Submitted by: Panagiotis Astithas Approved by: re (rwatson) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-20T21:23:49.000000Z K 7 svn:log V 312 Try all of the possible interrupts for a link device when programming boot-disabled devices instead of skipping the last interrupt. This is especially important for devices that only have one interrupt as this bug was keeping any interrupt from being tried at all. Reviewed by: msmith Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2003-11-20T21:47:20.000000Z K 7 svn:log V 894 Introduce tcp_hostcache and remove the tcp specific metrics from the routing table. Move all usage and references in the tcp stack from the routing table metrics to the tcp hostcache. It caches measured parameters of past tcp sessions to provide better initial start values for following connections from or to the same source or destination. Depending on the network parameters to/from the remote host this can lead to significant speedups for new tcp connections after the first one because they inherit and shortcut the learning curve. tcp_hostcache is designed for multiple concurrent access in SMP environments with high contention and is hash indexed by remote ip address. It removes significant locking requirements from the tcp stack with regard to the routing table. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-20T22:21:51.000000Z K 7 svn:log V 164 Fix a typo in my patches to support extended IRQ resources that broke the type checking for _PRS for a link device's interrupt resources. Approved by: re (scottl) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-20T22:50:26.000000Z K 7 svn:log V 188 Allow the MD backend to provide an alternative to #define curthread PCPU_GET(curthread) since its so heavily used in the kernel and ripe for compile-speed optimization on some platforms. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-20T22:54:44.000000Z K 7 svn:log V 553 Provide a streamlined '#define curthread __curthread()' for amd64 to avoid the compiler having to parse and optimize the PCPU_GET(curthread) so often. __curthread() is an inline optimized version of PCPU_GET(curthread) that knows that pc_curthread is at offset zero in the pcpu struct. Add a CTASSERT() to catch any possible changes to this. This accounts for just over a 1% wall clock speedup for total kernel compile/link time, and 20% compile time speedup on some specific files depending on which compile options are used. Approved by: re (jhb) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-20T23:23:22.000000Z K 7 svn:log V 150 MFamd64: use a less compiler-intensive MD implementation of 'curthread' so that the compiler doesn't have to do so much work. Approved by: re (jhb) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-20T23:49:28.000000Z K 7 svn:log V 129 Argh! Followup to previous commit. I checked in the patch with an unintended local change. Change Xurthread back to curthread. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-21T00:02:29.000000Z K 7 svn:log V 155 MFC 1.14-1.16: - Document the KZPCA-AA. - Sync the sym(4) manual page with the hardware notes, and change the list of supported controllers into a list. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-11-21T00:55:11.000000Z K 7 svn:log V 137 Bring in a new manual page, ncv.4, and attach it to the build. Based on an original version submitted by: non Approved by: re (scottl) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-11-21T01:23:20.000000Z K 7 svn:log V 95 New release note: acpi(4) idle state support. Submitted by: njl Approved by: re (implicitly) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-11-21T01:30:28.000000Z K 7 svn:log V 93 Replace out of date struct statfs definition with a reference to statfs(2). Approved by: re END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-21T02:53:49.000000Z K 7 svn:log V 114 MFi386 rev 1.207 (phk): Don't mistakenly disable the TSC when using statclock_disable. Approved by: re (scottl) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-21T02:58:26.000000Z K 7 svn:log V 111 MFi386: pre-register idt slots for atpic so we catch any strays without blowing up. Approved by: re (scottl) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-21T03:00:05.000000Z K 7 svn:log V 149 MFi386 rev 1.54 (jhb): Add interrupts that are actually available to the resource manager, rather than adding everything. Approved by: re (scottl) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-21T03:02:00.000000Z K 7 svn:log V 71 Cosmetic and/or trivial sync up with i386. Approved by: re (rwatson) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-21T03:19:59.000000Z K 7 svn:log V 345 Turn on NO_MIXED_MODE for amd64 generic. It turns out that all the known samples of broken chipsets that needed mixed mode in the first place are so broken (ie: locks up) that we can't use IO APIC mode at all and it needs to be turned off in the bios. So, the MIXED_MODE penalty on the good chipsets gained nothing. Approved by: re (scottl) END K 10 svn:author V 3 dcs K 8 svn:date V 27 2003-11-21T19:01:02.000000Z K 7 svn:log V 1750 With the beastie menu a problem was introduced in which selecting a different kernel to boot with kernel="NAME" would load the kernel and loader.conf-selected modules from /boot/NAME, but it would not change module_path. So, for instance, the automatically loaded acpi.ko would come from /boot/kernel/acpi.ko, *always*. Mind you, this happened for unassisted boot. If you interrupted, typed "unload" and then "boot NAME", it would Do The Right Thing. The source of the problem is the double initialization with beastie's loader.rc. One would happen inside "start", and would load the kernel. The next one would happen later in the loader.rc script, resetting module_path. Because module_path is set to the Right Value by the functions in support.4th that actually load the kernel, when beastie.4th proceeded to boot module_path would remain wrong, as the kernel was already loaded. This can be corrected by removing either initialization, and also by changing the command used by beastie.4th from "boot" to "boot-conf", which makes sure you use the right kernel and modules. I chose to remove the second initialization, since this let you interrupt (or confirm) boot before beastie even comes up. I avoid also doing the boot-conf change because that would simply cause the kernel and modules to be loaded twice (in fact, that was my original patch, until, in writing this very commit message, I saw the error of my ways). This commit changes the semantics of module loading when using the beastie menu. Now it does what one would expect it to, but not what it was actually doing, so something may break for unusual setups depending on broken behavior. As our japanese friends so nicely put it, shikata ga nakatta. :-) Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-11-21T21:03:42.000000Z K 7 svn:log V 169 New major number: 185 ce Cronyx Tau-32 E1 adapter (likely unneeded for current, but required for older versions of FreeBSD). Approved by: re@ (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-21T21:21:17.000000Z K 7 svn:log V 335 Add the byte offset to the base address for IndexField objects. This fixes an interrupt storm for certain users. This is done on the vendor branch since the code is already in the 20031029 ACPI-CA dist and will be imported after 5.2R. Tested by: sebastian ssmoller PR: i386/57909 Approved by: re (jhb) END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-21T21:24:31.000000Z K 7 svn:log V 436 Update code for checking the reference count and performing the final delete of objects. Also revert our temporary workaround in dsmthdat.c that always copied objects. This is the correct fix for errors evaluating _BST (and GBST) on IBM Thinkpads where an argument (Arg3) was returned to the caller and the object was freed while still in use. This will be in a future ACPI-CA dist. Thanks to: kochi@netbsd.org, shaohua.li@intel.com END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-21T21:24:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r122945, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-11-21T22:23:26.000000Z K 7 svn:log V 1118 - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called very early (SI_SUB_TUNABLES - 1) and is responsible for setting mp_maxid. cpu_mp_probe() is now called at SI_SUB_CPU and determines if SMP is actually present and sets mp_ncpus and all_cpus. Splitting these up allows an architecture to probe CPUs later than SI_SUB_TUNABLES by just setting mp_maxid to MAXCPU in cpu_mp_setmaxid(). This could allow the CPU probing code to live in a module, for example, since modules sysinit's in modules cannot be invoked prior to SI_SUB_KLD. This is needed to re-enable the ACPI module on i386. - For the alpha SMP probing code, use LOCATE_PCS() instead of duplicating its contents in a few places. Also, add a smp_cpu_enabled() function to avoid duplicating some code. There is room for further code reduction later since much of this code is also present in cpu_mp_start(). - All archs besides i386 still set mp_maxid to the same values they set it to before this change. i386 now sets mp_maxid to MAXCPU. Tested on: alpha, amd64, i386, ia64, sparc64 Approved by: re (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-21T22:58:56.000000Z K 7 svn:log V 67 Fix support for the cmd646 chip. Spotted by: tmm reviewed by: re@ END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-11-22T00:48:08.000000Z K 7 svn:log V 142 Commit rev 1.1.1.20 to HEAD. This file was off the vendor branch and thus the changes need to be made to HEAD. Approved by: re (previously) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-11-22T01:11:07.000000Z K 7 svn:log V 670 Argh! The Athlon64 and Opteron only implement 40 bits of address space in the MTRR Base/Mask registers. If you use the documented algorithm in the systems programming guide, you'll get a GPF. The only thing that has prevented this so far is that the bios pre-sets some MTRR entries which we mis-interpreted sufficiently to fool the memcontrol interface into thinking all the address space was taken and therefore rejected XFree86's requests. However, not all bioses do this.. You get an insta-panic in that case. Grrr. A better fix (dynamic mask) will happen by 5.3/5-stable so that we automatically adapt to more than 40 physical bits. Approved by: re (scottl) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-22T02:16:53.000000Z K 7 svn:log V 80 Bring in manpage for idmapd and change domain to @FreeBSD.org. Approved by: re END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-22T02:18:30.000000Z K 7 svn:log V 159 Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options). Cleanup option parsing for mount_nfs4 program, and remove dead code. Approved by: re END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-11-22T02:21:49.000000Z K 7 svn:log V 250 Use function pointers to remove the depenancy cross dependancy on nfs4 and the nfs3 client. Also fix some bugs that happen to be causing crashes in both v3 and v4 introduced by the v4 import. Submitted by: Jim Rees Approved by: re END K 10 svn:author V 4 matk K 8 svn:date V 27 2003-11-22T03:27:09.000000Z K 7 svn:log V 223 New defines that paves the way for new midi features and ports. Changes consists of an IOCTL (SNDCTL_SEQ_GETTIME) and a constant. PR: kern/59233 Approved by: tanimura (mentor) Approved by: scottl (re) MFC after: 3 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-11-22T06:04:12.000000Z K 7 svn:log V 22 Move us into 5.2-BETA END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-11-22T06:08:59.000000Z K 7 svn:log V 108 Install UDF header files to unbreak /sbin building when /sys is not present. Submitted by: imura@ryu16.org END K 10 svn:author V 6 archie K 8 svn:date V 27 2003-11-22T15:28:16.000000Z K 7 svn:log V 74 MFC: (rev. 1.31) Maximum ACK timeout for GRE packets from 10 -> 1 second. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-23T01:11:10.000000Z K 7 svn:log V 35 MFC (1.22: fixed some style bugs). END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-11-23T01:47:19.000000Z K 7 svn:log V 642 MFC (1.23: changed RB_PAUSE to retrospectively avoid breaking binary compatibility, and marked the old value and RB_PROBEKBD as reserved for internal use in boot blocks. Also unintentionally clobber a style fix in 1.22). The corresponding change to boot/boot2.c has not been not merged, since RELENG_4's boot2 doesn't actually support RB_PAUSE (or even the 7 year old flag RB_MUTE), so any plain merge would just add an incomplete set of comments to code that should be rewritten so that it doesn't need the comments. RELENG_4's boot/loader does support these flags, and it doesn't need changing since it doesn't hard-code copies of them. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2003-11-23T03:02:00.000000Z K 7 svn:log V 412 bzero() the the sockaddr used for the destination address for rtalloc_ign() in in_pcbconnect_setup() before it is filled out. Otherwise, stack junk would be left in sin_zero, which could cause host routes to be ignored because they failed the comparison in rn_match(). This should fix the wrong source address selection for connect() to 127.0.0.1, among other things. Reviewed by: sam Approved by: re (rwatson) END K 10 svn:author V 3 wes K 8 svn:date V 27 2003-11-23T08:29:01.000000Z K 7 svn:log V 165 Don't use UFS2_BAD_MAGIC on UFS (v1) filesystems; it is Not Ready for Prime Time there. Submitted by: Xin LI Approved by: RE@ (John, Scott) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2003-11-23T09:53:13.000000Z K 7 svn:log V 73 o Add missing articles o Various grammar fixes Approved by: re (murray) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-23T10:22:51.000000Z K 7 svn:log V 50 Avoid NULL pointer dereference. Approved by: re@ END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-11-23T17:10:58.000000Z K 7 svn:log V 90 Fix vinum by correctly setting the b_offset bio filed when doing I/O. Submitted by: grog END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-23T17:13:48.000000Z K 7 svn:log V 133 Do not attempt to destroy NULL vfs options list. Approved by: re (scottl) Reported by: Christian Laursen END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-23T18:13:41.000000Z K 7 svn:log V 217 Use MPSAFE callouts only when debug.mpsafenet is 1. Both timer routines potentially transmit packets that may enter KAME IPsec w/o Giant if the callouts are marked MPSAFE. Reviewed by: ume Approved by: re (rwatson) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-11-23T18:52:23.000000Z K 7 svn:log V 91 Long overdue comment claification: RFC 2783 was approved long time ago. Approved by: re@ END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-23T23:58:31.000000Z K 7 svn:log V 83 MFC v. 1.5: - Synchronize the list of support devices with the driver source code. END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-11-24T00:07:16.000000Z K 7 svn:log V 155 MFC v. 1.3+1.4: - Ispell sweep of share/man/man4. - Add cross reference to the em(4) driver, which also supports the NICs supported by the gx(4) driver. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-11-24T01:53:36.000000Z K 7 svn:log V 47 pktopt may be null. Approved by: re (rwatson) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-11-24T03:57:03.000000Z K 7 svn:log V 536 Correct a problem where ipfw-generated packets were being returned for ipfw processing w/o an indication the packets were generated by ipfw--and so should not be processed (this manifested itself as a LOR.) The flag bit in the mbuf that was used to mark the packets was not listed in M_COPYFLAGS so if a packet had a header prepended (as done by IPsec) the flag was lost. Correct this by defining a new M_PROTO6 flag and use it to mark packets that need this processing. Reviewed by: bms Approved by: re (rwatson) MFC after: 2 weeks END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-11-24T04:06:56.000000Z K 7 svn:log V 177 Initalize buffer headers correctly for current version of bio subsystem. Not mentioned by: phk Approved by: re (scottl) This makes Vinum work again, at least in my testing. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-24T14:20:19.000000Z K 7 svn:log V 118 Be less noisy when GEOM probes around during boot if drive contains invalid media (ie empty CD/DVD) Approved by: re@ END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-24T14:22:30.000000Z K 7 svn:log V 55 Fix panic on certain failed configs. Approved by: re@ END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-11-24T14:54:41.000000Z K 7 svn:log V 86 Correct the former patch, I accidently committed the wrong version. Approved by: re@ END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-11-24T15:27:20.000000Z K 7 svn:log V 175 - Drop down to one snapshots FTP site since that's all we have now - Adjust names of IPv6 FTP hosts a bit - Sync list of FTP sites with reality Approved by: rwatson (re@) END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-24T16:14:32.000000Z K 7 svn:log V 224 Correct iov_len values passed to nmount(2) syscall. More accurate parameter checking introduced in vfs_mount.c r1.113 rejects them otherwise. Submitted by: R. Imura Approved by: re (scottl,rwatson) END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2003-11-24T21:16:47.000000Z K 7 svn:log V 98 Backout rev 1.48.2.2: it wasn't necessary and broke ddb breakpoint support. Pointed out by: bde END K 10 svn:author V 3 non K 8 svn:date V 27 2003-11-24T23:47:24.000000Z K 7 svn:log V 119 o Add HISTORY and AUTHORS section o Add scsi.4 in the SEE ALSO section Reviewed by: rushani Approved by: re (rwatson) END K 10 svn:author V 3 non K 8 svn:date V 27 2003-11-24T23:57:59.000000Z K 7 svn:log V 151 Add nsp(4) man page for nsp PC-Card SCSI host adapter device driver, and attach it to the build. Submitted by: non, rushani Approved by: re (rwatson) END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-11-25T02:23:29.000000Z K 7 svn:log V 372 Write the correct value to `td_be' for the second and further transfer descriptors when a large request needs to be split into more than one 8k chunk. The bug was that the calculation did not take into account the offset of the chunk within the overall request. This is reported to fix crashes and data corruption on ohci controllers. Submitted by: green Approved by: re END