Commit Graph

14610 Commits

Author SHA1 Message Date
Jordan K. Hubbard
fdc0e7826c Document shortcuts.
Fix a bug which prevented variables from working properly
1996-07-02 10:57:58 +00:00
Jordan K. Hubbard
9accf5ed92 Add an extra /etc/hosts entry per advice of Joerg. 1996-07-02 09:12:34 +00:00
Gary Clark II
d7583666a0 Make a small change to make a passage sound better. 1996-07-02 08:42:03 +00:00
John Dyson
a6e6bcc5f4 Properly set the PG_MAPPED and PG_WRITEABLE flags. This fixes some potential
problems with vm_map_remove/vm_map_delete.
1996-07-02 02:08:02 +00:00
Jean-Marc Zucconi
144e75837e Use read(fileno(fp), ...) instead of fread(..., fp) to avoid buffered input. 1996-07-02 01:49:47 +00:00
John Dyson
c6c4b08e59 Fix a serious problem, with a window where an object lock is needed,
but not there.  The extent of the object lock is expanded to be over the
range that it is needed.  Additionally, clean up the code so that it conforms
to better coding style.
1996-07-02 01:40:52 +00:00
Jordan K. Hubbard
73410b698a Round out the examples a little better in showing custom buttons in operation
more than once.
1996-07-02 01:03:56 +00:00
Jordan K. Hubbard
3b307053cb Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
Alexander Langer
f8cc1596e7 Correct definition of 'established' keyword. 1996-07-02 00:29:22 +00:00
Jordan K. Hubbard
c4d74c02f2 Put back the $PWD override behavior of revision 1.4. The concensus
*seems* to be that it was the right thing to do.
1996-07-01 22:55:57 +00:00
Jordan K. Hubbard
1b83dffc37 Update the commiter list.
Suggested-By: wosch
1996-07-01 22:04:18 +00:00
Gary Palmer
1e3ae6e45f Add ctm_dequeue to the SUBDIR list now that I've checked that it
compiles cleanly on 2.2
1996-07-01 21:59:22 +00:00
Ollivier Robert
d5019c50bf Fix PR doc/1360 by replacing the '_' in <htmlurl>...</htmlurl> with the
proper &lowbar; entity.

Both the LaTeX and HTML output are good now.

Please someone close doc/1360.
1996-07-01 21:30:28 +00:00
Ollivier Robert
cb4a54c743 Update the "CD-ROM not configured" question.
"It would be good to point out that a machine that only has SCSI devices
may also generate this message if an IDE CD-ROM is not configured as
the Master device. Words like these might work ..."

        This generally means that there is no CDROM in the CDROM drive,
        or the drive is not visible on the bus. Feed the drive
        something, and/or check it's master/slave status.

Submitted by:	Neil Smith <ngs@sesame.hensa.ac.uk> with a small addition
1996-07-01 21:07:49 +00:00
Gary Palmer
a58791467b Add a facility for a `slow'' CTM delta queue, allowing x' number
of delta's to be mailed out every hour (or however often you schedule
the cron job).

ctm_dequeue is the cron job which takes the stuff from the
queue directory and punts it into sendmail. The chunks of
the deltas (and the complete deltas if they are that small)
are sorted into order before being dispatched, so the people
subscribing should still get the bits in the right order.

The changes to ctm_smail should be fairly safe as they won't be
activated unless you go for the new queue directory option.
1996-07-01 20:54:11 +00:00
Bruce Evans
f6b4ae3c82 Added or restored #include of <machine/md_var.h>. Some declarations
moved from <machine/cpufunc.h> to better places.
1996-07-01 20:29:10 +00:00
Bruce Evans
7baccf64d3 Fixed lots of warnings about unportable casts of pointers to volatile
variables: don't depend on the compiler generating atomic code to set
the variables - use inline asm to specify the atomic instruction(s)
explicitly.
1996-07-01 20:16:10 +00:00
Søren Schmidt
7e5d90a0d7 Norwegian iso keyboard definition file added.
Submitted by:	"Åge Røbekk" <aagero@aage.priv.no>
1996-07-01 19:56:56 +00:00
Guido van Rooij
79a1b8d9e2 Implement incremental passwd database updates. This is done by ading a '-u'
option to pwd_mkdb and adding this option to utilities invoking it.
Further, the filling of both the secure and insecure databases has been
merged into one loop giving also a performance improvemnet.
Note that I did *not* change the adduser command. I don't read perl
(it is a write only language anyway).
The change will drastically improve performance for passwd and
friends with large passwd files. Vipw's performance won't change.
In order to do that some kind of diff should be made between the
old and new master.passwd and depending the amount of changes, an
incremental or complete update of the databases should be agreed
upon.
1996-07-01 19:38:50 +00:00
Bruce Evans
a111a7f827 Moved declarations of non-cpu things from <machine/cpufunc.h> to better
places.
1996-07-01 18:12:24 +00:00
Bruce Evans
d2700ee639 Use the standard timer (interrupt) frequency while calibrating the clocks.
Testing with the high frequency of 20000 Hz (to find problems) only found
the problem that this frequency is too high for slow i386's.

Disable interrupts while setting the timer frequency.  This was unnecessary
before rev.1.57 and forgotten in rev.1.57.  The critical (i8254) interrupts
are disabled in another way at boot time but not in the sysctl to change
the frequency.
1996-07-01 18:00:47 +00:00
Bruce Evans
f441029838 Updated boot message. 1996-07-01 16:32:09 +00:00
Jordan K. Hubbard
c0d7154920 Whups! Missed a ${.OBJDIR} here. 1996-07-01 06:34:27 +00:00
Jordan K. Hubbard
caf93ef534 Add make to the bootstrap targets (I thought I committed this 3 days ago -
sheesh!).
1996-07-01 06:13:31 +00:00
Jordan K. Hubbard
3fab4a4b2a Try to encourage people to read the hardware guide a little more. 1996-07-01 02:48:42 +00:00
Jordan K. Hubbard
167715a672 Fix last mod date. 1996-07-01 02:43:43 +00:00
Jordan K. Hubbard
68e00b9233 Fix the ordering dependency I broke. 1996-06-30 22:16:19 +00:00
Wolfram Schneider
3eacc3d7fd fix: debug flag 'test' cause endless loop
document debug flags

close PR bin/683
1996-06-30 22:11:51 +00:00
John Dyson
877329e059 Make -current consistant with -stable regarding time that a process
sleeps before being swapped out.  The time is increased from 4 secs to
10 secs.  Originally I had decreased it from 20 to 4, but that is a bit
severe.  20 is too long though.
1996-06-30 21:16:18 +00:00
Alexander Langer
ef1b941ad5 If ipfw is enabled, display packet/byte counters for reject/deny rules
that have changed since the last security check.

Make the spacing between sections more consistent.
1996-06-30 19:35:20 +00:00
Poul-Henning Kamp
e67972f57b Update to use modern make meta-variables. Fix the $Id$ both. 1996-06-30 18:02:58 +00:00
Poul-Henning Kamp
6b830c00df Add an appendix with policies and insert the maintainer & contrib
policies there.
1996-06-30 18:01:25 +00:00
Wolfram Schneider
c003550d72 Add section LIMITS 1996-06-30 16:09:51 +00:00
Wolfram Schneider
55fe5cf398 Add a reference to ident(1). 1996-06-30 16:06:44 +00:00
Peter Wemm
80ed784ffa 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 Wemm
06903ddcd5 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
Wolfram Schneider
0309b92baf Add some options which makes lastcomm(1) a better debug tool. 1996-06-30 11:58:20 +00:00
Wolfram Schneider
141f35e88e checklog - extract your commits from commitlogs archive 1996-06-30 11:51:41 +00:00
Joerg Wunsch
6d41a714b2 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 Wunsch
4ac5adf036 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 Wunsch
c683ac7c95 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 Klemm
3c4beb184c fixed two typos (s/iss/is/) 1996-06-30 08:03:35 +00:00
David Greenman
7c818168d5 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 Wemm
dcca5a532d 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
Alexander Langer
cb380d461d 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 Wemm
0164b6d61b 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
David Greenman
01155bd720 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 Wemm
0cd02d20a1 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
Jordan K. Hubbard
66e36f2fac Update the Lynx version number. 1996-06-29 03:49:39 +00:00
Jordan K. Hubbard
210b37a437 Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00