]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoForgot to resync the RELNOTES to 2.3.5
peter [Tue, 23 Jun 1998 21:41:58 +0000 (21:41 +0000)]
Forgot to resync the RELNOTES to 2.3.5

26 years agoMinor grammar and punctuation cleanup.
ghelmer [Tue, 23 Jun 1998 16:52:59 +0000 (16:52 +0000)]
Minor grammar and punctuation cleanup.
Reference /etc/periodic/daily instead of /etc/crontab.

26 years agolable -> label
hoek [Tue, 23 Jun 1998 05:30:26 +0000 (05:30 +0000)]
lable -> label

26 years agoCross-ref login.conf(5).
hoek [Tue, 23 Jun 1998 04:39:35 +0000 (04:39 +0000)]
Cross-ref login.conf(5).

26 years agoGrammar touch-up.
hoek [Tue, 23 Jun 1998 04:38:50 +0000 (04:38 +0000)]
Grammar touch-up.

26 years agoUse a default blanktime (otherwise it shows up as "NO" in sysinstall's menus).
jkh [Tue, 23 Jun 1998 03:09:26 +0000 (03:09 +0000)]
Use a default blanktime (otherwise it shows up as "NO" in sysinstall's menus).

26 years agoTypo fix.
phk [Mon, 22 Jun 1998 21:09:10 +0000 (21:09 +0000)]
Typo fix.

Reviewed by: phk
Submitted by: John Hay <jhay@mikom.csir.co.za>

26 years agoSync with sys/i386/isa/if_ed.c and npx.c revisions 1.143 and 1.61,
kato [Mon, 22 Jun 1998 08:06:58 +0000 (08:06 +0000)]
Sync with sys/i386/isa/if_ed.c and npx.c revisions 1.143 and 1.61,
respectively.

26 years agoSync with sys/i386/i386/machdep.c revision 1.301.
kato [Mon, 22 Jun 1998 08:05:12 +0000 (08:05 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.301.

26 years agoSync with sys/i386/isa/if_fe.c revision 1.42.
kato [Mon, 22 Jun 1998 08:03:52 +0000 (08:03 +0000)]
Sync with sys/i386/isa/if_fe.c revision 1.42.

26 years agoAdd rc.conf option to set kernel security level and modify "/etc/rc" to
jkoshy [Mon, 22 Jun 1998 06:34:12 +0000 (06:34 +0000)]
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.

26 years agoFixed (?) races in mark_buffer_dirty(). We abuse the buffer cache
bde [Sun, 21 Jun 1998 21:06:04 +0000 (21:06 +0000)]
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.

26 years agoRemoved unused function ll_w_block(). It has always had races due
bde [Sun, 21 Jun 1998 19:56:31 +0000 (19:56 +0000)]
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.

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 18:02:50 +0000 (18:02 +0000)]
Removed unused includes.

26 years agoMake value of SIZE accurate.
dt [Sun, 21 Jun 1998 18:00:34 +0000 (18:00 +0000)]
Make value of SIZE accurate.

Obtained from: ps(1)

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 17:46:53 +0000 (17:46 +0000)]
Removed unused includes.
Ifdefed conditionally used includes.

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 17:08:08 +0000 (17:08 +0000)]
Removed unused includes.
Ifdefed conditionally used includes.

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 16:51:06 +0000 (16:51 +0000)]
Removed unused includes.
Ifdefed conditionally used includes.
Finished rev.1.39.  (I only submitted the request.)

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 15:54:11 +0000 (15:54 +0000)]
Removed unused includes.
Don't depend on "implicit int".

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 15:49:39 +0000 (15:49 +0000)]
Removed unused includes.
Don't depend on "implicit int".
Don't bloat the data section with explicit initialization to 0.

26 years agoRemoved unused includes.
bde [Sun, 21 Jun 1998 14:53:44 +0000 (14:53 +0000)]
Removed unused includes.

26 years agoIfdefed a conditionally used include.
bde [Sun, 21 Jun 1998 14:45:00 +0000 (14:45 +0000)]
Ifdefed a conditionally used include.

26 years agoSince I got no objections to this patch, and no one has offered any
mckay [Sun, 21 Jun 1998 14:22:29 +0000 (14:22 +0000)]
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.

26 years agoRemove bogus comment that teleported in from sys/i386/i386/mp_machdep.c.
mckay [Sun, 21 Jun 1998 14:08:27 +0000 (14:08 +0000)]
Remove bogus comment that teleported in from sys/i386/i386/mp_machdep.c.

26 years agoMoved P1003 options from the middle of the devices section to the
bde [Sun, 21 Jun 1998 13:36:53 +0000 (13:36 +0000)]
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).

26 years agoFixed typo in ifdefed code. (NFS_ACDEBUG is not in LINT. Therefore,
bde [Sun, 21 Jun 1998 12:50:12 +0000 (12:50 +0000)]
Fixed typo in ifdefed code.  (NFS_ACDEBUG is not in LINT.  Therefore,
code controlled by it did not even compile.)

26 years agoAdded a missing options include.
bde [Sun, 21 Jun 1998 12:36:12 +0000 (12:36 +0000)]
Added a missing options include.

26 years agoRound tickadj up. This prevents tickadj from being 0 when HZ > 500,
bde [Sun, 21 Jun 1998 12:22:35 +0000 (12:22 +0000)]
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.

26 years agoConverted add_interrupt_randomness() to take a `void *' arg. Rewrote
bde [Sun, 21 Jun 1998 11:33:32 +0000 (11:33 +0000)]
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).

26 years agoSuggest the use of ``accept dns'', not ``enable dns'' in
brian [Sun, 21 Jun 1998 11:14:50 +0000 (11:14 +0000)]
Suggest the use of ``accept dns'', not ``enable dns'' in
server mode.

26 years agoremove old hack that's no longer needed and now breaks the compile
peter [Sun, 21 Jun 1998 04:47:21 +0000 (04:47 +0000)]
remove old hack that's no longer needed and now breaks the compile

26 years agoSay goodbye to Airport 71
jkh [Sun, 21 Jun 1998 04:46:53 +0000 (04:46 +0000)]
Say goodbye to Airport 71

26 years agoNuke this, it's bogus and out of date.
jkh [Sun, 21 Jun 1998 04:46:04 +0000 (04:46 +0000)]
Nuke this, it's bogus and out of date.
Pointed out by: An anonymous air traffic controller. :)

26 years agoCorrect punctuation.
mph [Sun, 21 Jun 1998 04:33:36 +0000 (04:33 +0000)]
Correct punctuation.

26 years agoMerge 3.2.3 -> 3.2.7 changes into mainline.
peter [Sat, 20 Jun 1998 18:43:25 +0000 (18:43 +0000)]
Merge 3.2.3 -> 3.2.7 changes into mainline.

26 years agoMerge ipfilter 3.2.3 -> 3.2.7 changes onto mainline.
peter [Sat, 20 Jun 1998 18:37:51 +0000 (18:37 +0000)]
Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r37074,
peter [Sat, 20 Jun 1998 18:29:38 +0000 (18:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r37074,
which included commits to RCS files with non-trunk default branches.

26 years agoImport trimmed version of ipfilter 3.2.7.
peter [Sat, 20 Jun 1998 18:29:38 +0000 (18:29 +0000)]
Import trimmed version of ipfilter 3.2.7.

Obtained from:  Darren Reed via http://cheops.anu.edu.au/~avalon/

26 years agoThis commit was generated by cvs2svn to compensate for changes in r37071,
peter [Sat, 20 Jun 1998 18:18:05 +0000 (18:18 +0000)]
This commit was generated by cvs2svn to compensate for changes in r37071,
which included commits to RCS files with non-trunk default branches.

26 years agoImport ipfilter 3.2.7 kernel components
peter [Sat, 20 Jun 1998 18:18:05 +0000 (18:18 +0000)]
Import ipfilter 3.2.7 kernel components

26 years agoImport ipfilter 3.2.7 kernel components
peter [Sat, 20 Jun 1998 18:18:05 +0000 (18:18 +0000)]
Import ipfilter 3.2.7 kernel components

26 years agoMerge ppp 2.3.3 -> 2.3.5 changes onto mainline.
peter [Sat, 20 Jun 1998 18:02:16 +0000 (18:02 +0000)]
Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.

26 years agoZap what appears to be a relic of the older version of zlib. The other
peter [Sat, 20 Jun 1998 16:55:44 +0000 (16:55 +0000)]
Zap what appears to be a relic of the older version of zlib.  The other
maintained mbuf based ppp-deflate.c's have removed this.

26 years agoMissing splx().
peter [Sat, 20 Jun 1998 16:39:35 +0000 (16:39 +0000)]
Missing splx().

26 years agoMerge ppp changes from 2.3.3 -> 2.3.5. I have spotted some more
peter [Sat, 20 Jun 1998 16:28:04 +0000 (16:28 +0000)]
Merge ppp changes from 2.3.3 -> 2.3.5.  I have spotted some more
problems, which I'll have a go at shortly.

26 years agoDo an InitRestartCounter when we get a TerminateReq
brian [Sat, 20 Jun 1998 01:55:28 +0000 (01:55 +0000)]
Do an InitRestartCounter when we get a TerminateReq
in Opened state.....  I have no idea why this never
caused problems in the past - maybe the restart
counter was bogusly initialised somewhere else :-/

26 years agoRe-initialise our timer service after fork()ing
brian [Sat, 20 Jun 1998 01:36:38 +0000 (01:36 +0000)]
Re-initialise our timer service after fork()ing
to lose our terminal session.  Is this a bug in
setitimer() ? - it must be called again in the
child !

26 years agoCreate & use fsm2initial(), a function to bring a
brian [Sat, 20 Jun 1998 00:19:42 +0000 (00:19 +0000)]
Create & use fsm2initial(), a function to bring a
state machine back to ST_INITIAL without going
through any unnecessary TLS/TLF pairs.

26 years agoFix keypad on/off for ^Z suspends by replacing reset_*_mode()
ache [Fri, 19 Jun 1998 16:12:41 +0000 (16:12 +0000)]
Fix keypad on/off for ^Z suspends by replacing reset_*_mode()
from libmytinfo

26 years agoAdd check for non-NULL cur_term
ache [Fri, 19 Jun 1998 16:09:20 +0000 (16:09 +0000)]
Add check for non-NULL cur_term
Add #pragma weak for reset_*_mode() they will be replaced in libncurses

26 years agoFixes per PR 2850:
jkoshy [Fri, 19 Jun 1998 08:34:52 +0000 (08:34 +0000)]
Fixes per PR 2850:
(a) Note that the default securelevel value is -1, in -current and -stable.
(b) Mention kernel sysctl variable that controls securelevel.
(c) Add warning the `fsck' will fail if securelevel >= 2.
(d) Suggest end of /etc/rc as the right place to raise securelevel.

and one spelling fix.

PR: 2850

26 years agoMake sure our recvmsg() is a SCM_RIGHTS message when
brian [Thu, 18 Jun 1998 23:38:04 +0000 (23:38 +0000)]
Make sure our recvmsg() is a SCM_RIGHTS message when
we receive a link from another ppp.

26 years agoDon't assume that all ttys support carrier detect. If we're
brian [Thu, 18 Jun 1998 22:43:18 +0000 (22:43 +0000)]
Don't assume that all ttys support carrier detect.  If we're
passing our controlling terminal, always record our pid so
that the receiving ppp knows who to HUP.

26 years agoELF versions of __warn_references() and __weak_reference(). Note that this
peter [Thu, 18 Jun 1998 18:35:04 +0000 (18:35 +0000)]
ELF versions of __warn_references() and __weak_reference().  Note that this
doesn't work with libc/net/res_stubs.c since gas wants the weak reference
to take place in the same context as the real definition, presumably so
that it can get hold of the symbol typing etc.
However, this doesn't matter for libc/elf since we don't have binaries
that use the old symbol names.

26 years agoConverted isa_strayintr() to take a `void *' arg.
bde [Thu, 18 Jun 1998 16:08:46 +0000 (16:08 +0000)]
Converted isa_strayintr() to take a `void *' arg.

26 years agoChanged the type of an isa/general interrupt handler to take a
bde [Thu, 18 Jun 1998 15:32:09 +0000 (15:32 +0000)]
Changed the type of an isa/general interrupt handler to take a
`void *' arg.  Fixed or hid most of the resulting type mismatches.
Handlers can now be updated locally (except for reworking their
global declarations in isa_device.h).

26 years agoCreate a save TMPDIR using `mktemp -d'.
wosch [Thu, 18 Jun 1998 09:26:22 +0000 (09:26 +0000)]
Create a save TMPDIR using `mktemp -d'.

26 years agopreserve errno across the readlink() calls. There is no value in trashing
peter [Thu, 18 Jun 1998 09:13:16 +0000 (09:13 +0000)]
preserve errno across the readlink() calls.  There is no value in trashing
errno during a successful malloc() call.

26 years agoMention the ``allow users'' command when describing
brian [Thu, 18 Jun 1998 01:24:29 +0000 (01:24 +0000)]
Mention the ``allow users'' command when describing
how to set things up for incoming connections.

26 years agoDon't allow a SIGCHLD to wake up a thread if the process has the default
jb [Wed, 17 Jun 1998 22:29:12 +0000 (22:29 +0000)]
Don't allow a SIGCHLD to wake up a thread if the process has the default
signal handler installed for SIGCHLD. The ACE MT_SOCK_Test was hanging
as the result of being interrupted when it didn't expect to be.

26 years agoRenambed sbintr to sb_intr to avoid a conflict with the (now
bde [Wed, 17 Jun 1998 16:59:30 +0000 (16:59 +0000)]
Renambed sbintr to sb_intr to avoid a conflict with the (now
unconditionally declared although it can't be configured together
with snd) extern function sbintr.

26 years agoDon't depend on <sys/conf.h> declaring isa device structs or isa
bde [Wed, 17 Jun 1998 16:54:22 +0000 (16:54 +0000)]
Don't depend on <sys/conf.h> declaring isa device structs or isa
interrupt handlers.  pcm is not in LINT, so it is hard to test.

26 years agoDelete redundant declaration of lptintr.
kato [Wed, 17 Jun 1998 16:33:14 +0000 (16:33 +0000)]
Delete redundant declaration of lptintr.

26 years agoDeclare bsintr when PC98 is defined.
kato [Wed, 17 Jun 1998 16:32:23 +0000 (16:32 +0000)]
Declare bsintr when PC98 is defined.

26 years agoSync with sys/i386/conf/Makefile.i386 revision 1.114.
kato [Wed, 17 Jun 1998 16:30:53 +0000 (16:30 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.114.

26 years agoSync with sys/i386/i386/machdep.c revision 1.300.
kato [Wed, 17 Jun 1998 16:30:16 +0000 (16:30 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.300.

26 years agoSync with sys/i386/isa/if_ed.c revision 1.142.
kato [Wed, 17 Jun 1998 16:29:27 +0000 (16:29 +0000)]
Sync with sys/i386/isa/if_ed.c revision 1.142.

26 years agoThe isa device configuration hook was especially useless here.
bde [Wed, 17 Jun 1998 15:55:22 +0000 (15:55 +0000)]
The isa device configuration hook was especially useless here.

26 years agoDon't generate declarations for isa device structs in "ioconf.h".
bde [Wed, 17 Jun 1998 15:16:53 +0000 (15:16 +0000)]
Don't generate declarations for isa device structs in "ioconf.h".

Don't generate declarations for isa interrupt handlers at all.
Isa interrupt handlers are now declared in <i386/isa/isa_device.h>
but should be converted take a `void *' arg and staticized as
soon as possible.

Updated CONFIGVERS.  New configs are very incompatible with
previous versions.

26 years agoDon't declare isa device structs or isa interrupt handlers in <sys/conf>,
bde [Wed, 17 Jun 1998 14:58:04 +0000 (14:58 +0000)]
Don't declare isa device structs or isa interrupt handlers in <sys/conf>,
and don't depend on them being declared there.  This will cause lots of
warnings for a few minutes until config is updated.  Interrupt handlers
should never have been configured by config, and the machine generated
declarations get in the way of changing the arg type from int to void *.

26 years agoAdded used include of "ioconf.h" - don't depend on pollution in
bde [Wed, 17 Jun 1998 14:13:15 +0000 (14:13 +0000)]
Added used include of "ioconf.h" - don't depend on pollution in
<sys/conf.h>.  I'm fixing isa interrupt handler configuration and
this is just a quick fix to keep SCSI configuration unharmed.

26 years agoInclude <i386/isa/pnp.h> after including its prerequisite
bde [Wed, 17 Jun 1998 14:01:00 +0000 (14:01 +0000)]
Include <i386/isa/pnp.h> after including its prerequisite
<i386/isa/isa_device.h> - don't depend on pollution in <sys/conf.h>
including the prerequisite earlier.

26 years agoAdded used include of <i386/isa/isa_device.h> - don't depend on
bde [Wed, 17 Jun 1998 13:54:59 +0000 (13:54 +0000)]
Added used include of <i386/isa/isa_device.h> - don't depend on
pollution in <sys/conf.h>

26 years agoRemove reference to non-existent htable(8).
jkoshy [Wed, 17 Jun 1998 13:13:41 +0000 (13:13 +0000)]
Remove reference to non-existent htable(8).

PR: 6940

26 years agoRemove compile time dependency on ARG_MAX.
jkoshy [Wed, 17 Jun 1998 12:58:43 +0000 (12:58 +0000)]
Remove compile time dependency on ARG_MAX.

This fix only removes the dependency on compile time constants.  The code
has other (old) problems that need to be addressed.

PR: 1791
Reviewed-by: bde, tegge
26 years agoFixed a misdeclaration. This unhides type mismatches which will be
bde [Wed, 17 Jun 1998 12:14:55 +0000 (12:14 +0000)]
Fixed a misdeclaration.  This unhides type mismatches which will be
fixed soon.

26 years agoRemove compile time dependency on ARG_MAX.
jkoshy [Wed, 17 Jun 1998 11:33:10 +0000 (11:33 +0000)]
Remove compile time dependency on ARG_MAX.

PR: 1791 (partial)
Reviewed by: Bruce Evans <bde@freebsd.org>, Tor Egge <tegge@freebsd.org>

26 years agoAdded yacc to the bootstrap tools. It is needed very early to
bde [Wed, 17 Jun 1998 09:34:42 +0000 (09:34 +0000)]
Added yacc to the bootstrap tools.  It is needed very early to
build at least compile_et and lex, and although almost any version
of yacc could work, the version in -stable doesn't actually work
with -current makefiles because it doesn't support -o.

Submitted by: Ian Holland <ianh@tortuga.com.au>

26 years agoSync with sys/i386/isa/sio.c revision 1.207.
kato [Wed, 17 Jun 1998 09:27:15 +0000 (09:27 +0000)]
Sync with sys/i386/isa/sio.c revision 1.207.

26 years agoSync with sys/i386/isa/conf/files.i386 revision 1.198.
kato [Wed, 17 Jun 1998 09:26:23 +0000 (09:26 +0000)]
Sync with sys/i386/isa/conf/files.i386 revision 1.198.

26 years agoAdd mention of Intel EtherExpress 16 cards in the supported list.
jkoshy [Wed, 17 Jun 1998 08:33:10 +0000 (08:33 +0000)]
Add mention of Intel EtherExpress 16 cards in the supported list.

Noticed by: Bob Van Valzah <Bob@WhiteBarn.com> on the -doc list.

26 years agoIf a thread is waiting on a child process to complete, the SIGCHLD
jb [Wed, 17 Jun 1998 03:53:16 +0000 (03:53 +0000)]
If a thread is waiting on a child process to complete, the SIGCHLD
signal can arrive before the thread is woken from it's wait4. In this
case, don't return an EINTR, just set the thread state to running and
the wait4 wrapper will loop and get the exit status of the process.

26 years agoo Allow ``set mrru'' or ``set mrru 0'' to disable
brian [Tue, 16 Jun 1998 23:23:57 +0000 (23:23 +0000)]
o Allow ``set mrru'' or ``set mrru 0'' to disable
  multi-link mode.
o Fix a typo in the ``set mrru'' description.

26 years agoChange some log levels. ALERTs are only logged when
brian [Tue, 16 Jun 1998 19:40:42 +0000 (19:40 +0000)]
Change some log levels.  ALERTs are only logged when
something that can't happen happens or when everyone
needs to know.  ERRORs are only logged when something
unexpected happens.

26 years agoDon't bring the modem offline or hangup when ``down lcp''
brian [Tue, 16 Jun 1998 19:40:28 +0000 (19:40 +0000)]
Don't bring the modem offline or hangup when ``down lcp''
is done.  Instead, behave like ``close lcp''.

26 years agoZero mbuf::pnext when Dequeue()ing.
brian [Tue, 16 Jun 1998 19:40:20 +0000 (19:40 +0000)]
Zero mbuf::pnext when Dequeue()ing.

26 years agoBacked out rev.1.183, which had nothing to do with its log message.
bde [Tue, 16 Jun 1998 14:55:27 +0000 (14:55 +0000)]
Backed out rev.1.183, which had nothing to do with its log message.
It was to support a half-baked optimization of certain long long
divisions in gcc-2.8 and/or egcs.  We now avoid these divisions.

26 years agoUse copyout() instead of bcopy() to copy the image to user space.
bde [Tue, 16 Jun 1998 14:36:40 +0000 (14:36 +0000)]
Use copyout() instead of bcopy() to copy the image to user space.
bcopy() caused panics under heavy paging (not quite as suspected -
the kernel stack seemed to get corrupted).

Fixed long lines.

Reviewed by: phk

26 years agoDon't log "unexpected" events on never-opened devices. Events left
bde [Tue, 16 Jun 1998 11:05:59 +0000 (11:05 +0000)]
Don't log "unexpected" events on never-opened devices.  Events left
over from the probe are now expected for incompatible UARTs that
deliver IRQs as a strobe (low) instead of a level (high).

Discard events on going-away devices too.  Endless loops may have
been possible when an active pccard was removed.

26 years agoOnly set the datalink::stayonline flag if we
brian [Tue, 16 Jun 1998 07:15:16 +0000 (07:15 +0000)]
Only set the datalink::stayonline flag if we
close/down with CLOSE_LCP when our state is
DATALINK_READY or higher.

26 years agoo Don't dump core with ~m in term mode.
brian [Tue, 16 Jun 1998 07:15:11 +0000 (07:15 +0000)]
o Don't dump core with ~m in term mode.
o Always put a '\r' before a '\n' at the end of a line
  in prompt_vPrintf() in term mode, and make prompt_Printf()
  use prompt_vPrintf().
o Fix ~? message.

26 years agoo De-staticise things that don't need to be static.
brian [Mon, 15 Jun 1998 19:06:58 +0000 (19:06 +0000)]
o De-staticise things that don't need to be static.
o Bring the static ``ttystate'' into struct prompt so that
  the tilde context is per prompt and not global.
o Comment the remaining static variables so that it's
  clear why they're static.
o Add some XXX comments suggesting that our interface list
  and our hostname should be re-generated after a signal
  (say SIGUSR1) so that a machine with PCCARDs has a chance.

26 years agoFix a rather nasty use of `static'. This caused a SEGV
brian [Mon, 15 Jun 1998 19:06:25 +0000 (19:06 +0000)]
Fix a rather nasty use of `static'.  This caused a SEGV
when running ``link * load label'' as we ended up recursing
back into command_Interpret after nuking our command arg list.

26 years agoGive ``load'' optional context. It's now possible to
brian [Mon, 15 Jun 1998 19:05:51 +0000 (19:05 +0000)]
Give ``load'' optional context.  It's now possible to
``link 1,2,3 load label'' for people that want to set
up their links in a more mpd-like manner.

26 years agoMake `close lcp' just close the LCP layer and not hangup. This is
brian [Mon, 15 Jun 1998 19:05:27 +0000 (19:05 +0000)]
Make `close lcp' just close the LCP layer and not hangup.  This is
useful for slirp users that wish to get their shell back after the
ppp session.  `close' with no args still hangs up as expected.
Required by: jmz

26 years agoUpdated entry for Xircom CreditCard Modem
nate [Mon, 15 Jun 1998 17:51:03 +0000 (17:51 +0000)]
Updated entry for Xircom CreditCard Modem

Submitted by: "Mike Del" <repenting@hotmail.com>

26 years agoOops, the previous commit missed one line of code.
joerg [Mon, 15 Jun 1998 15:43:13 +0000 (15:43 +0000)]
Oops, the previous commit missed one line of code.

26 years agoWatch out for null hostnames in netgroup entries, to avoid dumping core.
joerg [Mon, 15 Jun 1998 15:41:41 +0000 (15:41 +0000)]
Watch out for null hostnames in netgroup entries, to avoid dumping core.
This happens if someone tries to export to a netgroup like:

mygroup (,,mynisdomain)

26 years agoSync with sys/i386/isa/syscons.c revision 1.263.
kato [Mon, 15 Jun 1998 13:06:33 +0000 (13:06 +0000)]
Sync with sys/i386/isa/syscons.c revision 1.263.

26 years agoCorrect use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correct
charnier [Mon, 15 Jun 1998 07:12:20 +0000 (07:12 +0000)]
Correct use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correct
formatting of rcsid. Remove unused #includes. Do not use memory after
freeing it.