Commit Graph

193430 Commits

Author SHA1 Message Date
agc
4f0925bb20 If we get passed a key which has no subuids, sigs, fingerprint or any
other data, and has been revoked, don't even attempt to print it out.
2010-09-02 07:31:16 +00:00
agc
0bbf5d4831 move the functions to parse the JSON from netpgpkeys(1) into libnetpgp(3)
update the version number for recent changes.

update the date for recent changes.

regenerate the autoconf files.
2010-09-02 06:00:11 +00:00
agc
267df97bea Update hkpd to return its information in JSON (via libmj).
Add a C HKP client.

Provide reachover Makefiles for each, but do not hook them up to the build
just yet.

The HKP client and server can be embedded in other programs.
2010-09-02 05:58:00 +00:00
uwe
fcfce86d87 Fix printf formats in -DDEBUG_PROM to make it compile.
XXX: print daddr_t after casting it to int since libsa is not built
with LIBSA_PRINTF_LONGLONG_SUPPORT by default.
2010-09-02 03:14:42 +00:00
jmcneill
e90b0e0082 at the request of mrg, print the parent of audioN's device name 2010-09-02 02:17:35 +00:00
jmcneill
59619cc632 print the version field from AUDIO_GETDEV if present 2010-09-02 02:08:30 +00:00
jmcneill
4ac1609716 add a list of codec id->name mappings. they are printed at attach time
and exported via the AUDIO_GETDEV ioctl
2010-09-02 01:55:31 +00:00
jmcneill
014a1e1b18 use htole16 to ensure that the pcm stream is slinear16_le on big endian hosts 2010-09-01 21:54:00 +00:00
pooka
fb721bf812 +tp 2010-09-01 21:19:37 +00:00
pooka
52e6ad15e6 tests for rump_lwproc 2010-09-01 21:18:14 +00:00
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