summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove CCFPU, it is no longer used any place in the source tree.rgrimes1995-07-133-24/+3
| | | | Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
* Make ld's error messages consistent with gcc when no input filesrgrimes1995-07-131-2/+2
| | | | | | are given on the command line. Submitted by: Thomas Graichen <graichen@omega.physik.fu-berlin.de>
* Add new sup targets for the following categories:asami1995-07-121-0/+4
| | | | benchmarks, emulators, security, sysutils
* Don't set SHELL by default - if you chpass -s your shell, thisgpalmer1995-07-121-1/+0
| | | | | will over-ride it and confuse several applications, including xterm
* Added support for an LCS-style `wheel su' which allows users in group wheelwollman1995-07-121-6/+36
| | | | | | | | | | to su to root by authenticating as themselves (using a password or S/Key) rather than by using the root password. This is useful in contexts like ours, where a large group of people need root access to a set of machines. (However, the security implications are such that this should not be enabled by default.) The code is conditionalized on WHEELSU.
* Don't attempt to read the variable `total' from the kernel. `total'bde1995-07-121-4/+2
| | | | | | isn't used in systat or in the kernel (it was replaced by a sysctl() call involving VM_METER) and will go away when I clean up bogus common variables in the kernel.
* Instantiate our own variables instead of depending on bogus commonbde1995-07-121-1/+2
| | | | declarations in system headers that will be fixed soon.
* Instantiate our own variables instead of depending on bogus commonbde1995-07-121-2/+5
| | | | declarations in system headers that will be fixed soon.
* Fix dependencies for regex.texi. It is constructed by merging a C headerbde1995-07-121-1/+1
| | | | file with an info source file.
* Fix dependencies for gcc.info and reno.info. `make depend' doesn't handlebde1995-07-121-0/+5
| | | | info files although texinfo supports @include.
* Add kbdmap.bde1995-07-121-4/+4
|
* Remove -g from CFLAGS.bde1995-07-123-5/+5
|
* ypserv performance improvements:wpaul1995-07-124-18/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - There are two cases where the server can potentially block for a long time while servicing a request: when handling a yp_all() request, which could take a while to complete if the map being transfered is large (e.g. 'ypcat passwd' where passwd.byname has 10,000 entries in it), and while doing DNS lookups when in SunOS compat mode (with the -dns flag), since some DNS lookups can take a long time to complete. While ypserv is blocked, other clients making requests to the server will also block. To fix this, we fork() ypall and DNS lookups into subprocesses and let the parent ypserv process go on servicing other incoming requests. We place a cap on the number of simultaneous processes that ypserv can fork (set at 20 for now) and go back to 'linear mode' if it hits the limit (which just means it won't fork() anymore until the number of simultaneous processes drops under 20 again). The cap does not apply to fork()s done as a result of ypxfr calls, since we want to do our best to insure that map transfers from master servers succeed. To make this work, we need our own special copy of svc_run() so that we can properly terminate child processes once the RPC dispatch functions have run. (I have no idea what SunOS does in this situation. The only other possibility I can think of is async socket I/O, but that seems like a headache and a half to implement.) - Do the politically correct thing and use sigaction() instead of signal() to install the SIGCHLD handler and to ignore SIGPIPEs. - Doing a yp_all() is sometimes slow due to the way read_database() is implemented. This is turn is due to a certain deficiency in the DB hash method: the R_CURSOR flag doesn't work, which means that when handed a key and asked to return the key/data pair for the _next_ key in the map, we have to reset the DB pointer to the start of the database, step through until we find the requested key, step one space ahead to the _next_ key, and then use that. (The original ypserv code used GDBM has a function called gdbm_nextkey() that does this for you.) This can get really slow for large maps. However, when doing a ypall, it seems that all database access are sequential, so we can forgo the first step (the 'search the database until we find the key') since the database should remain open and the cursor should be positioned at the right place until the yp_all() call finishes. We can't make this assumption for arbitrary yp_first()s and yp_next()s however (since we may have requests from several clients for different maps all arriving at different times) so those we have to handle the old way. (This would be much easier if R_CURSOR really worked. Maybe I should be using something other than the hash method.)
* A variety of small enhancements.jfieber1995-07-122-22/+30
| | | | Submitted by: asami@cs.berkeley.edu (Satoshi Asami)
* Fix to match new MD5 api. Faster, fixes memory leak.phk1995-07-123-12/+15
|
* Fix to match new MD5 api, faster.phk1995-07-122-7/+4
|
* Fix to match new API. Fixes memory leak, faster.phk1995-07-121-6/+9
|
* Change this to do what it should have done from the start.phk1995-07-128-44/+62
| | | | | Add argument for buffer for output. Fix manuals.
* Optimize the zeroing of quotes. b_to_q() was always taking about 20% ofbde1995-07-112-64/+92
| | | | | its time zeroing quotes although quotes are not very common. E.g., there are never any quotes in output queues.
* Rearrange the inner loop of scanc() to get better code on i*86'sbde1995-07-111-2/+10
| | | | | | | | | | | (on an i486, 10 cycles (+ cache misses) instead of 15). The change should be a no-op if the compiler is any good. The best possible i*86 code for the same algorithm is only 1 more cycle faster on i486's so I don't want to bother implementing an assembler version. scanc() is a bottleneck for OPOST processing. It is naturally about 4 times as slow as bcopy() on 32-bit systems.
* Fix races in scstart(). q_to_b() wasn't called at spltty(), so therebde1995-07-116-84/+42
| | | | | | | | | | | | | | were two races: - q_to_b() might unexpectedly return 0 (e.g, after a keyboard signal flushes the output queue and isn't echoed). ansi_put() interprets 0 bytes as 4GB... - more output (e.g. for echoes) might arrive afer q_to_b() returns 0. Then scstart() returns presumably and the new output might not be handled for a long time. Remove unused function scxint(). Fix prototypes (foo() isn't a prototype).
* Speed up the inner loop of ansi_put() by a few percent.bde1995-07-113-6/+30
| | | | | | | syscons' output is now only about 4-5 times slower than I want. It loses a factor of 2 for scrolling output by unnecessarily copying the screen buffer, a factor of 4/3 for dumb OPOST processing, and a factor of 3/2 for clist processing.
* Enable pcvt in LINT and don't generate a compile time error if sysconsbde1995-07-114-18/+18
| | | | | and pcvt are both configured when LINT is defined. There will be a link time error instead. This is to test building of pcvt more often.
* Remove a bogus fclose. Normally the "w" stream for /var/crash/bounds wasbde1995-07-111-1/+0
| | | | | | fclosed twice and this didn't seem to cause any problems, but when /var/crash was on an an unwritable nfs-mounted partition, fclose(NULL) caused a core dump.
* The mode page editor never cleaned up the temp files. Thanksdufault1995-07-111-1/+32
| | | | | to Joerg for noticing. This low risk bug fix is appropriate for 2.1.
* Documentation changes reflect the new hardware support and change thejkh1995-07-111-21/+48
| | | | | appearance version to 2.0.5 (was 2.1). Nice and tidy. :-) Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com>
* Release summary: (detailed descriptions in Edit History in matcd.c)jkh1995-07-113-68/+150
| | | | | | | | | | | | | | | | | | | | | | | | Adds support for non-Sound Blaster host adapters, including those distributed by Reveal, Lasermate, IBM, Media Vision, Crystal and others. The driver automatically senses the correct adapter type and you can have both in the system at the same time. (This change should eliminate a few complaints.) Corrected bit-masking problem that prevented use on SB Vibra-16 boards. Declared some internal data and functions static that should have been that way all along. Documentation changes reflect the new hardware support and change the appearance version to 2.0.5 (was 2.1). Nice and tidy. :-) Beta testers have verified functionality on SB16, Vibra-16, Media Vision and Reveal adapters. -Wall still shows no warnings. Frank Durda IV uhclem%nemesis@fw.ast.com Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com>
* Add IS_DEPENDED_TARGET to change the behavior of a port when you wantasami1995-07-111-2/+18
| | | | | | | | | | | | | | to do something else than "install". For example, make IS_DEPENDED_TARGET=fetch fetch will fetch the required distfiles including those of the dependencies without actually building and installing dependencies. Also document ECHO_MSG. Requested by: paul Reviewed by: paul, jhs and others
* Correct typo. kadmin -> kadmindmarkm1995-07-101-2/+2
| | | | Submitted by: rich@lamprey.utmb.edu
* ICMP messages received from broken hosts which reply to multicast packetswollman1995-07-101-4/+8
| | | | | | | were mistakenly delivered, rather than getting thrown out, which caused substantial lossage. Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Patches to correct endianness bugs in mtrace and a few other littlewollman1995-07-102-6/+8
| | | | | | problems. Submitted by: bill Fenner <fenner@parc.xerox.com>
* tcp_input.c - keep track of how many times a route contained a cached rttwollman1995-07-104-17/+61
| | | | | | | | | or ssthresh that we were able to use tcp_var.h - declare tcpstat entries for above; declare tcp_{send,recv}space in_rmx.c - fill in the MTU and pipe sizes with the defaults TCP would have used anyway in the absence of values here
* When adding a route, set rt_ifa and rt_ifp a little earlier so thatwollman1995-07-101-4/+13
| | | | the protocol-specific add routine can examine it if desired.
* swapout_threads() -> swapout_procs().dg1995-07-103-6/+6
|
* Increased global RSS limit to total RAM.dg1995-07-101-2/+2
|
* Killed bogus sparc #ifdef.dg1995-07-101-10/+1
|
* Added the contents of CONTRIB.FreeBSD as an appendix.jfieber1995-07-092-1/+269
|
* Change freebsd-users-groups to freebsd-user-groupsjfieber1995-07-092-6/+5
|
* Fixed panic that occurs on certain firewall rejected packets that wasdg1995-07-094-9/+8
| | | | | | | caused by dtom() being used on an mbuf cluster. The fix involves passing around the mbuf pointer. Submitted by: Bill Fenner
* Fix the prototypes for getservby{name,port}().joerg1995-07-091-2/+2
| | | | | | Closes PR #docs/568: minor manpage bug Submitted by: Michael Smith (email address no longer valid)
* PR #kern/572:joerg1995-07-091-6/+8
| | | | | | | | | | | >Synopsis: Booting w/scsi tape in drive causes first use to fail Booting with a tape in a SCSI tape drive will cause the first use of the tape to fail with the following message: st0: bad request, must be between 0 and 0. Submitted by: mpp@legarto.minn.net (Mike Pritchard)
* Move some struct definitions outside of struct's, so their scopes forjoerg1995-07-091-35/+40
| | | | | | C++ will match the scopes for C. Submitted by: Warner Losh
* Moved call to VOP_GETATTR() out of vnode_pager_alloc() and into the placesdg1995-07-097-54/+77
| | | | | | that call vnode_pager_alloc() so that a failure return can be dealt with. This fixes a panic seen on NFS clients when a file being opened is deleted on the server before the open completes.
* This implements enough of the BSDI extensions to the net-2 ogetkerninfo()peter1995-07-091-1/+112
| | | | | | | | | | | syscall to allow applications linked against their libc's uname() to work. Netscape 1.1N being a prime example, which prints: "uname() failed. cant tell what system we're running on". This change is a little ugly, but that's mainly because of the "interesting" semantics of the BSDI extension. Since ogetkerninfo() is only enabled by COMPAT_43, Netscape will only be affected on kernels with that option (eg: "GENERIC") Reviewed by: davidg
* Added a CLEANFILES+= y.tab.h to clean out the temporary file from yacc.ats1995-07-081-1/+2
|
* Add kzip to the clean and cleandir target so that it also get cleaned upats1995-07-081-2/+2
| | | | properly.
* Correct a typo in a comment.ats1995-07-081-2/+2
|
* Fix two typos in a comment.ats1995-07-081-3/+3
|
* Makefile:ats1995-07-083-9/+9
| | | | | | | | | Fix the use of /usr/X386 to ${X11BASE}. Fix the pathname /usr/bin/chess to /usr/games/chess. XCircle.c: Fix the comment after an ifdef to make it a real comment to silent gcc. std.h: Comment out a private definition of sys_errlist.
* Adjust the core team roster to reflect current reality. It's the middlejkh1995-07-081-5/+2
| | | | | | | of July now and none of the parties involved have protested since the matter was raised in June. Spell Jörg's name with a proper umlaut.
OpenPOWER on IntegriCloud