imp
4ea8eab386
Fix non explloitable buffer overflows (since the largest packet processed
...
precludes it) to keep people from whining about it in the newsgroups and
mailing lists.
1997-03-24 06:04:08 +00:00
imp
f5e1bde58d
Fix various buffer overflows that may or may not be exploitable.
...
Fixes PR 2588
Reviewed by: Dan Cross?
Submitted by: Julian Assange
1997-03-24 06:01:39 +00:00
imp
7f79bbed5b
Julian A's fix. Do chdir as user rather than as root. Fixes a minor NFS
...
compatibility problem at the same time. Some buffer made large enough
for worst case hostname.
fixes PR 2593.
Reviewed by: Dan Cross and maybe others
1997-03-24 05:57:28 +00:00
imp
3c8c5177a0
Fix small race window when creating portal socket.
...
Obtained from: OpenBSD
1997-03-24 05:53:12 +00:00
imp
e5d10bdc2e
Buffer overflow from Keith Bostic.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-24 05:51:59 +00:00
imp
2a37113faa
Use mkstemp rather than mktemp to prevent a small race.
...
OpenBSD has a similar code, but this was indepenent.
1997-03-24 05:50:27 +00:00
imp
a1b85d3196
Use mkstemp rather than mktemp to prevent races.
...
Obtained from: OpenBSD
1997-03-24 05:45:29 +00:00
imp
17787893f3
Use mkstemp rather than mktemp to prevent a small race.
...
Obtained from: OpenBSD
1997-03-24 05:44:28 +00:00
gibbs
4626bcf70b
Fix a nasty bug that meant a QUEUE_FULL status would result in a lost
...
SCB. This is probably a main reason for the recent reports of timeouts.
1997-03-24 05:05:18 +00:00
gibbs
bc569a7a8f
Re-arrange the code to upload an SCB to ensure that there is at least
...
on instruction between the last load into the DFIFO and enabling the DMA.
During back to back SCB DMA, it was possible to hang the card.
1997-03-24 05:02:55 +00:00
bde
bdddad7101
Reactivated dumplfs and newlfs.
1997-03-24 04:57:50 +00:00
bde
bf850fb228
Removed nested #includes of <scsi/scsi_debug.h> and <scsi/scsi_driver.h>
...
from <scsi/scsiconf.h> and fixed everything that depended on them.
(Missed this one.)
1997-03-24 04:26:46 +00:00
bde
2d01f2178c
Changed MAN to MAN8 so that this builds.
1997-03-24 03:38:16 +00:00
bde
554ea3437c
Fixed corrupted newline and corrupted tab in previous commit.
1997-03-24 03:19:37 +00:00
hanai
ab7c9e8a17
Sync with the original.
1997-03-24 02:56:52 +00:00
kato
f7ccd15f7a
Fixed corrupted CFLAGS definition. (Deleted harmful backslash.)
...
Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp>
1997-03-24 02:38:48 +00:00
gibbs
9f4b5d5d62
free_xs must be called at splbio(). This is usually the case since the main
...
caller is scsi_done which the controller interrupt handlers call. In the
case of a non-buffer based transaction, the xs structure is freed by the
process that initiated the transfer in scsi_scsi_cmd. In this case, an
explicit splbio/splx pair around the call to free_xs is required. Without
the splbio protection, the xs free list could be corrupted, and the type
driver's start routine might run without spl protection.
Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no>
Obtained from: PR kern/2891
1997-03-24 01:46:15 +00:00
jmg
1d30a41b6e
add xrefs for getpeername, so other people that look for it can find it.. :)
1997-03-24 01:22:01 +00:00
mpp
1e529d948f
Use the .Tn macro for a couple of generic FreeBSD references.
...
This has the desired side-effect of preventing a bad hyphenation
of the word FreeBSD in one place.
1997-03-24 01:15:16 +00:00
mpp
b9424fdfa7
Update to reflect the recent changes to support better inode
...
generation numbers.
1997-03-24 00:33:38 +00:00
mpp
51216478d9
Typo police.
1997-03-24 00:18:19 +00:00
imp
b7a55510a3
Buffer overflow. Similar, but different, to the fix that Julian A submitted
...
in PR 2580.
Obtained from: BSDi by way of Keith Bostic
Should be in 2.2 and 2.1.x. I'll merge into 2.2.
1997-03-23 23:31:50 +00:00
imp
c2a7cee0ee
Fix a minor buffer overflow.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-23 23:17:22 +00:00
ache
d16568f141
Add srandomdev.3 link
1997-03-23 23:12:59 +00:00
ache
27fa1c8849
Fix urandom reference in the comment
1997-03-23 23:09:31 +00:00
ache
d2a19efd66
Add srandomdev() description
1997-03-23 23:08:31 +00:00
ache
e53bc8d1c3
Add srandomdev() prototype
1997-03-23 22:44:27 +00:00
ache
b9d8a7cc98
Add srandomdev() function (use "/dev/urandom" now)
...
Submitted by: wollman & me (add type casts and remove unneded loop)
1997-03-23 22:40:20 +00:00
wosch
66a23e711e
Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .Fx
1997-03-23 22:31:19 +00:00
guido
c337c37259
Add generation number randomization. Newly created filesystems wil now
...
automatically have random generation numbers. The kenel way of handling those
also changed. Further it is advised to run fsirand on all your nfs exported
filesystems. the code is mostly copied from OpenBSD, with the randomization
chanegd to use /dev/urandom
Reviewed by: Garrett
Obtained from: OpenBSD
1997-03-23 20:08:22 +00:00
joerg
8e15480d49
Include `top'.
1997-03-23 18:59:47 +00:00
joerg
f3dd0ce6a0
This commit was generated by cvs2svn to compensate for changes in r24143,
...
which included commits to RCS files with non-trunk default branches.
1997-03-23 18:55:20 +00:00
joerg
fa71779225
This is the FreeBSD-specific files for top, plus the Makefile
...
that pulls all the files from contrib.
Obtained from: The ports collection (mostly).
1997-03-23 18:55:20 +00:00
joerg
e571e75266
Apply the FreeBSD-local patches.
...
Obtained from: The ports collection.
1997-03-23 18:53:01 +00:00
joerg
c1a738a3be
This commit was generated by cvs2svn to compensate for changes in r24139,
...
which included commits to RCS files with non-trunk default branches.
1997-03-23 18:51:21 +00:00
joerg
1b9d0472b7
This is the long-awaited import of top into the base system (actually,
...
the src/contrib/top part right now). This tools is simply too system-
dependant to maintain it in the ports collection.
1997-03-23 18:51:21 +00:00
kato
11933497bf
Created new section `CPU OPTIONS'. CPU classes and math emulator are
...
moved to there. Options for CPU feature is also described there.
1997-03-23 11:08:28 +00:00
bde
7803d65f32
Removed nested #includes of <scsi/scsi_debug.h> and <scsi/scsi_driver.h>
...
from <scsi/scsiconf.h> and fixed everything that depended on them.
1997-03-23 06:33:55 +00:00
bde
2143997eab
Removed nested #includes of <scsi/scsi_debug.h> and <scsi/scsi_driver.h>
...
from <scsi/scsiconf.h> and fixed everything that depended on them.
1997-03-23 06:26:47 +00:00
kato
022268abf5
Added Accton EN1207-TX support.
1997-03-23 05:10:14 +00:00
bde
d12a47b40b
Removed nested #include of <sys/conf.h> from <scsi/scsi_driver.h>
...
and fixed everything that depended on getting it from the wrong
place. Most of the broken things actually only depended on getting
the declaration of their interrupt handler from "ioconf.h".
1997-03-23 04:40:00 +00:00
bde
3676c95c1e
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
...
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
1997-03-23 03:49:00 +00:00
bde
0d3591bdbd
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
...
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
1997-03-23 03:37:54 +00:00
dyson
9c1cce114f
Fix a significant error in the accounting for pre-zeroed pages. This
...
is a candidate for RELENG_2_2...
1997-03-23 02:44:54 +00:00
jmg
9243f015c6
slight fix to gcc's man page...
1997-03-23 00:51:16 +00:00
bde
3dc0739b4b
Merged the rest of lfs from Lite2. It compiles (uncleanly) but is as
...
unlikely to work as before.
1997-03-23 00:45:27 +00:00
mpp
953b4a2c98
Fix the location of the files in the FILES section.
...
Closes PR# 3063.
Submitted by: Kent Vander Velden <graphix@iastate.edu>
1997-03-22 23:59:56 +00:00
mpp
a3cb9f3f40
Add malloc(9) to document the kernel malloc() and free() routines.
...
Obtained from: NetBSD w/changes to reflect current FreeBSD headers
and diagnostic messages.
1997-03-22 23:50:21 +00:00
mpp
70978b19ab
Remove an extra comma.
1997-03-22 23:48:12 +00:00
joerg
970092985a
Make the argument handling for select() less bogus. Also, move the
...
amq service from UDP to TCP for better reliability.
1997-03-22 23:12:08 +00:00