jkh [Thu, 20 Jun 1996 18:47:04 +0000 (18:47 +0000)]
Add pre-world and post-world hooks so that people can do site specific
cleanup or preinitializion of /usr/src before and after the world target
is run.
jkh [Thu, 20 Jun 1996 18:33:55 +0000 (18:33 +0000)]
Make pkg_install understand and use libftpio instead of its own
copies of the ftp support routines. Also some cosmetic and minor
bug fixes I've been meaning to incorporate for awhile.
jkh [Thu, 20 Jun 1996 17:17:03 +0000 (17:17 +0000)]
Update net.inet.ip.forwarding example to give right value.
Indicate that gateway in /etc/sysconfig is *really* the correct way
if you have an /etc/sysconfig file. Other small tweaks.
Requested by: Guy Helmer <ghelmer@alpha.dsu.edu>
nate [Thu, 20 Jun 1996 15:41:23 +0000 (15:41 +0000)]
Put the 'debug' messages of the type:
/kernel: in_rtqtimo: adjusted rtq_reallyold to 1066
/kernel: in_rtqtimo: adjusted rtq_reallyold to 710
inside of #ifdef DIAGNOSTIC to avoid the support questions from folks
asking what this means.
jmacd [Thu, 20 Jun 1996 14:13:15 +0000 (14:13 +0000)]
I hate to read a man page that almost has useful information
but falls a little short. I added a comment on the null
termination of struct group's gr_mem field.
nate [Wed, 19 Jun 1996 21:19:56 +0000 (21:19 +0000)]
Don't try to do a 'make bootstrap all install' in one commend. Break it
into two make commands so that make will recognize that it doesn't need
to buid scan.c w/lex.
nate [Wed, 19 Jun 1996 20:48:06 +0000 (20:48 +0000)]
Finish the import and merge in FreeBSD specific changes.
Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.
asami [Wed, 19 Jun 1996 09:33:31 +0000 (09:33 +0000)]
The changes to go with ncftp -> fetch. Besides changing the names,
standardize the variables a little, and simplify some parts because
we can now trust the fetcher's return value.
julian [Wed, 19 Jun 1996 01:50:10 +0000 (01:50 +0000)]
Submitted by: archie@whistle.com
gary went a little overboard on commenting out unused variables.
Variables needed for ISO, LLC and NETATALK
were only enabled for ISO & LLC.. so NETATALK bombed.
nate [Wed, 19 Jun 1996 01:25:37 +0000 (01:25 +0000)]
Enable code that allows the daemon to select a free IRQ from the list if
none is selected. The code was already there but needed to be updated
to use the correct structure element.
jkh [Wed, 19 Jun 1996 01:04:23 +0000 (01:04 +0000)]
Add some unobtrusive changes to handle sources which aren't ports
(SRC_ENCAPSUATION). Stick in some cd ${.CURDIR} directives which have
been (benignly) missing all this time. Allow more types of targets to be
selectively disabled.
nate [Tue, 18 Jun 1996 19:52:30 +0000 (19:52 +0000)]
- Removed dead code (if you need it you can get it out of the
Repository).
- Added some comments, and moved some code around to make flow more
obvious.
dyson [Tue, 18 Jun 1996 05:16:00 +0000 (05:16 +0000)]
Clean-up the new VM map procfs code, and also add support for executable
format file "etype". It contains a description of the binary type for
a process.
bde [Tue, 18 Jun 1996 01:22:40 +0000 (01:22 +0000)]
Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.h
is only used by the icu support modules and by a few drivers that know
too much about the icu (most only use it to convert `n' to `IRQn'). isa.h
is only used by ioconf.c and by a few drivers that know too much about
isa addresses (a few have to, because config is deficient).
jkh [Mon, 17 Jun 1996 23:16:04 +0000 (23:16 +0000)]
Manage control connections a little better for the URL routines.
This will do as a stop-gap until I figure out a more fault-tolerant
way of having deferred closes against the control connection work
without blocking.
wollman [Mon, 17 Jun 1996 19:47:57 +0000 (19:47 +0000)]
This is the `key' program from NRL's IPv6 distribution, heavily
hacked up by me to remove the IPv6 stuff (fow now). I renamed
it `keyadmin' since `key' was already taken by the S/Key calculator.
Its purpose is to act as a command-driven interface to the `PF_KEY'
socket domain, analogously to thefunction of route(8) in the
`PF_ROUTE' domain. This program is believed to be exportable, since
it does no actual cryptography itself.
peter [Mon, 17 Jun 1996 18:52:53 +0000 (18:52 +0000)]
This time, get rid of the struct copies that were really causing gcc to
call memcpy.. It seems that gcc would not inline the implicit call
when copying from a volatile...
wpaul [Mon, 17 Jun 1996 16:54:03 +0000 (16:54 +0000)]
Add a couple of #ifdef DEVFS/#endif clauses to slence the following
compiler warnings which occur if you don't have 'options DEVFS' in
your kernel config file:
../../kern/kern_descrip.c: In function `fildesc_drvinit':
../../kern/kern_descrip.c:1103: warning: unused variable `fd'
../../kern/kern_descrip.c: At top level:
../../kern/kern_descrip.c:1095: warning: `devfs_token_stdin' defined but not use
d
../../kern/kern_descrip.c:1096: warning: `devfs_token_stdout' defined but not us
ed
../../kern/kern_descrip.c:1097: warning: `devfs_token_stderr' defined but not us
ed
../../kern/kern_descrip.c:1098: warning: `devfs_token_fildesc' defined but not u
sed
bde [Mon, 17 Jun 1996 16:47:43 +0000 (16:47 +0000)]
Reduced nesting of #includes in random.h and adjusted isa/random_machdep.c
to match (pc98/random_machdep.c probably requires a similar change). This
is a problem area for the PC98 merge - all PC98 ifdefs in <machine/*.h> are
kludges to work around incorrect layering.
jkh [Mon, 17 Jun 1996 15:28:08 +0000 (15:28 +0000)]
Rethink and reimpliment the way RESTARTS are handled. The method I inheirited
from jmz was a hopeless kludge (sorry Jean-Marc :) and handled the problem
in the wrong way. ftpRestart() has now gone away and ftpGet() has grown a
new parameter.
bde [Mon, 17 Jun 1996 14:43:54 +0000 (14:43 +0000)]
Moved initialization of defaults for the label for the whole disk from
disklabel(8) to the kernel (dsopen()). Drivers should initialize the
hardware values (rpm, interleave, skews). Drivers currently don't do
this, but it usually doesn't matter since rotational position stuff is
normally disabled.
bde [Mon, 17 Jun 1996 14:23:39 +0000 (14:23 +0000)]
Added support for TIOCDCDTIMESTAMP (enable/get timestamp of last DCD rise).
Original version by John Hay.
Simplified timestamp code by reading the time exactly when necessary.
This may slow down the interrupt handler with extra calls to microtime(),
but only in bad configurations - the input fifo should normally be
disabled if timestamps on input are being used, since otherwise the
timestamp won't be precisely associated with any particular input event.
The interrupt handler remains slowed down by one test and branch for
each input (and now DCD change) event - avoiding this is not practical
yet.
The simplifications also fixed:
- timestamps for input sometimes being clobbered by output and modem
status interrupts.
- valid timestamps not being available unless the port is configured with
vector siointrts. siointrts no longer exists.
- compiler warnings about siointr* in some configurations.
Simplified timestamp and probe code by depending on recent changes in
microtime() and DELAY() to preserve the interrupt enable flag.
bde [Mon, 17 Jun 1996 12:50:22 +0000 (12:50 +0000)]
In getit(), use read_eflags()/write_eflags() to preserve the interrupt
enable flag instead of enable_intr() to restore it to its usual state.
getit() is only called from DELAY() so there is no point in optimising
its speed (this wasn't so clear when it was extern), and using
enable_intr() made it inconvenient to call DELAY() from probes that need
to run with interrupts disabled.
bde [Mon, 17 Jun 1996 12:43:04 +0000 (12:43 +0000)]
In microtime(), use pushfl/popfl to preserve the interrupt enable flag
instead of sti to it restore to its usual state. pushfl/popfl is
actually faster in protected mode on Pentiums (4+3 cycles instead of 9),
and using sti made it extremely inconvenient to call microtime() from
fast interrupt handlers. pushfl/popfl is a couple of cycles slower than
sti on 486's and a couple more cycles slower on 386's, but the relative
cost of using it is not large since microtime() has to use slow i/o
instructions on the old cpus.
jkh [Mon, 17 Jun 1996 12:42:33 +0000 (12:42 +0000)]
Add a feature: If the environment variable FTP_PASSIVE_MODE is defined
(the convention as established by pkg_install(1)), select passive mode
FTP automatically.