summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove piano.jkh1995-04-281-2/+2
|
* Add piano.jkh1995-04-281-8/+7
|
* Remove setre* hacks, we have working thing nowache1995-04-272-41/+24
|
* Silence -Wall.jfieber1995-04-271-0/+1
|
* Added sgmlsjfieber1995-04-271-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r8100,jfieber1995-04-2784-0/+22756
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * The sgmls SGML parser. Support for our hypertext documents.jfieber1995-04-2784-0/+22756
| | | | Reviewed by: Paul Richards, Garrett Wollman
* ypbind.c: Major overhaul.wpaul1995-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Moved to a more client-driven model. We aggressively attempt to keep the default domain bound (as before) but we give up on non-default domains if we lose contact with a server and fail to get a response after one round of broadcasting. This helps drastically reduce the amount of network bandwitdh that ypbind consumes: if a client references the secondary domain at some later point, this will prod ypbind into establishing a new binding anyway, so continuously broadcasting without need is pointless. Note that we still actively seek out a binding for our default domain even if no client program has queried us yet. I'm not exactly sure if this matches SunOS's behavior or not, but I decided to do it this way since we can get into all sorts of trouble if our default domain comes unbound. Even so, we're still much quieter than we used to be. - Removed a bunch of no-longer pertinent comments and a couple of chunks of #ifdef 0'ed code that no longer fit in to the new layout. - Theo deRaadt must have become frustrated with the callback mechanism in clnt_broadcast(), because he shamelessly stole the clnt_broadcast() code right out of the RPC library and hacked it up to suit his needs. (Comments and all! :) I can understand why: clnt_broadcast() blocks while awaiting replies. Changing this behavior requires surgery. However, you can work around this: fork the broadcast into a child process and relay the results back to the parent via a pipe. (Careful obervation has shown that the SunOS ypbind forks children for broadcasting too, though I can only guess what sort of interprocess communication it uses. pipe() seems to do the job well enough.) This may seem like the long way around, but it's not really that hard to implement, and I'd prefer to use documented RPC library functions wherever possible. We're careful to limit the number of simultaneous broadcasters to avoid swamping the system (the current limit is 5). Each clnt_broadcast() call only sends out a small number of packets at increasing intervals. We're also careful not to spawn more than one bradcaster for a given domain. - Used clntudp_bufcreate() and clnt_call() to implement a ping() function for directly querying a particular server so that we can check if it's still alive. This lets me completely remove the old bradcasting code and use actual RPC library calls instead, at the cost of more than a few handfulls of torn-out hair. (Make no mistake folks: I *HATE* RPC.) Currently, the ping interval is one minute. - Fixed another potential 'nfds too big for select()' bug: use _rpc_dtablesize() instead of getdtablesize(). - Quieted gcc -Wall a bit. - Probably a bunch of other stuff that I've forgotten. ypbind.8: - Updated man page to reflect modifications. ypwhich.c: - Small mind-o fix from last time: decode error results from ypbind correctly (*groan*) yplib.c: - same as above - Change behavior of _yp_dobind() a little: if we get back a 'Domain not bound' error for a given domain, retry a few times before giving up and passing the error back to the caller. We have to sleep for a few seconds between tries since the 'Domain not bound' error comes back immediately (by repeatedly looping, we end up pounding on ypbind). We retry at most 20 times at 5 second intervals. This gives us a full minute to get a response. This seems to deviate a bit from SunOS behavior -- it appears to wait forever -- but I don't like the idea of perpetually hanging inside a library call. Note that this should fix the problems some people have with bindings not being established fast enough at boot time; sometimes amd is started in /etc/rc after ypbind has run but before it gets a binding set up. The automounter gets annoyed at this and tends to exit. By pausing ther YP calls until a binding is ready, we avoid this situation. - Another _yp_dobind() change: if we determine that our binding files are unlocked or nonexistent, jump directly to code that pokes ypbind into restablishing the binding. Again, if it fails, we'll time out eventually and return.
* Do kernels up to 2Mb.phk1995-04-251-2/+7
|
* This got ignored as a shared object during the import. Add it back asnate1995-04-221-0/+127
| | | | it's necessary for the doc process.
* Make Rod Grimes's life a little simpler: replace all exit(1)'s withwpaul1995-04-221-8/+14
| | | | | | | | | seperate exit values depending on the error. (The error values are #defined and commented near the top of the file for clarity). This is to help write a small bit of shell script for /etc/rc that calls ypwhich a few times after ypbind is invoked to make sure we're actually bound to a server before proceeding (if we aren't, the automounter can fail if it's using NIS maps).
* small NIS binding fixes:wpaul1995-04-211-1/+1
| | | | | | | | | | | | | | | ypbind.c: if a client program asks ypbind for the name of the server for a particular domain, and there isn't a binding for that domain available yet, ypbind needs to supply a status value along with its failure message. Set yprespbody.ypbind_error before returning from a ypbindproc_domain request. yplib.c: properly handle the error status messages ypbind now has the ability to send us. Add a ypbinderr_string() function to decode the error values. ypwhich.c: handle ypbind errors correctly: yperr_string() can't handle ypbind_status messages -- use ypbinderr_string instead.
* Use port 21 as default if getservbyname fails to find it for us. This letphk1995-04-201-2/+6
| | | | us remove some crud from the install-procedure.
* Undo the stupidity I inflicted on these files and replace it withwpaul1995-04-201-3/+2
| | | | | | | | | | some (hopefully) less offensive stupidity: If we detect that a user has loaded a module that fails to initialize itself correctly, panic. There really isn't a safe way to recover from something like this; we can't know that the module is bad until after the entry point is called, by which time it's too late to do anything about it.
* Make mt(1) orthogonal: now that we print the densities as stringsjoerg1995-04-182-40/+78
| | | | instead of hex, make it accept density names for input, too.
* Small fixups to use LM_UNKNOWN type, also fix slight formattingwpaul1995-04-181-3/+4
| | | | offset problem in banner printf().
* Round #1 of my st(1) -> mt(1) merge. All the commands should bejoerg1995-04-172-6/+216
| | | | | | | | | | covered now, and i've attempted to give textual representations instead of magic numbers. The st(4) driver still misses some pieces; i'm going to implement the EOM functionality RSN. Any takers for the MTCOMP command? Seems to have never been implemented.
* Missing ${DESTDIR} on chflags commands added.rgrimes1995-04-171-2/+3
|
* 1) kill temp diver upon exitache1995-04-162-129/+78
| | | | | 2) add logical ops, fix ! precedence, implement unary +, fix exp Obtained from: NetBSD
* Fix spelling error that keeps this from compiling with KERBEROS & SKEYrgrimes1995-04-161-1/+1
| | | | | | defined. Submitted by: Mark Murray <mark@grondar.za>
* Merge.ache1995-04-164-38/+45
|
* This commit was generated by cvs2svn to compensate for changes in r7889,ache1995-04-162-70/+8
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Upgrade.ache1995-04-165-100/+50
| |
* | Don't crash when there are too many items to fit on one screen.bde1995-04-151-1/+1
| |
* | Fight over non-working setruidache1995-04-152-11/+15
| |
* | Added kzip in i386 sectionphk1995-04-151-2/+2
| |
* | This program to compress a kernel with. You loose all the symbols, sophk1995-04-152-0/+263
| | | | | | | | | | | | usability is limited. Very useful on fixit floppies &c. Obtained from: Linux via 386BSD
* | Install with default BINOWN (as it once used to be).dg1995-04-151-1/+0
| |
* | Install setgid kmem rather than setuid root. The problem with procfs thatdg1995-04-151-1/+2
| | | | | | | | was breaking this before has been fixed.
* | Add `-s' flag to permit selection of devices in accordance with theirwollman1995-04-145-23/+100
| | | | | | | | | | state (after all, who wants to be offered a menu of devices which weren't found?).
* | Add missing -lmytinfo, hits when compiled -staticache1995-04-141-2/+3
| | | | | | | | Add DPADD
* | Move digits before lettersache1995-04-143-6/+6
| |
* | Add devmenu(1).wollman1995-04-131-2/+3
| |
* | Another sample devconf application. This one's a menu of devices; read thewollman1995-04-136-0/+639
| | | | | | | | man page.
* | Disallow Kerberos when S/Key is required. Fixes PR #339.wollman1995-04-131-0/+11
| | | | | | | | Submitted by: Paul Traina <pst@Shockwave.com>
* | Upgrade.ache1995-04-1212-618/+1207
| |
* | Fix output field rangeache1995-04-111-2/+3
| | | | | | | | Submitted by: edward@edcom.com
* | Added #include <sys/queue.h>dg1995-04-101-0/+1
| |
* | Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;dg1995-04-092-11/+5
| | | | | | | | sorry Jordan).
* | That's what I get for doing things in a hurry...applied up-to-date patchdg1995-04-091-1/+1
| | | | | | | | to this file rather than old one (before I renamed the structure element).
* | Oops, remove some chaff from previous commit.dg1995-04-091-6/+0
| |
* | Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBsdg1995-04-092-10/+12
| | | | | | | | together.
* | Remove unneded substitutesache1995-04-082-20/+4
| |
* | Update controls & remainsache1995-04-081-2/+3
| |
* | Remove digrams to not confuse sortingache1995-04-082-6/+28
| |
* | The negative expire times shown by netstat are confusing and ugly.jkh1995-04-061-5/+7
| | | | | | | | | | | | Destination Gateway Flags Refs Use Netif Expire 199.182.75.128 link#1 UC 0 0 ed0 -842660 Submitted by: John Capo <jc@irbs.com>
* | It has always bugged me that ps and w did not display su with tcshjkh1995-04-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | properly. I know, tcsh is not a "Real Shell". jc p2 :0.0 Tue04PM - -u (tcsh) ^^^ 7173 p2 S+ 0:01.33 -u (tcsh) ^^^ Submitted by: John Capo <jc@irbs.com>
* | Sed dumps core when linked with some coalescing malloc because itjoerg1995-04-051-0/+2
| | | | | | | | | | | | doesn't initialize malloced structure. Submitted by: vode@hut.fi
* | This is the 90's, ask the user for a Subject by default when sending mail.nate1995-04-031-1/+1
| |
* | Include <stdlib.h> so that malloc() is declared.bde1995-04-024-0/+4
| |
OpenPOWER on IntegriCloud