bde
a0d9474a34
Don't include <sys/ioctl.h> in the kernel. Stage 4: include
...
<sys/ttycom.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h>
in miscellaneous files. Most of these files have nothing to do
with ttys but need to include <sys/ttycom.h> to get the definitions
of TIOC[SG]PGRP which are (ab)used to convert F[SG]ETOWN fcntls into
ioctls.
1997-03-24 11:52:29 +00:00
bde
f62eb55e94
Don't include <sys/ioctl.h> in the kernel. Stage 3: include
...
<sys/filio.h> instead of <sys/ioctl.h> in non-network non-tty files.
1997-03-24 11:37:53 +00:00
bde
e79c0a4ca0
Don't include <sys/ioctl.h> in the kernel. Stage 2: include
...
<sys/sockio.h> instead of <sys/ioctl.h> in network files.
1997-03-24 11:33:46 +00:00
bde
117209856b
Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include
...
it when it is not used. In most cases, the reasons for including it
went away when the special ioctl headers became self-sufficient.
1997-03-24 11:25:10 +00:00
bde
2652de9da3
Don't default to (wrong) SCO definitions for _IOR() etc. if <sys/ioctl.h>
...
doesn't happen to be included before this header.
This header was missed in previous cleanups because it didn't include
<sys/ioctl.h> or <sys/ioccom.h>. Clean it now:
- #include <sys/types.h> since it is necessary to make the header self-
sufficient (there are a couple of u_char's).
- uniformized idempotency ifdef. Copied the style in the 4.4Lite
ioctl headers.
1997-03-24 11:07:52 +00:00
davidn
b7b1dda54d
Make stlintr() public to allow correct linkage.
1997-03-24 07:25:31 +00:00
kato
17d7dec351
Fix typo.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
1997-03-24 07:23:05 +00:00
kato
c4421409ce
Merge PC-98 code int i386/isa/ft.c.
1997-03-24 07:20:35 +00:00
imp
fee23970ec
Don't overflow buffers, and only open alternative termcap files if we're
...
not running setuid or setgid.
Fixes PR 2586
Submitted by: Julian Assange
1997-03-24 06:41:30 +00:00
imp
6b885ecb71
Don't honor LANG or NLSPATH if we're setuid/setgid.
...
Fixes PR 2582
Submitted by: Julian Assange
1997-03-24 06:15:07 +00:00
imp
ff12c038ef
If we're running setuid/setguid then don't open the host alias file to
...
prevent information leakage.
Closes PR 2578
Submitted by: Julian Assange
1997-03-24 06:11:44 +00:00
imp
52677342d6
Don't open the tz file if we're running setuid or setgid to prevent infomration
...
leakage.
Submitted by: Julian Assange
1997-03-24 06:09:50 +00:00
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