Commit Graph

195277 Commits

Author SHA1 Message Date
christos
8d8e09f9aa add commented out a possible addition that provides $^ like gmake, but
I am not sure if we should add it, since we already have $> for it.
2010-12-02 16:36:55 +00:00
christos
6dcd7e3b12 mention what changed in bind. 2010-12-02 16:06:18 +00:00
christos
f493a35d9b new bind 2010-12-02 14:55:40 +00:00
christos
84f44954f6 fix sets for bind 9.7.2-P3 2010-12-02 14:54:43 +00:00
christos
dfcdd76889 merge changes 2010-12-02 14:52:17 +00:00
christos
c27878d85f Import bind 9.7.2-P3 2010-12-02 14:22:18 +00:00
wiz
05859157e6 Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.
2010-12-02 12:54:13 +00:00
wiz
d530a416f7 Various (mostly wording) improvements. Sort SEE ALSO. 2010-12-02 12:04:01 +00:00
he
1498aa522e Make this build for platforms which don't define HAVE_DLOPEN, notably
our sun2 port.  Eliminates "defined but not used" warnings turned into
errors by our setup.
2010-12-02 10:23:51 +00:00
he
c9162fb054 Don't rely on the shared library dependencies to pull in the ssl and lber
libraries, for the benefit of static linking and our sun2 port.
2010-12-02 10:21:28 +00:00
dholland
3e1a0ddeec Ahem. "Battle" of Wounded Knee? How about "massacre"?
XXX: this file needs a *lot* of attention.
2010-12-02 08:36:02 +00:00
dholland
d739f78382 +FPS, GG, GGWP, OOC, TMJ, fix expansion of SFAICT. 2010-12-02 08:32:32 +00:00
elric
7de6a71be4 In -G, refuse to operate if KEYGEN_URANDOM is specified as we already do
for KEYGEN_RANDOMKEY.

Print a warning if such a refusal is made---this will help the user understand
why there is an error.

Patch provided by:  Taylor R Campbell <campbell+netbsd@mumble.net>.
2010-12-02 04:54:32 +00:00
dholland
574c2fc5a2 add const, from PR 44183. 2010-12-02 04:42:46 +00:00
dholland
92417c82c1 Fix up bodgy code for printing completion matches; it used to sometimes
skip entries, print (null), run off the end of the array, or occasionally
receive SIGSEGV, and now will, hopefully at least, do none of that.

Based in part on the patch in PR 44183 from Sergio Acereda; I also
did some tidyup and fixed it to print top-to-bottom first like ls(1).
2010-12-02 04:35:17 +00:00
pgoyette
bbee0aaae2 Add keymap for ukbd.any.powerbook to fix build breakage 2010-12-02 02:58:28 +00:00
agc
e914232be0 avoid nameclash - call the generated user id variable "generated userid"
also keep the time of structure initialisation as an internal variable.
2010-12-01 22:14:52 +00:00
abs
d5409df303 Add wd2 and wd3 to the default device set - noted by Donald Lee on port-macppc 2010-12-01 22:06:19 +00:00
agc
735f63ec03 When generating a key, set the new key's userid (last 16 bytes of
fingerprint) as an internal netpgp variable.

This can then be queried using netpgp_getvar(netpgp, "userid") to find the
new key's id.
2010-12-01 22:01:41 +00:00
pooka
1de81dd955 If the pagedaemon cannot free any memory due to not being able to
lock any uvm objects, check if lockholders are currently on CPU
and yield to try very soon again instead of assuming deadlock.

This makes limited-memory kernels perform the same as memory-unlimited
kernels (provided there is a reasonable amount of memory available).
For example, for large file copy off of ffs where the image is
backed on host memory (i.e. no disk i/o, i.e. ideal conditions)
the figures are, per rump kernel memory limit:

3000kB: same
1000kB: 10% slower
500kB:  50% slower

(per pagedaemon code might still be able to use some tweak, though)
2010-12-01 20:29:56 +00:00
phx
0acc6b4268 Overlay for all Apple PowerBook keymaps, to support the special function
keys for brightness-, volume-control, num-lock, etc.
To be loaded via /etc/wscons.conf.
2010-12-01 17:48:04 +00:00
njoly
6906efb802 Remove unexpected t_resize_ffs.debug (t_resize_ffs is an atf-sh
script).
2010-12-01 17:40:08 +00:00
riz
6ad0ad89d6 Update TODO for resize_ffs(8), adding some stuff and removing some
ancient bits.
2010-12-01 17:39:54 +00:00
riz
6efa15a79a Do not look for a v1 file system at SBLOCK_UFS2, as this gets the wrong
superblock (first alternate) for a file system with 64k blocks.
Spotted by mhitch@.
2010-12-01 17:39:21 +00:00
riz
18174be827 Clean up this file:
- sync usage comment with current reality
- sort includes
- wrap lines
- use EXIT_FAILURE consistently
- make error messages consistent:  Cannot->Can't
- Remove "Old FFSv1 macros" in favor of system macros in ufs/ffs/fs.h .
  Leave dblksize() because it uses the on-disk dinode structure.

More cleanup is needed.
No functional changes intended.
2010-12-01 17:33:45 +00:00
pooka
48ac8b3849 implement mutex_owner() 2010-12-01 17:22:51 +00:00
pooka
cac1c6e392 Don't bother asserting: if we create the thread without KTHREAD_MPSAFE,
it's not going to be MPSAFE.
2010-12-01 15:13:24 +00:00
pooka
5f9e9d2543 rumpuser interface changed 2010-12-01 15:02:04 +00:00
pooka
0f9fe55ba4 Umm, delete recursive mutex interface instead of renaming it. 2010-12-01 15:01:52 +00:00
pooka
5e1b7bf36d Track lwp as the rumpuser mutex owner instead of pthread_t (this
is done in rumpuser for simplicity, since on the kernel side things
we assume we have only one pointer of space).  As a side-effect,
we can no longer know if the current thread is holding on to a
mutex locked without curlwp context (basically all mutexes inited
outside of mutex_init()).  The only thing that called rumpuser_mutex_held()
for a non-kmutex was the giant lock.  So, instead implement recursive
locking for the giant lock in the rump kernel and get rid of the
now-unused recursive pthread mutex in the hypercall interface.
2010-12-01 14:59:37 +00:00
jruoho
677827a9a5 Reference stdbool(3), stdint(3), and inttypes(3). Use .Vt. 2010-12-01 13:27:15 +00:00
dholland
430077746e typo 2010-12-01 11:24:38 +00:00
dholland
2d8f9e4c6a Minor grammar patrol.
XXX: if this is going to mention the c89 TC's, it should really
XXX: mention the c99 TC's too.
2010-12-01 11:23:39 +00:00
pooka
f73729b6b4 Make uvm_pagealloc_tele() fail if the request can't be immediately
satisfied.  This allows the caller to unlock the object and the
pagedaemon to avoid deadlock even if ~all memory is consumed by
one vm object.  This in turn makes is possible to copy a large file
into a rump kernel with a 10MB memory limit (where large >> 10MB).
A little more tuning will be required to avoid the pagedaemon
hitting the sleep-and-retry path, though.

+ fix some outdated unrelated comments
2010-12-01 11:19:18 +00:00
he
301198ac5d Follow up the changes done to wivar.h -- the consequence here is that
instead of a _disable and _enable routine, we have a single _enable which
takes a flag, and has a slightly different function signature.
Macppc kernels should build again.
2010-12-01 09:52:28 +00:00
mrg
eebfdc254d dsable SSE2 support on amd64 for now. GCC generates code that causes
alignment faults.  the code is:

0x00007f7ffd40ccd7 <_pixman_implementation_create_sse2+0>:      push   %rbp
0x00007f7ffd40ccd8 <_pixman_implementation_create_sse2+1>:      mov    %rsp,%rbp
0x00007f7ffd40ccdb <_pixman_implementation_create_sse2+4>:      sub    $0x10,%rsp
...
0x00007f7ffd40cdab <_pixman_implementation_create_sse2+212>:    mov    $0xffffffffffffffff,%rdx
0x00007f7ffd40cdb2 <_pixman_implementation_create_sse2+219>:    mov    %rdx,0xfffffffffffffff0(%rbp)
0x00007f7ffd40cdb6 <_pixman_implementation_create_sse2+223>:    mov    %rdx,0xfffffffffffffff8(%rbp)
0x00007f7ffd40cdba <_pixman_implementation_create_sse2+227>:    movdqa 0xfffffffffffffff0(%rbp),%xmm0

upon entry we have stack aligned to 16 bytes.  the first instruction
subtracts 8, we copy this not-16-byte aligned value into %rbp, and
then decrement the stack by 16 bytes.

then we store a big -1 into 16 bytes on the stack, and then load it
into %xmm0.. except we load it from an unaligned pointer and GP.
2010-12-01 08:59:12 +00:00
pooka
fe64a82d7b comment why vax is left out of all the fun 2010-12-01 07:12:03 +00:00
pooka
024c6ce070 adjust previous a bit to attempt to deal with MKMONKEY 2010-12-01 07:03:21 +00:00
skrll
663ac59a5a Define PCI_MAGIC_IO_RANGE, so that Xorg drivers can mmap PCI IO space. 2010-12-01 06:47:16 +00:00
jruoho
072bfa1368 OWITE -> OWTTE, as in the original patch. 2010-12-01 05:18:09 +00:00
mef
de61feac70 Add Makoto Fujiwara mef@, thanks 2010-12-01 01:57:09 +00:00
riz
b16d0da05a Add sets/mtree goop for new test program and accompanying dirs. 2010-11-30 23:18:25 +00:00
riz
3c3ed948f1 Add some basic tests of resize_ffs(8). The 'grow' test does nothing
more than create an empty file system, grow it, and makes sure fsck
finds the result clean.  The 'shrink' test does likewise for shrinking,
but is an expected failure at the moment due to PR bin/44177.
2010-11-30 23:17:27 +00:00
pooka
03f765ec9e lint care 2010-11-30 22:32:01 +00:00
pooka
cc95cda0d4 lintsquelch 2010-11-30 22:30:43 +00:00
pooka
cece9ab74b cleanup server after use
(XXX: need better way to reboot it)
2010-11-30 22:15:02 +00:00
pooka
30ef7f96b5 build system gobbeldygook for tests 2010-11-30 22:14:02 +00:00
pooka
c2681d795d Add a simple and stress test cases for the rump remote syscall code.
Fun fact: since the server daemonizes into its own process group,
it's not in atf's pgrp.  Use rump_sys_reboot() in atf cleanup to
kill the server after the test.
2010-11-30 22:09:15 +00:00
wiz
5657c17871 Add some consistency dots though they make not much typographic sense; however,
just as much as in the other places in the enumeration.
Use Pa for a path.
2010-11-30 22:00:01 +00:00
jruoho
83f1baf744 Update. 2010-11-30 21:22:38 +00:00