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
christos
b50b975dbc
PR/47630: Petar Bogdanovic: add ssh_host_ecdsa_key to /etc/mtree/special
2013-03-08 14:31:28 +00:00
jmcneill
6704dd7bc7
add vchiq0 at obio?
2013-03-08 12:33:57 +00:00
jmcneill
12a7d7c6ad
create /dev/vchiq
2013-03-08 12:33:25 +00:00
jmcneill
d0c4f7d978
BCM2835 VCHIQ device driver
2013-03-08 12:32:29 +00:00
apb
30e210a93b
Note update to tzdata2013a.
2013-03-08 11:31:07 +00:00
martin
0b085d7865
Add new test program t_sigtimedwait_pr_47625.
2013-03-08 10:43:43 +00:00
martin
90ba9be35f
Add a test program for PR kern/47625, based on the sample code provided
...
by anthony mallet.
2013-03-08 10:33:51 +00:00
apb
f92c0e46b0
Properly differentiate between infinite timeout and zero timeout.
...
Local variable timo = -1 is used for zero timeout (non blocking mode).
Fixes PR 47625 from anthony.mallet
2013-03-08 09:32:59 +00:00
apb
7c5d63e1c6
In the timeout passed to sigtimedwait, NULL means an infinite timeout,
...
and {.tv_sec = 0, .tv_nsec=0} means do not block at all. Add a comment
saying so. The code incorrectly treats them both as an infinite timeout,
and that is not fixed by this commit.
2013-03-08 08:48:38 +00:00
apb
90c6b7a188
also comment on the meaning of timo=0 for cv_timedwait_sig.
2013-03-08 08:36:37 +00:00
apb
e6dad85522
Add comments saying that a cv_timedwait and sleepq_block interpret
...
timo = 0 as an infinite timeout. This is already documented in the
cv_timedwait(9) man page, and there is no sleeq_block(9) man page.
2013-03-08 08:35:09 +00:00
wiz
2b38e53a58
Standardize Lb argument.
2013-03-08 08:30:44 +00:00
wiz
500d85431e
casing.
2013-03-08 08:29:36 +00:00
pooka
e23a1341b4
Add librumpclient. requested by wiz
2013-03-08 08:13:34 +00:00
pooka
72b9cef9f5
Make the device node creation routines function pointers which default
...
to nullop without VFS. This relaxes the dependency between VFS and many
components, some of which can be used perfectly fine without VFS.
2013-03-07 22:12:34 +00:00
wiz
ba9019db8d
Add libnpf. From rmind.
...
While here, add consistency in casing.
2013-03-07 21:54:04 +00:00