Commit Graph

198074 Commits

Author SHA1 Message Date
joerg 86df96f692 Allow building with the changed weakref semantic in GCC 4.2 and clang. 2011-02-18 23:37:36 +00:00
jmcneill 56e0e00bb2 add Adaptec RAID 3405 2011-02-18 22:54:27 +00:00
jmcneill 9213e5d254 regen 2011-02-18 22:53:38 +00:00
jmcneill 3d4802dd04 add Adaptec RAID 3405 2011-02-18 22:52:53 +00:00
rmind 617a3e62e4 Compile subr_pcu.c under option PCU. 2011-02-18 22:49:03 +00:00
aymeric d64f51a135 pkg_install is now at 20110215 2011-02-18 22:45:46 +00:00
aymeric be644fb029 merge pkg_install 20110215 2011-02-18 22:36:00 +00:00
aymeric 997253ffc3 Import pkg_install 20110215.
--- 20110215:
Fix audit-history subcommand to include patterns making use of [x-y] notation.

--- 20101212:
Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches when
pkg_add'ing on NetBSD.

--- 20101122:
Fix crash in pkg_info -X on hand-written packages.

--- 20100915:
Allow https URLs.

--- 20100914:
Add -D flag to pkg_install, to override the "pkg_add -U" check that
all depending packages have their dependencies satisfied by the new
package.  Essentially, split off this particular behavior as a special
case of -f, so that -f works as before, unforced works as before, and
one can give -D to override exactly this check, leaving all other
checks intact.

The -D flag is in support of make replace, as the workflow for make
replace is that inter-package dependencies are sometimes violated (but
then one must replace the depending packages, which is what
pkg_rolling-replace does via the unsafe_depends flags).

Add missing break statement in option parsing of "pkg_add -C", riding
the version bump.
2011-02-18 22:32:27 +00:00
joerg bb8c5e2153 bsd-kvm.c needs -D_KMEMUSER now. 2011-02-18 22:27:51 +00:00
drochner 896d946a93 redo result buffer allocation, to avoid dynamic allocations:
-use exponentially growing buffer sizes instead of just linear extension
-drop the dynamic allocation of buffer metadata introduced in rev.1.8 --
 if the initial array is not sufficient something is wrong
-apply some (arbitrary, heuristic) limit so that compressed data
 which extract into insane amounts of constant data don't kill the system
This addresses PR kern/36864 by Wolfgang Stukenbrock. Some tuning
might be useful, but hopefully this is an improvement already.
2011-02-18 22:02:09 +00:00
phx e786622161 Include <sys/gpio.h> for GPIOMAXNAME to make it compile again when a gpio(4)
device is attached.
2011-02-18 21:38:17 +00:00
christos a913237f1e undo the thread and atomic lossage of the import. 2011-02-18 21:25:06 +00:00
matt ff7f7c8aaa Make sure stub routines are not profiled. 2011-02-18 21:08:18 +00:00
matt 6e28105ca7 Add a __noprofile keyword to disable the profiling of a function. 2011-02-18 21:06:12 +00:00
christos 01d6c84859 PR/44599: Steven Vernon: libedit acts as if no data read if editmode is turned
off because nread is uninitialized in the edit disabled case.
2011-02-18 20:53:05 +00:00
drochner 909a8e8346 more "const" 2011-02-18 19:56:01 +00:00
pooka 5191458a1c hijack libc-internal name for lseek so that libc-internal callers
go to the right kernel too.
2011-02-18 19:27:06 +00:00
tsutsui 2ba8a55cfa Use aprint_normal(9) and variants. 2011-02-18 19:15:43 +00:00
tsutsui d37f017885 Make local functions static. 2011-02-18 19:15:06 +00:00
drochner bbd82ed172 sprinkle some "const", documenting that the SA is not supposed to
change during an xform operation
2011-02-18 19:06:45 +00:00
drochner 0f13d3ab4b fix misinterpretation of REX prefixes where use of the accumulator
as operand is hardwired into the instruction code,
mostly from Wolfgang Stukenbrock per PR port-amd64/44405
2011-02-18 18:00:52 +00:00
jruoho 5f9b9b3433 Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI
for pointing this out.
2011-02-18 17:34:22 +00:00
jruoho 95a56e1be2 Provide ACPI_CAST_PTHREAD_T(x). 2011-02-18 17:31:14 +00:00
jruoho eb474d132b Revert previous. 2011-02-18 17:26:07 +00:00
matt 7f0a223c71 Move powerpc_mmap_flags since pmap.c can get compiled multiple time resulting
in multiple defintions of powerpc_mmap_flags.
2011-02-18 16:40:50 +00:00
pooka 4674f09289 I think I skipped the class where they taught that multiplication
is done before addition...
2011-02-18 16:22:10 +00:00
drochner e790ebf12c do proper statistics counting for outbound packets, fixes PR kern/30182
by Gilles Roy
2011-02-18 16:12:26 +00:00
drochner a301ba8826 deal with IPv6 address scope, so that SA lookup for
link-local addresses works
(PR kern/43071 is related, but refers to KAME IPSEC)
2011-02-18 16:10:11 +00:00
pooka f836d17195 Improve isrmt() check: it cannot be a rmt fd if there are no pipes
open for the fd.  Prevents collision with rumphijack.

Also, prevent potential hyperspace memory access.

Does someone want to write tests for this facility?
2011-02-18 16:10:09 +00:00
tsutsui ad086f710d sgc takes slot, not scode. 2011-02-18 16:06:20 +00:00
tsutsui 58fe5c22a9 Add definitions for stream methods. 2011-02-18 16:05:22 +00:00
tsutsui 1c458de26a Make local functions and variables static. 2011-02-18 16:02:48 +00:00
bouyer e09a28661e Initialize error in snapshot_expunge(); if the list is empty error would
be returned uninitialized. t_snapshot_v2 was failing for me when
librumpffs was compiled DGB=-g.
No idea why gcc didn't catch this ...
2011-02-18 14:48:54 +00:00
pooka c0f2e1965c block cross-kernel rename in the other direction also 2011-02-18 14:44:46 +00:00
pooka ff90450826 fix rename 2011-02-18 14:33:11 +00:00
jmcneill 9dca98e3b3 add via_dmablit 2011-02-18 14:26:52 +00:00
jmcneill 7f1c70f60c add drm_sman, drm_mm, drm_hashtab 2011-02-18 14:26:40 +00:00
jmcneill 4add633a5d sync viadrm with FreeBSD, big new feature is AGP DMA and PCI DMA support 2011-02-18 14:26:09 +00:00
pooka b8883bd5ec uhm, put PF_LOCAL on the socketlist 2011-02-18 14:25:04 +00:00
jmcneill 3836fe16df call vcons_hard_switch to switch to the console screen when entering polling
mode, makes ddb-from-X work with genfb on x86
2011-02-18 13:56:58 +00:00
jmcneill a1001814e2 add vcons_hard_switch, for switching w/o callouts (eg. entering ddb) 2011-02-18 13:56:11 +00:00
jruoho 53d29cc6c2 A small cleanup for the previous; use kmem(9), add assertions, etc. 2011-02-18 13:56:03 +00:00
hannken 6b3add8f17 Adjust previous: set the dealloc soft limit to half hard limit. 2011-02-18 13:24:40 +00:00
pooka 051ff4a0eb hfs 2011-02-18 13:08:41 +00:00
pooka 7e9c3f5ca7 Add test case for /->: conversion from PR kern/44523 by
Taylor R Campbell.

I adjusted the test to uudecode + bunzip2 the supplied image, and
removed the "null-finder" from the dirent code, since it had an
off-by-one which made the test fail.
2011-02-18 13:07:54 +00:00
pooka 0e29006e71 give the signmonkey a banana 2011-02-18 13:04:52 +00:00
jruoho d47b7e1166 Cast pthread_self(3) to uintptr_t. ACPICA 20100915:
The ACPI_THREAD_ID type is no longer configurable, internally it is now
always UINT64.  This simplifies the ACPICA code, especially any printf
output.  UINT64 is the only common data type for all thread_id types across
all operating systems.  It is now up to the host OSL to cast the native
thread_id type to UINT64 before returning the value to ACPICA (via
AcpiOsGetThreadId).  Lin Ming, Bob Moore.
2011-02-18 13:01:22 +00:00
pooka c89b586dc4 Document .Ev RUMPHIJACK 2011-02-18 12:22:46 +00:00
pooka 45c58b6c6a Use the env variable RUMPHIJACK to specify what facilities should
be hijacked.  If it's not specified, the default is
"path=/rump,socket=all:nolocal".

So, if you're moof and want to relive your domain/os days (??),
you can do this:

pain-rustique:51:~> setenv RUMPHIJACK 'path=//'
pain-rustique:52:~> df //dev
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
rumpfs                1          1          0 100% /
pain-rustique:53:~> df /dev
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
/dev/wd0a       1019864     280640     688232  28% /
2011-02-18 11:41:32 +00:00
drochner 50ee89e031 address the obvious byteorder and alignment problems in gzip size/crc
tail, should fix PR kern/44210 by Wolfgang Stukenbrock
being here, fix a bug in crc calculation of decompressed data, and
actually verify the crc
2011-02-18 10:50:56 +00:00