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
alc
f325e34ace
An SMP-specific change: eliminate another check on bsp_apic_ready.
...
(See rev 1.23.)
1999-07-17 18:34:32 +00:00
phk
e32516d57a
slight change in the way we hi-jack the wd drivers cdevsw.
1999-07-17 17:55:53 +00:00
brian
ac3ceda750
Fix a typo
...
Submitted by: Rich Wood <rich@chugaboom.net>
1999-07-17 10:33:57 +00:00
bde
c926ce1665
Decode new ptrace requests PT_GETDBREGS and PT_SETDBREGS.
1999-07-17 09:27:41 +00:00
marcel
90eec5398e
Implementation of TCXONC.
...
Reviewed by: bde
1999-07-17 08:24:57 +00:00
dfr
29e416a92d
Merge some patches from RedHat-6.0. The most important change fixes a bug
...
when linking large shared libraries where the linker missed out some of
the dynamic relocations from the output. This prevents libqt from linking
properly among other packages.
Obtained from: RedHat-6.0
1999-07-17 08:04:58 +00:00
jkh
0827089587
Add in a hack to turn off unaligned access warnings for alpha.
...
Submitted by: msmith
1999-07-16 22:07:09 +00:00
jkh
6bf0f0fd41
Don't offer compat dists on alpha since it makes no sense to do so.
...
Suggested by: msmith
1999-07-16 22:03:27 +00:00
green
253614e6b4
I think the last revision got lost here. Identd needs to be run as root,
...
at least for now. I relegated the getcred sysctls to only root, but if
they're deemed to be "allowable" to export to users, I'll do so and
revert this change.
1999-07-16 16:24:13 +00:00
sheldonh
d3feb2fa04
Document the new {auth,ident,tap} service and provide examples in the
...
configuration file.
Requested by: green
1999-07-16 15:41:14 +00:00
jkh
d65a08ff66
Re-enable DHCP client support again (but optional and turned off by default
...
for the time being) for debugging purposes.
Fix bug in options selection.
1999-07-16 11:13:09 +00:00
jkh
5115cfb3cd
Allow DHCP to be used in an ifconfig variable instead of the usual
...
address information, producing the obvious effect (dhcp configuration).
Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
1999-07-16 09:26:53 +00:00
jkh
952f0f321c
Document dhcp flags.
...
Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
1999-07-16 09:22:01 +00:00
dfr
14dd7d7a45
Handle R_ALPHA_NONE relocations in KLD.
1999-07-16 09:16:11 +00:00
simokawa
958df319db
Enable gprof on alpha.
...
* alpha.{c,h} are same as i386.{c,h}.
* Force address calculation to be done in long precision(64bit on alpha)
rather than double precision(52bit).
1999-07-16 07:22:10 +00:00
simokawa
e4dec531d7
Enable gmon/mcount on alpha.
1999-07-16 07:05:34 +00:00
simokawa
3587660f83
Enable gcrt1.o.
1999-07-16 06:59:27 +00:00
simokawa
828ecc1f80
* Restore register correctly.
...
* Add missing bits for profiling.
1999-07-16 06:45:52 +00:00
simokawa
948637b1f2
Make profil() 64bit-safe for alpha.
...
uintfptr_t may be better for offset, but we must wait until
the definition of uintfptr_t moves from machine/profile.h.
Reviewed by: bde
1999-07-16 06:28:55 +00:00