Commit Graph

193595 Commits

Author SHA1 Message Date
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
christos ee957cb0c4 add tests for glob 2010-09-09 22:20:09 +00:00
jakllsch f2005c3157 Allow e?siop_dump_script() to work with on-chip RAM. Prefix
DUMP_SCRIPT with SIOP_.  Additionally, avoid undefining DEBUG,
condition on SIOP_DEBUG instead.
2010-09-09 14:50:25 +00:00
pooka 41dca761e7 * unlock object in "error" branch
* fix typo (not in comment)
* improve indentation tailspin
2010-09-09 12:23:06 +00:00
pooka 9f2621e60c Release PG_PAGEOUT pages in aiodone. 2010-09-09 12:18:39 +00:00
njoly 7601b30df9 s/dirs/symlinks/ in USES_SYMLINKS message. 2010-09-09 11:42:52 +00:00
wiz fcf318eda4 Fix typos found by Ryo HAYASAKA in PR 43857.
While here, split file systems that grew together.
2010-09-09 11:42:13 +00:00
njoly ed9cfbc11e Unobsolete libh_initfini3_dso.so.1.debug which is used by both library
and module, and remove h_initfini3_dso.so.1.debug which never existed.
2010-09-09 11:38:15 +00:00
skrll 2a4732aadc Only do the __libc_init hack in libc, i.e. remove it from ld.elf_so.
This fixes hppa ld.elf_so by reducing the number of PLABELs required to
the number before the hack was applied.

Hi Joerg!
2010-09-09 10:19:31 +00:00
pooka 2e7b2c4b52 Assert that object is locked in page unbusy. 2010-09-09 10:02:14 +00:00
pooka 0e59fd4080 hold object lock across page unbusy 2010-09-09 09:59:48 +00:00