Commit Graph

193391 Commits

Author SHA1 Message Date
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
enami
5de383f454 Define db_hist_put() only when DDB_HISTORY_SIZE != 0 so that
build successes on ports like hpcarm.
2010-08-31 07:48:23 +00:00
enami
a8a2c06f4b Fix indent in prevous commit. 2010-08-31 07:12:55 +00:00
enami
8713952936 Move prototype of isrmt() to rmt.h. It is a public interface
described in rmtops(3).
2010-08-31 05:12:35 +00:00
enami
0d5166c3ab Backout previous; it was wrong fix. 2010-08-31 05:07:09 +00:00
enami
15ae718747 Fix build as tools. 2010-08-31 04:50:07 +00:00
enami
6953635557 - Raise an error rather than silently creating broken archive
if user don't specify --force-local but opened file is actually
  a local file.
- Make cpio to accept -F option as described in manpage.
- Make pax to set forcelocal flag if requested to do so.
- Add missing break statement.
2010-08-31 03:16:06 +00:00
macallan
60cbfd8fa2 remove shadow framebuffer support, use VCONS_DONT_READ instead 2010-08-31 03:08:23 +00:00
macallan
b8dd6fd56b make use of a shadow framebuffer optional, use VCONS_DONT_READ by default 2010-08-31 02:49:17 +00:00
tls
4e9aaafe62 Don't overflow DDB command history. Coyote Point changelist description:
DDB is flakey.  The command history wanders past the bounds.  Way
past.  When it hits some boolean that indicates a.out format symbol
tables are to be used, and here is the pointer to the function, the
call thru the NULL function pointer renders the debug session entirely
unsatisfactory, outcome wise.
2010-08-30 19:23:25 +00:00
pooka
55c3091ac6 Make IPLs not equal IPL_NONE to avoid some KASSERTs. 2010-08-30 18:29:52 +00:00
pooka
8357a02c05 doesn't need files.rump 2010-08-30 11:51:29 +00:00
wiz
1d743f8e48 Add some commas. 2010-08-30 11:37:52 +00:00
pooka
4c62970c70 * record proc's cred in p_cred too
* account procs for uids
2010-08-30 10:49:40 +00:00
wiz
eb06495b27 refering -> referring, per PR 43814. 2010-08-30 10:41:54 +00:00
pooka
72a4517ea3 regen: rump syscalls for kern_prot interfaces 2010-08-30 10:34:51 +00:00
pooka
16e1cb0b60 RUMP syscalls for kern_prot.c interfaces 2010-08-30 10:32:54 +00:00
pooka
195f9ac9fd remove trailing empty line. no useful change. 2010-08-30 10:30:01 +00:00
pooka
9a611a11e0 Empty commit to show makesyscalls.sh rev 1.99 didn't change anything (yet). 2010-08-30 10:24:42 +00:00
pooka
5c6beee9f6 Use the generally more useful funcalias for rump syscalls. 2010-08-30 10:24:04 +00:00
pooka
f0fb0d2ca1 do 5.0 compat for fstat 2010-08-30 10:08:39 +00:00
pooka
e731bd97ef Include kern_prot.c for setuid etc. 2010-08-30 09:44:40 +00:00
pooka
64cced98e7 Use one line per sys/kern source module. no functional change. 2010-08-30 09:44:11 +00:00
pooka
c825a763b1 Make tcount volatile since a signal handler plays with it. 2010-08-30 08:30:17 +00:00
christos
42fececd08 dprintf is claimed by posix. 2010-08-30 06:27:14 +00:00
christos
f69d85affc increase commented out debugging. 2010-08-30 06:26:59 +00:00
kiyohara
8c7e8c667b Support prcm@obio1. 2010-08-30 05:37:30 +00:00
dholland
2b2d4bc113 On LP64 platforms, uid_t is not the same size as u_long, so the key
comparison function being given to db was comparing 4 extra bytes of
rubbish.

This may or may not be the *only* source of the corrupted
/var/account/usracct files I've been seeing occasionally on amd64, but
it's clearly *a* source.
2010-08-30 02:49:17 +00:00
mrg
172ca3ccec add a simple app to maintain the symlinks for audio devices in /dev, so
that it's easy to change the "default" audio device.  eg:

# audiocfg
0: [*] audio0: HD Audio
1: [ ] audio1: HD Audio
2: [ ] audio2: Pseudo Audio
# audiocfg 1
setting default audio device to audio1
# audiocfg
0: [ ] audio0: HD Audio
1: [*] audio1: HD Audio
2: [ ] audio2: Pseudo Audio

written by jared.  thanks!

(there's a separate patch in the works to give "HD Audio" a better name.)


this is not enabled yet, but will be soon.

it also needs a manual page.  any takers?
2010-08-30 02:19:47 +00:00
cegger
06b4e82a5b fix grammar in error message 2010-08-29 21:15:26 +00:00