Commit Graph

531 Commits

Author SHA1 Message Date
Peter Wemm
65219883c8 Add #include <vm/pmap.h> in order to make savecore compile again after the
last round of <vm/*.h> include file changes.
1995-12-13 11:36:20 +00:00
Garrett Wollman
ee9a463848 Use a dynamically-sized buffer for SIOCGIFCONF so that `ifconfig -a'
actually retrieves all the information no matter how many interfaces
there are.  (Probably there are other utilities which need similar
modification.)

Submitted by:	Andrew Webster <awebster@dataradio.com>
1995-12-07 19:21:53 +00:00
Joerg Wunsch
8807593b7e Make the default tape device match dump(8). 1995-11-26 16:57:37 +00:00
Peter Wemm
30a2d5501c Connect fsdb to /sbin makefile... 1995-11-24 23:17:58 +00:00
Peter Wemm
e10719ee6a Adjust relative paths in Makefile to ../sbin/fsck and ../../sys/ufs/ffs 1995-11-24 23:12:00 +00:00
Joerg Wunsch
019420a58f Andreas Klemm's patch set for dump(8), with some minor (cosmetic)
changes and one addition by me.

. Use reasonable defaults for the tape drive (/dev/rst0) instead of
  something we actually don't have.

. Add a summary line displaying the alapsed time and the total throughput.

. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
  is the historical protocol, and relying on the $PATH causes a big pain.
  Make it adjustable via an environmental variable though.

Reviewed by:	joerg (for Andreas' part)
Submitted by:	andreas@knobel.gun.de (Andreas Klemm)
1995-11-18 18:00:43 +00:00
Joerg Wunsch
1cc09ccecf Avoid bogus free() of a junk pointer.
Detected by: phkmalloc
Submitted by:	grog@lemis.de (Greg Lehey)
1995-11-17 23:22:34 +00:00
Poul-Henning Kamp
07f16e5324 Make sysctl compile again by removing all the debug stuff. 1995-11-17 16:28:42 +00:00
Dima Ruban
28b2e97b28 If root does not have a password, `init' should not ask to enter it.
otherwise it's not possible to get into single-user mode, if root
does not have password and console insecure.
1995-11-10 07:06:59 +00:00
John Dyson
09329912f8 Mount program for EXT2FS.
Submitted by:	Godmar Back <gback@facility.cs.utah.edu>
1995-11-06 02:21:35 +00:00
Peter Wemm
d4d864ba62 Commit FreeBSD-specific changes. Mainly to do with structure layout
differences that we dont have.
1995-11-03 22:47:24 +00:00
Peter Wemm
fd0348496b This commit was generated by cvs2svn to compensate for changes in r12048,
which included commits to RCS files with non-trunk default branches.
1995-11-03 22:38:54 +00:00
Peter Wemm
39bb6d1ef0 Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl.
Obtained from: NetBSD
1995-11-03 22:38:54 +00:00
Poul-Henning Kamp
77103ea36a Define TRUE & FALSE rather than depending on bogus #includes. 1995-10-29 09:44:09 +00:00
Peter Wemm
185156015b Add a few more heuristics to modload:
1: generate the outfile in /tmp if it's not specified explicitly.
2: if the outfile was implicitly placed in /tmp, automatically remove it.

This means that you can type: modload /lkm/ipfw_mod.o and it'll work, it
wont try and write to /lkm, and it wont leave the (normally) useless
symbol file.

This should not interfere with things like ibcs2 and atapi, which
export some symbols from one LKM to the other by leaving the symbol file.
1995-10-28 17:06:05 +00:00
Peter Wemm
cdf14730ab Make modload calculate a reasonable default entry point name, in light
of the recent changes to bsd.kmod.mk, which enforces that the entry
point be <modname>_mod, unless overridden.

This means that when modloading "/lkm/foo_mod.o", it'll use "foo_mod"
as the default entry point (instead of xxxinit) unless you specify
another via the -e option.
1995-10-28 13:06:11 +00:00
Julian Elischer
09fa32d305 Submitted by: john hay
patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Torsten Blum
0e8bf24b08 fix a reference in "SEE ALSO" (modunload(8) mistakenly references
itself instead of modload(8))
1995-10-26 21:44:11 +00:00
Julian Elischer
cc6a66f20e Reviewed by: julian and jhay@mikom.csir.co.za
Submitted by:	Mike Mitchell, supervisor@alb.asctmd.com

This is a bulk mport of Mike's IPX/SPX protocol stacks and all the
related gunf that goes with it..
it is not guaranteed to work 100% correctly at this time
but as we had several people trying to work on it
I figured it would be better to get it checked in so
they could all get teh same thing to work on..

Mikes been using it for a year or so
but on 2.0

more changes and stuff will be merged in from other developers now that this is in.

Mike Mitchell, Network Engineer
AMTECH Systems Corporation, Technology and Manufacturing
8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000
supervisor@alb.asctmd.com
1995-10-26 20:31:59 +00:00
Nate Williams
01fc1ee969 Convert manpage to -mandoc macros.
Submitted by:	Gary Palmer <gary@palmer.demon.co.uk>

Minor cleanup by me in the English.
1995-10-26 05:36:24 +00:00
Nate Williams
90b430e870 Convert to proper English in the same manner as the sliplogin manpage. 1995-10-26 05:13:54 +00:00
Jordan K. Hubbard
abdec3e35c Fix a silly bug where MAXPATHLEN was subtracted from the string length rather
than the other way around!
Submitted by:	Elmar Bartel <bartel@informatik.tu-muenchen.de>
1995-10-24 13:46:35 +00:00
Andrey A. Chernov
c0fe8534e7 Remove unneeded ctype.h 1995-10-23 23:50:20 +00:00
Andrey A. Chernov
8dcf55a40e Add setlocale LC_CTYPE 1995-10-23 23:36:55 +00:00
Ugen J.S. Antsilevich
7934237885 Support all the tcpflag options in firewall.
Add reading options from file, now ipfw <filename> will
read commands string after string from file , form of strings
same as command line interface.
1995-10-23 03:58:06 +00:00
Joerg Wunsch
d16b647e7f Totally revamp the man page, update to the state of affairs.
Make a link from boot_${ARCH}.8 to boot.8, so people will get what
they expect when asking "man boot".

I think David will lynch me when i'm requesting this to go into 2.1... :-)
1995-10-07 12:05:00 +00:00
Jordan K. Hubbard
9e8433e6e0 This upgrades the driver for Cronyx-Sigma multiplexor boards
from version 1.2 to version 1.9.
Submitted by:	Serge Vakulenko, <vak@cronyx.ru>
1995-10-04 22:24:16 +00:00
Bruce Evans
7d2c66ed67 Fix $Id$. 1995-10-03 15:11:11 +00:00
Julian Elischer
ba3551df6e remove the calls to DIOCWLABEL, as it isn't supported any more
and the error message confuses the user.
(just commented out foe now)
1995-10-03 11:12:50 +00:00
Ugen J.S. Antsilevich
5a9bab798e Support IP Option smatching in grammar and listing.
TcpSyn option removed and will be shortly repoaced by support of all
TCP Flags including syn and ack...
1995-10-01 21:54:05 +00:00
Mark Murray
26e19bc736 As init/Makefile now 'knows' how to build secure code if necessary, clean
out the .if (<building secure>) / .endif
1995-10-01 15:15:09 +00:00
Mark Murray
090bf93cd1 Make this make work the same way as passwd and xntpd. Here it will allow
secure/sbin/init to be cleaned out, and sbin/Makefile to be tidied up.
1995-10-01 15:12:47 +00:00
Mark Murray
05d2e241d0 Define CRYPTOBJDIR if secure is being built 1995-10-01 15:04:42 +00:00
Peter Wemm
373efd489b Catch the case where the children can die too soon causing wait3()
to return ECHILD, which causes the while loop to run forever.
(eg: when accidently running nfsiod on a slow system with a kernel
 without NFS support...)
Obtained from: NetBSD; Frank van den Linden <frank@struis.fwi.uva.nl>
1995-10-01 03:23:13 +00:00
Joerg Wunsch
a67ac8c6f2 Call the -u UCMD command on exit. The command is called with the
current unit number, and the "new" unit number of -1.  This allows the
script to actually deconfigure the SLIP interface (e.g. by running
"ifconfig delete") which has been impossible previously.

This is most likely a candidate for 2.1, too.
1995-09-29 22:03:13 +00:00
Andrey A. Chernov
f73c1ad4e0 Build secure init if available and allowed 1995-09-29 19:35:10 +00:00
Andrey A. Chernov
05fa416850 Log user name with each info and total connection time elapsed
(for accounting purposes). Log few additional events like dialing
number and connection established. Set speed POSIXly.
1995-09-27 17:15:37 +00:00
Andrey A. Chernov
feb1b301ec Rename PATH_LOCK to PATH_UUCPLOCK 1995-09-23 15:17:32 +00:00
Andrey A. Chernov
c0810b3cbc Use new _PATH_LOCK for lock names 1995-09-20 13:10:50 +00:00
Andrey A. Chernov
89ba97703c From Bruce:
slattach always exited early because fd is not open in acquire_line().

Other (trivial) changes that I've been neglecting for some time:

- Turn off O_NONBLOCK so that `chat' doesn't need to worry about it
  (`chat' actually does worry about it).
- Really set speeds POSIXly :-).  cfsetspeed() isn't POSIX.
- Fix spelling error in comment.
- Gripe about bad programming of doing everything from signal handlers.
  slattach should be written to do everything from the sigsuspend() loop,
  but I don't want to do it :-).

From me:
Use .PATH to find uucplock.c

Submitted by: bde
1995-09-20 12:56:25 +00:00
Andrey A. Chernov
76cb3c7b5d Make uucp-lock optional: -L option 1995-09-20 04:56:09 +00:00
Andrey A. Chernov
1ff1e51f2d Make uucp-locking optional: -L option 1995-09-20 04:53:08 +00:00
Andrey A. Chernov
7fcd7f5dcb Unlock device for redial_cmd, then lock again 1995-09-19 09:07:51 +00:00
Andrey A. Chernov
dbfd470885 Fix uucp locking
Remove unnecesary TIOCSETD
Move SLIO* before startup script call
1995-09-19 03:37:07 +00:00
Andrey A. Chernov
5ab506f0f1 Implement uucp-locking
Cleanup debug/syslog code
1995-09-19 03:27:31 +00:00
Andrey A. Chernov
f24b54a614 Change new -U option to -S to go the same way as startslip. 1995-09-18 14:06:38 +00:00
Andrey A. Chernov
b1d39b7c2a New option: -S #: set SLIP unit number 1995-09-18 14:01:11 +00:00
Andrey A. Chernov
2da5bee280 New options:
-K #: set SLIP keepalive timeout
-O #: set SLIP outfil timeout
-U #: set SLIP unit number
sighup handler now sets tty disc for non-redial case too.
Implement SIGURG handling (from keepalive).
POSIXing speed settings.
1995-09-18 13:33:30 +00:00
Andrey A. Chernov
3cfd1dbc21 Add new options:
-K: set keepalive SLIP timeout
-O: set outfill SLIP timeout
Handle SIGURG from keepalive like SIGHUP now, i.e. reconnect.
Back out background scription change, cause some synchro problems.
1995-09-17 21:47:24 +00:00
Joerg Wunsch
229b772d81 Turn on scsiformat.
reformat.
1995-09-17 12:52:24 +00:00