Commit Graph

14798 Commits

Author SHA1 Message Date
peter
558b570e95 Comment out the:
.if exists(contrib)
 SUBDIR+= contrib
 .endif
because it now tries to decend into the new contrib dir which doesn't
have a Makefile.
1996-06-27 06:00:52 +00:00
wpaul
293bf27b88 Improve performance with very large user databases by increasing
hash table size from 256 to 1024.

Generate output that looks more like the SunOS mknetid: uses a space
instead of tabs for white space.

Fix typo in comment in hash.h: Groupit -> Groupid.
1996-06-27 05:42:01 +00:00
nate
d39f8bd56e Added libftpio to 'includes'. 1996-06-26 22:47:52 +00:00
gpalmer
6cdae3f056 Add a missing space in a comment 1996-06-26 21:12:28 +00:00
gpalmer
c3a84b22e3 Add -Wall to CFLAGS 1996-06-26 20:49:41 +00:00
gpalmer
eb78e733f7 Makefile:
Add -Wall to CFLAGS

ftpio.h:
		It's ftpGetModTime, not ftpModTime
1996-06-26 20:31:11 +00:00
gpalmer
5ce2aa95e0 Correct comment relating to pty's. There can be 256 (probably
higher actually, but that's all our MAKEDEV supports at this time)
1996-06-26 19:42:06 +00:00
nate
ddc6eab90a Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"
Submitted by:	The Perl Gods as described in the advisory
1996-06-26 19:12:25 +00:00
jkh
29897077fc Correct minor syntactical error. 1996-06-26 19:06:11 +00:00
phk
10f5dc83b3 bmaked tclsh 1996-06-26 17:52:19 +00:00
phk
59a8b0ab5f Bmaked tcl 7.5 1996-06-26 17:48:13 +00:00
phk
7e4fe2a68f This script will help bmake tcl. 1996-06-26 17:47:14 +00:00
markm
4966d817a0 This first appeared in 2.1.5. Correct comment. 1996-06-26 17:11:04 +00:00
sos
a37902c286 Fixed bug in pasting 8bit char (ache).
Added linefeeds in cuts that extend beyond one line.
Prepared for the mousefunctions to be used in nontext modes.
1996-06-26 13:04:53 +00:00
jkh
84c4f7b320 Allow argv[0] to be a command also. 1996-06-26 09:09:30 +00:00
phk
98c14cad25 This commit was generated by cvs2svn to compensate for changes in r16756,
which included commits to RCS files with non-trunk default branches.
1996-06-26 06:06:43 +00:00
phk
00febf6009 Tcl 7.5, various makefiles will be updated to use these sources as soon
as I get these back down to my machine.
1996-06-26 06:06:43 +00:00
phk
ee792a91d2 Initial revision 1996-06-26 06:06:30 +00:00
dg
bb7b81b423 Yet another fix for the line continuation bug in sed. Keith's patch
introduced a new bug. This fix appears to work correctly. Fixes PR#1350.

Submitted by:	mark@linus.demon.co.uk (Mark Valentine)
1996-06-26 05:54:32 +00:00
dyson
6480b407fc Fix a problem that caused system crashes after physio. This problem
was due to non-aligned 64K transfers taking 17 pages.  We currently
do not support >16 page transfers.  The transfer is unfortunately truncated,
but since buffers are usually malloced, this is a problem only once in
a while.  Savecore is a culprit, but tar/cpio usually aren't.  This
is NOT the final fix (which is likely a bouncing scheme), but will at
least keep the system from crashing.
1996-06-26 05:52:15 +00:00
phk
f886525dba Add the contrib collection to supfiles.
(SUP-mirrors take notice !)
1996-06-26 05:40:58 +00:00
dyson
23e45f82d4 This commit does a couple of things:
Re-enables the RSS limiting, and the routine is now tail-recursive,
	making it much more safe (eliminates the possiblity of kernel stack
	overflow.) Also, the RSS limiting is a little more intelligent about
	finding the likely objects that are pushing the process over the limit.

	Added some sysctls that help with VM system tuning.

New sysctl features:
	1)	Enable/disable lru pageout algorithm.
		vm.pageout_algorithm = 0, default algorithm that works
			well, especially using X windows and heavy
			memory loading.  Can have adverse effects,
			sometimes slowing down program loading.

		vm.pageout_algorithm = 1, close to true LRU.  Works much
			better than clock, etc.  Does not work as well as
			the default algorithm in general.  Certain memory
			"malloc" type benchmarks work a little better with
			this setting.

		Please give me feedback on the performance results
		associated with these.

	2)	Enable/disable swapping.
		vm.swapping_enabled = 1, default.

		vm.swapping_enabled = 0, useful for cases where swapping
			degrades performance.

		The config option "NO_SWAPPING" is still operative, and
		takes precedence over the sysctl.  If "NO_SWAPPING" is
		specified, the sysctl still exists, but "vm.swapping_enabled"
		is hard-wired to "0".

Each of these can be changed "on the fly."
1996-06-26 05:39:27 +00:00
jmallett
02025a1188 This commit was generated by cvs2svn to compensate for changes in r16748,
which included commits to RCS files with non-trunk default branches.
1996-06-26 05:36:21 +00:00
jmallett
2bf434b001 Import OpenBSD m4 as of today. 1996-06-26 05:36:21 +00:00
dyson
73f5e77439 When page table pages were removed from process address space, the
resident page stats were not being decremented.  This mode corrects
that problem.
1996-06-26 05:05:52 +00:00
jfieber
0f972c79e7 Add some formatting bug work-arounds. 1996-06-26 03:28:51 +00:00
jkh
4ba2f839d6 Fix another obj-misusage bogon. This will all get revisited for
2.2-release (and this file beaten on with a crowbar, as it so richly
deserves).
1996-06-26 01:24:54 +00:00
jraynard
6f74937c47 New handbook entry on how to use ports, re-written almost completely
from scratch.
1996-06-26 01:18:53 +00:00
ache
cf810b3f44 Make GET request and response parsing HTTP/1.0 compatible 1996-06-25 21:33:18 +00:00
ache
ad8e47de1d Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
wpaul
2da644ce9e Turn on mknetid. 1996-06-25 20:32:30 +00:00
bde
52f97fced3 Added #include of <machine/md_var.h>. This will be needed when
some declarations are moved from <machine/cpufunc.h> to better
places.
1996-06-25 20:31:01 +00:00
wpaul
091efb042f Toss old mknetid script into the attic.
Adjust things slightly to support the new mknetid program.
1996-06-25 20:28:07 +00:00
wpaul
7dc8618317 This commit was generated by cvs2svn to compensate for changes in r16728,
which included commits to RCS files with non-trunk default branches.
1996-06-25 20:26:38 +00:00
wpaul
c1ae6a133e (This import had better work correctly or so help me I'll move to
the Himalayas and become a hermit.)

Import new mknetid program. This replaces the crufty, soon to be defunct
mknetid script packaged with ypserv.

This program parses the group, passwd, hosts and netid databases into
the netid.byname map. Duplicate checking is performed using hash tables.
Testing on my 486DX2/66 with FreeBSD 2.1.0 showed that this program can
process a 30,000-entry passwd database into a netid map (along with
assorted group and hosts information) in about 22 seconds. On my SPARC IPX
with SunOS 4.1.3, it takes about 15 seconds. This compares favorably with
the SunOS mknetid program, which parses the same database(s) in 13 seconds.
(With smaller databases, my program is actually slightly faster. Go
figure.)
1996-06-25 20:26:38 +00:00
bde
b8c2fb8b02 Fixed the `machine' link. It pointed to the wrong place, and was created
too late to be used in all cases.  It should probably be created (early)
in bsd.kmod.mk for all LKMs.

Use cc instead of cpp | as for the same reasons as in the kernel makefile.
CFLAGS isn't split up as well as in the kernel makefile, but cc doesn't
pass compiler warning flags to cpp, so there is no need to split it.
1996-06-25 20:13:12 +00:00
bde
7e76699924 trap.c:
Fixed profiling of system times.  It was pre-4.4Lite and didn't support
statclocks.  System times were too small by a factor of 8.

Handle deferred profiling ticks the 4.4Lite way: use addupc_task() instead
of addupc().  Call addupc_task() directly instead of using the ADDUPC()
macro.

Removed vestigial support for PROFTIMER.

switch.s:
Removed addupc().

resourcevar.h:
Removed ADDUPC() and declarations of addupc().

cpu.h:
Updated a comment.  i386's never were tahoe's, and the deferred profiling
tick became (possibly) multiple ticks in 4.4Lite.

Obtained from:	mostly from NetBSD
1996-06-25 20:02:16 +00:00
bde
dbfc56de28 Save John Polstra's initial fix for profiling for reference. The
multiplication in addupc() overflowed for addresses >= 256K, assuming
the usual profil(2) scale parameter of 0x8000.  addupc() will go away
soon.

Submitted by:	John Polstra <jdp@polstra.com>
1996-06-25 19:25:25 +00:00
jkh
c00ebcfd3f Adjust documentation for 2.1.5 1996-06-25 19:05:49 +00:00
markm
c10a22be12 Add sys/ioctl.h to includes. Shut up a warning. 1996-06-25 18:56:19 +00:00
bde
6eac20a9a6 Fixed comparisons so that preposterously large (>= 0x80000000) brk values
aren't silently converted to minbrk.  This stops malloc(INT_MAX) from
dumping core.  Small values are still silently converted.  They should
be an error.  sbrk() doesn't do any range checking or conversions or
overflow checking.

Moved PIC_EPILOGUE invocation to a more natural place where it
obviously doesn't interfere with the comparison.
1996-06-25 18:54:42 +00:00
jkh
2487d76066 Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
jkh
0bb8679229 The way sendmail.cf is installed here is gross and needs to be totally
redone.  For now, use the objlink target to give it the obj directory
it needs.
1996-06-25 18:05:58 +00:00
sos
a0b7045f41 Change the way moused talk to syscons, now its only delivering mouseevents
via an ioctl (MOUSE_ACTION).
Fixed a couple of bugs (destructive cursor, uncut, jitter).
Now applications can use the mouse via the MOUSE_MODE ioctl, its
possible to have a signal sent on mouseevents, makeing an event loop
in the application take over mouseevents.
1996-06-25 08:54:57 +00:00
jkh
633b7dcb6c Add worm to /usr/share/examples 1996-06-25 08:40:13 +00:00
jkh
f76d01b1ee Handle tabs in INDEX files.
Display full, un-truncated version of description in status line.
1996-06-25 04:28:23 +00:00
alex
d09e992945 Update to reflect new ipfw syntax. 1996-06-25 03:15:17 +00:00
dg
fa4bdc83ba Fixed end condition for clustered reads.
Submitted by:	Kirk McKusick via Lite-2 and email
1996-06-25 03:00:44 +00:00
dyson
39dfca38b2 Limit the scan for preloading pte's to the end of an object. 1996-06-25 00:39:21 +00:00
dyson
980149fcac Fix some serious problems with limits checking in the sbrk(2)/brk(2)
code.
Reviewed by:	bde
1996-06-25 00:36:46 +00:00