Commit Graph

177632 Commits

Author SHA1 Message Date
yamt
740c75e25d - malloc -> kmem_alloc
- kill WAPBL_UVM_ALLOC.
- kill wapbl_blk_pool to reduce #ifdef.
2009-01-31 09:33:36 +00:00
yamt
18be80bfbe 0 -> NULL 2009-01-31 09:22:08 +00:00
yamt
e52a72295f wapbl_log_position: 1 -> MNT_WAIT 2009-01-31 09:14:15 +00:00
yamt
cec5254ed7 uvm_swapin: uncomment an assertion which is now ok. 2009-01-31 09:13:09 +00:00
plunky
8f0a91453b Fix a problem which prevents remote parties connecting to our NAP service,
we got the services mixed up.
2009-01-31 07:21:15 +00:00
isaki
80a3550743 Revert previous one. It has already fixed in net.h,v 1.25. 2009-01-31 06:22:46 +00:00
lukem
bc395719cc sign-compare fix 2009-01-31 06:08:28 +00:00
hira
104ce1db3a Fix typo in comment (OUT -> OUI). 2009-01-31 05:44:05 +00:00
isaki
28468b1f07 Fix build error. Declare getsecs() before (re-)defining it. 2009-01-31 04:11:28 +00:00
agc
fce523c3f5 Get rid of 3 static functions which performed the same operation on 3
different arrays, and replace them with a function which takes the array
and size as arguments. No functional change.
2009-01-31 02:33:22 +00:00
agc
aa5adc9663 Cosmetic change to surround the argument to sizeof in (brackets). No
functional change.
2009-01-31 01:44:31 +00:00
agc
d2d3b6f70a Get rid of all occurrences of ops_mallocz(), since all it did was allocate
zeroed storage, and calloc(3) seems to do that just fine.
2009-01-31 01:20:32 +00:00
agc
880b89c37a Add the new openpgpsdk.h and openpgpsdk.3 to set lists 2009-01-31 00:50:13 +00:00
agc
f058249f4f Add a manual page for the openpgpsdk library - very bare bones right now,
all contributions gratefully received.

Also add a convenience header file, which includes the other necessary
openpgpsdk header files - this means that

#include <openpgpsdk/openpgpsdk.h>

will get all the necessary definitions and declarations.
2009-01-31 00:48:18 +00:00
lukem
e1e343f9f7 sign-compare fix 2009-01-31 00:08:05 +00:00
wiz
b85179b9a1 Remove empty trailing line. 2009-01-30 23:52:28 +00:00
lukem
957ba389e8 sign-compare fix 2009-01-30 23:46:03 +00:00
lukem
8a09e86085 sign-compare fix 2009-01-30 23:35:35 +00:00
ad
397f5192b2 Update for SUSv2 compliance. 2009-01-30 23:26:54 +00:00
ad
c984f259af Make threaded programs die correctly:
kill(getpid(), SIGFOO) -> raise(SIGFOO)
2009-01-30 23:21:02 +00:00
ad
1f73905f59 signal(getpid(), SIGFOO) -> raise(SIGFOO) 2009-01-30 23:19:12 +00:00
ghen
89b2df731d Add Belgian Azerty keymap for ukbd(4). Existing pckbd(4) map doesn't work
for USB keyboards.
2009-01-30 23:12:16 +00:00
ad
697e4adf70 timer_intr: hold proc_lock across the loop, otherwise the process we are
about to signal could disappear.
2009-01-30 23:11:27 +00:00
dsl
efe788379e Rename all the members of 'enum Token' to TOK_FOO.
Makes it rather more obvious wherethey belong - especially since
two of them were 'True' and 'False' (and not 1 and 0 either).
2009-01-30 23:07:17 +00:00
wiz
22e63019c0 mdoclint cleanup:
Sort sections.
Make HTML-ready.
Add RCS Id.
Fix section and man page names.
2009-01-30 22:59:37 +00:00
dsl
9c773fc1c6 Treat .ifdef ${foo} as .if defined(${foo}) not .if "${foo}" != "".
(and similarly for the other .ifxxx).
Do comparison against "" or 0 for .if "foo" and .if <numeric> directly
instead of faking up the operator string.
Rename error: to done: and use it for more exit paths.
Elucidate and correct some comments.

Fixes problems with makefiles that do:
.for var in var_1 var_2
.ifdef ${var}
...
which used to check whether var_1 was defined - because the .ifdef saw the
literal var_1, not a variable expansion due to the way .for loop variables
were substituted.
2009-01-30 22:35:10 +00:00
pooka
bcf80a6fa3 .. but we still need to check if nam is passed to PRU_SEND for
non-connected sockets.
2009-01-30 22:06:04 +00:00
agc
c804754594 Make source match the documentation (I thought I'd committed these yesterday,
but it seems not).

Bump default number of bits from 1024 to 2048.

Add --armor as a synonym for --armour, and prepare for the great spelling war
of 2009.
2009-01-30 21:39:42 +00:00
ad
6e89a762d6 Default DDB_ONPANIC to zero. The end product is ultimately for the
consumption of users external to the project, users who are unlikely to
be kernel hackers with the motivation to debug crashes. In this situation
rebooting and creating a crash dump is more appropriate than interrupting
normal service for an unbounded amount of time, while also leaving the
machine at cryptic db> prompt.
2009-01-30 21:30:56 +00:00
pooka
42356a10b5 Quote PR number in XXX comment. No functional change. 2009-01-30 21:16:51 +00:00
pooka
17e9ee6db1 Call soisconnected() in PRU_CONNECT for udp sockets too. 2009-01-30 21:13:20 +00:00
cegger
fac6f4dc2d age_dma_alloc(): Don't allocate more than really required.
It is less likely to fail with ENOMEM when we are short on dma-safe memory.
This happens more likely when running NetBSD as Xen Dom0.
2009-01-30 16:16:36 +00:00
he
2c8025012d Make fibre cards, at least 5701 models, work, by initializing the
bge_ifmedia.ifm_media field, which is not done by ifmedia_set().
Patch lifted from FreeBSD's revision 1.71.
2009-01-30 15:01:19 +00:00
skrll
5dbd6a69ca Make sure _atomic_cas_fn is initialised for "weirdo environments" such
as ramdisks where the constructor doesn't get called.

Fixes ifconfig in hp700 sysinst.

OK'ed by ad.
2009-01-30 14:29:44 +00:00
christos
29358e4ac0 don't clear the screen unconditionally. Now controlled by an option.
Thanks enami
2009-01-30 14:09:44 +00:00
njoly
bc0bccb487 Regen for mincore(2). 2009-01-30 13:57:39 +00:00
njoly
8bbb521068 Add mincore syscall. 2009-01-30 13:55:51 +00:00
reed
81a4d4f0b0 Show that "seconds" is the expected argument for -r.
(I didn't bump the manual page date for this minor change. If I
should let me know.)
2009-01-30 13:16:16 +00:00
njoly
b5ae97a41a Cleanup. Kill a few netbsd32_caddr_t in syscalls argument types. 2009-01-30 13:01:36 +00:00
jmcneill
a38fd8e41a When setting up isochronous transfers, fix a typo in an out-of-memory test. 2009-01-30 12:55:46 +00:00
jmcneill
0cc9fff237 PR# kern/38817: regression in acpi sleep on lifebook S6510
Switch to polling mode after the acpi(4) device has been suspended as
interrupts will be disabled later on and we may still need to execute
AML that tries to sleep or wait on a semaphore.
2009-01-30 12:51:03 +00:00
enami
ca82f7eac5 Use indent-synopsis instead of iS register. The latter is a register
used in BSD derived .Nm implementation.
2009-01-30 11:55:04 +00:00
haad
cdcbc2b421 Add xen xbd device to disk device filtering list, this will enable using of lvm
under the DomU.
2009-01-30 09:59:46 +00:00
cegger
2caf306c7c age_dma_alloc(): print error code to figure out why it failed. 2009-01-30 08:57:35 +00:00
cegger
2042e8e4e8 remove brackets from return statements.
No functional change.
2009-01-30 08:46:25 +00:00
mhitch
86223c379c The explicit integer bit is "don't care" for infinity, and now that it's
included in ext_frach, it needs to be masked off when testing for an
infinity value.  Fixes the ieeefp/infinity regression test on the 68060
which clears the explicity integer bit when loading an infinity value.
2009-01-30 07:00:45 +00:00
agc
990ca9e392 Mac OS X has a CommonDigest wrapper around openssl - use this if necessary. 2009-01-30 04:16:15 +00:00
agc
467d65ac1a Add a manual page for openpgp.1 (all contributions welcome, it's incomplete
right now).

Explain the reason for the WARNS=0 directive in openpgp(1)'s Makefile.
2009-01-30 04:14:19 +00:00
agc
276ab299a6 Fix a tyop in the previous commit 2009-01-30 04:09:35 +00:00
pooka
b6ffbc26cf Turn of real allocators and fall back to malloc(3) for the time
being.  Since we have many threads but pretend to have only one
cpu, the pool code runs into concurrency trouble for cpu-private
data.
2009-01-30 02:30:03 +00:00