summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use srandomdev() to initialize generatorAndrey A. Chernov1997-03-241-38/+8
| | | | Notes: svn path=/head/; revision=24212
* Remove libcurses, it is pure termcap applicationAndrey A. Chernov1997-03-241-2/+2
| | | | Notes: svn path=/head/; revision=24211
* Don't include <sys/ioctl.h> in the kernel. Stage 10 (final). Warn ifBruce Evans1997-03-241-1/+5
| | | | | | | | | | | | | | <sys/ioctl.h> is included in the kernel. It still compiles. This set of changes reduces the number of dependencies in LINT/.depend from about 31000 to about 30000. This should make LINT kernels compile a whole 1% faster. Further reductions to less than 20000 dependencies can easily be made. E.g., 20 headers of nested spam from <sys/param.h> for 500 object files gives 10000 dependencies; less than half of these are real. Notes: svn path=/head/; revision=24210
* Don't include <sys/ioctl.h> in the kernel. Stage 9: same changesBruce Evans1997-03-2413-26/+17
| | | | | | | in pc98 as in isa. Notes: svn path=/head/; revision=24209
* Don't include <sys/ioctl.h> in the kernel. Stage 6: includeBruce Evans1997-03-242-3/+7
| | | | | | | | | | <sys/filio.h>, <sys/sockio.h> and <sys/ttycom.h> instead of <sys/ioctl.h> in a couple of files. This is still only 1/3 as spammish as <sys/ioctl.h> - 5 or 6 old tty ioctl headers aren't needed. Notes: svn path=/head/; revision=24208
* Don't include <sys/ioctl.h> in the kernel. Stage 5: includeBruce Evans1997-03-245-10/+19
| | | | | | | | | <sys/ioctl_compat.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in tty-related files. <sys/ttycom.h> is still usually imported bogusly via <sys/termios.h>. Notes: svn path=/head/; revision=24207
* Don't include <sys/ioctl.h> in the kernel. Stage 4: includeBruce Evans1997-03-247-14/+20
| | | | | | | | | | | <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. Notes: svn path=/head/; revision=24206
* Don't include <sys/ioctl.h> in the kernel. Stage 3: includeBruce Evans1997-03-248-15/+13
| | | | | | | <sys/filio.h> instead of <sys/ioctl.h> in non-network non-tty files. Notes: svn path=/head/; revision=24205
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includeBruce Evans1997-03-2437-69/+70
| | | | | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files. Notes: svn path=/head/; revision=24204
* Don't include <sys/ioctl.h> in the kernel. Stage 1: don't includeBruce Evans1997-03-24106-193/+86
| | | | | | | | it when it is not used. In most cases, the reasons for including it went away when the special ioctl headers became self-sufficient. Notes: svn path=/head/; revision=24203
* Don't default to (wrong) SCO definitions for _IOR() etc. if <sys/ioctl.h>Bruce Evans1997-03-241-3/+8
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=24202
* Make stlintr() public to allow correct linkage.David Nugent1997-03-241-3/+3
| | | | Notes: svn path=/head/; revision=24201
* Fix typo.KATO Takenori1997-03-242-4/+4
| | | | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Notes: svn path=/head/; revision=24200
* Merge PC-98 code int i386/isa/ft.c.KATO Takenori1997-03-244-2592/+45
| | | | Notes: svn path=/head/; revision=24199
* Don't overflow buffers, and only open alternative termcap files if we'reWarner Losh1997-03-242-2/+8
| | | | | | | | | | | not running setuid or setgid. Fixes PR 2586 Submitted by: Julian Assange Notes: svn path=/head/; revision=24198
* Don't honor LANG or NLSPATH if we're setuid/setgid.Warner Losh1997-03-241-3/+8
| | | | | | | | | Fixes PR 2582 Submitted by: Julian Assange Notes: svn path=/head/; revision=24197
* If we're running setuid/setguid then don't open the host alias file toWarner Losh1997-03-241-1/+4
| | | | | | | | | | | prevent information leakage. Closes PR 2578 Submitted by: Julian Assange Notes: svn path=/head/; revision=24196
* Don't open the tz file if we're running setuid or setgid to prevent infomrationWarner Losh1997-03-241-2/+4
| | | | | | | | | leakage. Submitted by: Julian Assange Notes: svn path=/head/; revision=24195
* Fix non explloitable buffer overflows (since the largest packet processedWarner Losh1997-03-241-3/+4
| | | | | | | | precludes it) to keep people from whining about it in the newsgroups and mailing lists. Notes: svn path=/head/; revision=24193
* Fix various buffer overflows that may or may not be exploitable.Warner Losh1997-03-241-5/+7
| | | | | | | | | | Fixes PR 2588 Reviewed by: Dan Cross? Submitted by: Julian Assange Notes: svn path=/head/; revision=24191
* Julian A's fix. Do chdir as user rather than as root. Fixes a minor NFSWarner Losh1997-03-241-8/+8
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=24189
* Fix small race window when creating portal socket.Warner Losh1997-03-243-3/+12
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=24187
* Buffer overflow from Keith Bostic.Warner Losh1997-03-241-1/+1
| | | | | | | Obtained from: BSDi by way of Keith Bostic Notes: svn path=/head/; revision=24185
* Use mkstemp rather than mktemp to prevent a small race.Warner Losh1997-03-241-3/+9
| | | | | | | OpenBSD has a similar code, but this was indepenent. Notes: svn path=/head/; revision=24183
* Use mkstemp rather than mktemp to prevent races.Warner Losh1997-03-241-4/+8
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=24181
* Use mkstemp rather than mktemp to prevent a small race.Warner Losh1997-03-242-22/+22
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=24180
* Fix a nasty bug that meant a QUEUE_FULL status would result in a lostJustin T. Gibbs1997-03-241-12/+12
| | | | | | | SCB. This is probably a main reason for the recent reports of timeouts. Notes: svn path=/head/; revision=24176
* Re-arrange the code to upload an SCB to ensure that there is at leastJustin T. Gibbs1997-03-241-14/+12
| | | | | | | | 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. Notes: svn path=/head/; revision=24175
* Reactivated dumplfs and newlfs.Bruce Evans1997-03-241-4/+2
| | | | Notes: svn path=/head/; revision=24174
* Removed nested #includes of <scsi/scsi_debug.h> and <scsi/scsi_driver.h>Bruce Evans1997-03-241-1/+2
| | | | | | | | from <scsi/scsiconf.h> and fixed everything that depended on them. (Missed this one.) Notes: svn path=/head/; revision=24173
* Changed MAN to MAN8 so that this builds.Bruce Evans1997-03-241-1/+1
| | | | Notes: svn path=/head/; revision=24172
* Fixed corrupted newline and corrupted tab in previous commit.Bruce Evans1997-03-241-2/+3
| | | | Notes: svn path=/head/; revision=24171
* Sync with the original.Hiroyuki Hanai1997-03-241-3/+3
| | | | Notes: svn path=/head/; revision=24170
* Fixed corrupted CFLAGS definition. (Deleted harmful backslash.)KATO Takenori1997-03-241-2/+2
| | | | | | | Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp> Notes: svn path=/head/; revision=24167
* free_xs must be called at splbio(). This is usually the case since the mainJustin T. Gibbs1997-03-241-1/+3
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=24164
* add xrefs for getpeername, so other people that look for it can find it.. :)John-Mark Gurney1997-03-244-1/+5
| | | | Notes: svn path=/head/; revision=24163
* Use the .Tn macro for a couple of generic FreeBSD references.Mike Pritchard1997-03-241-2/+3
| | | | | | | | This has the desired side-effect of preventing a bad hyphenation of the word FreeBSD in one place. Notes: svn path=/head/; revision=24162
* Update to reflect the recent changes to support better inodeMike Pritchard1997-03-241-3/+3
| | | | | | | generation numbers. Notes: svn path=/head/; revision=24161
* Typo police.Mike Pritchard1997-03-241-1/+1
| | | | Notes: svn path=/head/; revision=24160
* Buffer overflow. Similar, but different, to the fix that Julian A submittedWarner Losh1997-03-231-9/+15
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=24158
* Fix a minor buffer overflow.Warner Losh1997-03-231-3/+2
| | | | | | | Obtained from: BSDi by way of Keith Bostic Notes: svn path=/head/; revision=24156
* Add srandomdev.3 linkAndrey A. Chernov1997-03-231-1/+2
| | | | Notes: svn path=/head/; revision=24155
* Fix urandom reference in the commentAndrey A. Chernov1997-03-231-1/+1
| | | | Notes: svn path=/head/; revision=24154
* Add srandomdev() descriptionAndrey A. Chernov1997-03-231-1/+24
| | | | Notes: svn path=/head/; revision=24153
* Add srandomdev() prototypeAndrey A. Chernov1997-03-231-0/+1
| | | | Notes: svn path=/head/; revision=24152
* Add srandomdev() function (use "/dev/urandom" now)Andrey A. Chernov1997-03-231-0/+40
| | | | | | | Submitted by: wollman & me (add type casts and remove unneded loop) Notes: svn path=/head/; revision=24151
* Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .FxWolfram Schneider1997-03-231-0/+6
| | | | Notes: svn path=/head/; revision=24150
* Add generation number randomization. Newly created filesystems wil nowGuido van Rooij1997-03-2311-25/+486
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=24149
* Include `top'.Joerg Wunsch1997-03-231-2/+2
| | | | Notes: svn path=/head/; revision=24146
* This is the FreeBSD-specific files for top, plus the MakefileJoerg Wunsch1997-03-235-0/+1117
| | | | | | | | | that pulls all the files from contrib. Obtained from: The ports collection (mostly). Notes: svn path=/cvs2svn/branches/FREEBSD/; revision=24143