Commit Graph

153011 Commits

Author SHA1 Message Date
christos 26bb1685bd don't allocate large buffers on the stack. 2006-10-27 16:49:01 +00:00
christos 78a48d28a3 Use strncpy to copy out interface names so that the trailing part of the
buffer is zeroed, and check for overflow.
2006-10-27 15:33:11 +00:00
tnozaki 0c4c29f46b add missing locale syspkg stuffs. 2006-10-27 15:09:46 +00:00
yamt b89279d039 revert malloc -> kmem_alloc part of uvm_swap.c rev.1.110 because
the current implementation of kmem_free can sleep.
2006-10-27 15:06:04 +00:00
yamt 17685f3fdc vmem: use correct function names for ASSERT_SLEEPABLE. 2006-10-27 15:05:16 +00:00
tnozaki 1a00f7afa4 don't pass through surrogate character(0xD800 - 0xDFFF). 2006-10-27 14:13:55 +00:00
pooka 8fdf9afc13 update appropriate timestamps after each operation. cvs works much
better now with dtfs /tmp
2006-10-27 14:03:52 +00:00
tsutsui dee13e6f7d Remove redundant byteswap ops. 2006-10-27 13:26:34 +00:00
pooka 9638ee1464 relax typechecks so that all file types work (they were already supported) 2006-10-27 12:26:25 +00:00
pooka 30a851c1d1 support fifos 2006-10-27 12:25:16 +00:00
tsutsui 5ee73a035c Use common macro rather than local one. 2006-10-27 09:57:26 +00:00
bouyer f91ce46f20 Add SATA native registers support for VIA SATA controllers, so that
drives are probed using the SATA way (from FreeBSD). While here add the
VT8237A SATA Controller to the tables, should fix PR kern/34927.

Thanks to the César Catrián Carreño and paul (at) whooppee.com for
tests.
2006-10-27 08:22:31 +00:00
macallan 4022a1c7d3 fix a typo in chipsfb_bitblt() 2006-10-27 06:14:17 +00:00
uwe 921ce8b2e0 Add prop_dictionary_{get,set}_bool.[03] (hi, potr). 2006-10-27 01:34:35 +00:00
uwe 575dae7120 Add prop_dictionary_all_keys.3 link (hi, potr). 2006-10-27 01:29:37 +00:00
lukem 5b87c223c9 Use "see" instead of "c.f.".
Per feedback from Valeriy E. Ushakov.
2006-10-27 01:29:17 +00:00
uwe 0d5d31b4ff Add back setlogmask.3 (hi, christos). 2006-10-27 01:25:58 +00:00
uwe b0f3335e9a Add syslog_r.3 link (hi christos). 2006-10-27 01:24:26 +00:00
elad 0c57382297 oops - passing wrong integer. 2006-10-27 00:11:44 +00:00
uwe 523122cd3e Nuke GPROF cargo-cult I've been cut-n-pasting around in my drivers. 2006-10-27 00:08:32 +00:00
uwe 2909b42808 Fix __mcount to use bsrf to call _mcount. We know it's in the same
module (in the same file even), so we know the offset at link time and
don't need a reloc.  This kills the last text relocation in the sh3
libc.so.

While here, tweak the code slightly to put delay slots into use.
2006-10-26 23:54:28 +00:00
simonb c7f58e7f3e Make mcount static.
Same problem as described in port-alpha/10582 by ITOH Yasufumi.
pc532 problem pointed out by Valeriy Ushakov.
2006-10-26 23:53:27 +00:00
bjh21 ed5db5831e boot_file is not used by generic NetBSD/arm code, and its type varies by
MACHINE.  Thus, move it out of <arm/bootconfig.h> and put it into
<machine/bootconfig.h> on those MACHINEs (cats, hpcarm, and shark) where
it's used outside the file in which it's defined.
2006-10-26 23:31:47 +00:00
bjh21 be9c217769 Regen (__KERNEL_RCSID()). 2006-10-26 23:21:23 +00:00
bjh21 8eda8c47a7 Emit __KERNEL_RCSID() into videomodes.c so that kernels using it can be
more easily identified.
2006-10-26 23:19:50 +00:00
uwe 088af57adf Do the used/unused dance under #ifdef KERNEL too. Prevents mcount
from being optimized away when compiling sh3 kernels with profiling
enabled (gcc doesn't see that __mcount, which is written in asm,
refers to it).
2006-10-26 23:10:16 +00:00
pooka 0ba65a4c32 support mknod, essentially makes it possible to run dtfs as /dev 2006-10-26 22:53:25 +00:00
pooka 1fc270ecf0 pass rdev for specfs support 2006-10-26 22:53:01 +00:00
pooka 0f94cb76f7 support specfs 2006-10-26 22:52:47 +00:00
bjh21 3191d2a481 Change the type of initarm() on OFW-based ARM systems to match other non-hpcarm
ports.  This seems sensible since all of them call it from the same locore.S.
This makes NetBSD/shark GENERIC compile.
2006-10-26 22:49:36 +00:00
bjh21 b09fd5bdb5 No need for two __KERNEL_RCSIDs. 2006-10-26 22:42:00 +00:00
wiz e2440f408d New sentence, new line.
Add Xr for all referenced drivers, some of them commented out because
the man pages don't exist yet, in particular:
acorn32/amps(4)
acorn32/csa(4)
acorn32/icside(4)
acorn32/rapide(4)
acorn32/simide(4)
hcsc(4)
2006-10-26 22:39:50 +00:00
bjh21 27e5dd6430 MI podulebus(4). 2006-10-26 21:41:47 +00:00
bjh21 79a98f507f At wiz's suggestion, replace the two MD podulebus(4) pages with a single MI
one, modelled somewhat on pci(4).
2006-10-26 21:37:08 +00:00
hannken fcd5ec4841 When using a snapshot take the snapshot raw device on further open.
Fixes PR #34923  dump(8) only dumps a corefile with -X (snapshots)

Approved by: Manuel Bouyer <bouyer@netbsd.org>
2006-10-26 20:02:30 +00:00
uwe 5704a46a71 uvm_page_printall: With new PQ_* flags pg->pqflags no longer fits and
makes the output of "show all pages" ragged.  Widen the field to 4 chars.
2006-10-26 20:00:52 +00:00
thorpej 1aea07a325 Add prop_array_t support to prop_kern. 2006-10-26 18:51:21 +00:00
wiz f31bc9e7e9 Bump date for previous. 2006-10-26 17:54:52 +00:00
drochner cb7efd18c2 minor fixes and cleanup, reviewed by elad 2006-10-26 17:33:11 +00:00
joerg 8f704ed76b Revert last change. The DWL122C1 is *not* an ural device. 2006-10-26 17:29:03 +00:00
kleink 410adc64af tz{code,data}2006n out; tzdata2006n imported. 2006-10-26 17:14:12 +00:00
kleink 87a904a64b Update for tzdata2006n. 2006-10-26 17:12:34 +00:00
kleink c2de9884b6 Import tzdata2006n. 2006-10-26 17:04:27 +00:00
tnozaki 4b8989d796 remove unessesary 0x00-0x20, 0x60-0x7F mapping. 2006-10-26 16:19:02 +00:00
elad 04e6d5f932 Don't take chances... properly document KAUTH_NETWORK_INTERFACE. On a
second thought having that warning just in the CVS log doesn't look too
helpful. :)
2006-10-26 16:11:17 +00:00
elad ed853f6398 Document that arg1 and arg2 for KAUTH_NETWORK_INTERFACE are optional.
Document that arg3 is optionally the interface-specific request. Should
only make sense if we pass ifnet * in arg1!
2006-10-26 16:06:39 +00:00
tnozaki e53a1bf203 DST_UNIT_BITS is 8, nuke leading 0x00. 2006-10-26 16:04:21 +00:00
wiz 7b2e399484 Some cleanups from the person without a name. 2006-10-26 15:26:37 +00:00
tnozaki fe9a7f2aa1 0x2A7E is safe character. 2006-10-26 15:24:00 +00:00
elad 74482de29f Kill a couple of KAUTH_GENERIC_ISSUSER usages.
I had to refactor the code a bit, I hope it's okay.
2006-10-26 15:11:22 +00:00