Commit Graph

29708 Commits

Author SHA1 Message Date
KATO Takenori
e379d366dd Sync with sys/i386/conf/Makefile.i386 revision 1.115. 1998-06-25 10:49:49 +00:00
Brian Somers
e447648cd8 Fix syntax error from last commit 1998-06-25 06:35:20 +00:00
Joseph Koshy
606acacafa Mention `kern_securelevel' variables in manual page.
Reminded-by: max
1998-06-25 04:27:56 +00:00
John Birrell
ff09ba5fbb Add the missing {} that caused the function to return ESRCH if it
had to wait for the thread to exit and if the caller didn't want the
thread exit status.
1998-06-25 00:04:21 +00:00
Julian Elischer
e2c597dd6a Reviewed by: guido@mouse.gvr.org
Submitted by:	Archie@whistle.com
redo the last patch to allow differentiated kernel logging in
a much better way.
1998-06-24 23:50:20 +00:00
Mike Smith
324bac9ffe Oops, add ppc to the 'tty' imask. 1998-06-24 22:01:32 +00:00
Poul-Henning Kamp
01a88d0e2d When some functions were added to sys/queue.h (1.15, 1.16),
the queue diagram (in comment, showing member functions)
update were slipped.

PR:		7048
Submitted by:	SAWADA Mizuki <miz@qb3.so-net.ne.jp>
1998-06-24 20:51:09 +00:00
Brian Somers
141b3b7817 Oops - forgot these with the last commit. 1998-06-24 19:36:37 +00:00
Brian Somers
1af29a6e96 o If we come out of select() with only write descriptors that
end up writing zero bytes, sleep for 1/10 of a second so that
  we don't end up using up too much cpu.
  This should only ever happen on systems that wrongly report a
  descriptor as writable despite the tty buffer being full.
  Discussed with: Jeff Evarts

o Do an initial run-time check to see if select() alters the passed
  timeval.  This knowledge isn't yet used, but will be soon.
1998-06-24 19:33:36 +00:00
Eivind Eklund
1fcddf2eea Fix race condition for creation of vnode_if.c and vnode_if.h.
Exact problem pointed out by: Cyrus Rahman <cr@jcmax.com>
1998-06-24 13:55:32 +00:00
KATO Takenori
6aa96b0f62 Sync with sys/i386/isa/syscons.c revision 1.264. 1998-06-24 13:37:50 +00:00
KATO Takenori
d035c1e702 Sync with sys/i386/isa/syscons.c revision 1.208. 1998-06-24 13:37:23 +00:00
Dmitrij Tejblum
0d8778c56e Insert a missing newline. 1998-06-24 13:30:25 +00:00
Kazutaka YOKOTA
bf41934ccb Don't refer to mouse_info.u.datea.[xyz] while processing MOUSE_BUTTON_EVENT
ioctl.  These fields don't have valid values for this ioctl.
PR: kern/6928
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1998-06-24 10:21:30 +00:00
Poul-Henning Kamp
e29bc9add4 Avoid some panics in sio_unload which gets called with various dirt
if the attach of a modem card failed.
1998-06-24 09:23:32 +00:00
Brian Somers
0579bd7175 Add CUSEEME support. This has *not* been tested, nor
could I find anyone to test it, so please report any
problems to me.
1998-06-24 06:58:00 +00:00
Brian Somers
7fbcb4ce39 Clean the crunchgen targets after creating the crunch binary.
This *should* avoid the -DRELEASE_CRUNCH polution that's
mis-building user-ppp.
1998-06-24 06:55:18 +00:00
Jordan K. Hubbard
c02085735c MF22: more explanatory message from config on version mismatch detection. 1998-06-24 06:16:32 +00:00
Peter Wemm
7288c50357 Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth) 1998-06-23 21:58:41 +00:00
Peter Wemm
05f5bac14a Forgot to resync the RELNOTES to 2.3.5 1998-06-23 21:41:58 +00:00
Guy Helmer
e063c51e70 Minor grammar and punctuation cleanup.
Reference /etc/periodic/daily instead of /etc/crontab.
1998-06-23 16:52:59 +00:00
Tim Vanderhoek
d83e0741d6 lable -> label 1998-06-23 05:30:26 +00:00
Tim Vanderhoek
6ee19f6623 Cross-ref login.conf(5). 1998-06-23 04:39:35 +00:00
Tim Vanderhoek
edac0054b0 Grammar touch-up. 1998-06-23 04:38:50 +00:00
Jordan K. Hubbard
a022a6fe56 Use a default blanktime (otherwise it shows up as "NO" in sysinstall's menus). 1998-06-23 03:09:26 +00:00
Poul-Henning Kamp
96563a5b55 Typo fix.
Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1998-06-22 21:09:10 +00:00
KATO Takenori
986ecdf316 Sync with sys/i386/isa/if_ed.c and npx.c revisions 1.143 and 1.61,
respectively.
1998-06-22 08:06:58 +00:00
KATO Takenori
b0eb6f6a10 Sync with sys/i386/i386/machdep.c revision 1.301. 1998-06-22 08:05:12 +00:00
KATO Takenori
76ed357a00 Sync with sys/i386/isa/if_fe.c revision 1.42. 1998-06-22 08:03:52 +00:00
Joseph Koshy
f3df0653bf Add rc.conf option to set kernel security level and modify "/etc/rc" to
use this.

Requested by: max, andreas

Note: This change just provides a convenient way to exercise existing
functionality.  Whether `kern.securelevel' is effective in increasing
system security is another issue, and one that has been well thrashed
out in the lists.
1998-06-22 06:34:12 +00:00
Bruce Evans
add4ae9324 Fixed (?) races in mark_buffer_dirty(). We abuse the buffer cache
by hacking on locked buffers without getblk()ing them, and we didn't
even use splbio() to prevent biodone() changing the buffer underneath
use when a write completes.  I think there was no problem in practice
on i386's because the operations on b_flags and numdirtybufs happen to
be atomic.  We still depend on biodone()'s operations on b_flags not
interfering with ours.  I think there is only interference for B_ERROR,
and this is harmless because errors for async writes are ignored anyway.

Don't use mark_buffer_dirty() except for superblock-related metadata.
It was used in just one case where ordinary BSD buffering is more
natural.
1998-06-21 21:06:04 +00:00
Bruce Evans
9b7a8fb7d8 Removed unused function ll_w_block(). It has always had races due
to not using splbio(), and has rotted a little.  The races were
probably harmless in practice because this function was only used
for superblock updates, and separate superblock updates are probably
prevented from running into each other by doing part of the update
synchronously.
1998-06-21 19:56:31 +00:00
Bruce Evans
be160d60ab Removed unused includes. 1998-06-21 18:02:50 +00:00
Dmitrij Tejblum
8fbaa58a29 Make value of SIZE accurate.
Obtained from:	ps(1)
1998-06-21 18:00:34 +00:00
Bruce Evans
b391e5cdc4 Removed unused includes.
Ifdefed conditionally used includes.
1998-06-21 17:46:53 +00:00
Bruce Evans
86ef30b746 Removed unused includes.
Ifdefed conditionally used includes.
1998-06-21 17:08:08 +00:00
Bruce Evans
2d7fa8d877 Removed unused includes.
Ifdefed conditionally used includes.
Finished rev.1.39.  (I only submitted the request.)
1998-06-21 16:51:06 +00:00
Bruce Evans
4d2540b074 Removed unused includes.
Don't depend on "implicit int".
1998-06-21 15:54:11 +00:00
Bruce Evans
2773aa0ef6 Removed unused includes.
Don't depend on "implicit int".
Don't bloat the data section with explicit initialization to 0.
1998-06-21 15:49:39 +00:00
Bruce Evans
e5b19842ef Removed unused includes. 1998-06-21 14:53:44 +00:00
Bruce Evans
71a5654a7b Ifdefed a conditionally used include. 1998-06-21 14:45:00 +00:00
Stephen McKay
1188f66af7 Since I got no objections to this patch, and no one has offered any
alternative, I present .. ta! da! .. the __error() hack.

This patch to the a.out dynamic loader provides old a.out binaries
with __error() if they are linked with an older libc that lacks it,
but are also linked against a library that needs it.

There is a smaller, tricker hack that takes advantage of the fact
that ld.so has __error() too, courtesy of the new libc, but this
hack is the straightforward version.
1998-06-21 14:22:29 +00:00
Stephen McKay
3006f10bdb Remove bogus comment that teleported in from sys/i386/i386/mp_machdep.c. 1998-06-21 14:08:27 +00:00
Bruce Evans
abc97a0611 Moved P1003 options from the middle of the devices section to the
end of the main options section.

Turned on documented option OVERRIDE_TUNER.  LINT is primarily
for turning on options, not for documenting them.

Don't list IPFILTER twice (once as broken).
1998-06-21 13:36:53 +00:00
Bruce Evans
29c0cb37eb Fixed typo in ifdefed code. (NFS_ACDEBUG is not in LINT. Therefore,
code controlled by it did not even compile.)
1998-06-21 12:50:12 +00:00
Bruce Evans
4344f492c4 Added a missing options include. 1998-06-21 12:36:12 +00:00
Bruce Evans
df471779ea Round tickadj up. This prevents tickadj from being 0 when HZ > 500,
which makes adjtime(2) useless and confuses xntpd(8) into refusing
to start even when it would use the kernel PLL instead of adjtime().
The result is the same as recommended by tickadj(8), at least when
HZ divides 10^6.  Of course, you wouldn't want to actually use
adjtime() when HZ is large.  In the silly boundary case of HZ == 10^6,
tickadj == tick == 1 so the clock stops while adjtime() is active.
1998-06-21 12:22:35 +00:00
Bruce Evans
316bbd5c6f Converted add_interrupt_randomness() to take a `void *' arg. Rewrote
mmioctl() to fix hundreds of style bugs and a few error handling bugs
(don't check for superuser privilege for inappropriate ioctls, don't
check the input arg for the output-only MEM_RETURNIRQ ioctl, and don't
return EPERM for null changes).
1998-06-21 11:33:32 +00:00
Brian Somers
8901e74902 Suggest the use of `accept dns'', not `enable dns'' in
server mode.
1998-06-21 11:14:50 +00:00
Peter Wemm
0e40275a28 remove old hack that's no longer needed and now breaks the compile 1998-06-21 04:47:21 +00:00