Commit Graph

17819 Commits

Author SHA1 Message Date
Andrey A. Chernov
9730ef2973 Even more buffer overflow fixes
Change CATMODE to 0644, because group man not used
Add immutable sbit to man binary, so if user even got man uid,
he can't replace man binary with fake one

Should go to 2.2

Submitted by: Marc Slemko <marcs@znep.com> with small editing by me
1996-12-19 10:45:16 +00:00
KATO Takenori
95d98df162 Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
Support 3COM 3C569 network card on PC98.
1996-12-19 10:31:10 +00:00
Satoshi Asami
0aa19758df Ay, merge from RELENG_2_2. Back out the "moving HEAD" fix. 1996-12-19 08:55:10 +00:00
KATO Takenori
ed933d0050 Synchronize with sys/i386/i386/trap.c revision 1.84 (handle
copyin/out/etc code).
1996-12-19 08:27:33 +00:00
KATO Takenori
a413ea0d8a Synchronize with sys/i386/isa/fd.c revision 1.94 (disable disk
statistics support).
1996-12-19 08:17:08 +00:00
Jordan K. Hubbard
f7d27d933d Remove bogus references to root.flp in the installation guide (strange
coincidence - this was the very next item on my TODO list, huzzah!  Thanks,
Doug - I don't usually get them checked off so fast! :-).  Also change
XCOPY command example to match new realities.

Submitted-By: Doug White <dwhite@resnet.uoregon.edu>
1996-12-19 00:43:27 +00:00
Nate Williams
3b92d2dee8 Fixed prototypes of PacketAliasIn/Out. (cosmetic)
Submitted by:	Brian Somers <brian@awfulhak.demon.co.uk>
1996-12-19 00:41:42 +00:00
Alexander Langer
df5080050d Hawaii-Five-Typo 1996-12-19 00:26:22 +00:00
Mike Pritchard
0bf179c88e Mention freebsd-security-notifications in the mailing lists section.
Requested by: Guido van Rooij
1996-12-18 22:41:08 +00:00
Mike Pritchard
4a6a66d28c Typo police. 1996-12-18 22:06:47 +00:00
Bill Paul
18fe100709 Add prototypes for ethers.3 functions as per wollman:
> wollman     96/12/10 09:19:15
>
>   Modified:    lib/libc/net  ether_addr.c ethers.3
>   Log:
>   Get struct ether_addr directly from <net/ethernet.h> rather than pulling
>   in lots of unrelated junk from <net/if.h> and <net/if_ether.h>.  These
>   functions still aren't prototyped anywhere (but should be in
>   <net/ethernet.h>---got that, Bill?).

(Note that this file has no copyright header; one should probably
be added.)
1996-12-18 21:42:38 +00:00
Andrey A. Chernov
7a81e58e55 Fix many buffer overflows, sprintf -> snprintf
Fix manpath dirs count overflow

Should be in 2.2
1996-12-18 20:55:26 +00:00
KATO Takenori
c463389910 Delete comment for "sbic" driver.
2.2 candidate.
1996-12-18 20:54:22 +00:00
KATO Takenori
1dbf6ded7b Sync with sys/i386/i386/userconfig.c revision 1.78 (amd driver entry). 1996-12-18 20:52:31 +00:00
KATO Takenori
a3e2897cd4 Sync with sys/i386/i386/machdep.c revision 1.222 (move printing of
BIOS geometry).
1996-12-18 20:50:44 +00:00
Jordan K. Hubbard
272da3b6c1 Correct some more tortured syntax. 1996-12-18 20:23:40 +00:00
Andrey A. Chernov
a49b39f8d4 Fix my popen fix: conditionalize saving/restoring of euid
Should be in 2.2
1996-12-18 20:07:49 +00:00
Andrey A. Chernov
64919fdd33 Drop man priveledges before popen and restore them after it, because
it is possible to execute system command from f.e groff

Should be in 2.2
1996-12-18 19:46:21 +00:00
Bruce Evans
8b1f0fa595 Fixed pedantic syntax error. 1996-12-18 19:36:01 +00:00
Bruce Evans
7a1fadc47a Added a missing prototype. 1996-12-18 19:14:35 +00:00
Bruce Evans
959c02787e Only handle copyin/out/etc faults when not in an interrupt handler.
This makes unexpected faults (in an interrupt handler) more likely
to crash properly.  It could be done even better (more robustly and
more efficiently) using lazy fault handling.
1996-12-18 19:12:01 +00:00
Bruce Evans
115abf2097 Fixed formatting of KERN_DUMPDEV.
Should be in 2.2.
1996-12-18 18:53:00 +00:00
Bruce Evans
5778f6adb2 Fixed bogus linkage of one of the ddb linker sets. 1996-12-18 17:58:24 +00:00
Bruce Evans
f4af388575 Removed references to nonexistent functions log2() and log2f(). 1996-12-18 17:47:03 +00:00
Bruce Evans
d43190805d Disabled half-baked disk statistics support. It didn't actually generate
statistics, so it just wasted scarce disk table slots and screen space.
1996-12-18 17:44:31 +00:00
Garrett Wollman
fc1a6296a7 Teach mdoc macros to recognize section 9 and the i386 architecture. 1996-12-18 17:43:24 +00:00
Bill Fenner
1cdf4fbe44 Fix generated code for DLT_NULL encapsulation.
This fixes PR#bin/2212.
1996-12-18 17:08:13 +00:00
David Nugent
5e2b47dff1 Much fixed & working digiboard driver. 1996-12-18 16:42:06 +00:00
Jordan K. Hubbard
d09b80ec09 Eliminate some tortured text. 1996-12-18 16:39:37 +00:00
Bruce Evans
07addd421e Initialize the upper 16 bits of the memory sizes properly (to 0).
They were garbage that happened to be 0 in many cases.  (real_to_prot()
happens to leave the value of the real-mode %cr0 in %eax and the
memory-size BIOS calls usually don't touch the upper bits of %eax.
The upper 16 bits of %cr0 are usually 0 at boot time, at least on
486's.

Should be in 2.2.
1996-12-18 15:38:23 +00:00
Bruce Evans
db7e362115 Moved the printing of the BIOS geometries from cpu_startup() into
configure() where it always belonged.  It was originally slightly
misplaced after configure().  Rev.138 left it completely misplaced
before the DEVFS, DRIVERS and CONFIGURE sysinits by not moving it
together with configure().

Restored the printing of bootinfo.bi_n_bios_used now that it can
be nonzero.
1996-12-18 15:03:10 +00:00
Bruce Evans
729895d0b3 Restored comment about _POSIX_SAVED_IDS from rev.1.2. 1996-12-18 14:02:56 +00:00
Jordan K. Hubbard
fdf7fd0195 Back out previous commit (and that's the last one I do on swallace's
behalf - from now on he can do his own).  I guess I didn't notice
the code in the wrapper which turned the union semun arg into a pointer.
1996-12-18 13:37:00 +00:00
Jordan K. Hubbard
9d5e110e4d Change prototype for semctl(). 1996-12-18 13:18:57 +00:00
Stefan Eßer
e69742d795 Add Tekram DC390/390T driver "amd0", which is expected to work with
generic AMD 53c974 PCI SCSI controllers as well.
1996-12-18 11:43:33 +00:00
Stefan Eßer
7eda43b2d4 Add include of <vm/pmap.h> to make this driver compile under -current.
Cleanup to make it compile cleanly in LINT.
Submitted by:	bde
1996-12-18 11:41:28 +00:00
Stefan Eßer
b9bffbaea1 Rename DIAGNOSTIC to DMA_DIAGNOSTIC.
Submitted by:	bde
1996-12-18 11:35:12 +00:00
Masafumi Max NAKANE
bd09a8669a Merge the en version changes made in 1.173 -> 1.174. 1996-12-18 09:15:55 +00:00
Satoshi Asami
e412ee205c Add candy@fct.kgc.co.jp (Toshihiro Kanda) for his new oneko port. 1996-12-18 08:56:41 +00:00
Steven Wallace
78ecc89829 Back out change. The last argument to semctl() IS union semun
for the C library call, which is a wrapper that passes it by reference
to the kernel.
1996-12-18 08:03:31 +00:00
Masafumi Max NAKANE
2b0272ae1d Typo fix.
Some translation improvement.

Submitted by:	hanai@jp.freebsd.org
1996-12-18 07:18:32 +00:00
Satoshi Asami
41664fc829 Add support for NLS document building.
Here's the logic (mostly suggested by John Fieber):

 @ If ALLLANG is defined, descend to all language-specific subdirs too.
 @ If ALLLANG is not defined, but LANG is defined and a subdirectory with
   that name exists, descend to that directory too.
 @ In either case, the default subdirectories are always traversed.

Right now there's only one subdirectory (ja_JP.EUC) with one document
(handbook).  Note these changes won't do anything if you don't have ALLLANG
defined or LANG set to ja_JP.EUC.

The make world for releases is expected to define ALLLANG, so all language-
specific documentation can be built (and be put in appropriate *dists).

This should be in 2.2.
1996-12-18 07:14:37 +00:00
Masafumi Max NAKANE
f2f2b69ee6 Merge the en version changes made in 1.172 -> 1.173. 1996-12-18 04:43:27 +00:00
Satoshi Asami
331022c74d Add "Mark J. Taylor" <mtaylor@cybernet.com> for his ines/mastergear
DESCR typo reports.
1996-12-18 04:06:46 +00:00
Satoshi Asami
16f5775ab2 Add missing targets (extract, patch) in the IGNORE (INTERACTIVE &
PATCH, etc.) section.  Also sort them in order of execution like other
parts of this file.
1996-12-18 02:27:44 +00:00
Stefan Eßer
92cc16b276 Add comment for "amd" driver: Tekram DC-390(T) and generic AMD 53c974 PCI SCSI. 1996-12-18 01:37:22 +00:00
David E. O'Brien
0dfb02eb79 Added $Id$.
Added more verbage about the card, and documented the driver's bugs.

2.2-R candidate.
1996-12-18 01:35:20 +00:00
Stefan Eßer
f8fc022510 Add driver for AMD 53c974 SCSI (Tekram DC390/390T).
Remove MAX_LUN=2 option for NCR driver: FAILSAFE does
no longer imply MAX_LUN=1.
1996-12-18 01:30:19 +00:00
Stefan Eßer
e511754a2d Add driver for the Tekram DC390 and DC390F, believed to also work
with generic AMD 53c974 SCSI controllers, under the name of "amd".
1996-12-18 01:24:59 +00:00
Stefan Eßer
dd0f5b33a3 Add code to fill the EEPROM buffer with default values, if no EEPROM
was found, or if there was a checksum mismatch.
This patch should allow the driver to be used with any AMD 53c974
based SCSI card, or with the AMD SCSI+Ethernet Combo Chip found on
some motherboards.
1996-12-18 01:20:32 +00:00