Commit Graph

7670 Commits

Author SHA1 Message Date
ache
dabadeca27 Fix "at" directories owner 1995-04-12 03:02:01 +00:00
ache
60e98115e5 Upgrade.
Close security holes reported.
1995-04-12 02:52:21 +00:00
ache
4bdb8183e7 Upgrade. 1995-04-12 02:42:39 +00:00
gpalmer
09f3963ab6 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
f7dc2cbd8a 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
98aeca1425 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
ache
0af83b403a Read of a record smaller then request size always fails
Submitted by: edward@edcom.com
1995-04-11 19:09:31 +00:00
ache
2e13506c81 Fix output field range
Submitted by: edward@edcom.com
1995-04-11 18:50:51 +00:00
ache
c82fb22c9c Add -r to rm -f /var/spool/uucp/.Temp/* 1995-04-11 18:36:10 +00:00
ache
9a4bdf2d2a Fix link sys call
Submitted by: pritc003@maroon.tc.umn.edu
1995-04-11 18:32:17 +00:00
ache
ce7bc1dc67 Call new ttsetcompat() function for proper working
old v7 ioctls with locking bits.
1995-04-11 17:58:09 +00:00
ache
d80311f692 Extract "set" family functions to separate module, needed for
locking in sio f.e.
1995-04-11 17:54:25 +00:00
ache
ba958c0a48 Add new ttsetcompat function (from tty_compat) 1995-04-11 17:53:14 +00:00
nate
69f13ae6e6 Re-enabled cvs now that Rod is satisfied that it will work correctly. 1995-04-11 17:28:26 +00:00
bde
fcb32f752e 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
bde
237cd452b6 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
jkh
2ba0109124 Bump this to 0408. I have my reasons. 1995-04-11 07:43:33 +00:00
dg
40cb9a942e 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
e78d804c4d Add myself to the Contrib list. 1995-04-11 03:14:50 +00:00
rgrimes
8b78b97479 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
jkh
6220fdb274 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
wollman
73264063ce 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
wollman
9f1fdb4af4 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
phk
18a5d3fa64 I got that wrong,
lnc0	@ 0x280
	lnc1	@ 0x300

moved le0 into sorted sequence.
1995-04-10 19:13:51 +00:00
phk
f45bffb79d lnc0 is @ 0x300
lnc1 is @ 0x280
1995-04-10 19:12:29 +00:00
wollman
ad9efe50d7 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
wollman
4bd9e735a6 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
612b5aa051 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
ache
5c218cf305 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
wollman
9f855daa52 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
27728dbdc0 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
dg
c9aa8e2bc6 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
dg
29f8feab9e 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
jkh
2fdc8f6375 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
dg
edd2e07c91 Added splnet protections for PCB list manipulations and traversals. 1995-04-10 08:52:45 +00:00
jkh
58e4af2351 Don't pass duplicate pkgdeps to pkg_create 1995-04-10 08:09:21 +00:00
jkh
57cde8c5ec Neither of these tools really told you what you needed to know neatly
and succinctly in verbose mode.  I hope people find this more to their
liking.
1995-04-10 08:01:52 +00:00
phk
41784093df Sanitize the making of kernels a bit, and make the BOOTCDROM kernel too.
If we can get away with it, it will always just be the GENERIC kernel
with a different name.
1995-04-10 08:01:27 +00:00
phk
7e731c5d07 Changes to make FreeBSD use a CDROM as rootdev, for installation purposes.
If "BOOTCDROM" is defined, you get this pretty special case stuff.
1995-04-10 07:44:31 +00:00
ache
9e71f4b5e9 Call ptsstop in ptsclose instead of ptcwakeup 1995-04-10 01:45:43 +00:00
rgrimes
6157a8bf9d Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +00:00
dg
cd51aefb3b Backed out Jordan's #include of queue.h 1995-04-10 00:43:18 +00:00
dg
2bfee71b90 Removed bogus #include of netinet/in_pcb.h 1995-04-10 00:41:25 +00:00
dg
8914c3c002 Added #include <sys/queue.h> 1995-04-10 00:38:15 +00:00
nate
188af0f76b as Thomas Graichen recently wrote in private mail:
> * the gdb-4.13 of current (compiled and used under 2.0R) can not attach to my
> own processes (it works only then i'm root - else i get open failed - for my
> own processes)

how embarassing ! This turns out to be a bug in infptrace.c. Below
is a patch. Could some kind soul apply it ?

Submitted by:	"Gary J." <garyj@rks32.pcs.dec.com>
1995-04-10 00:01:01 +00:00
ache
a73ccaef2d ptcwakeup() was called from wrong places 1995-04-09 22:28:24 +00:00
wpaul
c5bffa89b5 First crack at a man page for ypbind. 1995-04-09 21:59:06 +00:00
wpaul
6aecfbe4c5 More of the same: we also need to handle multiple domains properly
even if /var/yp/binding/DOMAIN.VERS doesn't exist yet.
1995-04-09 21:52:31 +00:00
wpaul
01c09e205a Fix behavior of YP library routines in environments with multiple domains,
where one or more of the non-default domains are not yet bound.

If we make a YP request for a domain other than the default domain,
and there is no binding for the new domain yet, _yp_dobind() sees
that the /var/yp/binding/DOMAIN.VERS file for the unbound domain is
not locked (by ypbind) and from this it concludes that the NIS system
is dead, so it gives up.

This behavior has been changed: before giving up in this case, we now
make a second check to see if the binding file for the *default* domain
is also not locked. Only if the default domain binding file is also
unlocked to we now assume that ypbind has bought the farm and bail out.
(Note: this assumes that the user hasn't changed the default domain
while ypbind is running.)

With this change, _do_ypbind() is allowed to proceed into the next
section of code wherein it prods ypbind into establishing a binding
for the new domain. This first call times out after ten seconds,
after which it should retry and succeed. From then on, the binding
for the second domain should be handled normally.
1995-04-09 19:26:23 +00:00
jkh
bec47d2918 #include <sys/queue.h> or die horribly. 1995-04-09 16:46:47 +00:00