Commit Graph

14934 Commits

Author SHA1 Message Date
peter
9f1398b9db If a local ufs filesystem is mounted "nosuid", dont scan it as part of
the /etc/security setuid checks.  This is useful for things like large
news spool partitions that dont have executables.

Reviewed by: pst
1996-06-30 13:16:21 +00:00
peter
c163b745ad Correct location of tcl components.. They are installed under
/usr/libdata/tcl (created with mkdir -p), not /usr/lib/tcl (empty).
1996-06-30 13:06:50 +00:00
wosch
62393cc570 Add some options which makes lastcomm(1) a better debug tool. 1996-06-30 11:58:20 +00:00
wosch
52547774e6 checklog - extract your commits from commitlogs archive 1996-06-30 11:51:41 +00:00
joerg
d64e78b143 Back out Nate's changes from rev. 1.6; our Perl has not been
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.
1996-06-30 09:47:56 +00:00
joerg
ba8dceea87 Do always create ktrace.out with mode 0600, to prevent it from
accidentally compromising information confidential to the user running
ktrace.
1996-06-30 09:40:44 +00:00
joerg
9aaee64aa6 Enable ktrace by default, accompanied by a small reminder about the
implications (4 KB bloat, slight slowdown of syscalls).

Reviewed by:	freebsd-hackers
1996-06-30 09:39:29 +00:00
andreas
bb42eac6df fixed two typos (s/iss/is/) 1996-06-30 08:03:35 +00:00
dg
fb2af3c036 Fixed a major bug that caused various pmap related panics, hangs, and reboots.
The i386 pmap module uses a special area of kernel virtual memory for mapping
of page tables pages when it needs to modify another process's virtual
address space. It's called the 'alternate page table map'. There is only one
of them and it's expected that only one process will be using it at once and
that the operation is atomic.
When the merged VM/buffer cache was implemented over a year ago, it became
necessary to rundown VM pages at I/O completion. The unfortunate and
unforeseen side effect of this is that pmap functions are now called at bio
interrupt time. If there happend to be a process using the alternate page
table map when this I/O completion occurred, it was possible for a different
process's address space to be switched into the alternate page table map -
leaving the current pmap process with the wrong address space mapped when
the interrupt completed. This resulted in BAD things happening like pages
being mapped or removed from the wrong address space, etc.. Since a very
common case of a process modifying another process's address space is during
fork when the kernel stack is inserted, one of the most common manifestations
of this bug was the kernel stack not being mapped properly, resulting in a
silent hang or reboot. This made it VERY difficult to troubleshoot this bug
(I've been trying to figure out the cause of this for >6 months). Fortunately,
the set of conditions that must be true before this problem occurs is
sufficiently rare enough that most people never saw the bug occur. As I/O
rates increase, however, so does the frequency of the crashes. This problem
used to kill wcarchive about every 10 days, but in more recent times when
the traffic exceeded >100GB/day, the machine could barely manage 6 hours of
uptime.
The fix is to make certain that no process has the pages mapped that are
involved in the I/O, before the I/O is started. The pages are made busy, so
no process will be able to map them, either, until the I/O has finished.
This side-steps the issue by still allowing the pmap functions to be called
at interrupt time, but also assuring that the alternate page table map won't
be switched.
Unfortunately, this appears to not be the only cause of this problem. :-(

Reviewed by:	dyson
1996-06-30 05:17:08 +00:00
peter
f351d26045 Fix typo that prevented the initial/lock state devices from working
correctly (accessing the lock device was not possible).
1996-06-30 04:56:05 +00:00
alex
d6248b1112 Correct command line and port range syntax. Define the 'log' option.
Expand definition of 'established' and 'icmptypes.'  Correct examples
which still used the old syntax.  Add a pointer to the CERT packet
filtering checklist.
1996-06-30 02:46:44 +00:00
peter
94fb710c77 Make %CPU add up closer to 100%.. At least, it now agrees with top.. :-)
Pointed out by: bde
1996-06-29 10:25:31 +00:00
dg
f2cbfe027d Make sure we have an object in the map entry before trying to trim pages
from it.
1996-06-29 09:17:17 +00:00
peter
8facdff20e Fix (I think) the %MEM count in 'ps -u'. It was bogusly taking the
vm_rssize (in pages, not bytes), then dividing (bogusly) by the page size,
then using that as a fraction of the total pages.
1996-06-29 08:04:05 +00:00
jkh
7426e4bbc8 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
974442fb7c Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
alex
f70838ee5e Reject rules which try to mix ports with incompatible protocols. 1996-06-29 03:33:20 +00:00
phk
1cdc53e3f6 Make cleandirs more safe
Suggested by:	bde
1996-06-29 03:12:49 +00:00
jkh
d1c5935860 Sync with 2.1-stable (I commited my changes there first by mistake due to
an errant CVS tag file).
1996-06-29 02:53:09 +00:00
jkh
88fec0b679 Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
1996-06-29 02:22:48 +00:00
peter
13f46e603a Add my pgp key.. 1996-06-29 01:52:00 +00:00
alex
48e77be56d Formatting fixes for 'in' and 'out' while listing.
Prevent ALL protocol from being used with port specifications.

Allow 'via' keyword at any point in the options list.  Disallow
multiple 'via' specifications.
1996-06-29 01:28:19 +00:00
alex
f6373b99fb Fix port specification syntax.
Submitted by:	nate
1996-06-29 01:21:07 +00:00
jkh
25480a4425 Document the fact that changes with -c need to be made twice at install
time (once for floppy, once for initial boot).
1996-06-28 22:03:18 +00:00
peter
8a99dad36e Add back missing backslash in SUBDIR list, it got lost when libtcl was
added.  (also align the text block, it looked odd with variable indent)
1996-06-28 12:07:01 +00:00
phk
99973ccc6a Add tclsh to Makefile.
(If you havn't updated your supfile Make world will croak.  CTM is ok)
1996-06-28 05:36:32 +00:00
phk
d13f20cccc Add beforeinstall decent into libtcl 1996-06-28 05:36:00 +00:00
phk
087d2de765 Add libtcl to makefile 1996-06-28 05:35:44 +00:00
smpatel
7507c39021 Added missing prototype for sigaltstack() 1996-06-28 04:27:04 +00:00
jkh
4977bf83a9 Remove code which overrode the opinion of getcwd() with an often bogus
value for $PWD.
1996-06-27 21:59:25 +00:00
nate
9cf0a3d345 Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so
make sure STRIP is defined if you plan on using it.
1996-06-27 21:48:50 +00:00
joerg
e848fcb775 Bump various timeouts in scprobe(). This finally fixes the broken
keyboard reset one of my earlier commits has been causing.
1996-06-27 21:36:11 +00:00
jkh
bfe52c9345 Add Jim Lowe to FreeBSD contributors list - jeeze, was this ever overdue! 1996-06-27 20:52:06 +00:00
jkh
5e293d1c59 Add credit to Calweb for the P6 we used to build packages. 1996-06-27 07:13:45 +00:00
jkh
4ccbf5875d Add 3rd South Africa mirror. 1996-06-27 07:03:44 +00:00
markm
9fda352b09 Add new South African mirror - ftp3. 1996-06-27 06:33:02 +00:00
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