summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix previous change to preserve const'ness.bde1995-02-031-2/+2
|
* Don't define CLK_TCK here.bde1995-02-034-24/+12
| | | | Uniformize idempotency ifdef.
* Define CLOCKS_PER_SEC.bde1995-02-031-2/+11
| | | | | | | | Define CLK_TCK only if _ANSI_SOURCE is not defined. Don't include <machine/limits.h> to get the definition of CLK_TCK. CLK_TCK should never have been defined there, and the inclusion polluted the namespace.
* Don't depend on namespace pollution in <machine/limits.h> for thebde1995-02-032-4/+4
| | | | | definition of CLK_TCK. Use _BSD_CLK_TCK_ instead of CLK_TCK so that we don't have to include the user header <time.h>.
* Define _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ to support correctbde1995-02-031-4/+17
| | | | definitions of CLK_TCK and CLOCKS_PER_SEC.
* Allow all characters except "real" control chars.sos1995-02-033-156/+177
| | | | Fix NULL reference when serial console (thanks bruce).
* Include <limits.h> to get LONG_MAX - don't depend on namespace pollutionbde1995-02-031-0/+1
| | | | in <time.h>.
* Include ncr.c from where it is now.bde1995-02-031-2/+2
|
* Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.se1995-02-031-0/+1
| | | | | | Reviewed by: Submitted by: Obtained from:
* Include <sys/types.h> explicitly to get declaration of u_long forbde1995-02-031-1/+2
| | | | <netinet/in.h> - don't depend on namespace pollution in <stdio.h>.
* Have version number track CSV version number. No other change.gibbs1995-02-032-4/+4
|
* Keep track of when we actually are awaiting a reply to an SDTR or WDTRgibbs1995-02-032-10/+31
| | | | | | | | | | message instead of relying on the fact that we are scheduled to send them. The old method worked 99.9% of the time, but someone reported some periferals that did MSG_REJECT at odd times (sometimes before we could send an SDTR or WDTR) that we would construe as the response to an SDTR or WDTR message. This also removes a possible race condition where after a bus reset (the result of a command time out not during intial probe time), we might queue two commands both requesting SDTR, WDTR or both.
* #include<kernel.h> to quiet a compiler warning having to do with thegibbs1995-02-031-1/+2
| | | | | | DATA_SET (pcidevice_set, ahc_device) macro. Maybe this will allow the aic7870 to be probed again. I don't have a PCI machine here to test it.
* Fix to h2ph "undefined function" bugugen1995-02-031-6/+14
| | | | | | | i reported today earlier..tested and works OK.. ( To those who want to experience bug try running aub with old version of socket.ph and with new one or just any perl script "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
* Fix hanging while playing very short notes.ache1995-02-032-6/+10
|
* Fixed bmap run-length brokeness.dg1995-02-0310-71/+80
| | | | | | Use bmap run-length extension when doing clustered paging. Submitted by: John Dyson
* Added ${.CURDIR}s to afterinstall target.wpaul1995-02-031-7/+3
|
* Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.wpaul1995-02-031-8/+5
| | | | Also took out uneeded BINDIR & BINMODE stuff.
* Removed a pile of vfs_unbusy_pages()...both unnecessary and wrong - resulteddg1995-02-032-12/+6
| | | | | | | in serious system instability. Changed a B_INVAL to a B_NOCACHE so that buffer data is properly disposed of. Submitted by: John Dyson, Rick Macklin, and ohki@gssm.otsuka.tsukuba.ac.jp
* Make B_NOCACHE and B_INVAL buffers work correctly - throw away the data indg1995-02-031-2/+5
| | | | | | the page cache. Submitted by: John Dyson
* Removed reference in comments to -o option of yppasswdd: -o optionwpaul1995-02-031-2/+2
| | | | no longer exists.
* Fixed a rather serious bug that presents itself when FreeBSD is configuredwpaul1995-02-031-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as an NIS client. The pw_breakout_yp routines that are used to populate the _pw_passwd structire only do anything if the bits in the pw_fields member _pw_passwd are cleared. Unfortunately, we can get into a state where pw_fields has garbage in it right before the YP lookup functions are called, which causes the breakout functions to screw up in a big way. Here's how to duplicate the problem: - Configure FreeBSD as an NIS client - Log in as a user who's password database records reside only in the NIS passwd maps. - Type ps -aux Result: your processes appear to be owned by 'root' or 'deamon.' /bin/ls can exhibit the same problem. The reason this happens: - When ps(1) needs to match a username to a UID, it calls getpwuid(). - root is in the local password file, so getpwuid() calls __hashpw() and __hashpw() populates the _pw_passwd struct, including the pw_fields member. This happens before NIS lookups take place because, by coincidence, ps(1) tends to display processes owned by root before it happens upon a proccess owned by you. - When your UID comes up, __hashpw() fails to find your entry in the local password database, so it bails out, BUT THE BITS IN THE pw_fields STRUCTURE OF _pw_passwd ARE NEVER CLEARED AND STILL CONTAIN INFORMATION FROM THE PREVIOUS CALL TO __hash_pw()!! - If we have NIS enabled, the NIS lookup functions are called. - The pw_breakout_yp routines see that the pw_fields bits are set and decline to place the data retrieved from the NIS passwd maps into the _pw_passwd structure. - getpwuid() returns the results of the last __hashpw() lookup instead of the valid NIS data. - Hijinxs ensue when user_from_uid() caches this bogus information and starts handing out the wrong usernames. AAAARRRRRRRRRGGGGGGHHHHHHHHHH!!! *Please* don't tell me I'm the only person to have noticed this. Fixed by having __hashpw() check the state of pw_fields just before bailing out on a failed lookup and clearing away any leftover garbage. What a fun way to spend an afternoon.
* Give the user a chance to specify all the network setup parameters againjkh1995-02-031-1/+2
|
* Whoops, actually DO the last config!jkh1995-02-021-2/+1
|
* Get ready for the XFree86 3.1.1 distribution (next snapshot),jkh1995-02-021-3/+3
| | | | compat1x -> compat1xdist
* Put the release number in the first banner - makes it easier to quicklyjkh1995-02-021-2/+2
| | | | tell if I've muffed it.
* Removed misleading copyright note. This file contains justse1995-02-022-14/+4
| | | | | | definitions taken from the PCI specs. Part of them were typed in by Wolfgang Stanglmeier, the (at that time unneeded) rest by Charles Hannum (thanks !).
* Fix some last boners in the setup script.jkh1995-02-021-5/+5
|
* Look for files to install first in the object directory, then in thebde1995-02-022-28/+6
| | | | | | | source directory. Don't create target directories at install time. mtree already handles them correctly.
* Cleaned up and updated the yppasswdd man page to reflect FreeBSD-specificwpaul1995-02-021-70/+173
| | | | changes and new options. (more new man pages and an NIS tutorial to follow)
* Disable disconnect after drive timeouts, since thesese1995-02-021-9/+20
| | | | | | | | | may be the result of reselect following too fast for the driver to notice. Not the final solution, but the problem has been seen only with very few devices. Reviewed by: se Submitted by: wolf (Wolfgang Stanglmeier)
* Why not give user a chance to start it, too?jkh1995-02-021-2/+10
|
* Make this a bit more aggressive.. :-)jkh1995-02-021-2/+2
|
* Here's the _real_ XFree86 3.1.1 installation script. I'm ready.. :-)jkh1995-02-021-0/+122
|
* Reapplied all of Stefan's changes. What a mess - the files were modifieddg1995-02-0210-866/+592
| | | | | and moved at the same time. This made it *very* difficult to fix the revision log lossage that happend when the files were moved. SIGH.
* Fixed up include paths after copying these in the repository.dg1995-02-027-19/+19
|
* A better clean rule.jkh1995-02-021-3/+4
|
* swap_pager.c:dg1995-02-0210-287/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed long standing bug in freeing swap space during object collapses. Fixed 'out of space' messages from printing out too often. Modified to use new kmem_malloc() calling convention. Implemented an additional stat in the swap pager struct to count the amount of space allocated to that pager. This may be removed at some point in the future. Minimized unnecessary wakeups. vm_fault.c: Don't try to collect fault stats on 'swapped' processes - there aren't any upages to store the stats in. Changed read-ahead policy (again!). vm_glue.c: Be sure to gain a reference to the process's map before swapping. Be sure to lose it when done. kern_malloc.c: Added the ability to specify if allocations are at interrupt time or are 'safe'; this affects what types of pages can be allocated. vm_map.c: Fixed a variety of map lock problems; there's still a lurking bug that will eventually bite. vm_object.c: Explicitly initialize the object fields rather than bzeroing the struct. Eliminated the 'rcollapse' code and folded it's functionality into the "real" collapse routine. Moved an object_unlock() so that the backing_object is protected in the qcollapse routine. Make sure nobody fools with the backing_object when we're destroying it. Added some diagnostic code which can be called from the debugger that looks through all the internal objects and makes certain that they all belong to someone. vm_page.c: Fixed a rather serious logic bug that would result in random system crashes. Changed pagedaemon wakeup policy (again!). vm_pageout.c: Removed unnecessary page rotations on the inactive queue. Changed the number of pages to explicitly free to just free_reserved level. Submitted by: John Dyson
* Calling semantics for kmem_malloc() have been changed...and the thirddg1995-02-021-1/+2
| | | | | | argument is now more than just a single flag. Submitted by: John Dyson
* Calling semantics for kmem_malloc() have been changed...and the thirddg1995-02-022-5/+4
| | | | | | | | | argument is now more than just a single flag. (kern_malloc.c) Used new M_KERNEL value for socket allocations that previous were "M_NOWAIT". Note that this will change when we clean up the M_ namespace mess. Submitted by: John Dyson
* Mostly cosmetic changes. Use KERNBASE instead of UPT_MAX_ADDRESS indg1995-02-022-42/+50
| | | | | | | | | | | | | some comparisons as it is more correct (we want the kernel page tables included). Reorganized some of the expressions for efficiency. Fixed the new pmap_prefault() routine - it would sometimes pick up the wrong page if the page in the shadow was present but the page in object was paged out. The routine remains unused and commented out, however. Explicitly free zero reference count page tables (rather than waiting for the pagedaemon to do it). Submitted by: John Dyson
* Bump the date to February 2nd.jkh1995-02-021-1/+1
|
* Clean these up a bunch more - gee I'm glad I do these snapshots, they uncoverjkh1995-02-024-28/+11
| | | | | | | | *so many problems*.. Too bad the snaps themselves don't get made as a consequence.. :-) Bump the date forward Yet Another Day. David has some changes he wants to see rolled in, so I guess we're down for Feb 2nd as the snap date!
* Create directory symlinks neccesary for locale because mtreeache1995-02-021-1/+13
| | | | | can't create symlinks. Suggested by Rod.
* Mkdir() now takes two flags.jkh1995-02-021-2/+2
|
* This was misleading - you select OK to continue, not Cancel! ;-)jkh1995-02-021-2/+2
|
* Since the pci directory has moved, this required updating.jkh1995-02-021-2/+2
|
* Make dirs for msdos fs's.phk1995-02-021-3/+7
|
* We no longer need a welcome telling us to take a floppy out - it's alreadyjkh1995-02-021-6/+1
| | | | out.
* Create an obj symlink when necessary.jkh1995-02-021-17/+7
| | | | Submitted by: "Remy CARD" <Remy.Card@masi.ibp.fr>
OpenPOWER on IntegriCloud