Commit Graph

7442 Commits

Author SHA1 Message Date
Bill Paul
e868bdd2a0 Add ethers(5) man page. 1995-04-12 22:16:08 +00:00
Poul-Henning Kamp
e5f2c8f67e Add "BREAK_TO_DEBUGGER" option. 1995-04-12 22:02:51 +00:00
Poul-Henning Kamp
04a6a5a9ac ttsetcompat is a '#ifdef COMPAT_43' feature.
Dropping into the debugger when a break comes down the serial line is a
>MISFEATURE (1st class)< and has been put under it's own #ifdef.  This
should be a magic sequence of chars instead.
1995-04-12 22:00:41 +00:00
Poul-Henning Kamp
15587f8eaf added a missing '; \' 1995-04-12 21:13:08 +00:00
Garrett Wollman
6c0081e92b Add a class field to devconf and mst drivers.
For those where it was easy, drivers were also fixed to call
dev_attach() during probe rather than attach (in keeping with the
new design articulated in a mail message five months ago).  For
a few that were really easy, correct state tracking was added as well.
The `fd' driver was fixed to correctly fill in the description.
The CPU identify code was fixed to attach a `cpu' device.  The code
was also massively reordered to fill in cpu_model with somethingremotely
resembling what identifycpu() prints out.  A few bytes saved by using
%b to format the features list rather than lots of ifs.
1995-04-12 20:48:13 +00:00
Martin Renters
fd7e139eed Break netboot into device specific versions.
nb8390.[cr]om for NS8390 boards (if_ed driver)
nb3c509.[cr]om for 3c509 boards (if_ep driver)

Submitted by:	Serge Babkin (babkin@hq.icb.chel.su)  [3c509 support]
1995-04-12 20:15:33 +00:00
Andrey A. Chernov
f8cb57f574 Don't set -or0s (timeout 0) for possible network MAILTO 1995-04-12 19:28:30 +00:00
Andrey A. Chernov
4f7ac4bd57 Add some useful sendmail options 1995-04-12 19:21:43 +00:00
Andrey A. Chernov
4c256f710e Fix home dir cheating 1995-04-12 19:04:26 +00:00
Andrey A. Chernov
1cb37d6325 Close MAILTO security hole 1995-04-12 18:57:37 +00:00
Andrey A. Chernov
5c613ed190 Call gated as /usr/local/sbin/gated instead of possible adding
/usr/local/sbin to rc PATH
1995-04-12 16:58:06 +00:00
Poul-Henning Kamp
895449d220 Add bad144 to fixit floppy.
Remove kernel compile directories.
Put all *[sw]d* devices on floppies
Make more inodes on floppies as function of the above.
1995-04-12 08:00:24 +00:00
Poul-Henning Kamp
d32bd61e78 Improve the if_eg driver a bit in style. It's still by far the worst driver
we have :-/
1995-04-12 07:50:44 +00:00
David Greenman
230620627b Fixed bug I introduced when changing PCB list to use 4.4BSD style queue
macros. Basically, detect 'tp' going away differently.
1995-04-12 06:49:56 +00:00
Andrey A. Chernov
7cccae663d Fix "at" directories owner 1995-04-12 03:02:01 +00:00
Andrey A. Chernov
c70e5825aa Upgrade.
Close security holes reported.
1995-04-12 02:52:21 +00:00
Andrey A. Chernov
b89321a57d Upgrade. 1995-04-12 02:42:39 +00:00
Gary Palmer
fa877a53cb The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
references in the man page.
1995-04-12 00:24:48 +00:00
Joerg Wunsch
c8a2ad770c Fix broken file name globbing. Man is now also able to find pages
like "3DBorder" and "[".  (NB, the "3DBorder" problem has actually
been intention, it allowed for weird section names like "3xyzzy".  We
don't have them, either.)

(Partially) Submitted by:	taob@gate.sinica.edu.tw (Brian Tao)
1995-04-11 22:01:53 +00:00
Joerg Wunsch
bfb50190bb The implementation of rexec() missed the function ruserpass(), so the
link stage fell over for any program that attempted to use rexec().

Ruserpass() remains undocumented; i could not find any documentation
for it on other systems.

Also added a BUGS section to the man page, stating that this function
constitutes a potential security hole (as well as the underlying
"exec" service).

Submitted by:	rgrimes
Originally submitted by: agc@uts.amdahl.com (Alistair G. Crooks)
Obtained from: netbsd-bugs@NetBSD.ORG
1995-04-11 19:52:10 +00:00
Andrey A. Chernov
0af4664a6c Read of a record smaller then request size always fails
Submitted by: edward@edcom.com
1995-04-11 19:09:31 +00:00
Andrey A. Chernov
7970bd101c Fix output field range
Submitted by: edward@edcom.com
1995-04-11 18:50:51 +00:00
Andrey A. Chernov
8889e816b4 Add -r to rm -f /var/spool/uucp/.Temp/* 1995-04-11 18:36:10 +00:00
Andrey A. Chernov
d99adf96e5 Fix link sys call
Submitted by: pritc003@maroon.tc.umn.edu
1995-04-11 18:32:17 +00:00
Andrey A. Chernov
2178b9bb49 Call new ttsetcompat() function for proper working
old v7 ioctls with locking bits.
1995-04-11 17:58:09 +00:00
Andrey A. Chernov
0a247e7d30 Extract "set" family functions to separate module, needed for
locking in sio f.e.
1995-04-11 17:54:25 +00:00
Andrey A. Chernov
bc9685528a Add new ttsetcompat function (from tty_compat) 1995-04-11 17:53:14 +00:00
Nate Williams
65cc5b32c2 Re-enabled cvs now that Rod is satisfied that it will work correctly. 1995-04-11 17:28:26 +00:00
Bruce Evans
2360b9bfc7 Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu>
Fix PR 303: msdosfs: moving a file into another directory causes panic.

" ... the code that does the rename already has the denode
locked when msdosfs_hashins() gets called, resulting in the panic
when the routine attempts to lock the denode again.
...
The attached patch changes the msdosfs_hashins() routine to not lock the
denode.  The caller is now resposible for obtaining the lock instead
of having msdosfs_hashins() do it for them."
1995-04-11 17:13:17 +00:00
Bruce Evans
82f196916e Submitted by: Wolfgang Solfrank <ws@tools.de>
Fix off-by-1-sector error in the range checking for the end of the root
directory.  It was possible for the root directory to overwrite the FAT.
1995-04-11 16:43:20 +00:00
Jordan K. Hubbard
7565491c79 Bump this to 0408. I have my reasons. 1995-04-11 07:43:33 +00:00
David Greenman
81c6e3e558 Handle the "syncing VCHR vnode hang" problem a little differently; just
don't lock the vnode - it doesn't appear to ever be necessary for VCHR
vnode/inodes. This fixes a bug introduced in the previous commit that
caused tty timestamps to act strange (causing 'w' and 'finger' to show
the tty wasn't idle when it may have been for hours).
1995-04-11 04:23:47 +00:00
Martin Renters
a9f9caeabd Add myself to the Contrib list. 1995-04-11 03:14:50 +00:00
Rodney W. Grimes
d75038b6e7 Remove obsolete comments about my-name and my-network.
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.

Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.

Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)

Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
1995-04-11 01:22:24 +00:00
Jordan K. Hubbard
c8aaabd573 Performance enhancements and a redesign of the transmitter code.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-04-10 21:25:06 +00:00
Garrett Wollman
d3a2b17ad7 Define tuncdev for the benefit of tunnel LKM so that it knows which
device slot to take.
1995-04-10 20:40:11 +00:00
Garrett Wollman
1f3d84e82a Tunnel driver is nmow capable of installing its own cdevsw[] entry,
with a little help from conf.c.  While e're at it, actually declare the
tunnel entry points to have the correct types.  This fixes PR #306.
1995-04-10 20:35:45 +00:00
Poul-Henning Kamp
8d89e37c73 I got that wrong,
lnc0	@ 0x280
	lnc1	@ 0x300

moved le0 into sorted sequence.
1995-04-10 19:13:51 +00:00
Poul-Henning Kamp
1f9e6f1901 lnc0 is @ 0x300
lnc1 is @ 0x280
1995-04-10 19:12:29 +00:00
Garrett Wollman
a5ce0490a4 Fix initialization error that caused `mount -vat' to behave unexpectedly
in certain circumstances.  Fixes PR #182.

Submitted by:	Andrew Atrens <atreand@statcan.ca>
1995-04-10 18:57:08 +00:00
Garrett Wollman
3c6bef7ee8 Correct name `cd9660' for MOUNT_CD9660 (but NB that this whole table
is bogus and only exists for the benefit of find(1)).  Old name was
`iso9660fs'.

Submitted by:	Andrew Atrens <atreand@statcan.ca>
1995-04-10 18:52:40 +00:00
Joerg Wunsch
a72408576b My libcompat cleanup.
o	add missing man pages

o	make all man pages clearly refer to the libcompat thingie

o	add the information to the vtimes(3) and vlimit(3) man pages
	that nobody has reimplemented the functions by now

o	add the missing getpw.c

o	add code and man pages for cftime(3) and
	ascftime(3) -- i found them somewhere in old
	unfinished work
1995-04-10 18:48:06 +00:00
Andrey A. Chernov
20f97715a5 sdattach: print out cyl/hd/sec info in the same format as wd driver does
as default case, very helpful in many cases.
1995-04-10 18:44:49 +00:00
Garrett Wollman
fe9140c204 there is a endian problem when setting up tunnel and phyint boundaries
in the mrouted. inet_parse returns network byte ordered address, but there
are a couple comaprisons that need to be done on the addresses and the
comparisons are done in host order. I left the comparisions for 0xffffffff
alone, because this value is the same in network and host orders.

Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-04-10 18:42:10 +00:00
Joerg Wunsch
e03e5bb758 There have been a few occasions where some actions could dereference
uninitialized tty pointers early during boot; it got very obvious when
pressing Alt-F11 after a boot -c.
1995-04-10 18:34:51 +00:00
David Greenman
d79940da0a Further satisfy my paranoia by making sure that the ACKNOW is only
set when ti_len is non-zero.
1995-04-10 17:37:46 +00:00
David Greenman
afa70c96dd Fixed bug I introduced with my Nagel hack which caused tcp_input and
tcp_output to loop endlessly. This was freefall's problem during the past
day.
1995-04-10 17:16:10 +00:00
Jordan K. Hubbard
f0681de0c2 Mods to tar (--fast-read) to cause it to stop looking for exact-matching
file specifications when they've been extracted (enabling you to get a file
fast if it occurs somewhere close to the front).
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-04-10 11:47:37 +00:00
David Greenman
7bc4aca7f0 Added splnet protections for PCB list manipulations and traversals. 1995-04-10 08:52:45 +00:00
Jordan K. Hubbard
9e87dd6ab1 Don't pass duplicate pkgdeps to pkg_create 1995-04-10 08:09:21 +00:00