Commit Graph

31317 Commits

Author SHA1 Message Date
Søren Schmidt
8b90e70e77 Enable the vn device under DEVFS without SLICE.
This was apparently missed when all the #ifdef SLICE gunk was put in.
1998-09-12 18:46:06 +00:00
Alexander Langer
9c4d47b9e1 Typo fix.
PR:		7906
Submitted by:	Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>
1998-09-12 16:55:54 +00:00
Alexander Langer
0a46a99270 Typo fixes.
PR:		7904
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-12 16:39:32 +00:00
Mark Murray
4842ab0d9a Fix parallel building.
(Tested by make -j12 buildworld on a 4-cpu SMP box).

Address (but not solve) ELF shareable objects causing perl to
dump core. (I have a heck of a lot to learn about ELF).

Lots of help by: bde, jkh, jb and others
1998-09-12 15:45:30 +00:00
Bruce Evans
9164000766 Don't dereference an uninitialized pointer in dead code. The dead
code gets executed if it is compiled without optimization.
1998-09-12 14:46:15 +00:00
Alexander Langer
d4a76feb0a Added pthread read/write locks. 1998-09-12 13:53:58 +00:00
Alexander Langer
dc5af0d5d4 Note the addition of pthread read/write locks and expansion of ipfw's
byte/packet counters to 64 bits.
1998-09-12 13:53:10 +00:00
Søren Schmidt
3d4672e7c0 Two little examples for use with the new atapi CD-R/RW driver
Use to burn data & audio CD's
1998-09-12 12:52:47 +00:00
Doug Rabson
48ef3c652b Provide the correct definition of ELF64_R_INFO. 1998-09-12 08:36:09 +00:00
Robert Nordier
d60dc4ef43 Activate btxld. 1998-09-12 06:58:18 +00:00
Robert Nordier
9c9f4492f8 btxld is a link editor for BTX (boot extender) clients, supporting ELF,
a.out, and binary formats.
1998-09-12 06:49:48 +00:00
Robert Nordier
b0923a2edc Add btxldr, a BTX loader for ELF clients. 1998-09-12 06:30:26 +00:00
Robert Nordier
aa7af79537 BTX (aka the boot extender) is an i386 kernel that hosts 32-bit
bootstrap programs, and provides page-level protection, hardware
interrupt reflection, a virtual-8086 mode interface to BIOS, etc.
1998-09-12 04:29:23 +00:00
David E. O'Brien
f4208b7ea8 Merge our older Amd manpages with the new am-utils manpages.
The am-utils manpages were un-mandocafied, un4.4BSD'ed with CSRG
copyrights regressed to 1989.

This work was done by Brian Handy who I am very greatful to.
(only a few minor tweaks by me)

Submitted by:	Brian Handy <handy@lambic.physics.montana.edu>
1998-09-12 04:04:59 +00:00
Joseph Koshy
05e13b1b5d Use ellipsis in synopsis.
Requested by: bde
1998-09-12 01:27:34 +00:00
Robert V. Baron
9afcea2f4a All the references to cfs, in symbols, structs, and strings
have been changed to coda.  (Same for CFS.)
1998-09-11 18:50:17 +00:00
Garrett Wollman
90cf373d9b Fix additional warnings. Remove -Werror, since some people have complained
about it.

PR:		7886
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de> (partially)
1998-09-11 18:49:33 +00:00
Mike Smith
c6446f7ff9 Add the Fujitsu MBH10303
Submitted by:	David Kulp <dkulp@neomorphic.com>
1998-09-11 18:35:57 +00:00
Doug Rabson
75fd258d75 Update to the binutils-2.9.1 PLT format. 1998-09-11 18:31:55 +00:00
Doug Rabson
732b5469fe Add the r_addend of the relocation when processing GLOB_DAT relocations. 1998-09-11 18:30:55 +00:00
Dmitrij Tejblum
192fc194bb Install the file init.ee (after 1 year in the source tree).
Make it actually work.
1998-09-11 16:38:20 +00:00
Garrett Wollman
80ab7c0ed8 Fix RST validation.
PR:		7892
Submitted by:	Don.Lewis@tsc.tdk.com
1998-09-11 16:04:03 +00:00
Dag-Erling Smørgrav
e06cf7dbca Print correct total for -c option (previously, the total for the last
directory scanned was printed instead of the real total)

PR:		bin/7896
Submitted by:	Zach Heilig <zach@gaffaneys.com>
1998-09-11 15:53:08 +00:00
Dmitrij Tejblum
00e500a2e5 Some fixes for swap space accounting.
Obtained from:  pstat.c
1998-09-11 14:38:12 +00:00
Andrzej Bialecki
74632b447e Fix to properly newfs the MFS in case of custom setup. Mention this in docs.
Submitted by:	Richard Wackerbarth <rkw@Dataplex.NET>
1998-09-11 13:14:33 +00:00
Doug Rabson
a6ee6725b1 Machine dependant relocations for KLD. 1998-09-11 08:47:02 +00:00
Doug Rabson
fe3db7c7c7 Implement dynamic loading for ELF. 1998-09-11 08:46:15 +00:00
Doug Rabson
9386468ef8 Avoid a possible memory leak. 1998-09-11 08:45:32 +00:00
Jordan K. Hubbard
375ca45770 correct usage of cleanup() everywhere - this became bogus when the warnx/errx
stuff was added and nobody seems to have noticed. :)
Noticed by:	Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
1998-09-11 07:26:58 +00:00
Greg Lehey
f7fb3ee05b Reviewed by: bde (again)
Correct terminology (partitions are in slices, not the other way around)
1998-09-11 07:08:49 +00:00
Greg Lehey
58343e4cc6 Reviewed by: bde,jkh
Add -v flag to newfs:

     -v      Specify that the partition does not contain any slices, and that
             newfs should treat the whole partition as the file system.  This
             option is useful for synthetic disks such as ccd and vinum.
1998-09-11 06:26:08 +00:00
Warner Losh
a5da09996c Silence -Wall -W -Wkitchen-sink. Use ssize_t in preference to int,
make a char * const that should have been.  Use new style function
declaration for main.  Mostly a Bruce Filter[tm] test commit.
1998-09-11 05:48:06 +00:00
Warner Losh
2e9e5d3b4c Define PBUFSIZ in terms of MAXPATHLEN rather than hard coding it to
512.

Obtained, I think, from: OpenBSD
1998-09-11 05:44:41 +00:00
Warner Losh
c0f3e0b9b0 $@ -> ${.TARGET} 1998-09-11 05:42:37 +00:00
Warner Losh
546bc251ae $* -> ${.PREFIX} 1998-09-11 05:40:12 +00:00
Warner Losh
530c496f92 Remove definition of malloc and realloc. Instead include stdlib.h. 1998-09-11 05:39:08 +00:00
Warner Losh
aa1b326112 $@ -> ${.TARGET} 1998-09-11 05:34:37 +00:00
Warner Losh
df196cc87c Change obsolete $@ to ${.TARGET}. 1998-09-11 05:31:45 +00:00
Warner Losh
77740e7e34 Don't trust TMPDIR if we're setuid root. This is used only for the
backing file for an anonymous (memory based) btree, and I don't think
that any setuid programs actually use it, but it is better to be safe
than sorry.  This has been in my tree for a long time, maybe a year or
more...

Inspired by: Similar changes in OpenBSD, if memory serves (like nearly
a year ago)
1998-09-11 05:29:47 +00:00
Martin Cracauer
9bbfa41541 Narrow down conditions to break wait() to process traps.
Improve comments.
1998-09-10 22:09:11 +00:00
Andrey A. Chernov
db23f9b3b1 Revive hierarchy again.
Please commit only patches, not whole files!
1998-09-10 20:44:56 +00:00
Poul-Henning Kamp
efc22bbdd3 make the fla stuff actually work. 1998-09-10 18:47:20 +00:00
Bruce Evans
e36039e731 Fixed breakage of %CPU and %MEM in the previous commit. sysctlbyname()
was called with wrong args so it always failed.

PR:		7881
1998-09-10 18:06:28 +00:00
Warner Losh
486a7ab25b Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name.  Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde
1998-09-10 16:14:29 +00:00
Bruce Evans
9646002cc5 Fixed ownership of share/man/man1aout.
Didn't fix misformatting of all the perl entries.
1998-09-10 15:46:41 +00:00
Martin Cracauer
e6ac45dde2 Fix an inefficiency I introduced in my last commit.
Include "expand.h" vom memalloc.c to pull function declartion into scope
1998-09-10 14:51:06 +00:00
Kazutaka YOKOTA
d30ada6d4b The fix in the previous commit was not sufficient; the upper 24 bits
of an int argument still contained garbage.
Pointed out by: bde
PR: bin/7799
1998-09-10 12:20:09 +00:00
Kazutaka YOKOTA
6fa64a7e93 Pass the correct argument to npxsave(), otherwise vm86pcb will be
overwritten.
1998-09-10 12:16:06 +00:00
Søren Schmidt
6773d00e66 Oops missed a line in the previous commit 1998-09-10 11:23:08 +00:00
Mark Murray
235e962d3f Dorkus sum. I managed to commit an earlier version of this. This fixes the
broken perl build.

* NOTE * * NOTE * * NOTE *

PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!!

* NOTE * * NOTE * * NOTE *
1998-09-10 10:51:11 +00:00