Commit Graph

195298 Commits

Author SHA1 Message Date
tteras b3dca9dae4 Recognize direction for Linux per-socket policies. 2010-12-03 15:01:11 +00:00
tteras 7d13a088be Support GRE key as upper layer protocol specifier (will be supported in
Linux kernel 2.6.38).
2010-12-03 14:32:52 +00:00
njoly 71281c77f5 Add testcase for PR/44189: strtod(3) wrong results with "-0x". 2010-12-03 13:11:50 +00:00
hannken 0535cdefcf Add missing files ./usr/tests/util/make/d_unmatchedvarparen.{mk,out} 2010-12-03 12:02:28 +00:00
tteras 3a9671366f Netlink deletion notification does not guarentee actual address deletion:
it might still exist on some other interface. Make sure we do not unbind
unless the address is really gone.
2010-12-03 09:46:24 +00:00
hannken c1e6ef0c6b genfs_do_putpages(): When testing an uobject for dirty or modified
pages skip uninitialized (PG_FAKE) pages (DEBUG only).
2010-12-03 08:42:14 +00:00
riz 12c055f488 Cause the tests to use plain files instead of vnd; for the kinds of
tests being done, vnd isn't needed and adds a potential resource
conflict issue on the system running the test.  As a bonus, the
tests run faster because less data is being shuffled around.
2010-12-03 05:23:46 +00:00
riz 3485b1dad5 Turns out, plain-file usage is already supported. *blush* 2010-12-03 05:23:34 +00:00
riz 539a0898bc Correct two function names:
grow_ffsv1_64k() -> grow_ffsv1_64k_head()
   shrink_ffsv1_64k() -> shrink_ffsv1_64k_head()
2010-12-03 04:10:36 +00:00
christos bb46e8373d Add a new test for the latest variable expansion problem.
- Cannot test because make test prints:
  .: Can't open /usr/share/atf/atf.header.subr
- The shell script common code needs to be fixed to follow regular shell
  style.
  - variables are underquoted
  - uses `` instead of $()
  - does not use local for local variables, prefixes with undescore
  - needlessly uses braces for numeric and symbolic variables.
  - uses a fifo to grab output, and does not clean it up properly on error
  - should not exit with > 127 !!!
2010-12-03 01:29:55 +00:00
bouyer fbd333145d Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf
index > 0 on amd64. Problem reported and patch tested by Tobias Nygren.
2010-12-02 23:12:30 +00:00
wiz 36c0ebae6f Remove HTMLDEPS; was only used by nroff.
Ok joerg@
2010-12-02 23:08:04 +00:00
riz 4c7e04789a Knock one off the list. 2010-12-02 22:04:01 +00:00
riz 07bc982d01 Update existing test cases and add a couple more:
- PR bin/44177 is fixed
- test grow/shrink on a ffsv1 with 64k blocksize, which was broken until
  recently
- make sure the partial cylinder left over is big enough so it doesn't
  get thrown away now that resize_ffs properly uses the last cyl.

XXX TODO:  add tests which ensure data integrity.
2010-12-02 22:03:23 +00:00
riz 9f2c8ccc2b Use howmany() instead of "/" to calculate the number of cylinders for
the changed file system, so as to not drop a partial cylinder at the
end.  Fixes PR bin/44177.
2010-12-02 22:00:27 +00:00
pooka 688fddb6c6 add ci_curlwp since we use it now 2010-12-02 21:20:39 +00:00
plunky d334ec0fc0 fix potential mbuf overflow, from Alexander Danilov on tech-net 2010-12-02 19:07:27 +00:00
elric 297cd81a0d Remove a line that was intended only for my personal testing and that
breaks things.
2010-12-02 18:02:58 +00:00
christos 6507d5b7f9 just ignore things that refer to the interface while detaching. 2010-12-02 17:38:05 +00:00
christos dd73ef3bf4 Don't crash during detach if the attach hook failed before setting up.
From Chuck Silvers
2010-12-02 16:56:21 +00:00
christos 24e17e276b From Aleksey Cheusov: Fix unexpected behavior with:
all: test1 test2
test1:
	@echo ${foo::=foo-text}
test2:
	@echo $(foo::=foo-text)
Saying:
nbmake: Unclosed substitution for foo (} missing)
for test 2
2010-12-02 16:46:22 +00:00
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