Commit Graph

120018 Commits

Author SHA1 Message Date
fredb 8098923219 Make the ntp.conf parsing more specific, and therefore more robust. Closes
PR bin/23305.
2003-10-29 19:00:14 +00:00
cl 812a254c5d remove incorrect assert:
regular threads can block in the kernel while holding (libpthread) locks
and have to be continued

XXX if the blocked upcall is preempted, the blocked threads syscall
XXX return value can get lost
2003-10-29 18:53:34 +00:00
tsutsui 18b32ac5ba Switch arc to use MI mc146818 tod driver. 2003-10-29 18:17:49 +00:00
tsutsui 21ebbd9f3e Add a bogus initializer to appease gcc's uninitialized warning.
XXX osiop_checkintr() should be rewritten.
2003-10-29 18:03:22 +00:00
tsutsui cb187dc1a7 Fix bogus GCC uninitialized variable warning. 2003-10-29 18:01:20 +00:00
fvdl e183d65fc4 Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS
code already did this).
2003-10-29 17:51:33 +00:00
tsutsui a17f7ef138 Eliminate an uninitialized variable warning. 2003-10-29 17:45:55 +00:00
tsutsui 159c103f63 Fix think-o about century handling in settime function. 2003-10-29 17:41:36 +00:00
tsutsui 2ba8cd8f89 Add MI driver for mc146818 based time-of-day clock with todr(9) support. 2003-10-29 17:00:40 +00:00
wennmach ae9ab55ceb Add ADC
Change "conversor" -> "converter" in DAC entry
2003-10-29 13:52:25 +00:00
wennmach d4cd75e0ac Add LSB and MSB 2003-10-29 13:47:39 +00:00
pooka 70d2e11feb caps "Jonathan STone" in comment less dramatically 2003-10-29 12:28:33 +00:00
jdolecek 109e80d1e0 __ramdisk MAKEDEV target is no more 2003-10-29 11:50:53 +00:00
mycroft 2dde0746b6 Do a jump optimization that eliminates some uninitialized variable warnings. 2003-10-29 10:12:43 +00:00
dsl 111e24b1c9 Use shell variables for non-alphanumeric patterns in ${x#pattern} to improve
portability.  If particular solaris ksh barfs on patterns containing ( and ).
Fixes PR 23265
2003-10-29 09:13:51 +00:00
lukem d20692fdf5 Under no circumstances try to zap an existing superblock at sector 0.
There's no reasonable situation where there will be one there, except if the
disk had data on it previously for some reason.  It's significantly more
likely (read "the world until UFS2 was merged") that sector 0(..15)
contains really important stuff like boot blocks and disk labels.

Once again, I ask, why wasn't UFS2 implemented as a separate file
system a la lfs & ext2fs ?
It could have shared a chunk of the kernel code (just like those),
and had different userland tools and a different fs_type.
2003-10-29 08:14:13 +00:00
mycroft 1588a62950 Whitespace. 2003-10-29 05:48:19 +00:00
mycroft 2f3400cec7 The previous patch was wrong -- mcr does not output anything. Instead give a
junk input (it's not used when the last argument is 0).
2003-10-29 05:47:04 +00:00
mycroft ebc4881c70 Simplify a little. 2003-10-29 05:32:18 +00:00
mycroft c99cc1e89a If we get an unknown fault code, either panic (if DIAGNOSTIC), or fault it with
a 0 access_type (if not).  Remove bogus initializer.
2003-10-29 05:16:26 +00:00
ross a1a806781b Fix the broken "!" escape and "shell" (&-prompt) commands. These problems
were related to closed PR bin/21896, and to the 2003-3-29 code import.
2003-10-29 05:11:26 +00:00
mycroft 7a85552554 If something goes wrong, we want to return ENOMEM, not 0! 2003-10-29 05:03:41 +00:00
mycroft 01ffeba8a0 Make sure "args" is pointing somewhere sane before calling trace_exit(). 2003-10-29 04:58:26 +00:00
jmc 4d9cb8213a Hobbes was misspelled. PR#23301 2003-10-29 04:53:39 +00:00
mycroft bb5625edb8 Remove bogus initializers. 2003-10-29 04:48:40 +00:00
mycroft 6e4d40343c Don't bother with one of the loops if the data to move is too narrow. 2003-10-29 04:43:18 +00:00
mycroft 75061b28a8 Calculate lastx and lastleft outside the loops... 2003-10-29 04:40:17 +00:00
mycroft a1178ff097 The uninitialized variable in this case was a bug, which could probably be
used to crash the system.
2003-10-29 04:38:50 +00:00
atatat f9130f0cc1 Take the time to set gottime so that you don't have to waste time
trying to figure out why the time isn't the time you expected all the
time.
2003-10-29 04:25:46 +00:00
mycroft 8ece2f61c0 Oops, fix a commito. 2003-10-29 03:54:17 +00:00
mycroft cb4f7a1d86 Bogus initializers suck. 2003-10-29 03:46:10 +00:00
mycroft e24c0c7dfc Move a panic() to a different location, and eliminate a bogus initializer. 2003-10-29 03:40:56 +00:00
mycroft 5ef2e1b264 Fix the real cause of the uninitialized warning -- we were looking for the VLAN
tag in the wrong place!
2003-10-29 03:31:22 +00:00
mycroft 035a25dd52 Simplify a little. 2003-10-29 02:33:51 +00:00
mycroft 3b7d66667e Return EINVAL rather than stepping off a null pointer. 2003-10-29 02:31:55 +00:00
mycroft 1f63a53cea Rework to remove bogus initializers. Also fixes a potential problem with
amr_teardown() unmapping too much.
2003-10-29 02:27:32 +00:00
mycroft e0e9384a8e Reorder, eliminating a bogus initializer. 2003-10-29 02:13:09 +00:00
lukem 443c980dcd use ${.PREFIX} instead of ${.TARGET:R} 2003-10-29 02:10:57 +00:00
mycroft a246f3b7a5 Reorder slightly to eliminate bogus initializers. 2003-10-29 02:02:05 +00:00
mycroft e4bad7fff5 Rework slightly to remove bogus initializer. 2003-10-29 01:54:24 +00:00
mycroft be505a4f82 Adjust to remove bogus initializer. 2003-10-29 01:25:04 +00:00
mycroft 46ef74d63c Recode to remove bogus initializer. 2003-10-29 01:21:38 +00:00
mycroft 0b179751bd XXX: gcc 2003-10-29 01:12:23 +00:00
grant c00167fe91 trim leading whitespace from an #error, shuts up warning from
makedepend.
2003-10-29 01:11:16 +00:00
mycroft 9e80bdd1f0 Recode the probe slightly to remove a bogus initializer.
Also, don't do the rest of the probe work if the product ID mismatches, since
we'll return 0 anyway.
2003-10-29 01:10:12 +00:00
mycroft 9d009e4f2a Remove bogus initializer, and fix a typo in a loop variable instead. 2003-10-29 00:48:15 +00:00
mycroft dc3fafca35 Remove bogus initializer, and instead fix an =/== typo. 2003-10-29 00:34:58 +00:00
mycroft 39c696c2e6 Remove unnecessary code. 2003-10-28 23:56:00 +00:00
mycroft 909205520a KNF. 2003-10-28 23:40:27 +00:00
mycroft 16413c6f77 The "bad status" case is impossible -- the switch value is constrained to 2
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
2003-10-28 23:37:59 +00:00