Commit Graph

177689 Commits

Author SHA1 Message Date
agc 6aef23c4e0 Re-order header file inclusion order to be alphabetic.
Print out the version number of the openpgpsdk library when showing the
version string.

Parse the existing ~/.gnupg/gpg.conf to get the default user id, if any.

Use the actual size of the arrays in snprintf(), rather than a size which
may or may not be accurate.

Get rid of an unused 8K array on the stack - it's not needed.
2009-02-07 05:36:51 +00:00
agc 02ebfd8cdc Minor cosmetic change - no functional difference. 2009-02-07 05:32:27 +00:00
agc 852e7a06c8 Be a bit less rigid when re-allocating memory - don't just keep doubling
the size we've allocated; instead, if the current size is more than 8 MiB,
then add 1 MiB on; current behaviour remains unchanged for re-allocations
less than 8 MiB.
2009-02-07 05:31:28 +00:00
agc c62065c7b1 Check the characters we're given when trying to decide whether it's a
key id, or a user id/name.
2009-02-07 05:28:55 +00:00
agc eab6d9dfa6 Only use O_BINARY if it's defined (rather than the vague WIN32 definition
test).

Minor cosmetic changes
2009-02-07 05:26:19 +00:00
pooka 9188159bb1 Make the clock interrupt tick based on absolute time instead of
relative time.  This prevents drifting.  Also, keep track of time
within userspace, so we do not have to make a syscall to get the
clock value.  This is approximately 7 times cheaper, but on the
negative side is limited to the clock interrupt frequency.
2009-02-07 01:50:29 +00:00
enami e3b99073fb Previous code ususally works since compiler won't put gap between
those struct members but there is no reason to rely on that.
While here, I rewrite the loop using an usual idiom.  It shaves
both source and object code.
2009-02-06 23:56:26 +00:00
lukem f0772e2d1f sign-compare fix 2009-02-06 23:47:44 +00:00
pooka d90ea96094 wipe out last vestiges of rumpspl 2009-02-06 23:35:27 +00:00
enami e1be06d405 Instead of missing NULL check in pipe_create, let the pipe_ctor to wait
on buffer allocation.  The other allocation is simply an optimization,
so leave it as is.
2009-02-06 23:04:57 +00:00
enami 60b229d2eb Use same expression to decide to use pool cache or not in both
kmem_alloc/free.
2009-02-06 22:58:49 +00:00
mschuett 499d95ff35 PR/40563: Takahiro Hayashi: syslogd(8) refers freed pointer on exiting 2009-02-06 21:09:46 +00:00
sketch 2157800b5b SUNOS is spelt __SunOS. Add missing prototypes. 2009-02-06 20:08:13 +00:00
pooka b90ea1cecf Rip out the rwlock spl emulation code. It never did anything useful
except keep my feet warm by consuming an insane amount of cpu
cycles -- in rump our current "cpu" context is never interrupted
& we have MULTIPROCESSOR.

(itch i'm scratching: it made the networking stack 10-20% slower.
this is one of the places where fast code actually matters)
2009-02-06 20:01:41 +00:00
sketch 957effbd58 Needs errno.h 2009-02-06 19:53:23 +00:00
pooka 38ebe719b0 Add weak alias stubs for a few vfs routines used by the module code -
this allows us to link programs with only rumpkern and rumpnet again.
2009-02-06 19:49:13 +00:00
jakllsch 1db353a59c regen. 2009-02-06 19:40:31 +00:00
jakllsch 3b951f1af8 Add TI PCIxx12-series product IDs. 2009-02-06 19:36:35 +00:00
jym 92ae85d18e Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
2009-02-06 18:50:26 +00:00
jym 78f949082f Fix some whitespace and indentation. No functional change. 2009-02-06 18:34:19 +00:00
pooka 248ba1c364 Call uvm_page_unbusy() instead of manually yanking PG_BUSY out. 2009-02-06 18:29:19 +00:00
wiz 214cde7d25 Use more markup. Add comma in enumeration. Remove unintended arguments
from macro.
2009-02-06 14:44:44 +00:00
wiz 6853fcbb4e Mark up path with .Pa. 2009-02-06 14:42:20 +00:00
sketch fe96b18c3f Plug memory leak, from MySQL. 2009-02-06 14:40:32 +00:00
drochner 37d6396041 -in the wdc@pcmcia driver, don't try to powerup/down while cold or
shutting down -- this is only supposed to happen from the pcmcia
 kernel thread while the system is running
-in wd_shutdown, call ata_addref first, so that the adapter is either
 active or we know that it isn't
This fixes a hang on shutdown-p reported by Dennis den Brok per
PR kern/40531. Verified by by Dennis and me.
(reported against 5.0-Beta, so this is a pullup candidate)
2009-02-06 13:43:11 +00:00
sketch 5e72d51013 Portability fix. 2009-02-06 13:14:37 +00:00
sketch fe3391bda5 de-__P() 2009-02-06 12:45:25 +00:00
sborrill 98d1b924ac Add more text describing firmware loading.
Remove cardbus devices and note that they are not yet supported.
Correct authors email address.
2009-02-06 08:42:07 +00:00
agc 203a89fce5 Fix a bug which prevented files signed with an RSA public key from being
decrypted.
2009-02-06 06:36:03 +00:00
dyoung 613d59f38b Define some bitfields that come from a reference driver. 2009-02-06 02:02:26 +00:00
dyoung aab95b778e Disable and acknowledge Function Events, and stop installing a
handler for them.

Don't override the latency timer set for us by the CardBus code.

Add a bit of debug code for the Function Event Registers, #if 0'd
out for now.

Cosmetic: remove gratuitous parenthesization of return statements.
Change the indentation of the struct atw_pci_softc definition.
Use a more meaningful variable name, et cetera.
2009-02-06 02:00:50 +00:00
dyoung c11e37cd3d Disable and acknowledge Function Events, and stop installing a
handler for them.
2009-02-06 01:55:19 +00:00
dyoung 758cabb9ef When elansc(4) is detached, restore BIOS settings on the SC520's
programmable interrupt controller (PIC).
2009-02-06 01:40:36 +00:00
dyoung 7d8d7e5e0f So that I can both detach and *re-attach* elanpar0, elanpex0, and
gpio0, let elansc(4) rescan for them.
2009-02-06 01:38:28 +00:00
dyoung b4f3367acd Extract a subroutine pmf_device_resume_descendants() from
pmf_device_resume_subtree(), for re-use later.
2009-02-06 01:19:33 +00:00
dyoung e7aed4b441 When the power status changes, always note the change and wake the
socket events thread.  Sometimes we would not note the power-status
change if the socket also indicated a change in card status.
2009-02-06 01:15:53 +00:00
abs 175e4bfbdf Add -DSUPPORT_8_3_SOURCE_FILESYSTEM option - currently *only enabled on atari*
which if a set file cannot be found will attempt to truncate down to 8.3 and
check again. Required for install with sets from GEMDOS filesystem.
2009-02-06 00:24:29 +00:00
dyoung 1121b32c97 If the bus_dmamap_load_mbuf() status was non-zero, then the DMA
map is undefined, so do not try to unload it.
2009-02-05 23:56:57 +00:00
lukem 6f550c4d36 sign-compare fix 2009-02-05 23:52:55 +00:00
lukem fc2df2f1c0 sign-compare fix 2009-02-05 23:22:39 +00:00
dyoung de6be57a12 Use the in6_ifaddr ia_ifa member instead of casting from from
in6_ifaddr to ifaddr.

Remove unnecessary parentheses.  Do not needlessly cast RTM_ADD to
int.

No functional change intended.
2009-02-05 22:32:24 +00:00
dyoung 2c4e9d51df Explicitly initialize mem_cluster_cnt to 0 for my peace of mind. 2009-02-05 22:26:53 +00:00
dyoung dcbf325fdb Cosmetic: break a line, change some spaces to tabs, remove an extra
empty line.
2009-02-05 21:45:36 +00:00
dyoung 4bb08aca8c Initialize ec_mii, and re-use more ethernet common code for media
handling.

Replace an anonymous constant by PCI_COMMAND_INTERRUPT_DISABLE.

These changes have been compile-tested, only.
2009-02-05 21:40:46 +00:00
haad a257a2bccf Revert previously changes. There is no cgd and ccd directory until I properly
test ccd.kmod and cgd.kmod.
2009-02-05 21:07:19 +00:00
joerg e497a92b9e Add recommendation to rebuild the pkgdb cache after an update. 2009-02-05 20:00:58 +00:00
pooka a1b463523d * fix a bug where we would try to lock a PG_FAKE page twice
* do not panic if VOP_STRATEGY fails.  it's someone else's problem
* return the actual number of pages we provided, not just the ones
  which contain data
* sprinkle some debug prints
2009-02-05 19:59:35 +00:00
joerg 560d13285f Retire. 2009-02-05 19:58:17 +00:00
pooka 6b5b1701a9 Specify BROKEN DIRECTORY ENTRY printf comes from udf
(can happen e.g. with medium error)
2009-02-05 19:39:08 +00:00
dyoung 238b355bab Remove the 'nls' tag from ./usr/share/locale/sk_SK.ISO8859-2/LC_MESSAGES,
since we install the directory whether MKNLS=no or not.

Replace comp- with base- in some syspkg names.

Put firmware and files from /usr/share/mk/ into their own syspkgs.
2009-02-05 19:35:48 +00:00