John Polstra
4f7bdec1e8
Bring core-regset.c back to life. It is needed for handling ELF
...
core dumps.
1998-09-14 20:53:47 +00:00
Andrzej Bialecki
a7b8849df2
Make use of the new 'dm' utility instead of standard 'dmesg'.
1998-09-14 20:39:34 +00:00
Warner Losh
94ad719cf4
Add reallocf to the library. This function is simliar to realloc, but
...
when it returns NULL to indicate failure, it will also free the memory
that was passed to it, if that was non-null.
This does not change the semantics of realloc.
A second commit will be done to commit the conversion of those places in
the code that can safely use this to avoid memory leaks when confronted
with low memory situations.
Beaten-to-death-but-finally-approved-in: -current
1998-09-14 20:34:34 +00:00
Andrzej Bialecki
d6e5b04f99
Since we have a sysctl 'machdep.msgbuf' now, let's make use of it.
1998-09-14 20:33:43 +00:00
John Polstra
c8afdc1dcf
Add generic defines ELF_ARCH, ELF_CLASS, and ELF_DATA. These give
...
the relevant characteristics of the native machine, for building
and checking Elf_Ehdr structures.
Add structures to represent ELF "note" headers. Add defines for the
note types used in ELF core files.
1998-09-14 20:30:13 +00:00
David E. O'Brien
24b66c5360
Too late in the 3.0-game to deal with a setgid /usr/bin/man.
1998-09-14 20:05:46 +00:00
Søren Schmidt
d024c95599
Remove the SLICE code.
...
This clearly needs alot more thought, and we dont need this to hunt
us down in 3.0-RELEASE.
1998-09-14 19:56:42 +00:00
Jordan K. Hubbard
355150a489
Use a more reasonable default umask in case the root umask is too
...
fascist.
PR: 4014
1998-09-14 19:22:59 +00:00
Jordan K. Hubbard
04f80d35bf
Fix printf warnings and add a few casts.
...
PR: 7560
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-14 19:14:11 +00:00
Jordan K. Hubbard
344e4a2733
Until lkm and mdec gets populated again by some other means, do it
...
here.
Forgotten by: jkh
Submitted by: jhay
1998-09-14 18:42:59 +00:00
Mark Murray
a1b4e38100
Add a link perl --> perl5.00502
...
Asked-for-by: Asami-San (for ports)
1998-09-14 18:34:19 +00:00
Mike Smith
7877a80abd
Add extra bootinfo fields for the three-stage bootloader; the end of the
...
loaded kernel aggregate, a pointer to the kernel environment data and
a pointer to the preloaded module metadata.
1998-09-14 18:32:46 +00:00
Mike Smith
7ec76718a7
Add constants associated with preloaded kernel modules.
1998-09-14 18:31:19 +00:00
Mike Smith
0d5d0b20dc
Resynch with working sources before BTX integration.
...
- Use format-independant module allocator.
- Conditionalise ISA PnP support.
- Simplify PnP enumerator interface.
- Improve module/object searching.
- Add missing depend/install targets in BTX makefiles.
- Pass the kernel environment and module data in extended bootinfo fields.
- Add a pointer to the end of the kernel + modules in bootinfo.
- Fix parsing of old-style kernel arguments.
1998-09-14 18:27:06 +00:00
David E. O'Brien
d78e925749
Wanted to set uname to root, not gname.
1998-09-14 18:19:45 +00:00
Andrzej Bialecki
309290c72b
This implements retrieving the contents of message buffer via sysctl(3)
...
as "machdep.msgbuf". It's needed in case of using stripped kernels, where
normal dmesg (which has to use kvm) doesn't work.
The buffer is unwound, meaning that the data will be linear, possibly
with some leading NULLs.
Reviewed by: Jordan K. Hubbard <jkh@freebsd.org>
1998-09-14 11:47:40 +00:00
Jordan K. Hubbard
80e2640f8d
Nuke gratuitous use of OBJFORMAT
...
Submitted by: jhay
1998-09-14 11:39:38 +00:00
KATO Takenori
db6f50bf50
Sync with sys/i386/isa/syscons.c revision 1.277.
1998-09-14 11:37:58 +00:00
KATO Takenori
cabd14ebb6
Sync with sys/i386/isa/if_ed.c and sio.c revisions 1.145 and 1.215,
...
respectively.
1998-09-14 11:37:29 +00:00
Jordan K. Hubbard
2ec21a68f0
Teach crunch about an elf/a.out world.
...
Submitted by: jhay
1998-09-14 11:35:32 +00:00
Jordan K. Hubbard
6cd35234a0
Assume ELF-style symbol names now.
...
Submitted by: jhay
1998-09-14 11:33:38 +00:00
Jordan K. Hubbard
1025205fa2
Use -aout for kernels right now. This will have to be changed back if
...
the kernel goes ELF.
1998-09-14 11:32:52 +00:00
Jordan K. Hubbard
ac80870e0b
Decouple genassym flags from CFLAGS.
...
Submitted by: jhay
1998-09-14 11:32:17 +00:00
Jordan K. Hubbard
cde2c8b084
Boy, Mr. Obrien is committing in his sleep again; there is also no
...
user named wheel. :)
1998-09-14 11:14:11 +00:00
Jordan K. Hubbard
9ca57e33cd
There is no group name of "root"; assume man was what was intended.
1998-09-14 10:52:30 +00:00
KATO Takenori
3031fd3097
Sync with sys/i386/conf/majors.i386 revision 1.48.
1998-09-14 10:43:26 +00:00
Robert Nordier
4cbf0238eb
Add BTX startup/interface code.
1998-09-14 10:37:00 +00:00
Dag-Erling Smørgrav
49ee7af69e
Don't require an executable file name. If no executable image is
...
specified, use /proc/<pid>/file. Document it.
PR: bin/7915
Suggested-By: Wolfram Schneider <wosch@panke.de.freebsd.org>
1998-09-14 10:09:30 +00:00
David E. O'Brien
30173cb8aa
Add ${RM} for compatability with SunOS.
...
Many use ${RM} in their ``clean'' targets.
1998-09-14 09:22:04 +00:00
Søren Schmidt
c77c6e0cbb
Make /dev/vga a softlink to /dev/ttyv0 under DEVFS using /etc/rc.devfs
...
Remove the hack from syscons that added a /dev/vga node in DEVFS
it broke root acces on ttyv0 because dev_mkdb screwed up.
1998-09-14 09:14:46 +00:00
David E. O'Brien
5ecaf9a866
Change file ownership from bin.bin to root.wheel.
1998-09-14 08:34:45 +00:00
Doug Rabson
3929d51888
Portability fixes when sizeof(int) != sizeof(long).
1998-09-14 08:32:20 +00:00
David E. O'Brien
a0279c111f
Support our "nfsv2" option. (originally added to old amd/amd/host_opts.c
...
rev 1.5)
The "nfsv2" option is equivant to "proto=udp,vers=2". It is debatable
whether NFS v2 should force "proto=udp" but I figure that is what most people
will expect. Note, I can get the new Amd to mount a 2.2-STABLE box with
"proto=tcp,vers=2". RFC 1094 does not disallow such behavior.
1998-09-14 08:20:37 +00:00
John Polstra
22d4b0fb41
Add provisions for variant core dump file formats, depending on the
...
object format of the executable being dumped. This is the first
step toward producing ELF core dumps in the proper format. I will
commit the code to generate the ELF core dumps Real Soon Now. In
the meantime, ELF executables won't dump core at all. That is
probably no less useful than dumping a.out-style core dumps as they
have done until now.
Submitted by: Alex <garbanzo@hooked.net> (with very minor changes by me)
1998-09-14 05:36:51 +00:00
Brian Somers
9f67f727aa
Gasp ! Bitten by the wonders of diff/patch ! Now's your chance to
...
say ``I told you so'' Andrey !
Move the Id keyword to the right Makefile
1998-09-13 23:14:20 +00:00
Brian Somers
965066d630
Add Id keyword
1998-09-13 23:11:13 +00:00
Eivind Eklund
dfef928b1c
Support PnP compatibility IDs. This allow e.g. the ed driver to pick
...
up any PnP NE2000 compatible card, instead of forcing us to always
update ID lists.
Submitted by: Ugo Paternostro <paterno@dsi.unifi.it>
1998-09-13 22:15:44 +00:00
Wolfram Schneider
c7e4247c19
`make clean' depend on the inclunde file bsd.dep.mk
1998-09-13 20:57:56 +00:00
Nicolas Souchu
41990851b8
invalid printf call fixed -> compile time warning removed
1998-09-13 20:57:06 +00:00
Nicolas Souchu
bf492ef4c8
unused function removed (byte_1284_inbyte)
1998-09-13 20:44:55 +00:00
Luoqi Chen
02bc6ef2c8
Fix a cut 'n paste mistake.
1998-09-13 20:32:45 +00:00
David E. O'Brien
6f729f168e
Port #s 1-599 checked agaist Robert Watson <robert@cyrus.watson.org>'s
...
formated IANA Port assignment list.
Prodded from: freebsd-current list
1998-09-13 20:22:19 +00:00
Warner Losh
d1762d1fbe
Fix minor style bugs noticed by the Bruce Filter.[tm]
...
Bruce-Filter-By: bde
1998-09-13 19:54:54 +00:00
Tor Egge
5557a02a60
Be more consistent with handling of quote mark control character.
...
Don't output double-quotes inside variable expansion/arithmetic
expansion region in here-documents. When leaving the arithmetic
expansion syntax mode, adjust the dblquote flag according to
previous syntax, in order to avoid splitting of quoted variables.
1998-09-13 19:24:57 +00:00
Nicolas Souchu
7dcba2c8a1
Lowlevel i/o routines for ZIP+ support. Mostly written with microseq
...
mechanism
1998-09-13 18:28:15 +00:00
Nicolas Souchu
54ad6085b1
ppbus enhanced to support ZIP+ : microseq improved
1998-09-13 18:26:44 +00:00
Nicolas Souchu
24ef1eb143
ppbus enhanced to support ZIP+ : 1284 code added, microseq improved +
...
some bugs corrected in vpoio.
1998-09-13 18:26:26 +00:00
Nicolas Souchu
15cc1109dc
add immio.c for ZIP+ support
1998-09-13 18:24:38 +00:00
Poul-Henning Kamp
3d9c8a5dae
Use -R argument to cvs, this lets us work with a read-only repository,
...
at least to the extent that cvs bugs allow us to.
1998-09-13 17:20:57 +00:00
Bill Paul
a5be897656
Add device list entries for the tl and xl PCI ethernet devices.
1998-09-13 16:45:10 +00:00