plunky
043900c0cb
constify dirname(3) and basename(3)
2008-04-23 07:53:26 +00:00
plunky
f983e71d70
constify uuid(3)
2008-04-23 07:52:32 +00:00
thorpej
02f63fe1bf
PF_KEY stats for IPSEC and FAST_IPSEC are now per-CPU.
2008-04-23 07:29:47 +00:00
thorpej
caf49ea572
Make IPSEC and FAST_IPSEC stats per-cpu. Use <net/net_stats.h> and
...
netstat_sysctl().
2008-04-23 06:09:04 +00:00
thorpej
33326077b1
Use <net/net_stats.h> / netstat_sysctl().
2008-04-23 05:26:50 +00:00
thorpej
34908fe541
Add subroutines to support collating per-cpu-gathered network statistics.
2008-04-23 05:21:17 +00:00
macallan
3d7d158b1c
shark doesn't need ioperm_noop.c anymore
2008-04-23 05:13:43 +00:00
cegger
ac625f0f59
revert rev. 1.16 and redo the fix as proposed by oster per private mail
2008-04-22 22:49:49 +00:00
cegger
68519ac971
amdtemp(4): Driver for AMD CPU Temperature Sensors. Adopted from OpenBSD's kate(4).
...
Changes beyond OpenBSD's driver:
- Improved support for AMD K8
- Added support for AMD Barcelona, AMD Phenom and AMD Griffin
Tested on various single and multi-socket machines.
Review and OK xtreame
2008-04-22 22:37:12 +00:00
uwe
95c5c2aebe
Defer wide int L/LL suffix choice in insn-*.c until we compile for
...
host using correct set of HOST_WIDE_INT* defines. Fixes compilation
of native sh3 gcc on 64-bit build machines.
Background and details in NetBSD PR 34549 and GCC bug 32497.
Tested by Joerg and myself.
Approved by "looks ok, but let some other guy decide" from ~all of our
gcc folks.
2008-04-22 22:06:01 +00:00
ad
624dcd9102
Sprinkle locking.
2008-04-22 21:33:13 +00:00
ad
dce30353aa
Add a comment.
2008-04-22 21:29:21 +00:00
ad
be60f17289
Repair copyright.
2008-04-22 21:26:48 +00:00
ad
9e0517c26f
Grab proclist_lock for p->p_pgrp.
2008-04-22 21:23:17 +00:00
dyoung
35eb8b696a
Copy a const string to a temporary buffer instead of using __UNCONST().
...
Cosmetic: get rid of superflous curly braces and cast to (void *).
2008-04-22 17:18:11 +00:00
nakayama
913a6487e6
#include "opt_multiprocessor.h"
...
#include <machine/psl.h>
Make sparc64 kernel build again.
2008-04-22 17:09:25 +00:00
nakayama
7850df81b5
include "opt_multiprocessor.h"
2008-04-22 16:51:30 +00:00
jmcneill
aa5089f1c5
Print table header information with ACPI_DEBUG_PRINT instead of ACPI_INFO.
2008-04-22 16:16:37 +00:00
ad
ebca8ee832
mutex_owned, rw_read_held, rw_write_held, rw_lock_held: check for a NULL
...
pointer.
2008-04-22 14:46:35 +00:00
cegger
73d529c226
Make this build again. From Hans Rosenfeld.
2008-04-22 14:02:04 +00:00
xtraeme
fc4443a49b
Set the ENVSYS_FCHANGERFACT flag in voltage sensors, so that we
...
can use the 'rfact' property in /etc/envsys.conf to change the
resistor factor (in case the converted data is not correct).
2008-04-22 13:33:38 +00:00
xtraeme
1b916313b0
- Fixup rfact values for itesio(4) in the Gigabyte P35C-DS3R mobo.
...
Only a sensor is only returning unknown data, all the other ones
match what the BIOS returns.
- Improve comments and add a note for contacting me if the values
returned by drivers are not correct.
2008-04-22 13:16:32 +00:00
lukem
b81e94d02a
Use the service name to getaddrinfo() (along with the host name), so that
...
features such as DNS Service Discovery have a better chance of working.
Suggested by David Young <dyoung>.
Display the service name in various status & error messages.
Don't getservbyname() the :port component of a URL; RFC 3986 says it's
just an unsigned number, not a service name.
2008-04-22 12:59:33 +00:00
tsutsui
c81a918994
Redo a change in rev 1.160 with more proper way:
...
> Don't make linker warnings fatal on linking static libs since
> there is no proper way to avoid "FOO is a patented algorithm" warnings.
Ok'ed by christos@ and dogcow@ on tech-toolchain, and
tested build.sh build for sun2, news68k, alpha and newsmips.
2008-04-22 12:47:59 +00:00
njoly
8668268571
Fix semaphore permissions returned by semctl+IPC_STAT, by masking
...
anything else that the expected lower 9 bits.
2008-04-22 12:14:12 +00:00
ad
43d8bae932
Give callout_halt() an additional 'kmutex_t *interlock' argument. If there
...
is a need to block and wait for the callout to complete, and there is an
interlock, it will be dropped while waiting and reacquired before return.
2008-04-22 12:04:22 +00:00
ad
c7566c2cde
Don't pull in sys/callout.h.
2008-04-22 12:00:44 +00:00
ad
ecebc8b473
Implement MP callouts as discussed on tech-kern. The CPU binding code is
...
disabled for the moment until we figure out what we want to do with CPUs
being offlined.
2008-04-22 11:45:28 +00:00
ad
3fbed79bb8
Mark the callout MPSAFE and use callout_halt().
2008-04-22 11:44:24 +00:00
reinoud
0971ac9234
When using nested buffers, allow one erroring-out nested buffer to
...
error-out the master buffer.
The old setup was undeterministic since a later sheduled nested buffer
could clear the error again since there is no B_ERROR flag anymore. It also
would discard the error the nested buffer returned.
2008-04-22 11:05:06 +00:00
rmind
4000aba309
Add posix_madvise(2) and appropriate definitions in sys/mman.h header.
...
This interface is identical to madvise(2), however, is defined by POSIX.
Partially sync madvise(2) man page with FreeBSD.
Reviewed by <mrg>.
2008-04-22 10:42:16 +00:00
cegger
36244f71ec
Fix error path:
...
Don't try to free non-allocated memory. Only free allocated memory.
This fixes a crash reported by Brian A. Seklecki on port-xen:
http://mail-index.netbsd.org/port-xen/2008/04/10/msg003555.html
Fix tested by Brian A. Seklecki:
http://mail-index.netbsd.org/port-xen/2008/04/21/msg003604.html
2008-04-22 09:29:08 +00:00
martti
b439950800
IPFilter 4.1.29 is out
2008-04-22 07:41:32 +00:00
dogcow
690e5f1c0b
add matching END(). found via -Wa,--fatal-warnings
2008-04-22 04:47:44 +00:00
tls
822d920956
Commit a quick workaround for the not-power-of-two cache colors problem
...
pointed out by Simon (Simon's option #3 ): use the greatest power of two
which is a divisor of the desired number of cache colors.
This code might want to stay even after the cache probing code is fixed.
2008-04-22 02:23:05 +00:00
jmcneill
fd495c5ce3
AcpiOsGetThreadId should return lwpid, not pid -- otherwise we always return
...
the same value! Fixes the AE_AML_MUTEX_NOT_ACQUIRED issue when evaluating
_BST on ASUS Eee PC. Who knows what other mysterious bugs this has caused
over the years...
2008-04-22 02:02:50 +00:00
dyoung
d5063688b1
Delete some gratuitous casts, s/(char *)//.
2008-04-22 00:14:20 +00:00
jmcneill
de45d1c96b
Cleanup uhub autoconfiguration messages.
2008-04-21 23:31:18 +00:00
njoly
d8f896655c
Add LINUX_IPC_64 support for LINUX_IPC_SET in shmctl. Required, at
...
least, for amd64 which use LINUX_IPC_FORCE64.
2008-04-21 22:57:06 +00:00
njoly
f1bd64daf3
Rename LINUX_SHMCTL_FORCEIPC64 define to LINUX_IPC_FORCE64.
2008-04-21 22:38:18 +00:00
veego
0f11cf3c0e
${gen_files} was splited into:
...
${gen_files_k5} ${gen_files_cms} ${gen_files_rfc2459}
${gen_files_pkinit} ${gen_files_pkcs12} ${gen_files_pkcs8}
${gen_files_pkcs9} ${gen_files_digest} ${gen_files_kx509}
Change CLEANFILES to reflect that change.
2008-04-21 21:30:59 +00:00
cegger
a76bb1857c
regen.
2008-04-21 21:18:59 +00:00
cegger
a9cad030a2
Phison Electronics, vendor of my USB Stick
2008-04-21 21:17:51 +00:00
martin
51905d0a31
Be more precise when matching the boot device - with ata disks and
...
atapibus cdrom drives both using the same "target/lun" space, we could
confuse cdrom@0,0 for disk@0,0. Now match the complete string (we still
don't care how firmware calls a device, just rely on it being consistent).
Problem noticed by Jonathan A. Kollasch.
2008-04-21 21:00:23 +00:00
dsl
9890613c15
Fix integer random numbers when bounds given in the wrong order.
2008-04-21 20:33:41 +00:00
cegger
9427277807
add acpitz at acpi
2008-04-21 20:20:12 +00:00
tls
6a70e45954
Work around PR38480 by making it possible to omit options MTRR from
...
amd64 INSTALL kernels -- and doing so. At least you can now get an
INSTALL kernel onto a box with this odd MTRR configuration to debug it.
2008-04-21 19:06:42 +00:00
tls
8b5e4b7c91
As suggested by rmind, do not check return status of KM_SLEEP/PR_WAITOK
...
allocations. A little hair-raising but it does make the code easier to
read.
2008-04-21 19:05:41 +00:00
jmcneill
3d052baa7f
Patch from Intel that addresses an issue with implicit returns when the
...
interpreter is in slack mode:
http://www.moblin.org/pipermail/devel/2008-April/000017.html
Fixes PR#38469 by Juergen Hannken-Illjes
2008-04-21 18:59:42 +00:00
plunky
7c883dd79e
HAVE_IPV6 is defined by libkrb5/Makefile when USE_INET6 != "no"
2008-04-21 18:31:17 +00:00