217415 Commits

Author SHA1 Message Date
njoly
08c0fa70da Kill a trailing slash. 2013-03-12 13:09:26 +00:00
njoly
c100454ec7 Error out if a path has a trailing slash, which makes awk enter an
infinite loop while creating set lists.
2013-03-12 13:08:00 +00:00
christos
93b2a5c31b re-directing once is good enough. 2013-03-12 01:55:33 +00:00
christos
2bc1b2d373 not a good place to include "nbtool_config.h" 2013-03-12 01:52:55 +00:00
christos
621c21b80f Perform shell fd gymnastics to capture the error in the pipeline and exit. 2013-03-12 01:52:20 +00:00
christos
7026897f2b fix typo, from Henning Petersen 2013-03-11 23:17:34 +00:00
pooka
83a2a556bf In pool_cache_put_slow(), pool_get() can block (it does mutex_enter()),
so we need to retry if curlwp took a context switch during the call.
Otherwise, CPU-local invariants can get screwed up:

    panic: kernel diagnostic assertion "cur->pcg_avail == cur->pcg_size" failed

This is (was) very easy to reproduce by just running:

  while : ; do RUMP_NCPU=32 ./a.out ; done

where a.out only calls rump_init().  But, any situation there's contention
and a pool doesn't have emptygroups would do.
2013-03-11 21:37:54 +00:00
tron
47c0e0c312 Replace previous Sun Microsystems, Inc. license with a standard
BSD 3-clause license granted by Oracle America, Inc..
This license change was approved by Wim Coekaerts, Senior Vice President,
Linux and Virtualization at Oracle Corporation.

This fixes PR lib/45293 by Pedro Giffuni.
2013-03-11 20:19:28 +00:00
christos
12e775eb94 use sizeof(req) to find if it was empty or not (from uwe) 2013-03-11 17:20:02 +00:00
christos
d89c031d8b *"" is not constant according to gcc. So we move the responsibility for adding
a , to the users of the macro.
2013-03-11 17:03:55 +00:00
christos
668937be38 one more fixed 2013-03-11 16:38:31 +00:00
christos
02ab91fbba - avoid trailing , in dependencies when there are none other the npf module
itself.
- remove if_npflog dependency from npf_ext_log.
2013-03-11 16:37:43 +00:00
christos
94645577e2 more npf sets lossage. 2013-03-11 15:53:04 +00:00
christos
d3a58d87a8 amend previous sparc64 fix: rump does not know about memcpyset.s 2013-03-11 11:44:48 +00:00
yamt
7c323d8879 fix rev.1.13 2013-03-11 10:44:43 +00:00
skrll
c885a8d72b Comments corrections. 2013-03-11 09:35:38 +00:00
christos
08ba3be1b4 more breakage. 2013-03-11 02:12:15 +00:00
christos
fce0192186 explain further. 2013-03-11 02:02:28 +00:00
christos
fea1d0b382 prevent the lookup function from autoloading recursively. 2013-03-11 01:56:37 +00:00
christos
7e25e6910f move the module loading in the correct place. 2013-03-11 01:43:50 +00:00
christos
1066afcd4f remove the detach that does not belong here anymore. 2013-03-11 01:42:12 +00:00
christos
8493e8dcfc separate sess commands. 2013-03-11 00:39:32 +00:00
christos
feb589a817 remove dup usage. 2013-03-11 00:34:43 +00:00
christos
364fc868d0 fix error message and type of if_idx 2013-03-11 00:29:09 +00:00
christos
70db60e43f fix error message 2013-03-11 00:18:11 +00:00
christos
c85651a383 fix usage 2013-03-11 00:16:59 +00:00
christos
58bc4d4e58 handle port "ftp-data" 2013-03-11 00:09:07 +00:00
christos
cd72feefe1 more 2013-03-11 00:05:36 +00:00
christos
b58e208695 my laundry list 2013-03-11 00:04:46 +00:00
christos
a497a64d11 auto-create the log interface and bring it up. 2013-03-11 00:03:18 +00:00
christos
2acab3345b centralize error handling and print what went wrong instead of "ioctl" 2013-03-10 23:59:00 +00:00
christos
8c8be406dd modules moved to /lib 2013-03-10 23:57:07 +00:00
christos
e0620b41b3 deal with strings as interfaces 2013-03-10 23:11:26 +00:00
christos
9f5f8a86c5 normalise -> normalize 2013-03-10 21:55:40 +00:00
christos
2c148c8265 forgot to add the c file 2013-03-10 21:49:26 +00:00
christos
654414f4a1 npf modules moved to /lib 2013-03-10 21:48:17 +00:00
rmind
4425b99c58 tabify 2013-03-10 21:45:46 +00:00
christos
885f7abecf - rename ext_normalise to ext_normalize
- move modules to from /usr/lib to /lib
- centralize make rules
2013-03-10 21:41:05 +00:00
christos
c9f0cc4510 mv npf modules to /lib 2013-03-10 21:40:05 +00:00
rmind
e1515f844d Fix the example (deja vu?). 2013-03-10 21:17:30 +00:00
christos
cb8ee8ae2e remember to detach and add if_npflog module 2013-03-10 21:01:19 +00:00
christos
35774b253e add npflog module. 2013-03-10 20:58:49 +00:00
christos
fbddef57ad new npflog driver split out of npf_ext_log. 2013-03-10 20:54:14 +00:00
christos
45d28ff77c Split the npflog cloner and auto-load the extensions. 2013-03-10 20:51:44 +00:00
christos
a6e021428d allow cloners as modules. 2013-03-10 19:46:12 +00:00
christos
67f79fd48b add MAP_PRIVATE 2013-03-10 19:32:29 +00:00
pooka
55246528e8 At least pretend to not leak memory in sysctl initialization.
This commit message would be longer if it included opinions about
sysctllog vs. CTLFLAG_PERMANENT ...
2013-03-10 17:55:42 +00:00
pooka
459d6cf13a Use kern_malloc.c instead of the relegated allocators in memalloc.c.
Previously this didn't make sense due to the use of kmem_map, but the
new malloc is more dynamic and puts sense into using it.
2013-03-10 17:05:12 +00:00
pooka
6dea01d790 Don't allow kernel threads to run before all CPUs have been initialized
to avoid them getting scheduled on non-initialized CPUs.
2013-03-10 16:51:31 +00:00
pooka
b9f7ec4123 Always include subr_vmem.c, even with RUMP_UNREAL_ALLOCATORS=yes
(previously it was just missing in that case).

Record wchan to unreal pool_init() to avoid memory leak warning.
2013-03-10 16:27:11 +00:00