Commit Graph

217439 Commits

Author SHA1 Message Date
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
pooka eacf5f75c5 Add -c, which produces cvs syntax output for the necessary subset
of src/sys.
2013-03-10 14:15:54 +00:00
pooka a123f6ce4a Make RUN_ONCE actually run only once. Also, remove a "slightly"
outdated comment.
2013-03-10 11:21:05 +00:00
pooka dbf909e4a9 Avoid dependency on curlybrace expansion. 2013-03-10 09:18:50 +00:00
christos 49d47d88c9 On sparc64 memcpy and memset are provided by memcpyset.s (should have been
memcpyset.S, but...). Don't include them in the build because it breaks the
modular build where the kernel library is built as an object.
2013-03-10 07:31:03 +00:00
christos 3f9b5ba889 Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*)
so that modules work, on config files that did not set it explicitly. All
the files now use the standard logic, except the ones that set KERN_AS=obj
and Makefile.usermode which sets KERN_AS=library.
2013-03-10 07:18:19 +00:00
christos 38cec6f03a more detailed/consistent error messages. 2013-03-10 04:25:06 +00:00
christos 225aac513b Now that the auto-loading zfs bug has been fixed, the loading failed because
the devsw node was busied here. Since we load the devsw only for the purpose
of creating the device node in our virtual filesystem, detach it after we
are done so that the real module can reload it.
2013-03-10 04:24:16 +00:00
christos c007a4ec21 remove stray brace 2013-03-10 04:01:49 +00:00
mrg 5dc860cdbb fix PR 47629, using a slightly different patch to the one in the PR.
this modifies escape_rfc3986() to escape '%' itself, and to properly
track the buffer size and nul out the final byte, not some random
byte that may actually be unmapped.
2013-03-09 21:36:04 +00:00
christos d8eb8720ff Document more environment settings. 2013-03-09 19:43:20 +00:00
christos 4b1752e245 undo previous; mail never expanded $ variables in folder. 2013-03-09 19:43:07 +00:00
christos 87304c8cb4 - make errors positive like elsewhere in the kernel, document error returns
- KNF
- fix commented out debugging
2013-03-09 16:02:25 +00:00
jmmv 055af6fa83 Record the value of MKATF and MKKYUA in /etc/release. 2013-03-09 14:12:08 +00:00
pooka f9ef17b1a6 Tiny fix for Solaris. 2013-03-09 13:25:17 +00:00
skrll e818dd6fc0 New firmware from today 2013/03/09 2013-03-09 10:58:44 +00:00
mlelstv 8792a74a54 Errors are supposed to be negative errno numbers, not -1 which is interpreted
as EPERM.
2013-03-09 10:10:45 +00:00
martin 2be5afec8a Sharpen the "return imediately" test case and fix/uncomment the "wait untill
signal" one.
2013-03-08 23:18:00 +00:00
christos bec987f94b fix compilation issues. 2013-03-08 20:58:35 +00:00
christos 524dd7b3c3 - don't allow multiple active connections from the same host
- prefix all messages with the local hostname
- more error checking
2013-03-08 20:56:44 +00:00
pooka 4b0fe89206 Ensure that rump kernel component constructors from the main object
get processed.  This applies to ones which were linked statically.
Unfortunately, that's where it got a bit tricky, since the dlsym()
interface searches the handle and all its dependencies.  For the main
object the list of dependencies includes all the dynamic rump kernel
components that were included when the binary is linked.  So, a long
story short, make only one pass through the objects to harvest all the
component entries, weed out the dupes, and initialize components from
an in-memory dupe-free list when so requested.
2013-03-08 19:04:27 +00:00
martin 16faa3e73a Adapt to renamed test program 2013-03-08 17:02:29 +00:00
martin faea3b9e87 Rename testprogram and make it more general by adding other testcases.
One commented out, I didn't manage to get all signal handling correct
for now.
2013-03-08 17:01:54 +00:00
christos e04ecc45a2 PR/47631: NAKAJIMA Yoshihiro
1. Utimens and lutimens don't require timeval but timespec.
2. The order of functions doesn't have a uniformity.
3. Utimens.2 and lutimens.2 aren't installed.
2013-03-08 16:52:11 +00:00
christos 88a527aa60 PR/47632: Supratim Chakraborty: Spelling Mistake for Variadic functions 2013-03-08 16:50:02 +00:00
skrll 5122608537 Disable vchiq for now. 2013-03-08 14:59:34 +00:00
christos 774aa66633 add missing $, from Petar Bogdanovic 2013-03-08 14:32:12 +00:00