ƒ«116274 189 318 256 381 135 272 222 186 573 265 371 199 226 158 253 115 653 499 217 248 98 391 285 317 158 175 227 154 192 452 258 140 102 170 144 241 577 382 403 128 199 185 241 362 342 206 233 600 286 131 170 176 372 181 134 255 498 232 370 209 159 273 137 762 165 365 277 190 270 295 431 117 155 120 136 155 126 632 575 196 298 189 719 359 288 235 127 114 176 174 576 180 1281 204 387 154 198 178 173 241 124 158 139 186 246 461 144 119 128 131 778 1567 771 1191 135 245 129 266 362 373 246 328 153 152 218 427 400 258 404 205 483 322 200 178 500 378 203 164 137 225 237 125 150 265 314 179 271 247 369 804 131 354 239 182 129 128 145 196 140 270 117 465 139 255 234 212 645 258 359 235 180 279 132 145 390 125 133 392 403 227 338 376 279 305 129 597 129 137 132 347 K 10 svn:author V 3 jkh K 8 svn:date V 27 2003-06-13T00:14:07.000000Z K 7 svn:log V 225 Fixes to locale code to properly use indirect pointers in order to prevent memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy Obtained from: Apple Computer, Inc. MFC after: 2 weeks END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-06-13T00:36:03.000000Z K 7 svn:log V 161 Despite my best efforts the Linux way of doing this is the only way that works correctly. - Remove unused function. - Move declaration of variables to .S file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-06-13T00:40:37.000000Z K 7 svn:log V 288 As a workaround for the latest problems, don't init hermes cards more than once. This appears to work around the hanging issues, at the expense of warnings about bad RID allocations. I'm not sure this is a permanant workaround, but does appear to help in the tests that I've done here. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2003-06-13T00:43:57.000000Z K 7 svn:log V 41 Conditionally attach the MCA bus device. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-06-13T01:04:17.000000Z K 7 svn:log V 179 MFC: Bring in the pci(9) manual page, which documents some of the vital functions of the PCI bus interface. Written by: Bruce M. Simpson Approved by: des (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-13T03:02:28.000000Z K 7 svn:log V 129 Add vm object locking to various pagers' "get pages" methods, i386 stack management functions, and a u area management function. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-13T06:17:42.000000Z K 7 svn:log V 94 Extend the scope of the vm object lock in swp_pager_async_iodone() to cover a vm_page_free(). END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-06-13T06:58:11.000000Z K 7 svn:log V 475 Clean up the fifo_open() implementation: Restructure the error handling portion of the resource allocation code to eliminate duplicated code. Test for the O_NONBLOCK && fi_readers == 0 case before incrementing fi_writers and modifying the the socket flag to avoid having to undo these operations in this error case. Restructure and simplify the code that handles blocking opens. There should be no change to functionality. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-06-13T07:04:02.000000Z K 7 svn:log V 170 Get this area compiling with the highest WARNS= that it works with. Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-06-13T07:13:54.000000Z K 7 svn:log V 278 Mark the following interfaces as OBSOLETE_IN_6: fgetrune(), fputrune(), fungetrune(), mbrune(), mbrrune(), mbmb(), setinvalidrune(), UTF2 encoding method. These have been marked as being deprecated in their manual pages since 5.0, and their use causes a linker warning. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-06-13T07:21:37.000000Z K 7 svn:log V 106 Mark libxpg4 as OBSOLETE_IN_6: it has been empty since its contents were merged into libc in 4.5-RELEASE. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2003-06-13T07:25:15.000000Z K 7 svn:log V 128 Remove redundant return; from void function. Submitted by: "Todd C. Miller" Obtained from: OpenBSD END K 10 svn:author V 4 fanf K 8 svn:date V 27 2003-06-13T07:32:08.000000Z K 7 svn:log V 65 Sync with -CURRENT: s///g and s///N fixes and warning reduction. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2003-06-13T07:37:45.000000Z K 7 svn:log V 155 Use waitpid, instead of wait3, which is more portable. Submitted by: "Todd C. Miller" Obtained from: OpenBSD Reviewed by: tjr END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-13T08:11:14.000000Z K 7 svn:log V 23 Add vm object locking. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-13T08:46:13.000000Z K 7 svn:log V 560 Make the VFS cache use zones instead of malloc(9). This results in a small but noticeable increase in performance for name lookup operations. The code uses two zones, one for short names (less than 32 characters) and one for long names (up to NAME_MAX). Since most file names are fairly short, this saves a considerable amount of space that would otherwise be wasted if we always allocated NAME_MAX bytes. The cutoff value of 32 characters was picked arbitrarily and may benefit from some tweaking; it could also be made into a tunable. Submitted by: hmp END K 10 svn:author V 3 das K 8 svn:date V 27 2003-06-13T08:59:37.000000Z K 7 svn:log V 406 Plug a serious memory leak. The -STABLE equivalent of this patch has been tested extensively, but -CURRENT testing has been hampered by a number of panics that also occur without the patch. Since the destabilizing changes between 4.X and 5.X are external to unionfs, I believe this patch applies equally well to both. Thanks to scrappy for assistance testing these and other changes. MFC after: 4 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-13T10:43:19.000000Z K 7 svn:log V 124 MFC rev. 1.62: Move the nntp line to the section of optional services; change path to nntpd; advise to run nntpd as "news". END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-06-13T11:20:26.000000Z K 7 svn:log V 155 Allow the EPSON USB scanner 1250 to be recognised as a uscanner device. Submitted by: Cristiano Deana By way of: n_hibma MFC after: 3 days END K 10 svn:author V 3 joe K 8 svn:date V 27 2003-06-13T11:24:45.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-13T12:08:09.000000Z K 7 svn:log V 296 Make the midway driver use the new ATM phy driver. This allows one to toggle several media options (sonet/sdh, for example) with ifconfig and to see the carrier state in ifconfig's output. It gives also read/write access (given the right privilegs) to the S/Uni registers to user space programs. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-13T12:27:41.000000Z K 7 svn:log V 190 Remove the documentation of the raw AAL0 access which has been removed. This raw cell stuff not used in the tree and a doubt that it is used anywhere else. It was also very Midway specific. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-13T12:33:33.000000Z K 7 svn:log V 222 Factor out the description of how to configure a CLIP into its own man page. This will be more scaleable as more driver man pages hit the tree. Add also a description on how to do this configuration in the rc.conf script. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-13T13:50:38.000000Z K 7 svn:log V 64 Implement the ioctl that returns a list of currently open VCCs. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-13T14:36:58.000000Z K 7 svn:log V 79 MFC: Revision 1.54: Add an EXAMPLES section. PR: 43899 Reviewed by: des, ru END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-13T15:05:47.000000Z K 7 svn:log V 130 Removed some unused variables. This is a basic MFC of revision 1.137 originally committed by phk. Tested with: make buildkernel END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T16:04:59.000000Z K 7 svn:log V 63 MFC: 1.16: Range check "fd" before using it as an array index. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T16:13:28.000000Z K 7 svn:log V 100 Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). Suggested by: Dan Nelson END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-06-13T17:05:41.000000Z K 7 svn:log V 359 - Use _PATH_TTY and _PATH_DEVNULL macros. - Don't fail if we can't open /dev/null since this can happen if xargs is jail'ed or chroot'ed. These fixes were submitted by Todd Miller from the OpenBSD project. There was one problem in those fixes that broke -o, which is corrected here and should be committed to the OpenBSD repo by Todd soon. MFC in: 3 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-13T17:44:03.000000Z K 7 svn:log V 165 Hardwire APB's PCI buses down. If we don't do this, pciconf -l returns selectors that are incorrect to use with pciconf -[rw] Fixes-PR: sparc64/50789 Ok's by: tmm END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-13T19:27:52.000000Z K 7 svn:log V 48 Add vm object locking to pmap_object_init_pt(). END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-06-13T19:39:21.000000Z K 7 svn:log V 10 Style(9). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-13T19:40:13.000000Z K 7 svn:log V 78 Finish the repocopy of bitstring.h to sys so it can be used from kernel code. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-13T19:40:44.000000Z K 7 svn:log V 52 Use the rather than END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-06-13T20:05:46.000000Z K 7 svn:log V 145 Add a retrospective entry about how having installed a broken sed(1) can cause build failures. Triggered by: too many questions on the -current END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-06-13T20:07:49.000000Z K 7 svn:log V 484 - Document the fact that you can specify several DMA operations to bus_dmamap_sync() by OR'ing them together. - Don't document what BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE and BUS_DMASYNC_POSTREAD|BUS_DMASYNC_POSTWRITE is supposed to do when passed to bus_dmamap_sync(). There are other possible combinations and the reader just needs to know what the individual flags do and that he can combine different DMA operations. - Use .An when listing authors. Reviewed by: hmp END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-06-13T20:46:34.000000Z K 7 svn:log V 289 Remove code that tries to detect if the MCLSHIFT and MSIZE macros are the same that those of the kernel in the KLD_MODULE case. If we ever want to detect that kind of problems, this is not the right place to do this since every network driver would be affected by such desynchronisation. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-06-13T21:30:29.000000Z K 7 svn:log V 310 Add a comment about the MPSAFEness of this pccard_intr handler. Given how we registered pccard_intr, it is MPSAFE. However, since we register the pccard_intr handler with the flags of the ISR we call, that is the gating factor. We need do nothing specific here. Prompted by: seeing pccard_intr in a panic. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T21:32:01.000000Z K 7 svn:log V 37 Added myself to the AUTHORS section. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T21:36:24.000000Z K 7 svn:log V 107 Clarify that original address and port when doing transparent proxying are _destination_ address and port. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T21:39:22.000000Z K 7 svn:log V 94 Removed a couple of .Xo/.Xc that are leftovers of the "ninth-argument limit" mdoc(7) atavism. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T21:54:01.000000Z K 7 svn:log V 149 In the PKT_ALIAS_PROXY_ONLY mode, make sure to preserve the original source IP address, as promised in the manual page. Spotted by: Vaclav Petricek END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-06-13T21:54:21.000000Z K 7 svn:log V 267 We cannot use c99 on amd64 either due to lack of alloca(). libc:strptime() uses alloca() and alloca is impossible to implement as a callable function on amd64. It has to be a compiler builtin. Note that the bigger problem is that libc is not c99 clean internally. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-06-13T21:56:30.000000Z K 7 svn:log V 247 This is unusable on amd64. Remove it before it causes more confusion. It is only possible to do this on an ABI that has a compulsory frame pointer, which the amd64 ABI does not. Thus, it is only possible to implement this as a compiler builtin. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-06-13T22:07:39.000000Z K 7 svn:log V 111 Build/install the PIC version of libgcc (libcc_pic.a) for use by shared libraries that do exception unwinding. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-06-13T22:15:42.000000Z K 7 svn:log V 141 If the -proxy_only option is used, the -alias_address/-interface options are not required. Suggested by: Vaclav Petricek MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-06-13T22:25:41.000000Z K 7 svn:log V 505 When building a shared library, link it against libgcc_pic.a instead of the non-PIC libgcc.a. Linking non-pic code into a shared library is not a good thing. It happens to break amd64 at compile time, and the ppc folks want it too. The problem is mainly with C++ code, unwind-dw2.c in particular. Most of the other functions in libgcc.a are self contained so most of the time it isn't a problem. The dwarf2 unwinder is not safe though since it does make global variable references. Reviewed by: kan END K 10 svn:author V 5 ticso K 8 svn:date V 27 2003-06-13T22:34:03.000000Z K 7 svn:log V 191 Fix alignment requirements of tulip_rombuf by further increasing tulip_boardid size. Add a comment to tulip_rombuf about this requirement. I have had panics on alpha while probing a de card. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-13T22:35:48.000000Z K 7 svn:log V 35 MFC: refuse 1.9 refuse.README 1.8 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-13T22:41:12.000000Z K 7 svn:log V 74 Document ENOSPC. PR: 52612 Submitted by: Marc Olzheim END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-06-14T00:01:24.000000Z K 7 svn:log V 81 Remove kernel event tracing. The overhead is significant when running under ski. END K 10 svn:author V 3 ken K 8 svn:date V 27 2003-06-14T05:28:01.000000Z K 7 svn:log V 279 Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcam and libdevstat, since the new way of doing things is to just list maintainership in src/MAINTAINERS. Also, remove duplicate entries in src/MAINTAINERS for those utilities. I already had entries for them. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-06-14T06:01:35.000000Z K 7 svn:log V 86 Use GCC's internal built-in alloca implementation, when available. Submitted by: DES END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-06-14T06:04:23.000000Z K 7 svn:log V 39 Only use this with a non-GCC compiler. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-14T06:20:25.000000Z K 7 svn:log V 162 Move the *_new_altkstack() and *_dispose_altkstack() functions out of the various pmap implementations into the machine-independent vm. They were all identical. END K 10 svn:author V 5 green K 8 svn:date V 27 2003-06-14T08:26:47.000000Z K 7 svn:log V 403 In the last clean-up of this code, the fact that the default tty mode information could only be gleaned from the the tty descriptor itself was neglected, so never did the tty's default settings get copied from the kernel. Specifically, this caused all manner of ctrl-keys to not work. Fix this by calling dogettytab() in all the proper places, and retrieving the terminfo temporarily in dogettytab(). END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-14T11:57:44.000000Z K 7 svn:log V 139 Revert to a known-good state. Anyone desiring to experiment with stricter global settings is free to do so in his or her own source tree. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-14T12:35:05.000000Z K 7 svn:log V 277 Add a system policy, and have the login and su policies include it rather than duplicate it. This requires OpenPAM Dianthus, which was committed two weeks ago; installing these files on a system running a world older than June 1st, 2003 will cause login(1) and su(1) to fail. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-14T12:36:13.000000Z K 7 svn:log V 116 Set the precedence on failure reports to "bulk" so I don't get tons of vacation notices every time the tree breaks. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-06-14T13:00:21.000000Z K 7 svn:log V 65 Fix all WARNS. Checked with "make WARNS=9". Remove unused file. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-14T13:23:49.000000Z K 7 svn:log V 176 Remove the old xref to kerberos(1), and replace it with an xref to kerberos(8). According to markm, the kerberos(8) manual page is installed if NO_KERBEROS is set. PR: 30443 END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-14T13:30:32.000000Z K 7 svn:log V 45 Do not bogusly set CSTD to the empty string. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-14T13:41:31.000000Z K 7 svn:log V 665 Don't truncate the output file before making sure that we can read at least 1 byte from the input file without problems. This fixes a bug in uncompress(1) that causes the accidental removal of files that happen to have the same name as the output file, even when the uncompression fails and is aborted, i.e.: $ echo hello world > hello $ touch hello.Z $ ls -l hello* -rw-rw-r-- 1 giorgos giorgos 12 Jun 14 13:33 hello -rw-rw-r-- 1 giorgos giorgos 0 Jun 14 13:33 hello.Z $ ./uncompress -f hello uncompress: hello.Z: Inappropriate file type or format $ ls -l hello* -rw-rw-r-- 1 giorgos giorgos 0 Jun 14 13:33 hello.Z $ PR: 46787 Submitted by: keramida END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2003-06-14T14:26:25.000000Z K 7 svn:log V 68 MFC: rewrite from csh to sh so systems with NO_TCSH can make world. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-06-14T15:24:54.000000Z K 7 svn:log V 272 Don't follow smbnode n_parent pointer when NREFPARENT flag is not set in smb_fphelp(): the parent vnode may have already been recycled since we don't hold a reference to it. Fixes a panic when rebooting with mdconfig -t vnode devices referring to vnodes on a smbfs mount. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-06-14T15:45:34.000000Z K 7 svn:log V 184 Avoid dereferencing the thread pointer in smb_iod_addrq() if it's NULL. Fixes mdconfig -t vnode on smbfs: mdsetcred()'s "horrible kludge" calls into smbfs VOP_READ with a NULL uio_td. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-06-14T15:56:48.000000Z K 7 svn:log V 94 o MFC: if_aue.c 1.62. Add support for the Belkin USB2LAN USB 10/100 NIC. o Regen. PR: 53066 END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-06-14T17:28:13.000000Z K 7 svn:log V 175 Some glue to allow lint(1) to work on the kernel. This is not complete without some config(8) work. Config(8) needs to provide some ${NORMAL_LINT} rules to make foo.ln files. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-06-14T17:41:59.000000Z K 7 svn:log V 202 Put on the core hat and back out all of the CSTD= changes. Core will deal with working with the parties to define a coherent definition for CSTD that doesn't break things. Core hat seconded by: markm END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-06-14T17:50:13.000000Z K 7 svn:log V 338 Minor tweaks to the build process so that we can build 5.1-current on 4.8-stable: Must build lib/libc before libpthread. Fix how we do this to be more consistant with how lists are handled in the file. Also, don't bother to prebuild libc if we're not building libpthread. Submitted by: ru@ Reviewed by: bde@ (before ru@ submitted it) END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-06-14T18:42:37.000000Z K 7 svn:log V 23 Tidy up. Sort headers. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-06-14T19:27:10.000000Z K 7 svn:log V 60 Update and try to remain out of area where conflict exists. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-06-14T19:32:52.000000Z K 7 svn:log V 25 Remove MAINTAINER lines. END K 10 svn:author V 6 nsouch K 8 svn:date V 27 2003-06-14T20:21:35.000000Z K 7 svn:log V 41 Add i2c to the list of modules to build. END K 10 svn:author V 6 nsouch K 8 svn:date V 27 2003-06-14T20:32:46.000000Z K 7 svn:log V 60 amdpm was omitted from the build of i2c controllers. Fixed. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-14T20:43:33.000000Z K 7 svn:log V 34 Fix the KMOD for the lpbb device. END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-06-14T22:17:38.000000Z K 7 svn:log V 539 Merge common XPT_CALC_GEOMETRY functions into a single convenience function. Devices below may experience a change in geometry. * Due to a bug, aic(4) never used extended geometry. Changes all drives >1G to now use extended translation. * sbp(4) drives exactly 1 GB in size now no longer use extended geometry. * umass(4) drives exactly 1 GB in size now no longer use extended geometry. For all other controllers in this commit, this should be a no-op. PR: Submitted by: Looked over by: scottl Approved by: Obtained from: MFC after: END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-06-14T22:17:41.000000Z K 7 svn:log V 482 Merge common XPT_CALC_GEOMETRY functions into a single convenience function. Devices below may experience a change in geometry. * Due to a bug, aic(4) never used extended geometry. Changes all drives >1G to now use extended translation. * sbp(4) drives exactly 1 GB in size now no longer use extended geometry. * umass(4) drives exactly 1 GB in size now no longer use extended geometry. For all other controllers in this commit, this should be a no-op. Looked over by: scottl END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-06-14T22:26:30.000000Z K 7 svn:log V 103 Update a comment about symlinking named's pid file to correctly reflect the code. Suggested by: maxim END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-06-14T22:40:08.000000Z K 7 svn:log V 205 Merge common XPT_CALC_GEOMETRY functions into a single convenience function. Devices below may experience a change in geometry. * umass(4) drives exactly 1 GB in size now no longer use extended geometry. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-06-14T22:43:40.000000Z K 7 svn:log V 97 Catch up man page with reality in rc.d/named. Pointed out by: Simon L. Nielsen END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-14T23:23:55.000000Z K 7 svn:log V 626 Migrate the thread stack management functions from the machine-dependent to the machine-independent parts of the VM. At the same time, this introduces vm object locking for the non-i386 platforms. Two details: 1. KSTACK_GUARD has been removed in favor of KSTACK_GUARD_PAGES. The different machine-dependent implementations used various combinations of KSTACK_GUARD and KSTACK_GUARD_PAGES. To disable guard page, set KSTACK_GUARD_PAGES to 0. 2. Remove the (unnecessary) clearing of PG_ZERO in vm_thread_new. In 5.x, (but not 4.x,) PG_ZERO can only be set if VM_ALLOC_ZERO is passed to vm_page_alloc() or vm_page_grab(). END K 10 svn:author V 3 das K 8 svn:date V 27 2003-06-14T23:27:29.000000Z K 7 svn:log V 266 Factor out the process of freeing ``directory caches'', which unionfs directory vnodes use to refer to their constituent vnodes, into union_dircache_free(). Also s/union_dircache/union_dircache_get/ and tweak the structure of union_dircache_r(). MFC after: 3 days END K 10 svn:author V 3 das K 8 svn:date V 27 2003-06-14T23:48:20.000000Z K 7 svn:log V 195 Introduce malloc types M_UNDCACHE and M_UNPATH for important unionfs-related data structures to aid in debugging memory leaks. Use NULL and NULLVP instead of 0 as appropriate. MFC after: 3 days END K 10 svn:author V 3 das K 8 svn:date V 27 2003-06-14T23:56:27.000000Z K 7 svn:log V 142 If someone tries to mount a union filesystem with another unionfs as the upper layer, fail gracefully instead of panicing. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-15T00:12:42.000000Z K 7 svn:log V 35 Use #ifdef __alpha__, not __alpha. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-15T00:17:38.000000Z K 7 svn:log V 17 White space fix. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-15T00:31:24.000000Z K 7 svn:log V 80 Rename P_THREADED to P_SA. P_SA means a process is using scheduler activations. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-15T00:54:07.000000Z K 7 svn:log V 78 Don't set TDF_UPCALLING in cpu_set_upcall, it is not only used by SA process. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-06-15T01:42:01.000000Z K 7 svn:log V 482 check_drive: If the partition isn't a Vinum drive, release it again and return NULL. vinum_scandisk: Don't handle NULL device pointers. Only look at compatibility partition for i386. This is a kludge which should go away once I have adequate documentation for the New World Order. Together, these fixes remove occasional error messages about non-existent drives. They may also fix a number of problems that have been reported without a PR. PRs: None END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-06-15T02:10:37.000000Z K 7 svn:log V 88 Merge the following from the English version: 1.158 -> 1.159 hardware/common/dev.sgml END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-06-15T02:18:29.000000Z K 7 svn:log V 1186 - Fix the maximum slice value. I accidentally checked in a value of '2' which meant no process would run for longer than 20ms. - Slightly redo the interactivity scorer. It follows the same algorithm but in a slightly more correct way. Previously values above half were incorrect. - Lower the interactivity threshold to 20. It seems that in testing non- interactive tasks are hardly ever near there and expensive interactive tasks can sometimes surpass it. This area needs more testing. - Remove an unnecessary KTR. - Fix a case where an idle thread that had an elevated priority due to priority prop. would be placed back on the idle queue. - Delay setting NEEDRESCHED until userret() for threads that haad their priority elevated while in kernel. This gives us the same context switch optimization as SCHED_4BSD. - Limit the child's slice to 1 in sched_fork_kse() so we detect its behavior more quickly. - Inhert some of the run/slp time from the child in sched_exit_ksegrp(). - Redo some of the priority comparisons so they are more clear. - Throttle the frequency of sched_pctcpu_update() so that rounding errors do not make it invalid. END K 10 svn:author V 3 das K 8 svn:date V 27 2003-06-15T02:21:13.000000Z K 7 svn:log V 111 Fix some style problems, some of which are old, some new, and some inherited from UFS. Requested by: bde, njl END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-06-15T02:22:30.000000Z K 7 svn:log V 294 MFC: rev. 1.31 Remove unwanted information about future changes to the packet queueing discipline and remove the IF_ENQ_DROP macro from the SYNOPSIS because it was nuked when jlemon did the locking work on the interface queues. The original commit to HEAD was ... Approved by: des (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-06-15T02:52:29.000000Z K 7 svn:log V 61 - Cap the growth of sleep and run time in sched_exit_kse(). END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-15T03:00:22.000000Z K 7 svn:log V 105 make rarpd use in_addr_t instead of u_long since this is neccessary on 64bit platforms ok'd by: silence END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-15T03:05:14.000000Z K 7 svn:log V 86 fix bootpd to use fd_set. For some reason on Sparc, using int with select is broken. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-15T03:08:37.000000Z K 7 svn:log V 81 fix a couple typos in the comments From NetBSD's bootpd (in src/usr.sbin/bootp) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-15T03:18:58.000000Z K 7 svn:log V 144 1. Migrate TDF_UPCALLING from td_flags to td_pflags. 2. Add a flag TDF_SA, it will be used to distinguish SA based thread from bound thread. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-15T03:19:55.000000Z K 7 svn:log V 27 Add CSRVAL_VENDOR_PRIVATE. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-15T03:22:30.000000Z K 7 svn:log V 61 Fix crom_add_simple_text(). Bytewap Configuration ROM image. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-15T03:42:04.000000Z K 7 svn:log V 43 P_THREADED was renamed to P_SA, follow up. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-15T04:09:26.000000Z K 7 svn:log V 89 - Enable support for building Configuration ROM. - Improve probe message for S800 chips. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-06-15T04:14:25.000000Z K 7 svn:log V 152 - Increase the ksegrp's cpu time history buffer to 250ms. - Decrease the history buffer divisor to 2 so that we remember more of the old behavior. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-06-15T04:15:29.000000Z K 7 svn:log V 368 The en module has been broken for the last 40 hours. Disconnect it from the tree until it is fixed. Since it is an atm driver, it isn't commonly used so this will not negatively impact too many people. harti can reconnect it when he resurfaces and corrects the en module problems. This should allow snapshots to start succeeding again. Reported by: lots of people END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-06-15T04:24:28.000000Z K 7 svn:log V 51 Most power management devices don't exist on pc98. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-06-15T04:27:22.000000Z K 7 svn:log V 26 Include "../Makefile.inc" END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-06-15T04:29:37.000000Z K 7 svn:log V 35 Remove CPU_ATHLON_SSE_HACK option. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-06-15T04:31:52.000000Z K 7 svn:log V 38 Disable unneeded devices and options. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-06-15T06:26:08.000000Z K 7 svn:log V 681 Tighten up the string->integer conversion in sysctl(8): (1) Reject zero-length strings for CTLTYPE_INT, _UINT, _LONG, _ULONG. Do not silently convert to 0. (2) When converting CTLTYPE_INT, _UINT, _LONG, and _ULONG, check the end pointer generated by strtol() and strtoul() rather than discarding it. Reject the string if either none of the string was useful for conversion to an integer, or if there was trailing garbage. I.e., we will not allow you to set a numeric sysctl to a value unless we can completely convert the string argument to a numeric value. I tripped over this when I put the following in /etc/sysctl.conf: kern.maxfiles="4000" Ouch. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-06-15T06:36:19.000000Z K 7 svn:log V 1469 Re-implement kernel access control for quotactl() as found in the UFS quota implementation. Push some quite broken access control logic out of ufs_quotactl() into the individual command implementations in ufs_quota.c; fix that logic. Pass in the thread argument to any quotactl command that will need to perform access control. o quotaon() requires privilege (PRISON_ROOT). o quotaoff() requires privilege (PRISON_ROOT). o getquota() requires that: If the type is USRQUOTA, either the effective uid match the requested quota ID, that the unprivileged_get_quota flag be set, or that the thread be privileged (PRISON_ROOT). If the type is GRPQUOTA, require that either the thread be a member of the group represented by the requested quota ID, that the unprivileged_get_quota flag be set, or that the thread be privileged (PRISON_ROOT). o setquota() requires privilege (PRISON_ROOT). o setuse() requires privilege (PRISON_ROOT). o qsync() requires no special privilege (consistent with what was present before, but probably not very useful). Add a new sysctl, security.bsd.unprivileged_get_quota, which when set to a non-zero value, will permit unprivileged users to query user quotas with non-matching uids and gids. Set this to 0 by default to be mostly consistent with the previous behavior (the same for USRQUOTA, but not for GRPQUOTA). 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-06-15T06:46:24.000000Z K 7 svn:log V 674 Now that the kernel access control for quotactl(2) appears to work properly, clean up quota(1). quota(1) has the ability to query quotas either directly from the kernel, or if that fails, by reading the quota.user or quota.group files specified for the file system in /etc/fstab. The setuid bit existed solely (apparently) to let non-operator users query their quotas and consumption when quotas weren't enabled for the file system. o Remove the setuid bit from quota(1). o Remove the logic used by quota(1) when running setuid to prevent users from querying the quotas of other users or groups. Note that this papered over previously broken kernel access control. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-06-15T06:54:36.000000Z K 7 svn:log V 1093 Now that the kernel access control for quotactl(2) appears to work properly, clean up quota(1). quota(1) has the ability to query quotas either directly from the kernel, or if that fails, by reading the quota.user or quota.group files specified for the file system in /etc/fstab. The setuid bit existed solely (apparently) to let non-operator users query their quotas and consumption when quotas weren't enabled for the file system. o Remove the setuid bit from quota(1). o Remove the logic used by quota(1) when running setuid to prevent users from querying the quotas of other users or groups. Note that this papered over previously broken kernel access control; if you queried directly using the system call, you could access some of the data "restricted" by quota(1). In the new world order, the ability to inspect the (live) quotas of other uids and gids via the kernel is controlled by the privilege requirement sysctl. The ability to query via the file is controlled by the file permissions on the quota database backing files (root:operator, group readable by default). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-15T07:28:33.000000Z K 7 svn:log V 43 Remove an unnecessary forward declaration. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-06-15T08:46:04.000000Z K 7 svn:log V 151 Print out the current recording devices in the default printout. Discussed with: cg Break some particularly long lines. Still not enough for: bde. END K 10 svn:author V 4 grog K 8 svn:date V 27 2003-06-15T08:46:36.000000Z K 7 svn:log V 36 Document changes to default output. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-06-15T09:28:17.000000Z K 7 svn:log V 168 err() on allocation failure. WARNS=9 compliant use #if 0, #ifndef lint, #endif /* not lint */, #endif ordering when a message is provided, use errx() instead of err(). END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-06-15T10:32:01.000000Z K 7 svn:log V 269 Replace the old SCM_CREDS cred procedures. They can now be replaced just fine with getpeereid() and the whole code gets a lot simpler. We don't break the ABI, since all server programms use __rpc_get_local_uid(), and we just change library internals. Reviewed by: des END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-06-15T10:34:11.000000Z K 7 svn:log V 280 Only call pw_mkdb if passfile == _PATH_MASTERPASSWD. Otherwise, rename master.passwd to a temp filename, rename the new passwd to master.passwd, and let yppwupdate update passwd as it sees fit. PR: 52601, 7968 Reviewed by: des Submitted by: Dan Nelson END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-06-15T10:36:53.000000Z K 7 svn:log V 153 Fix the master yppasswd routines, so they really work for root on ypmaster. Fix ypclnt_havepasswdd() to work for AF_LOCAL connections. Reviewed by: des END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-06-15T10:37:22.000000Z K 7 svn:log V 235 Fix the master yppasswd routines, so they really work for root on ypmaster. yppasswd_local() did use YPPASSWDPROG instead of MASTER_YPPASSWDPROG, and the domain was not set, resulting in a coredump during xdr-encode. Reviewed by: des END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-06-15T10:55:39.000000Z K 7 svn:log V 61 Kill prototype for __msgwrite too. It is not needed anymore. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-15T10:59:44.000000Z K 7 svn:log V 60 Remove the definition of alloca(), it does not belong here. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-06-15T11:01:52.000000Z K 7 svn:log V 125 Use __builtin_alloca() on compilers that have it. Keep the prototype for the benefit of lint and non-{GNU,Intel} compilers. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-06-15T11:43:00.000000Z K 7 svn:log V 330 Don't overwrite the static panicstr buffer for secondary and further panics. Before revision 1.38, we used to just point panicstr at the format string if panicstr was NULL, but since we now use a static buffer for the formatted panic message, we have to be careful to only write to it during the first panic. Pointed out by: bde END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-06-15T11:55:50.000000Z K 7 svn:log V 303 If the device goes away during ulpt_reset(), make sure not to call ulpt_status() afterwards. This fixes a crash that can occur if a USB printer is power-cycled when printing is just starting. The problem is similar to that fixed in revision 1.33, but it is much less likely to occur. MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-15T12:42:41.000000Z K 7 svn:log V 165 Use .Va, not .Fa, to refer to structure members. mdoc(7) contains an ambiguous statement on the issue, but our mdoc(7) police's opinion is solid. Suggested by: ru END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-15T12:51:26.000000Z K 7 svn:log V 307 1. Add code to support bound thread. when blocked, a bound thread never schedules an upcall. Signal delivering to a bound thread is same as non-threaded process. This is intended to be used by libpthread to implement PTHREAD_SCOPE_SYSTEM thread. 2. Simplify kse_release() a bit, remove sleep loop. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-06-15T13:03:37.000000Z K 7 svn:log V 110 If lint(1) is not "lint", don't try to lint the xlint compat-libs. A third-party lint is probably being used. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-15T14:14:11.000000Z K 7 svn:log V 390 Add more markup to the mbuf(9) manpage. This includes: - tagging plaintext "mbuf", "mbuf cluster", and "mbuf chain" with .Vt (variable type) since all of them are ways of managing data, i.e., they can be seen as data types; - using .Vt/.Va instead of .Li (literal) where appropriate; - tagging plaintext words that actually refer to function arguments with .Fa. Suggested by: ru END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-15T14:40:03.000000Z K 7 svn:log V 229 Add missing descriptions of macros M_ALIGN and MH_ALIGN. Remove a reference to the defunct macro M_COPY_PKTHDR; document the new functions m_dup_pkthdr() and m_move_pkthdr(), and the macro variant of the latter, M_MOVE_PKTHDR(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-15T14:47:12.000000Z K 7 svn:log V 107 Name a function argument "mbuf", not "buf", if it is a pointer to struct mbuf for clarity and consistency. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-06-15T15:57:42.000000Z K 7 svn:log V 82 Various cr*() calls believed to be MPSAFE, since the uidinfo code is locked down. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-15T16:18:58.000000Z K 7 svn:log V 407 Check whether the floppy type pointer has been set before trying to access floppy parameters through it. Note: The DIOCGSECTORSIZE and DIOCGMEDIASIZE handlers withing fdioctl() couldn't be just moved to below the existing check for blocking mode because fd->ft can be non-NULL while still in non-blocking mode (fd->ft can be set with the FD_STYPE ioctl.) PR: kern/52338 No MFC: Not applicable to STABLE END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-15T18:13:17.000000Z K 7 svn:log V 285 Always set bio_resid properly in fdstrategy(), as should every block device strategy routine. There was at least one evil consequence of not doing so: Some errors returned by fdstrategy() could be lost (EAGAIN, in particular.) PR: kern/52338 (in the audit-trail) Discussed with: bde END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-06-15T18:20:51.000000Z K 7 svn:log V 110 Merge entries from maho's USB device compatibility list. Obtained from: http://people.FreeBSD.org/~maho/USB/ END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T18:45:15.000000Z K 7 svn:log V 72 Remove in toto coda_strategy which incorrectly implemented vop_panic(); END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T18:49:46.000000Z K 7 svn:log V 45 Add my timecounter paper from EuroBSDcon2002 END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T18:53:00.000000Z K 7 svn:log V 132 Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations to check that the buffer points to the correct vnode. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T19:14:03.000000Z K 7 svn:log V 144 Duh! I misread my handwritte notes: We do _not_ want to asser that vp == bp->b_vp in specfs, that was the entire point of VOP_SPECSTRATEGY(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T19:16:34.000000Z K 7 svn:log V 33 Take 2: Remove _both_ KASSERTS. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-06-15T19:16:43.000000Z K 7 svn:log V 57 Remember to release the loader's heap. Reviewed by: tmm END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T19:49:14.000000Z K 7 svn:log V 172 I have not had any reports of trouble for a long time, so remove the gentle versions of the vop_strategy()/vop_specstrategy() mismatch methods and use vop_panic() instead. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-06-15T19:54:50.000000Z K 7 svn:log V 220 - Mirror vm_page_queue_mtx assertions added to the i386 pmap. - Add vm page queue locking in certain places that are only needed on sparc64. This should make pmap_qenter and pmap_qremove MP-safe. Discussed with: alc END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T20:31:04.000000Z K 7 svn:log V 87 In specfs::vop_specstratey(), assert that the vnode and buffer agree about the device. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-15T20:36:22.000000Z K 7 svn:log V 178 Remove the evil BIOTOBUF macro, it is no longer used anywhere. Retain b_bio as the first element of struct buf for now in case some code somewhere still do the evil cast thing. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-06-15T21:06:49.000000Z K 7 svn:log V 153 The page queue lock is already held in pmap_remove, change acquire/release to assertion of ownership. Serves me right for not booting a witness kernel. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2003-06-15T21:24:45.000000Z K 7 svn:log V 276 Fix yppasswdproc_update_master_1_svc() too. Only call pw_mkdb if passfile == _PATH_MASTERPASSWD. Otherwise, rename master.passwd to a temp filename, rename the new passwd to master.passwd, and let yppwupdate update passwd as it sees fit. Reviewed by: phk Tested by: genesys END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-06-15T21:45:43.000000Z K 7 svn:log V 709 In the device attach routine, don't depend on uaa->iface being populated. Apparently, if you use an ehci controller, it's not. Use usbd_device2interface_handle() to retrieve the interface handle. NOTE: uaa->iface is populated in the probe routine, so I suspect the fact that it's NULL in the attach routine is a bug in the ehci driver. Also, don't depend on the PHY addresses returned by the AXE_CMD_READ_PHYID command. The address is correct for my LinkSys NIC, but a user has reported that with a D-Link NIC, the PHYID command returns address 4 while the attached Broadcom PHY is in fact strapped for address 0. Instead, latch onto the first PHY address that returns valid data during a readreg operation. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-15T21:50:38.000000Z K 7 svn:log V 39 Lock the vm object when freeing pages. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-16T02:36:38.000000Z K 7 svn:log V 259 Import the June 15, 2003 CVS version of NetBSD's ftp + patchset to fix header file differences between FBSD and NBSD. Like lukemftpd, the portable version of lukemftp lags too far behind CVS. This import includes several big fixes plus a cleaned up manpage. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-16T02:36:38.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r116424, 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 2003-06-16T02:36:39.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'lukemftp-vendor-nbsd_20030615'. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-16T02:37:42.000000Z K 7 svn:log V 35 Update for latest lukemftp import. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-16T03:06:32.000000Z K 7 svn:log V 34 This never should have been here. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-16T03:44:36.000000Z K 7 svn:log V 48 Revert previos change for prior release/branch. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-16T07:18:39.000000Z K 7 svn:log V 103 Get rid of the b_spc specialty field in struct buf by using an already available caller private field. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-16T07:41:47.000000Z K 7 svn:log V 48 Replace evil abuse of geteblk() with malloc(9). END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-16T07:50:17.000000Z K 7 svn:log V 177 If in non-blocking mode, return EAGAIN instead of ENXIO on an I/O attempt. This is needed for consistency with the concept of the half-opened state of fdc(4). PR: kern/52338 END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-16T08:29:24.000000Z K 7 svn:log V 20 Fix for big endian. END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-16T08:42:20.000000Z K 7 svn:log V 372 Force media autodetection if the device has lost its parameter table. Previously, any normal I/O on an fdc(4) device would fail with ENXIO if the device had been opened in non-blocking mode and then closed prior to the conventional access; that would last until the floppy disk was ejected and re-inserted to raise the unit attention condition. Add a clarifying comment. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-06-16T08:43:22.000000Z K 7 svn:log V 42 Bound check for broken Configuration ROM. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-06-16T09:11:29.000000Z K 7 svn:log V 160 o Correct usage example: ep(4) does not have 'link0' option. o Fix a typo. PR: misc/51955 Submitted by: Xander MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-06-16T09:31:15.000000Z K 7 svn:log V 141 This file was ignored by CVS in my last commit for some reason: Remove pointless initialization of b_spc field, which now no longer exists. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-06-16T09:44:53.000000Z K 7 svn:log V 117 o Pass a correct argument to printf(3). PR: bin/51750 Submitted by: Vasil Dimov MFC after: 2 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2003-06-16T11:30:23.000000Z K 7 svn:log V 552 If ftpd is run with an -h option (hide host-specific info,) don't reveal the info in reply to the SYST command. Get rid of using the "unix" macro at the same time. It was a rather poor way to check if the system was Unix since there were quite a few Unix clones out there whose cc didn't define "unix" (e.g., NetBSD.) It was also sensitive to the C standard used, which caused unnecessary trouble: With -std=c99, it should have been "__unix__", and so on. PR: bin/50690 Submitted by: Alex Semenyaka MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-16T13:14:52.000000Z K 7 svn:log V 161 Reset ncpus to 1 for bound thread group since there is only one thread in such group. Change message text from kse_rel to kserel, it is better displayed in top. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-16T13:52:27.000000Z K 7 svn:log V 264 Fix the breakage introduced by rev. 1.43 of sys/dev/midway.c (don't commit on friday 13th and without making a universe). This adds struct and constant definitions for ATM traffic parameters and re-enables the build of the midway driver. Tested by: make universe END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-06-16T14:57:07.000000Z K 7 svn:log V 140 o BATTTIME and BATTPERCENT are 'int' not 'str'. PR: bin/48793 Submitted by: Stefan Farfeleder MFC after: 2 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-06-16T15:19:25.000000Z K 7 svn:log V 88 MYADDR6 in ppp.link{up,down} should match even when IPCP is enabled. MFC after: 1 week END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-16T15:25:51.000000Z K 7 svn:log V 184 Repo-copy of sys/pci/if_en_pci.c to the rest of the midway driver (sys/dev/en) so that all of the driver sources are in one place. Adjust the configuration files and the module build. END K 10 svn:author V 5 harti K 8 svn:date V 27 2003-06-16T15:51:55.000000Z K 7 svn:log V 38 Reference the new natmip(4) man page. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-06-16T16:12:05.000000Z K 7 svn:log V 50 Also remove the ones that snuck in at the bottom. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2003-06-16T17:17:09.000000Z K 7 svn:log V 292 Partially back out rev 1.87 by nuking fifo_inactive() and moving the resource deallocation back to fifo_close(). This eliminates any stale data that might be stuck in the socket buffers after all the readers and writers have closed the fifo. Tested by: Thorsten Schroeder END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-16T19:06:36.000000Z K 7 svn:log V 33 fix misspelling of ORIR_NOTFOUND END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-06-16T19:18:06.000000Z K 7 svn:log V 41 free type too if we can't add the child. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-06-16T20:08:15.000000Z K 7 svn:log V 297 Not particularly pretty hack to generate rules to make .ln files from .c files. Actually, this is overkill, as the .ln file targets are assumed from .? (any) files. This is not a problem in practice, merely a bit untidy, as the linting rules DTRT. See the sys/conf/* and sys/mk/* files for usage. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-06-16T20:48:56.000000Z K 7 svn:log V 306 When looking for the ':' separator in the root path, don't go past the terminating '\0'. Since the initialisation of rootpath in libstand/bootp.c may copy junk into the rest of the buffer, it was possible for the code to find a ':' after the '\0' and do the wrong thing. Reviewed by: ps MFC after: 1 week END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-06-16T23:46:41.000000Z K 7 svn:log V 130 Forgot to commit code to disable creating a bound thread in same group again except first kse_create syscall. Noticed by: julian END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-06-17T00:31:30.000000Z K 7 svn:log V 242 Do not attempt to access to inp_socket fields if the socket is in the TIME_WAIT state, as inp_socket will then be NULL. This fixes a panic that occurs when one tries to bind a port that was previously binded with remaining TIME_WAIT sockets. END K 10 svn:author V 6 uhclem K 8 svn:date V 27 2003-06-17T01:20:03.000000Z K 7 svn:log V 280 Re-introduction of the matcd CD driver. This version of the driver code is compatible with near-release FreeBSD 5.1 kernel/driver interfaces. modules/Makefile, man page and other bindings to follow shortly, once I get this part of the check-in right. Approved by: markm(mentor) END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-06-17T02:34:40.000000Z K 7 svn:log V 184 Hide the m_defrag* statistics under MBUF_STRESS_TEST, there seems to be no need to see them in the general case (and they aren't smp-safe anyway.) Suggested by: hmp MFC after: 1 week END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-06-17T02:56:29.000000Z K 7 svn:log V 208 Add a script to automatically attach gbde devices found in fstab (or rc.conf) at boot time, and detach them when shutting down. Not added to the Makefile to give the rcng gurus an opportunity to improve it. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-17T04:25:07.000000Z K 7 svn:log V 35 MFC: r1.8: Return path is optional END K 10 svn:author V 6 uhclem K 8 svn:date V 27 2003-06-17T04:28:12.000000Z K 7 svn:log V 501 Re-introduction of the matcd Compact Disc drive driver documentation. The matcd.4 man page has been upgraded to reflect current 5.1.x functionality, and efforts were made to match the style and layout found in similar-single purpose block drivers man pages found in the 5.1 tree man4 area while not losing useful information. However, the documentation folks should still take a look, since the man pages used as guides were somewhat inconsistent on a variety of points. Approved by: markm(mentor) END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-17T04:29:36.000000Z K 7 svn:log V 35 MFC: r1.3: Intialize sign to NULL. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-06-17T04:37:52.000000Z K 7 svn:log V 43 MFC: r1.15: Check whether setmode() fails. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-06-17T05:17:00.000000Z K 7 svn:log V 40 Lock the vm object when freeing a page. END K 10 svn:author V 5 silby K 8 svn:date V 27 2003-06-17T06:21:08.000000Z K 7 svn:log V 252 Map icmp time exceeded responses to EHOSTUNREACH rather than 0 (no error); this makes connect act more sensibly in these cases. PR: 50839 Submitted by: Barney Wolff Patch delayed by laziness of: silby MFC after: 1 week END