Commit Graph

39352 Commits

Author SHA1 Message Date
Robert Nordier 0277da1675 Activate kgzip. 1999-07-19 20:22:44 +00:00
Robert Nordier ac176e5590 Activate kgzldr. 1999-07-19 20:16:34 +00:00
Robert Nordier b407f553fb Use M4FLAGS for m4. 1999-07-19 20:10:17 +00:00
Mark Murray f95d9a7c6c Fix a problem where commands in backticks `` wont get executed in taint
mode because of an insecure path.

Reported by:	George Cox
1999-07-19 18:17:54 +00:00
Robert Nordier ba8860241d kgzldr is a kzipboot replacement for use with kgzip(8).
Development sponsored by Global Technology Associates, Inc.

Reviewed/tested by: abial
1999-07-19 18:07:44 +00:00
Robert Nordier 4566a1d1d3 kgzip is a kzip(8) replacement able to compress and link bootable
32-bit binaries in both ELF and a.out format.

Development sponsored by Global Technology Associates, Inc.

Reviewed/tested by: abial
1999-07-19 18:00:18 +00:00
Brian Feldman a2dca20711 Various cleanups. 1999-07-19 17:37:42 +00:00
Tatsumi Hosokawa 18200ad993 Sync with GENERIC (place of xe0 driver) 1999-07-19 15:18:21 +00:00
Tatsumi Hosokawa 51d4d7feae sync with boot_crunch.conf.generic
(added arp, sed, and test)
1999-07-19 12:23:33 +00:00
Jordan K. Hubbard 96d6032053 Catch an XFree86 3.3.4 update I missed. 1999-07-19 11:58:01 +00:00
Jordan K. Hubbard ba7a9304d9 Update for XFree86 3.3.4 1999-07-19 11:49:22 +00:00
Jordan K. Hubbard 0d7065f9ce Wait for dhclient in a far saner fashion.
Submitted by:	obrien
1999-07-19 11:00:56 +00:00
Sheldon Hearn 58aa6f74a2 Fix handling of the cd command inside evaluations. It was changing PWD,
which it should not do.

PR:	12578
Reported by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Submitted by:	Niall Smart <niall@pobox.com>
1999-07-19 11:00:33 +00:00
Jordan K. Hubbard 7f37499c9c Add /bin/test to the boot floppy. Guess we'll have to sync this up
with boot_crunch.conf.pccard at some point?
1999-07-19 10:53:54 +00:00
Jordan K. Hubbard 56278e0f8d cleanup pass over new stuff. 1999-07-19 10:18:52 +00:00
Jordan K. Hubbard ad183257e6 Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information.  This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
1999-07-19 10:06:18 +00:00
Poul-Henning Kamp 3de280c443 [click] Now all dev_t's in the kernel have their char device major.
Only know casualy of this is swapinfo/pstat which should be fixes
the right way:  Store the actual pathname in the kernel like mount
does.  [Volounteers sought for this task]

The road map from here is roughly:  expand struct specinfo into struct
based dev_t.  Add dev_t registration facilities for device drivers and
start to use them.
1999-07-19 09:37:59 +00:00
Poul-Henning Kamp 6f13bfc261 Add sysctl tree debug.sizeof to tell us how big things are. First two
entries are struct proc and struct vnode.
1999-07-19 09:13:12 +00:00
Jordan K. Hubbard 9827a7982b Fix type of host-name option. Partial fix for referenced PR.
Submitted by:	John Baldwin <jobaldwi@vt.edu>
PR:		12205
1999-07-19 01:58:46 +00:00
Bruce Evans e9ecccf8cb Updated acquire_timer2()'s state machine to work when the i8254 is
being used for timecounting.  Fixed a race or two in it.  Undisabled
it.

PR:		10455
1999-07-18 18:32:42 +00:00
Bruce Evans ab64b6dc3c Don't let the machdep.tsc_freq sysctl proceed if the TSC is present
but broken, since tsc_timecounter is not initialised in that case,
and updating an uninitialised timecounter is fatal.

Fixed style bugs in the machdep.i8254_freq and machdep.tsc_freq
sysctls.

Reviewed by:	phk
1999-07-18 15:19:29 +00:00
Bruce Evans 6b6ef746e5 Added a sysctl "kern.timecounter.hardware" for selecting the hardware
used for timecounting.  The possible values are the names of the
physically present harware timecounters ("i8254" and "TSC" on i386's).

Fixed some nearby bitrot in comments in <sys/time.h>.

Reviewed by:	phk
1999-07-18 15:07:20 +00:00
Jonathan M. Bresler e9bd3a37e8 fix comment re: RST received in TIME_WAIT to match the code. 1999-07-18 14:42:48 +00:00
Poul-Henning Kamp 684adedee4 Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
Poul-Henning Kamp 6ca5486476 Introduce the vn_todev(struct vnode*) function, which returns the dev_t
corresponding to a VBLK or VCHR node, or NODEV.
1999-07-18 14:30:37 +00:00
Peter Wemm 80e907a1df Reset SA_NOCLDWAIT on exec().
PR:		kern/12669
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1999-07-18 13:40:11 +00:00
Poul-Henning Kamp 9d4ee2f2ef Make devname(3) return something more intelligent than NULL if it doesn't
find anything in the database.
1999-07-18 10:19:48 +00:00
Jordan K. Hubbard 43d5ccb239 Some additional optimizations for using DHCP. 1999-07-18 10:18:06 +00:00
Jordan K. Hubbard 2a622f9d9f Use a less annoying default hostname. 1999-07-18 09:58:01 +00:00
Kazutaka YOKOTA f1235db8bd - Clear relevant variables when the keyboard is not available.
- Do not touch the `tty' struct when it's not yet available.
- Initialize correct bits in `fonts_loaded'.
1999-07-18 06:16:53 +00:00
Kazutaka YOKOTA 29e59d7deb - Move the `return' statement the correct place so that the keyboard
won't be initialized if `atkbd?' is disabled.
1999-07-18 06:16:25 +00:00
Mike Pritchard 56d253f621 Print out the fields that are set in fs_flags. 1999-07-18 02:33:05 +00:00
John Polstra 3083856d5c Remove a duplicate comment. 1999-07-18 02:26:02 +00:00
Jordan K. Hubbard bb1bff6dec Miscellaneous fixes for dhcp client support. 1999-07-18 02:20:56 +00:00
John Polstra 7ac9503b86 Remove four no-op casts. 1999-07-18 01:35:26 +00:00
John Polstra bfb1ef6058 Change many asserts into normal errors. They were all for conditions
caused by invalid shared objects rather than by internal errors.

Enable format string mismatch checking for _rtld_error().
1999-07-18 00:02:19 +00:00
John Polstra 46270bddbc Remove trailing whitespace from a couple of lines. It made its way
into the .cf file and gave sendmail indigestion.
1999-07-17 23:22:13 +00:00
Poul-Henning Kamp f06a54f0a0 Centralize dumpdev handling. 1999-07-17 20:47:52 +00:00
Poul-Henning Kamp 68f7448fd7 Reverse the sense of a test, dev2udev() will be much cheaper than
udev2dev().
1999-07-17 20:29:10 +00:00
Poul-Henning Kamp 9806ce5b8e Add a field to struct swdevt to avoid a bogus udev2dev() call. 1999-07-17 19:59:55 +00:00
Poul-Henning Kamp 59c4226d5f Fix 2nd arg to udev2dev() call in ccd.c 1999-07-17 19:58:37 +00:00
Poul-Henning Kamp d21c632c4b Use 256 as magic in bmaj2cmaj[]. Treat BLK/CHR dev_t more correctly. 1999-07-17 19:57:25 +00:00
Poul-Henning Kamp c7119ea7dd Fix 2nd arg to udev2dev(). 1999-07-17 19:38:00 +00:00
Jordan K. Hubbard 00002ecad4 Add arp to the boot floppy. 1999-07-17 19:30:01 +00:00
John Polstra caf4d16aef Add braces to appease the egcs -Wall mom. 1999-07-17 19:03:20 +00:00
John Polstra 2062f4ee11 Make gcore work again. It was broken by a format change in the
procfs map file when object IDs were eliminated in the mega-commit
that included procfs_map.c revision 1.19.

The map file is a terrible hodge-podge.  The fields that are used
mainly for kernel debugging should be moved out of it into a
separate file, so that the interface presented by the map file to
applications can remain stable in the face of VM system changes.
1999-07-17 18:58:32 +00:00
Poul-Henning Kamp f008cfcc1a I have not one single time remembered the name of this function correctly
so obviously I gave it the wrong name.  s/umakedev/makeudev/g
1999-07-17 18:43:50 +00:00
Alan Cox 1ce1a8bf67 An SMP-specific change: eliminate another check on bsp_apic_ready.
(See rev 1.23.)
1999-07-17 18:34:32 +00:00
Poul-Henning Kamp 835646d6ef slight change in the way we hi-jack the wd drivers cdevsw. 1999-07-17 17:55:53 +00:00
Brian Somers 02ad5579d0 Fix a typo
Submitted by:	Rich Wood <rich@chugaboom.net>
1999-07-17 10:33:57 +00:00