]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoAvoid passing some more `retval's.
bde [Thu, 20 Nov 1997 18:43:55 +0000 (18:43 +0000)]
Avoid passing some more `retval's.

26 years agoFixed wrong limits for the kernel text in db_numargs(). The
bde [Thu, 20 Nov 1997 18:24:52 +0000 (18:24 +0000)]
Fixed wrong limits for the kernel text in db_numargs().  The
interval [VM_MIN_KERNEL_ADDRESS, etext] was used instead of
[btext, etext).  Added a comment about this being completely
wrong for LKMs.  This only affects interpreting the instructions
after the return to attempt decide the number of args.  The
attempt usually fails anyway.

26 years agoFixed write enabling of the kernel text section. The overlap
bde [Thu, 20 Nov 1997 18:09:36 +0000 (18:09 +0000)]
Fixed write enabling of the kernel text section.  The overlap
checking was mostly wrong at the boundaries.  For the lower limit,
VM_MIN_KERNEL_ADDRESS was used instead of btext and there was an
off-by-(`size' - 1) error.  For the upper limit, &etext was used
instead of etext and there was an off-by-1 error.  The bugs were
harmless because `size' is not too large and some memory is mapped
just beyond the ends.  We still depend on the former to avoid
having to handle the case where the memory range covers the whole
text section, and on the latter to prevent problems when we map
just beyond an end to allow writing an address range that overlaps
the end.

Fixed placement of a nearby comment.

26 years agoDon't allow setting the dump device to any partition except the
bde [Thu, 20 Nov 1997 17:07:21 +0000 (17:07 +0000)]
Don't allow setting the dump device to any partition except the
one traditionally reserved for swap devices.  The restrictions
should now be the same as the ones for dumpsys().  The restriction
on the partition should be removed someday, and dumpsys() shouldn't
repeat all the checks.

26 years agoUse consistent description strings for M_EXT2NODE. This also fixes a
bde [Thu, 20 Nov 1997 16:56:25 +0000 (16:56 +0000)]
Use consistent description strings for M_EXT2NODE.  This also fixes a
spelling error in the unused string.

26 years agoCleaned up revs.1.19-1.21:
bde [Thu, 20 Nov 1997 16:53:23 +0000 (16:53 +0000)]
Cleaned up revs.1.19-1.21:

26 years agoRemoved unused includes.
bde [Thu, 20 Nov 1997 16:36:17 +0000 (16:36 +0000)]
Removed unused includes.

Staticized.

Avoid passing a `retval' to fork1().

Fixed some style bugs.

26 years agoFixed marking of access time for special files and fifos (don't do
bde [Thu, 20 Nov 1997 16:08:56 +0000 (16:08 +0000)]
Fixed marking of access time for special files and fifos (don't do
it if the file system is mounted noatime).  Not fixed: the access
time is marked at the start of a read() and not marked on successful
completion.  I think this should be handled at the vfs level.

Print a better panic message for missing vops.  Don't use printf()
before panic(), since the printf()ed part isn't shown by gdb.
This actually loses a little with the current gdb, since gdb just
prints the fmt arg to panic, so %'s aren't expanded.  gdb should
fetch the full message from the message buffer if possible.

Fixed default vop function for vop_getpages_desc.  It needs to
just return EOPNOTSUPP so that the vnode pager can get the pages
in using a general method.  Panicing broke exec'ing of files on
ext2fs file systems.  ffs works because it doesn't use the default.

Fixed nearby style bugs.

26 years ago- Renamed <pccard/card.h> -> <pccard/cardinfo.h>.
nate [Thu, 20 Nov 1997 15:48:41 +0000 (15:48 +0000)]
- Renamed <pccard/card.h> -> <pccard/cardinfo.h>.

Forgotten by: me
Reminded by: Bruce

26 years agoDon't check for the unlikely case of useconds == 0 here. The kernel
bde [Thu, 20 Nov 1997 15:13:20 +0000 (15:13 +0000)]
Don't check for the unlikely case of useconds == 0 here.  The kernel
checks it.

Fixed a style bug.

26 years agostat() the correct file in execvp() so that the fine tuned errno handling
bde [Thu, 20 Nov 1997 15:09:38 +0000 (15:09 +0000)]
stat() the correct file in execvp() so that the fine tuned errno handling
actually works.

26 years agoAdd const to copyright string. Put sccsid under #if 0/#endif control.
charnier [Thu, 20 Nov 1997 07:26:04 +0000 (07:26 +0000)]
Add const to copyright string. Put sccsid under #if 0/#endif control.

26 years agoUse err(3). exit(-1) -> exit(1).
charnier [Thu, 20 Nov 1997 07:23:44 +0000 (07:23 +0000)]
Use err(3). exit(-1) -> exit(1).

26 years agoCosmetic in error strings. Sort Xrefs. Add usage (with syslog capability).
charnier [Thu, 20 Nov 1997 07:21:55 +0000 (07:21 +0000)]
Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability).

26 years agoRemove sccsid, not present in Lite2.
charnier [Thu, 20 Nov 1997 07:18:07 +0000 (07:18 +0000)]
Remove sccsid, not present in Lite2.

26 years agoDefine MASTER_SITE_SUBDIR and PATCH_SITE_SUBDIR to default to "." so
asami [Thu, 20 Nov 1997 05:33:56 +0000 (05:33 +0000)]
Define MASTER_SITE_SUBDIR and PATCH_SITE_SUBDIR to default to "." so
we won't have double-slashes.

Add support for new port variable MANUAL_PACKAGE_BUILD.  If this is
defined as well as the user variable PACKAGE_BUILDING, the port will
be ignored.  This is used to mark ports that can be built normally
except on a machine that has a lot of conflicting ports (i.e., our
package building machine).

26 years agoAdd new target "checksubdirs". It will warn about any subdirectories that
asami [Thu, 20 Nov 1997 05:31:44 +0000 (05:31 +0000)]
Add new target "checksubdirs".  It will warn about any subdirectories that
are not in the SUBDIR list.  It also knows about the "standard" directories
that are to be ignored ("CVS", "distfiles", etc.).

26 years agoStyle fix.
guido [Wed, 19 Nov 1997 18:57:49 +0000 (18:57 +0000)]
Style fix.
Complaint by: Bruce

26 years ago- Setup a default route (if one is set) when the card is inserted. This
nate [Wed, 19 Nov 1997 18:51:25 +0000 (18:51 +0000)]
- Setup a default route (if one is set) when the card is inserted.  This
  needs to be re-thought, but should work better for 95% of the users.

Stolen from: rc.network

26 years agoSync with sys/i386/isa/pcaudio.c revision 1.38.
kato [Wed, 19 Nov 1997 11:37:06 +0000 (11:37 +0000)]
Sync with sys/i386/isa/pcaudio.c revision 1.38.

26 years agoSync with sys/i386/isa/npx.c revision 1.54.
kato [Wed, 19 Nov 1997 11:36:24 +0000 (11:36 +0000)]
Sync with sys/i386/isa/npx.c revision 1.54.

26 years agoSync with sys/i386/isa/mse.c revision 1.35.
kato [Wed, 19 Nov 1997 11:35:52 +0000 (11:35 +0000)]
Sync with sys/i386/isa/mse.c revision 1.35.

26 years agoSynchronize with sys/i386/isa/clock.c revision 1.104.
kato [Wed, 19 Nov 1997 11:35:22 +0000 (11:35 +0000)]
Synchronize with sys/i386/isa/clock.c revision 1.104.

26 years agoSync with sys/i386/conf/majors.i386 revision up to 1.22.
kato [Wed, 19 Nov 1997 11:34:22 +0000 (11:34 +0000)]
Sync with sys/i386/conf/majors.i386 revision up to 1.22.

26 years ago- Renamed log_1s() to logmsg().
nate [Wed, 19 Nov 1997 02:31:41 +0000 (02:31 +0000)]
- Renamed log_1s() to logmsg().

26 years ago- Include <pccard/cardinfo.h> instead of <pccard/card.h> which was recently
nate [Tue, 18 Nov 1997 21:08:14 +0000 (21:08 +0000)]
- Include <pccard/cardinfo.h> instead of <pccard/card.h> which was recently
  renamed.

26 years ago- Renamed 'card.h' to 'cardinfo.h', to avoid namespace collisions with
nate [Tue, 18 Nov 1997 21:04:01 +0000 (21:04 +0000)]
- Renamed 'card.h' to 'cardinfo.h', to avoid namespace collisions with
  the card.h that config builds.

[ Repository renaming done in the background to save the card.h history ]

26 years agoAllow zero args to "cvs log".
brian [Tue, 18 Nov 1997 19:38:27 +0000 (19:38 +0000)]
Allow zero args to "cvs log".

26 years agoAdd the ``loop'' example to the right file (oops).
brian [Tue, 18 Nov 1997 19:21:47 +0000 (19:21 +0000)]
Add the ``loop'' example to the right file (oops).

26 years agoAdd a loopback example.
brian [Tue, 18 Nov 1997 18:59:57 +0000 (18:59 +0000)]
Add a loopback example.

26 years agoFix interactive mode so that it doesn't require a passwd (again!).
brian [Tue, 18 Nov 1997 18:17:25 +0000 (18:17 +0000)]
Fix interactive mode so that it doesn't require a passwd (again!).

26 years agoRemoved now-unused blocking mode flag.
bde [Tue, 18 Nov 1997 16:37:04 +0000 (16:37 +0000)]
Removed now-unused blocking mode flag.

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 16:36:15 +0000 (16:36 +0000)]
Removed unused #includes.

Fixed gratuitous ANSIisms.

Fixed nonblocking mode.  It was per-device instead of per-file.

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 16:29:53 +0000 (16:29 +0000)]
Removed unused #includes.

Fixed nonblocking mode.  It was per-device instead of per-file.  This
also fixes clobbering of bd_rtout by overloading it to hold a wrong
version of the blocking flag.  I hope nothing depends on the bugs.

26 years agoFixed nonblocking mode. It was per-device instead of per-file.
bde [Tue, 18 Nov 1997 16:13:06 +0000 (16:13 +0000)]
Fixed nonblocking mode.  It was per-device instead of per-file.

26 years agoRemoved unused #includes. Ifdefed a conditionally used #include.
bde [Tue, 18 Nov 1997 16:12:51 +0000 (16:12 +0000)]
Removed unused #includes.  Ifdefed a conditionally used #include.

Fixed nonblocking mode.  It was per-device instead of per-file.

Don't depend on gcc's misfeature of rewriting char args in old-style
function definitions to match wrong prototypes.  Break K&R1 support
to fix this quickly.

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 16:01:15 +0000 (16:01 +0000)]
Removed unused #includes.

Fixed bugs in rev.1.35:
- nonblocking mode was per-device instead of per-file.
- lots of style bugs.

26 years agoBack out revision 1.10. It broke the build of sh, which compiles
jdp [Tue, 18 Nov 1997 15:23:23 +0000 (15:23 +0000)]
Back out revision 1.10.  It broke the build of sh, which compiles
this file with warnx() defined as a macro.

26 years agoStaticized boot().
bde [Tue, 18 Nov 1997 15:16:54 +0000 (15:16 +0000)]
Staticized boot().

26 years agoGet buffer stuff by #including <sys/buf.h> instead of <sys/vnode.h>.
bde [Tue, 18 Nov 1997 15:16:43 +0000 (15:16 +0000)]
Get buffer stuff by #including <sys/buf.h> instead of <sys/vnode.h>.

Staticized boot().

Fixed a gratuitous ANSIism.

26 years agoRemoved an unused #include in the `#ifdef KERNEL' case.
bde [Tue, 18 Nov 1997 15:10:38 +0000 (15:10 +0000)]
Removed an unused #include in the `#ifdef KERNEL' case.

Fixed a comment to match the code.  The code is still wrong
(ffs_checkoverlap() should be staticized and called from a
ddb command).

26 years agoStaticize.
phk [Tue, 18 Nov 1997 15:07:35 +0000 (15:07 +0000)]
Staticize.

26 years agoAdd throughput logging (disabled by default).
brian [Tue, 18 Nov 1997 14:52:08 +0000 (14:52 +0000)]
Add throughput logging (disabled by default).
Use "enable throughput" to see modem & IPCP throughput.
Removed an extraneous prompt()

26 years agoStaticize a few things.
phk [Tue, 18 Nov 1997 14:40:36 +0000 (14:40 +0000)]
Staticize a few things.

26 years agoThere is no ccdread() nor ccdwrite().
phk [Tue, 18 Nov 1997 14:39:04 +0000 (14:39 +0000)]
There is no ccdread() nor ccdwrite().

26 years agounifdef -UEXT2FS
phk [Tue, 18 Nov 1997 14:20:09 +0000 (14:20 +0000)]
unifdef -UEXT2FS

26 years agoGive ext2fs it's own VOP_REMOVE, VOP_LINK, VOP_RENAME, VOP_MKDIR, VOP_RMDIR,
phk [Tue, 18 Nov 1997 14:19:44 +0000 (14:19 +0000)]
Give ext2fs it's own VOP_REMOVE, VOP_LINK, VOP_RENAME, VOP_MKDIR, VOP_RMDIR,
VOP_CREATE, VOP_MKNOD, VOP_SYMLINK and ext2_makeinode().

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 14:14:34 +0000 (14:14 +0000)]
Removed unused #includes.

Police <> vs "" #include style.

26 years agoDon't test for conflicting combinations of PPP_FILTER/BPFILTER here.
bde [Tue, 18 Nov 1997 14:08:51 +0000 (14:08 +0000)]
Don't test for conflicting combinations of PPP_FILTER/BPFILTER here.
Testing in if_ppp.c is good enough.

Added comments about bogus #includes and #defines.

Removed unused #includes.

Don't depend on gcc's misfeature of rewriting short args in old-style
function definitions to match wrong prototypes.  I just changed the
function definition to match the prototype, since this is easy to
verify automatically (it causes no changes in the object code), but
it breaks K&R1 support and doesn't fix the pessimal type.

26 years agoCleaned up PPP_FILTER/NBPFILTER ifdefs.
bde [Tue, 18 Nov 1997 13:52:41 +0000 (13:52 +0000)]
Cleaned up PPP_FILTER/NBPFILTER ifdefs.

Use gettime() instead of microtime() to set if_lastchange for i/o's.
microtime() is probably too expensive.  However, setting if_lastchange
for i/o's may be wrong.

26 years agoUse gettime() instead of assignment from `time'. (`time' is too
bde [Tue, 18 Nov 1997 13:37:56 +0000 (13:37 +0000)]
Use gettime() instead of assignment from `time'.  (`time' is too
volatile to use outside of splclock().  microtime() is probably too
expensive to use for every i/o.  However, setting ifi_lastchange for
every i/o is just wrong according to the comment about ifi_lastchange
in <net/if.h>.  It is set then for atm, fddi and the latest version
of ppp.)

26 years agoRemoved an unused #include.
bde [Tue, 18 Nov 1997 13:03:48 +0000 (13:03 +0000)]
Removed an unused #include.

Fixed a style bug (one of many KNF breakages in vfs_subr.c moved here).

26 years agoGet tty ioctl numbers by #including <sys/ttycom.h> instead of
bde [Tue, 18 Nov 1997 12:59:09 +0000 (12:59 +0000)]
Get tty ioctl numbers by #including <sys/ttycom.h> instead of
<sys/tty.h>.  Don't #include <sys/fcntl.h> (the select -> poll
changes removed all dependencies on it).

26 years agoRemoved an unused #include. Added an unsed #include of <sys/ucred.h>
bde [Tue, 18 Nov 1997 12:52:10 +0000 (12:52 +0000)]
Removed an unused #include.  Added an unsed #include of <sys/ucred.h>
to prepare for not including it in <sys/param.h>.  Moved conditionally
used #includes inside an ifdef.

26 years agoRemoved an unused #include. Ifdefed a conditionally used #include.
bde [Tue, 18 Nov 1997 12:43:41 +0000 (12:43 +0000)]
Removed an unused #include.  Ifdefed a conditionally used #include.

26 years agoRemoved unused #include.
bde [Tue, 18 Nov 1997 12:24:22 +0000 (12:24 +0000)]
Removed unused #include.

26 years agoGet select stuff by including <sys/select.h> instead of <sys/proc.h>,
bde [Tue, 18 Nov 1997 12:21:32 +0000 (12:21 +0000)]
Get select stuff by including <sys/select.h> instead of <sys/proc.h>,
and don't include <sys/fcntl.h>.  (The select -> poll changes replaced
fcntl macros by poll macros.)

Use <machine/*.h> instead of <i386/include/*.h>.

Fail the probe instead of crashing in the unlikely event that malloc()
fails.

26 years agoDon't #include <i386/isa/isa_device.h>. It is now a prerequisite.
bde [Tue, 18 Nov 1997 11:47:04 +0000 (11:47 +0000)]
Don't #include <i386/isa/isa_device.h>.  It is now a prerequisite.

26 years agoRemoved unused #includes.
bde [Tue, 18 Nov 1997 11:45:26 +0000 (11:45 +0000)]
Removed unused #includes.

Fixed #include order.  <i386/isa/isa_device.h> will soon be a prerequisite
for <i386/isa/pnp.h>.  Including both in alphebetical order gets this
right naturally.

26 years agoRemoved an unused #included.
bde [Tue, 18 Nov 1997 11:32:31 +0000 (11:32 +0000)]
Removed an unused #included.

Ifdefed #includes that are not used in the SMP case.

26 years agoGet select stuff by #including <sys/select.h> instead of <sys/proc.h>.
bde [Tue, 18 Nov 1997 11:30:10 +0000 (11:30 +0000)]
Get select stuff by #including <sys/select.h> instead of <sys/proc.h>.

26 years agoRemoved #unused includes.
bde [Tue, 18 Nov 1997 11:16:56 +0000 (11:16 +0000)]
Removed #unused includes.

Added a used #include (don't depend on yet to be fixed namespace pollution).

26 years agoRemoved unused #include of <sys/malloc.h>. This file now uses only
bde [Tue, 18 Nov 1997 11:02:19 +0000 (11:02 +0000)]
Removed unused #include of <sys/malloc.h>.  This file now uses only
zalloc().  Many more cases like this are probably obscured by not
including <vm/zone.h> explicitly (it is spammed into <sys/malloc.h>).

26 years agoRemoved code for the !KERNEL case. It hasn't been maintained for 4
bde [Tue, 18 Nov 1997 10:56:41 +0000 (10:56 +0000)]
Removed code for the !KERNEL case.  It hasn't been maintained for 4
years and gives a "laugh"able number of compile-time errors (see the
comment).  main() just printed the struct sizes.  This can be done
better by compiling with -g and reading off the sizes from the stabs.

Sorted #includes.

Fixed an unsigned vs signed comparison.

26 years agoGet locking stuff by #including <sys/lock.h> instead of <sys/vnode.h>.
bde [Tue, 18 Nov 1997 10:02:40 +0000 (10:02 +0000)]
Get locking stuff by #including <sys/lock.h> instead of <sys/vnode.h>.

26 years agoDon't #include <machine/smp.h> even in the SMP case. Fixed the one
bde [Tue, 18 Nov 1997 09:27:23 +0000 (09:27 +0000)]
Don't #include <machine/smp.h> even in the SMP case.  Fixed the one
place that depended on it.  The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more.  It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.

26 years agoDon't #include <machine/smp.h> even in the SMP case. Fixed the one
bde [Tue, 18 Nov 1997 09:26:50 +0000 (09:26 +0000)]
Don't #include <machine/smp.h> even in the SMP case.  Fixed the one
place that depended on it.  The "bazillion warnings" mentioned in the
log for rev.1.45 apparently aren't a problem any more.  It is hard
to be sure because the SIMPLELOCK_DEBUG option turns off (and breaks)
things in the SMP case.

Don't forward declare structs that are already implicitly forward declared.

Fixed a disordered declaration.

26 years agoRemove the outq error in "show modem".
brian [Tue, 18 Nov 1997 08:49:03 +0000 (08:49 +0000)]
Remove the outq error in "show modem".

26 years agoDon't #include <sys/types.h>. I mistakenly #included it unconditionally
bde [Tue, 18 Nov 1997 08:07:37 +0000 (08:07 +0000)]
Don't #include <sys/types.h>.  I mistakenly #included it unconditionally
to fix some broken application.  Application breakage is now hidden by a
recently introduced wrong #include of <sys/types.h> in <sys/time.h>.
<sys/time.h> is a prerequisite for <sys/resource.h>, so the <sys/types.h>
prereqisite is automatically supplied.

Cast RLIM_INFINITY to the correct (signed) type.

26 years agoDropClient() when read() returns 0 (as it did before).
brian [Tue, 18 Nov 1997 07:33:23 +0000 (07:33 +0000)]
DropClient() when read() returns 0 (as it did before).

26 years agoFixed pedantic syntax errors caused by trailing semicolon in the
bde [Tue, 18 Nov 1997 07:23:40 +0000 (07:23 +0000)]
Fixed pedantic syntax errors caused by trailing semicolon in the
__ELF__ case of the definition of MAKE_SET() and in the PSEUDO_LKM
case of the definition of PSEUDO_SET().

26 years agoFixed pedantic syntax errors caused by the trailing semicolon in the
bde [Tue, 18 Nov 1997 06:48:43 +0000 (06:48 +0000)]
Fixed pedantic syntax errors caused by the trailing semicolon in the
definition of DOMAIN_SET().

26 years agoFix: too many arguments passed to fprintf().
jdp [Tue, 18 Nov 1997 05:56:03 +0000 (05:56 +0000)]
Fix: too many arguments passed to fprintf().

26 years agoFix: too many arguments for format in call to sprintf().
jdp [Tue, 18 Nov 1997 05:53:03 +0000 (05:53 +0000)]
Fix: too many arguments for format in call to sprintf().

26 years agoFix: too many arguments for format string in 4 calls to warnx().
jdp [Tue, 18 Nov 1997 05:45:19 +0000 (05:45 +0000)]
Fix: too many arguments for format string in 4 calls to warnx().

26 years agoFix erroneous format string.
jdp [Tue, 18 Nov 1997 05:34:45 +0000 (05:34 +0000)]
Fix erroneous format string.

26 years agoAdd cross-references to rfork(2).
jdp [Tue, 18 Nov 1997 03:59:30 +0000 (03:59 +0000)]
Add cross-references to rfork(2).

26 years agoAdd missing argument detected by "-Wformat". Make messages more
jdp [Tue, 18 Nov 1997 03:50:25 +0000 (03:50 +0000)]
Add missing argument detected by "-Wformat".  Make messages more
consistent.

26 years agoFix incorrect format string detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:41:51 +0000 (03:41 +0000)]
Fix incorrect format string detected by "-Wformat".

26 years agoAdd missing argument detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:37:45 +0000 (03:37 +0000)]
Add missing argument detected by "-Wformat".

26 years agoDon't generate new prototype files with the extra int retval[] arg at
peter [Tue, 18 Nov 1997 03:34:39 +0000 (03:34 +0000)]
Don't generate new prototype files with the extra int retval[] arg at
the end since pdk deleted them.

Forgotten by: phk

26 years agoAdd missing arguments detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:27:34 +0000 (03:27 +0000)]
Add missing arguments detected by "-Wformat".

26 years agoFix missing arguments detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:22:08 +0000 (03:22 +0000)]
Fix missing arguments detected by "-Wformat".

26 years agoFix two missing arguments detected by "-Wformat".
jdp [Tue, 18 Nov 1997 03:14:53 +0000 (03:14 +0000)]
Fix two missing arguments detected by "-Wformat".

26 years agoAdd Id string.
brian [Tue, 18 Nov 1997 00:22:07 +0000 (00:22 +0000)]
Add Id string.

26 years agoNotice that ppp has closed the connection properly.
brian [Tue, 18 Nov 1997 00:20:29 +0000 (00:20 +0000)]
Notice that ppp has closed the connection properly.
Remove the timeout hack to notice that ppp has closed the connection.
Remove the ``special case'' hacks for "quit" and "bye", as pppctl
now exits immediately when the connection is closed by ppp.
Suggest a secure "set server" line for connecting ppp & pppctl.
Tidy up and correct a few man page typos.

26 years agoAdd and use a DropClient() function for closing the diagnostic port.
brian [Tue, 18 Nov 1997 00:19:34 +0000 (00:19 +0000)]
Add and use a DropClient() function for closing the diagnostic port.
Call DropClient() from Cleanup() too.

26 years agoMake sure you do not get unexpected surprises whena remote file starts with '|'.
guido [Mon, 17 Nov 1997 19:29:16 +0000 (19:29 +0000)]
Make sure you do not get unexpected surprises whena remote file starts with '|'.
Reviewed by: Joerg Wunsch

26 years agoAdd `writeable'
wosch [Mon, 17 Nov 1997 17:59:44 +0000 (17:59 +0000)]
Add `writeable'

26 years agoTypo fix.
alex [Mon, 17 Nov 1997 13:57:40 +0000 (13:57 +0000)]
Typo fix.

PR: 5068
Submitted by: Studded@dal.net

26 years agofix Jonathan Mini's email address per his request
jmg [Mon, 17 Nov 1997 07:58:23 +0000 (07:58 +0000)]
fix Jonathan Mini's email address per his request

26 years agoAdded support for linux sound ioctls:
ahasty [Mon, 17 Nov 1997 04:00:32 +0000 (04:00 +0000)]
Added support for linux sound ioctls:
LINUX_SNDCTL_DSP_GETOPTR
LINUX_SNDCTL_DSP_GETIPTR
LINUX_SNDCTL_DSP_SETTRIGGER
LINUX_SNDCTL_DSP_GETCAPS

With this rev level the linux realaudio player 5 and xquake should work.

26 years agoDon't SetLabel() 'till we've done the SelectSystem(). This
brian [Mon, 17 Nov 1997 01:13:41 +0000 (01:13 +0000)]
Don't SetLabel() 'till we've done the SelectSystem().  This
avoids the situation where we specify label ``x'' on the command
line, and label ``x'' has a ``load y'' command embedded in it.
When the line comes up, we want to use ``x'' from ppp.linkup,
not ``y''.

26 years agoAdd id strings to tun.[ch].
brian [Mon, 17 Nov 1997 00:42:41 +0000 (00:42 +0000)]
Add id strings to tun.[ch].
Don't try to open ppp.secret if we're never going to use it.

26 years agoAbstract data read from and written to the tun device,
brian [Sun, 16 Nov 1997 22:15:11 +0000 (22:15 +0000)]
Abstract data read from and written to the tun device,
allowing for a possible header on the front of all packets.
In OpenBSD, there's a structure containing the address
family here.
If we're building under OpenBSD, set up the ``flags'' part
of struct tuninfo (not there under FreeBSD) so that we config
the interface as POINTOPOINT.
Prefix prototypes with ``extern'' in os.c for consistency.

These changes are cosmetic under FreeBSD, but allow ppp to
build & work under OpenBSD (bar the srandomdev() stuff,
the inclusing of <net/if_var.h> and some Makefile symantecs).

26 years agoDocument the new clear_tmp_enable option in the manpage.
steve [Sun, 16 Nov 1997 15:59:58 +0000 (15:59 +0000)]
Document the new clear_tmp_enable option in the manpage.

Prodded by: max

26 years agoNote in manpage how extraneous output in initialization scripts
steve [Sun, 16 Nov 1997 13:26:03 +0000 (13:26 +0000)]
Note in manpage how extraneous output in initialization scripts
can cause rdist to fail.

PR: bin/4954
Reviewed by: wollman
Submitted by: jhs

26 years agoResurrect a modified version of the /tmp clearing code from rev 1.119.
steve [Sun, 16 Nov 1997 12:52:17 +0000 (12:52 +0000)]
Resurrect a modified version of the /tmp clearing code from rev 1.119.
Enable this by setting clear_tmp_enable in rc.conf to YES.  Beware
there can be serious side-effects of enabling this, so use at you own
risk.

PR: misc/4982, misc/5054

26 years agoDevice # for Jonathan Mini's VESA support.
sos [Sun, 16 Nov 1997 10:02:13 +0000 (10:02 +0000)]
Device # for Jonathan Mini's VESA support.

26 years agoRestore diagnostic fix spammed after merging
ache [Sun, 16 Nov 1997 06:23:29 +0000 (06:23 +0000)]
Restore diagnostic fix spammed after merging