Commit Graph

193955 Commits

Author SHA1 Message Date
wiz
bb6867a3bf Add missing letter, from Ryo HAYASAKA in PR 43880. 2010-09-15 06:52:33 +00:00
manu
e9a8a6acc0 - Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to
assume datagram semantics: when using SOCK_STREAM, if perfused sends
frames faster than the filesystem consumes them, it will grab multiple
frames at once and discard anything beyond the first one. For now the
code can work both with SOCK_DGRAM and SOCK_STREAM, but SOCK_STREAM
support will probably have to be removed for the sake of readability.

- Remeber to sync parent directories when moving a node

- In debug output, display the requeue type (readdir, write, etc...)
2010-09-15 01:51:43 +00:00
ahoka
812c293086 add a note on IPL and spinning mutexes
TODO: explain when the IPL will be restored
2010-09-14 21:35:53 +00:00
jym
6c230fa88f Add ULL suffix to PG_NX when it is defined. 2010-09-14 21:34:02 +00:00
macallan
dcfeeda4d3 clear the screen when attaching, not when adding screens since that may
happen much later
while there, call vcons_replay_msgbuf()
2010-09-14 19:36:13 +00:00
macallan
852bc5b438 leave the screen description alone when we're not the console in order to
avoid a NULL deref later on ( which only happens on sparc64 for some reason )
While there, use VCONS_DONT_READ
2010-09-14 18:43:41 +00:00
macallan
4abeddc6aa don't muck with the screen description if we're not the console, for some
reason this leads to a NULL jump later on, at least on sparc64
should fix PR43873
2010-09-14 18:42:12 +00:00
macallan
dab970d65a always make sure we can access the framebuffer - having more than one wsdisplay
is perfectly reasonable these days
2010-09-14 18:28:18 +00:00
wiz
218cd6edd9 Remove trailing spaces, add a few serial commas. 2010-09-14 11:57:03 +00:00
kim
cd552cca7d Fix remaining references for npf.conf(8) to npf.conf(5) 2010-09-14 11:04:57 +00:00
macallan
714306e33c report lid open/close events to sysmon 2010-09-14 04:40:35 +00:00
macallan
0b888e557e save backlight level and turn it off on lid close, restore on lid open 2010-09-14 04:37:04 +00:00
macallan
51ce031b55 only mark battery status sensors valid if the battery is actually present 2010-09-14 02:45:25 +00:00
macallan
491cb04e7e support backlight control via wsconsctl 2010-09-14 02:11:06 +00:00
jmcneill
b86abf544c Add Conexant codec IDs 2010-09-13 22:37:02 +00:00
sjg
e7543dc43a tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing
unless USE_META is defined.
2010-09-13 21:31:59 +00:00
sjg
796c4b0282 We do not need filemon(9) to have a .meta file 2010-09-13 20:34:21 +00:00
sjg
c0dfab6508 Bump date 2010-09-13 16:32:00 +00:00
sjg
4db43f7e0c Add meta.c which implements "meta" mode for make.
In this mode, a .meta file is created for each target, capturing
the expanded commands used, any command output, and if filemon(9)
is available, a record of system calls which are of interest.
Not enabled unless USE_META=yes is set when building make.
Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).
2010-09-13 15:36:57 +00:00
drochner
11eacabe5a comment out an unused static function 2010-09-13 08:43:06 +00:00
drochner
a1f59518fb fix extern/static inconsistency 2010-09-13 08:42:04 +00:00
drochner
600c96fbb0 add a forward struct declaration for the PPS_SYNC case 2010-09-12 16:07:40 +00:00
drochner
29d1b2938d improve "const" consistency 2010-09-12 16:06:08 +00:00
drochner
bd39bacef7 avoid NULL dereference in error case 2010-09-12 16:04:57 +00:00
drochner
ebb3b30048 minimal ansification/constification 2010-09-12 16:03:39 +00:00
spz
e597134d90 releng has been on mollari for a while now. Also, add wiki 2010-09-12 05:00:21 +00:00
chs
e0ef945cee recent versions of linux (which we now claim to be) supply a BSD-style
d_type value in getdents() results, after the d_name field.
make our emulation do the same.  fixes part of PR 43695.
2010-09-11 20:53:04 +00:00
chs
590b90699b always supply an auxiliary vector for linux ELF processes.
static executables (such as newer versions of /sbin/ldconfig)
require this to work properly.  since static executables
also don't have a PT_PHDR entry, use the same heuristic as
linux does to provide a value for AT_PHDR in this case.
2010-09-11 20:49:28 +00:00
martin
92474b670c Query the raw partition at runtime 2010-09-11 16:03:41 +00:00
tsutsui
0e228a11be Build and install bootxx_ext2fs, primary boot for ext2fs.
Ext2fs doesn't have enough free space (it has only 1KB)
to store this primary loader, but we can put it into
an independent small 'boot' partition as NetBSD/hp300 does
if it's really necessary.

It could be a fun project to add smaller pre-primary loader
that loads ~8KB primary loader for ext2fs, but probably it's unlikely
because there is a functional wheel named GRUB for ext2fs.
2010-09-11 13:06:36 +00:00
tsutsui
eba63131ff Enable SUPPORT_EXT2FS. Tested on i386 that has root on ext2fs
with 128 byte and 256 byte inode sizes on QEMU.

Note for netbsd-5, this also requires HEAP_START=0x30000
as applied in rev 1.37, and this might also get another limit
on cdboot as described in PR install/42202.
2010-09-11 12:43:54 +00:00
skrll
07666b6356 Wrap long line. 2010-09-11 11:11:52 +00:00
agc
6bae07a6a8 Fix previous differently to avoid over-padding the base64 encoded output,
by being smarter in the decode stage.
2010-09-11 04:08:34 +00:00
pgoyette
a882490af5 Differentiate between the three types of expected failures 2010-09-11 03:10:57 +00:00
christos
2eb51a32ec add keys directory 2010-09-11 00:29:40 +00:00
agc
25825605ed Allow the user specification of the secret key file as the
--sshkeyfile or -S argument, and check that the public key file exists
before trying to read it.
2010-09-10 20:14:19 +00:00
christos
f66c6b8ced add the keys directory to base. 2010-09-10 16:37:12 +00:00
matt
8e09c95f97 Resurrect this for MIPS softfloat. 2010-09-10 16:32:35 +00:00
tsutsui
b01393af8c Add a URL of Linux Documentation "The Second Extended Filesystem." 2010-09-10 15:51:20 +00:00
wiz
145da732a5 Fix a typo. 2010-09-10 12:18:48 +00:00
drochner
927f8fc1e3 apply an 11 years old fix from FreeBSD:
if EBADF is returned due to a read from a write-only stream, also
set ferror()
found by a selftest of Python-2.6.6, thanks to obache for pointing
out the details
2010-09-10 10:29:23 +00:00
drochner
51b3e42a8d make list traversing in knote() safe against removal of the entry
while the loop body is executed -- at least in the EVFILT_PROC / exit
case a race condition exists which can cause this
fixes a panic triggered eg by tests/kernel/kqueue/proc1
2010-09-10 10:23:46 +00:00
drochner
3ebe07497e fix two bugs reported by Ryo Shimizu:
-wrong initialization reported in a followup to PR bin/43336
 (looks harmless because it applies to zero-initialized memory, so
 LIST_INIT() is a no-op)
-wrong loop count in reply misses a hash bucket (PR kern/43827)
 (this was introduced by a post-netbsd-5 change, so it isn't related
 to the PR above)
2010-09-10 10:14:55 +00:00
ahoka
5efd7e7d21 remove debug leftover 2010-09-10 08:58:36 +00:00
agc
b1c86f5f08 Add build glue for the example client and server programs for PAA 2010-09-10 05:30:28 +00:00
agc
0a453369f8 Add build glue for libpaa (not yet hooked into the build) 2010-09-10 05:29:12 +00:00
agc
3fb45f3cb6 Add an implementation of the Pubkey Access Authentication Scheme proposed
by Oliver Gould in

	http://www.olix0r.net/PubKeyAccessAuthScheme.txt

This implementation includes an example client and server program, but
is not (yet) hooked into the build.

To quote from Oliver's RFC:

	HTTP services are a core Internet technology, yet the Digest
	authentication scheme provided by RFC 2617 only describes
	authentication by way of shared-secrets (i.e.  passwords).
	This model has operational drawbacks, as authenticating
	services are required to have access to a user's secret (or a
	hash thereof), or retrograde technologies, such as cookies,
	are employed.

	Similarly to SSH's "publickey" authentication method [RFC
	4252], the PubKey Access Authentication scheme allows an HTTP
	server to authenticate clients using public key credentials.

	Like the Digest Access Authentication Scheme [RFC 2617], the
	PubKey.v1 scheme is based on a simple challenge-response
	paradigm.  The PubKey scheme responds to unauthorized clients
	with a challenge value; and a valid response contains a
	cryptographic signature of client's id, the authentication
	realm, and the server's challenge.

	The client's secret never leaves the client.  The server
	verifies the client's signed authorization request with the
	client's published public keys.

libpaa(3) uses libnetpgp(3) for its digital signatures, SHA1Init(3)
for digests, and base64 encoding for transmission of data.
2010-09-10 05:15:16 +00:00
agc
2f6667e4d4 clean up various bits of lint, and one outstanding bug:
+ properly terminate base64-encoded output, fixes a bug whereby if the input
  length was divisible by 3, a bad base64 encoding would ensue
2010-09-10 04:57:17 +00:00
christos
5472a32d66 glue glob tests 2010-09-09 22:25:38 +00:00
christos
0cce27708f add glob tests. 2010-09-09 22:21:41 +00:00