summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a new `conflicts' flag for telling when a device is in conflict withjkh1995-05-114-4/+10
| | | | | | | | | | | | others. The flag can be put in descriptive locations, e.g.: device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr or device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr But is nonetheless boolean only. You can't turn conflict checking off for only a given type of conflict. I didn't deem it worth the trouble at this stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it.
* Remove all vestiges of the ALLOW_CONFLICT_FOO evil and replace it withjkh1995-05-116-100/+41
| | | | something slightly less evil - a per device conflict flag.
* Added "FreeBSD in a nutshell", swiped from the WWW pages with ajfieber1995-05-112-2/+151
| | | | few modifications.
* #ifdef'd my Nagel/ACK hack with "TCP_ACK_HACK", disabled by default. I'mdg1995-05-112-2/+48
| | | | | | | | currently considering reducing the TCP fasttimo to 100ms to help improve things, but this would be done as a seperate step at some point in the future. This was done because it was causing some sometimes serious performance problems with T/TCP.
* Ack! One slipped through the cracks: remember to return the correctlywpaul1995-05-111-3/+3
| | | | | filled-in result structure to the caller when a resource allocation error is encountered in ypbindproc_domain_2.
* Delete two debugging printfs that mistakenly crept in.wollman1995-05-113-6/+3
|
* Make networking domains drop-ins, through the magic of GNU ld. (Some day,wollman1995-05-1118-100/+147
| | | | | | there may even be LKMs.) Also, change the internal name of `unixdomain' to `localdomain' since AF_LOCAL is now the preferred name of this family. Declare netisr correctly and in the right place.
* Performace improvements/simplifications/cleanups:wpaul1995-05-101-75/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make the child process reaper signal-driven. (Previously, we called reaper() once a second each time we went through the select() loop. This was convenient, but inefficient.) - Increase main select() timeout from 1 second to 60 seconds and use this as the ping timer instead of using timestamps in the _dom_binding structure. This nd the reaper() change noted above makes ypbind a little less CPU-intensive. - Don't flag EINTR's from select() as errors since they will happen as a result of incoming SIGCHLD's interrupting select(). - Prevent possible resource hogging. Currently we malloc() memory each time a user process asks us to establish a binding for a domain, but we never free it. This could lead to serious memory leakage if a 'clever' user did something like ask ypwhich to check the bindings for domains 0.0.0.0.0.0.0.0.0.0 through 9.9.9.9.9.9.9.9.9.9 inclusive. (This would also make a mess out of the /var/yp/binding directory.) We now avoid this silliness by a) limiting the maximum number of simultaneous bindings we can manage to 200, and b) free()ing _dom_binding structures of secondary domains whose servers have stopped responding. We unlink the /var/yp/binding/domain.vers files for the free()ed domains too. (This is safe to do since a client can prod us into reestablishing the binding, at which time we'll simply allocate a new _dom_binding structure for it.) We keep count of the total number of domains. If asked to allocate more than the maximum, we return an error. I have yet to hear of anybody needing 200 simultaneous NIS bindings, so this should be enough. (I chose the number 200 arbitrarily. It can be increased if need be.) - Changed "server not responding"/"server OK" messages to display server IP addresses again since it looks spiffier. - Use daemon() to daemonify ourselves, - Added a SIGTERM handler that removes all binding files and unregisters the ypbind service from the portmapper when a SIGTERM in received. - The comment 'blow away everything in BINDINGDIR' has no associated code. Give it some: clean out /var/yp/binding at startup (if it exists). This completes my ypbind wishlist. Barring bug fixes, I shouldn't need to go poking around in here anymore. (Of course, this means I can start working on my ypserv whishlist now... :)
* Fix a long-standing bug that broke pkg_info utterly and probably madejkh1995-05-101-8/+7
| | | | pkg_add a little wiggy too.
* Fix a long-standing bug that broke pkg_info utterly and probably madejkh1995-05-102-8/+13
| | | | | pkg_add a little wiggy too. Document the fact that pkg_info can also take a URL.
* Bump the number of allowable args by a factor of 4. I just scannedjkh1995-05-101-2/+2
| | | | | all possible packing lists and found that at least one of them is pretty large!
* Added Jordan's "brief history of FreeBSD", swiped from the WWW pages.jfieber1995-05-102-2/+47
|
* Document fetch-by-URL.jkh1995-05-101-1/+9
|
* Re-work make_dist() routine to build the tar command more reasonably.jkh1995-05-101-54/+58
| | | | This should eliminate the problem with truncated packages.
* Don't use curses routines until that part of the system is initialized.jkh1995-05-103-12/+18
|
* Unlock the vnode before sleeping on an OBJ_DEAD object. Should fix Bruce'sdg1995-05-101-15/+16
| | | | hang. Fixed some formatting anomolies and removed some unneeded casts.
* Changed "handle" from type caddr_t to void *; "handle" is several differentdg1995-05-108-19/+19
| | | | types of pointers, and "char *" is a bad choice for the type.
* Remove dmenu from the Makefilejkh1995-05-101-2/+2
|
* Reviewed by:jkh1995-05-101-5/+9
| | | | | Submitted by: Obtained from:
* Remove ncftp from cpio - we don't need it any more.jkh1995-05-107-18/+28
| | | | Adjust boot floppy to (hopefully) include libdisk in the crunch.
* Updated routing-socket code from Berkeleywollman1995-05-101-23/+20
| | | | Obtained from: Keith Bostic by way of Paul Traina
* Submitted by: wpaul (with 2 lines moved by rgrimes)rgrimes1995-05-102-3/+37
| | | | Add support for kern_devconf structure.
* Toplevel reorganization and integration of Poul-Henning Kamp's sectionjfieber1995-05-102-88/+59
| | | | on the booting process.
* Add new variable to override the "hey foobar-1.2.3 is already installed"asami1995-05-101-1/+6
| | | | | | warning from fake-pkg. # FORCE_PKG_REGISTER - If set, it will overwrite any existing package # registration information in ${PKG_DBDIR}/${PKGNAME}.
* Sync up to Poul - use his new Create_Chunk_DWIM() function and use the pointerjkh1995-05-103-177/+30
| | | | it passes back. Thanks, Poul!
* Make sure that mountpoints start with a /.jkh1995-05-103-6/+18
|
* Whoops - dispatch() takes multiple args now.jkh1995-05-103-6/+6
|
* Fold in all my recent changes.jkh1995-05-1017-704/+1543
| | | | | | | Do another clean-up pass over this, making the generic menu handler much more powerful (now handles multiple dispatch). A few more menus fleshed out and the beginnings of the distribution handler committed. Should be transfering full distributions over in the next commit.
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.phk1995-05-108-8/+106
|
* New directory name for uec mirror.asami1995-05-101-2/+2
| | | | Submitted by: hideaki@strauss.ee.uec.ac.jp (Hideaki Tsuchiya)
* Add sgmlfmt.jfieber1995-05-101-2/+2
|
* Add sgmljfieber1995-05-101-1/+1
|
* Update the doctype declaration to use the FreeBSD version of thejfieber1995-05-102-4/+4
| | | | linuxdoc DTD.
* This commit was generated by cvs2svn to compensate for changes in r8397,jfieber1995-05-093-0/+684
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * The program that turns sgml files (tagged according to the linuxdocjfieber1995-05-093-0/+684
| | | | | | | | | | DTD) into HTML, LaTeX or ascii. (the latter is still pretty rough) Reviewed by: rgrimes
* | Switch from bogus absolute path to a relative one.jkh1995-05-091-1/+1
| | | | | | | | | | Closes PR #bin/391 Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* | This commit was generated by cvs2svn to compensate for changes in r8394,jfieber1995-05-0921-0/+4055
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * The linuxdoc DTD used for the FreeBSD handbook and FAQ.jfieber1995-05-0921-0/+4055
| | | | | | | | | | Reviewed by: rgrimes Obtained from: Linux (with modification)
* | New directory for sgml tools: /usr/share/sgmljfieber1995-05-091-1/+11
| | | | | | | | Reviewed by: rgrimes
* | Remove all reference to sysinstall - it's going away.jkh1995-05-091-2/+0
| |
* | Get sysinstall from /usr/src/release not /usr/src/sbin.jkh1995-05-095-15/+15
| |
* | secure -> DES.jkh1995-05-091-0/+19
| |
* | Add GNU-style `-print0' primary. This exists so that one can safelywollman1995-05-095-4/+39
| | | | | | | | | | do `find some-nasty-expression -print0 | perl -n0e unlink' and have all the files actuallly get deleted. (Using `xargs' and `rm' is not safe.)
* | Make certain that random keys havethe correct parity, for interoperation withwollman1995-05-091-1/+2
| | | | | | | | | | | | MIT v4 implementations. Submitted by: Reece R. Pollack <reece@eco.twg.com>
* | Fix line-count overflow, close PR 351ache1995-05-091-2/+2
| | | | | | | | Submitted by: Edward Wang <edward@edcom.com>
* | Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu>bde1995-05-094-4/+54
| | | | | | | | | | | | | | | | | | msdosfs_lookup() did no validation to see if the caller was validated to delete/rename/create files. msdosfs_setattr() did no validation to see if the caller was allowed to change the file permissions (turn on/off the write bit) or update the file modification time (utimes). The routines were fixed to validate the calls just like ufs does.
* | Submitted by: gjrgrimes1995-05-092-6/+2
| | | | | | | | Delete suspicious looking chunk of code that was partially commented out.
* | Replaced some bcopy()'s with memcpy()'s so that gcc while inline/optimize.dg1995-05-098-68/+59
| |
* | Fix nested comments for -Wcomment warnings.rgrimes1995-05-0912-83/+83
| |
* | Fix nested comments for -Wcomment warnings.rgrimes1995-05-094-6/+6
| |
OpenPOWER on IntegriCloud