Commit Graph

14866 Commits

Author SHA1 Message Date
gclarkii
e31cd8d813 Make a small change to make a passage sound better. 1996-07-02 08:42:03 +00:00
dyson
b60f2e04c9 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
jmz
64422261a0 Use read(fileno(fp), ...) instead of fread(..., fp) to avoid buffered input. 1996-07-02 01:49:47 +00:00
dyson
66550c3ffb 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
jkh
0e821da241 Round out the examples a little better in showing custom buttons in operation
more than once.
1996-07-02 01:03:56 +00:00
jkh
0b35a3052f Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
alex
911873413d Correct definition of 'established' keyword. 1996-07-02 00:29:22 +00:00
jkh
8d17fabf36 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
jkh
cb335fec1f Update the commiter list.
Suggested-By: wosch
1996-07-01 22:04:18 +00:00
gpalmer
f58ac78ef6 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
roberto
6dbd4c227f 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
roberto
542f60e05d 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
gpalmer
638960af56 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
bde
017c920ce3 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
bde
325165ab60 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
sos
ae8d73b2e4 Norwegian iso keyboard definition file added.
Submitted by:	"Åge Røbekk" <aagero@aage.priv.no>
1996-07-01 19:56:56 +00:00
guido
70bae2bee1 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
bde
9f2f4504f0 Moved declarations of non-cpu things from <machine/cpufunc.h> to better
places.
1996-07-01 18:12:24 +00:00
bde
35ba85a4fd 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
bde
6c28286b4e Updated boot message. 1996-07-01 16:32:09 +00:00
jkh
444085826c Whups! Missed a ${.OBJDIR} here. 1996-07-01 06:34:27 +00:00
jkh
5114792bdd Add make to the bootstrap targets (I thought I committed this 3 days ago -
sheesh!).
1996-07-01 06:13:31 +00:00
jkh
73f2fc7a9b Try to encourage people to read the hardware guide a little more. 1996-07-01 02:48:42 +00:00
jkh
2259763c14 Fix last mod date. 1996-07-01 02:43:43 +00:00
jkh
e834875614 Fix the ordering dependency I broke. 1996-06-30 22:16:19 +00:00
wosch
2025f2a59a fix: debug flag 'test' cause endless loop
document debug flags

close PR bin/683
1996-06-30 22:11:51 +00:00
dyson
477c2d5654 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
alex
652fd8dd7f 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
phk
6f1ef88a92 Update to use modern make meta-variables. Fix the $Id$ both. 1996-06-30 18:02:58 +00:00
phk
fbbce4b758 Add an appendix with policies and insert the maintainer & contrib
policies there.
1996-06-30 18:01:25 +00:00
wosch
c1c553100f Add section LIMITS 1996-06-30 16:09:51 +00:00
wosch
6147912add Add a reference to ident(1). 1996-06-30 16:06:44 +00:00
peter
9b4d02761c 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
1fa1efc979 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
662bf44fe2 Add some options which makes lastcomm(1) a better debug tool. 1996-06-30 11:58:20 +00:00
wosch
fdfd212c01 checklog - extract your commits from commitlogs archive 1996-06-30 11:51:41 +00:00
joerg
547a10923e 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
e6299bb9a7 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
17f10d8a38 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
f333befaa9 fixed two typos (s/iss/is/) 1996-06-30 08:03:35 +00:00
dg
6b8e4c8ac2 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
792c06a513 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
ea00d7543c 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
de937c496c 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
5b37bd13e0 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
70d631930f 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
9a6bae5c15 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
e0a4a16767 Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
alex
ee1f52e852 Reject rules which try to mix ports with incompatible protocols. 1996-06-29 03:33:20 +00:00
phk
6d4faa5ec8 Make cleandirs more safe
Suggested by:	bde
1996-06-29 03:12:49 +00:00