Commit Graph

39326 Commits

Author SHA1 Message Date
luoqi
b19f5a0265 Check if an fs is mounted before checking if it is mounted read-only.
Pointed out by:		Mike Smith	<msmith@freebsd.org>
1999-07-19 21:04:25 +00:00
rnordier
a7afad5c3f Activate kgzip. 1999-07-19 20:22:44 +00:00
rnordier
bbc6188804 Activate kgzldr. 1999-07-19 20:16:34 +00:00
rnordier
289309451d Use M4FLAGS for m4. 1999-07-19 20:10:17 +00:00
markm
7eec134793 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
rnordier
91c94bd082 This commit was generated by cvs2svn to compensate for changes in r48907,
which included commits to RCS files with non-trunk default branches.
1999-07-19 18:07:44 +00:00
rnordier
f5a2fbe418 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
rnordier
bff311200f This commit was generated by cvs2svn to compensate for changes in r48905,
which included commits to RCS files with non-trunk default branches.
1999-07-19 18:00:18 +00:00
rnordier
21ebb70093 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
green
45d6d24729 Various cleanups. 1999-07-19 17:37:42 +00:00
hosokawa
e83dc7071c Sync with GENERIC (place of xe0 driver) 1999-07-19 15:18:21 +00:00
hosokawa
3fedce3049 sync with boot_crunch.conf.generic
(added arp, sed, and test)
1999-07-19 12:23:33 +00:00
jkh
febde75d0f Catch an XFree86 3.3.4 update I missed. 1999-07-19 11:58:01 +00:00
jkh
c53c574b39 Update for XFree86 3.3.4 1999-07-19 11:49:22 +00:00
jkh
f7a8e911ac Wait for dhclient in a far saner fashion.
Submitted by:	obrien
1999-07-19 11:00:56 +00:00
sheldonh
1c71126f0c 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
jkh
6623f48de6 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
jkh
3dfb76f3fa cleanup pass over new stuff. 1999-07-19 10:18:52 +00:00
jkh
41da52ddf5 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
phk
30e51d98e7 [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
phk
e7bb8269c7 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
jkh
436c09c576 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
bde
ef44110d63 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
bde
5653aac1db 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
bde
dd1d568e3f 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
jmb
e4955234d2 fix comment re: RST received in TIME_WAIT to match the code. 1999-07-18 14:42:48 +00:00
phk
c3292a7672 Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
phk
498fdd6e80 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
57f6c4db5c Reset SA_NOCLDWAIT on exec().
PR:		kern/12669
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
1999-07-18 13:40:11 +00:00
phk
9a6b56110d 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
jkh
0a77c04420 Some additional optimizations for using DHCP. 1999-07-18 10:18:06 +00:00
jkh
1b449424cb Use a less annoying default hostname. 1999-07-18 09:58:01 +00:00
yokota
7bb84d6769 - 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
yokota
cc37dd2b1b - 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
mpp
3d48e8793a Print out the fields that are set in fs_flags. 1999-07-18 02:33:05 +00:00
jdp
ba62500ea4 Remove a duplicate comment. 1999-07-18 02:26:02 +00:00
jkh
bc7fbcba28 Miscellaneous fixes for dhcp client support. 1999-07-18 02:20:56 +00:00
jdp
9612e6f100 Remove four no-op casts. 1999-07-18 01:35:26 +00:00
jdp
ab1b9caa66 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
jdp
5db3ba522b 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
phk
36eb5a8e51 Centralize dumpdev handling. 1999-07-17 20:47:52 +00:00
phk
6d2b566c89 Reverse the sense of a test, dev2udev() will be much cheaper than
udev2dev().
1999-07-17 20:29:10 +00:00
phk
640ea1ffaa Add a field to struct swdevt to avoid a bogus udev2dev() call. 1999-07-17 19:59:55 +00:00
phk
8263546ccb Fix 2nd arg to udev2dev() call in ccd.c 1999-07-17 19:58:37 +00:00
phk
6e0f4da6f8 Use 256 as magic in bmaj2cmaj[]. Treat BLK/CHR dev_t more correctly. 1999-07-17 19:57:25 +00:00
phk
4f8bf9ad13 Fix 2nd arg to udev2dev(). 1999-07-17 19:38:00 +00:00
jkh
304842b971 Add arp to the boot floppy. 1999-07-17 19:30:01 +00:00
jdp
bf8c1bdcf3 Add braces to appease the egcs -Wall mom. 1999-07-17 19:03:20 +00:00
jdp
5334e6ee4e 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
phk
878ac6f63d 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