Commit Graph

193420 Commits

Author SHA1 Message Date
pooka 32cb61f490 proper panic for trying to release implicit lwp 2010-09-01 21:16:56 +00:00
pooka ce29454f2b use curlwp 2010-09-01 19:57:52 +00:00
agc 46af1e88a3 Bump version number for latest changes 2010-09-01 19:46:14 +00:00
pooka 2a47331e63 update to new rump lwp/proc interfaces 2010-09-01 19:41:27 +00:00
pooka cd52561abe update to new rump proc/lwp interfaces 2010-09-01 19:40:34 +00:00
pooka 11f8c2f902 Implement rump_lwproc: the new lwp/proc management routines for
rump.  These move the management of the pid/lwpid space from the
application into the kernel, make code more robust, and make it
possible to attach multiple lwp's to non-proc0 processes.
2010-09-01 19:37:58 +00:00
pooka 073d0401dd regen: new lwp/proc interfaces 2010-09-01 19:33:04 +00:00
pooka 1d8f8d1bc5 Print generated filenames so i remember which ones to commit. 2010-09-01 19:32:11 +00:00
tron afb981ca6b Mark npf.conf(8) (moved to section 5) as obsolete instead of simply
removing it. The file will now properly get deleted instead of breaking
incremental builds.
2010-09-01 19:28:51 +00:00
pooka 41e7b18b68 Rewrite rump process and lwp allocation routines now that I have
some idea of how they should be done.  This change essentially
moves the responsibility of pid/lwpid management from the application
side into the rump kernel.  It also introduces clear rules on what
happens when, i.e. introduces semantics (these semantics will be
documented on the man page, and more importantly in atf tests).
2010-09-01 19:13:38 +00:00
agc 4464721681 Various minor changes to netpgp:
+ be smarter when checking for a null id
+ add test for rubbish being returned when listing specific keys in netpgpkeys(1)
+ take the public key from the pubring, not the secring when exporting
  keys
+ allow hkpd to serve ssh keys in pgp format
+ test on whether a seckey is needed, not on a userid needed, for ssh keys
2010-09-01 17:25:57 +00:00
tsutsui 9553e52cbf - split device_t/softc
- allocate struct todr_chip_handle in per-device softc
- some cosmetics
2010-09-01 17:06:00 +00:00
chs fca58884f4 replace the earlier workaround for PR 40389 with a better fix.
the earlier change caused data corruption by freeing pages
without invaliding their mappings.  instead of the trylock/retry,
just take the genfs-node lock before calling VOP_GETPAGES()
and pass a new flag to tell it that we're already holding this lock.
2010-09-01 16:56:19 +00:00
tsutsui f2d6cdb4ee - misc KNF and cosmetics
- use DPRINTF() style debug printf macro
2010-09-01 16:48:00 +00:00
he 38fc53798e Another addition of -lterminfo after -ledit, so this links statically as well. 2010-09-01 16:43:39 +00:00
he e7d5fad5e6 Add -lterminfo after -ledit, so that this links when doing static
linking as well (found when building for the sun2 target).
2010-09-01 16:26:11 +00:00
tsutsui cea585929a Make local functions static, and comment out an unused function. 2010-09-01 16:23:15 +00:00
he 74a3769a96 Bump SYMTAB_SPACE so that it fits again. 2010-09-01 16:13:32 +00:00
he 6560b84116 Add entries for the ntp.conf man page, html'ized and the two text variants. 2010-09-01 16:02:40 +00:00
agc b0615b5bcb Add a .WAIT statement after libmj, should fix a transient problem observed
by moof.
2010-09-01 16:01:27 +00:00
tsutsui a90704b5e7 Use appropriate variable data types. 2010-09-01 15:40:06 +00:00
tsutsui 938f3699d6 Replace an empty for() loop (which would be optimized out) with DELAY(1).
No visible performance difference.
2010-09-01 15:20:12 +00:00
njoly 7beff995ba Add missing .debug suffix. 2010-09-01 15:18:47 +00:00
pooka 0af65acdc5 Actually, the comment probably meant "would be nice to KASSERT here,
but can't".  So turn it into a KASSERT now that it's possible.
2010-09-01 15:15:18 +00:00
pooka 8411fe4cea Remove XXX comment. I'm not sure what it precisely means, but I'm
guessing it's from a time when rump used filedesc0 for everything
(and that isn't true anymore).
2010-09-01 15:12:16 +00:00
tsutsui 68a1ead9c8 - use bufq(9)
- account busy counter of disk(9)
2010-09-01 15:08:22 +00:00
manu ef7e1877ae Build fixes for LP64 2010-09-01 14:57:24 +00:00
he 35c0cfeaba Vax doesn't have IEEE floating point. 2010-09-01 13:46:58 +00:00
wiz 0584bf10ba Some fixes. Comment out ERRORS section until it has content. 2010-09-01 13:04:11 +00:00
wiz 2ec5b1f671 Add entry for libperfuse. 2010-09-01 13:01:35 +00:00
tsutsui 95919a0f0a Return ENOTTY rather than EINVAL for unhandled ioctl(2)s. 2010-09-01 12:25:27 +00:00
drochner 1a2acb81f4 EDOM should not be set on atan2(0,0) in POSIX mode, found by
Stathis Kamperis' testsuite
2010-09-01 10:44:28 +00:00
wiz 7a2801201d Index argument is not optional, make it clearer in the usage. 2010-09-01 09:18:03 +00:00
wiz 600e381dfa Update for Jared's changes from a few minutes ago. 2010-09-01 09:17:31 +00:00
jmcneill e405ac8d24 add support for testing audio devices. the usage of audiocfg changes:
audiocfg list
  audiocfg default [index]
  audiocfg test [index]

'list' shows the available audio devices, 'default' sets the default
audio device, and 'test' will play a tone for 2 seconds on each
channel. example:

  $ ./audiocfg list
  0: [*] audio0: ICH2 AC97 (2 playback channels)
  1: [ ] audio1: Pseudo Audio (2 playback channels)
  $ ./audiocfg test 0
  testing channel 0...
  testing channel 1...
  $
2010-09-01 09:04:16 +00:00
wiz bd524aa578 Mention that audiocfg also controls /dev/audioctl, /dev/mixer, and /dev/sound.
Noted by mrg.
Bump date.
2010-09-01 07:50:33 +00:00
kiyohara a55af802fc Indent. 2010-09-01 06:23:59 +00:00
agc 98c1347b2a Denote the signing key with the word "signature" (the encryption key
already has the tag "encryption"). This is a bit more meaningful than
"pub" and "sub".
2010-09-01 06:20:23 +00:00
agc c2a7bb795c + if we're going to the trouble of testing the return value from the
setoption() function, probably best to return one

+ check for a valid entry in the JSON array instead of trusting that
we have one

+ if there is no JSON value to print, don't print it

+ if we've set the keyring from an ssh key file, then we're using ssh
keys - no need to set that value separately. This means that

	% netpgpkeys --sshkeyfile ~/.ssh/id_test.pub -l
	1 key found
	signature  2048/RSA (Encrypt or Sign) 8368881b3b9832ec 2010-08-26
	Key fingerprint: 3abd bf38 33a5 1f87 d704 ad42 8368 881b 3b98 32ec
	uid              osx-vm1.crowthorne.alistaircrooks.co.uk (/home/agc/.ssh/id_test.pub) <agc@osx-vm1.crowthorne.alistaircrooks.co.uk>

	%

lists ssh pubkeys properly, no need for other tautological arguments
2010-09-01 06:18:21 +00:00
agc f28c63c7c9 Fix a problem reported by moof whereby the build would fail on Sun2 due
to shared library lossage on the Sun2 platform. Sorry, I thought that the
change had already been made, but it was just to netpgpkeys' Makefile.
2010-09-01 06:02:58 +00:00
macallan 3337b3cd99 remove shadow framebuffer support, use VCONS_DONT_READ instead 2010-08-31 21:14:57 +00:00
macallan 7ada74d7c0 mention omapfb 2010-08-31 19:08:50 +00:00
macallan a83a5dd561 enable omapfb and related stuff 2010-08-31 19:07:01 +00:00
macallan 704f7610df a simple console driver for the OMAP 3xxx on-chip video
no acceleration so far and it will recycle whatever video mode the firmware
set up
2010-08-31 19:03:55 +00:00
pooka 46d9a8715d Add RZ(), which is like RL() except that it checks against 0 and
uses the return value as the error number instead of errno.
2010-08-31 17:21:14 +00:00
tsutsui 287b6acad1 - split device_t/softc
- include "ioconf.h" for struct cfdriver
2010-08-31 15:17:20 +00:00
wiz 0b930dd75d Add man page. 2010-08-31 14:57:26 +00:00
kiyohara 8e229474be Fix lost interrupt. (2/2)
+ It is likely to lose sight of interrupt when the interrupt of irq_base
    that is smaller than the same at the level is generated if PIC_MAXSOURCES
    is 33 or more.
2010-08-31 14:33:41 +00:00
kiyohara 4edbb19773 Fix lost interrupt. (1/2)
+ Change blocked_irqs that dispach if change pending_irqs in the loop.
2010-08-31 14:23:27 +00:00
tsutsui 1f68cc819a Set bp->b_resid properly after data transfer is complete.
Fixes unexpected "Bad address" errors on file read ops since January 2006.

The problem is reported and tracked by Yasushi Oshima.
2010-08-31 12:12:48 +00:00