agc
276ab299a6
Fix a tyop in the previous commit
2009-01-30 04:09:35 +00:00
drochner
338f42d97e
put back a range check in setrlimit() for now
...
(thanks to Andrew Doran for remembering)
rlim_t _should_ be unsigned, but this needs more work
2009-01-29 22:27:23 +00:00
ad
a9743c2461
- Allow creating timeshard kthreads. To be used to fix the RAIDframe
...
parity rewrite issue.
- Create kthreads in the SCHED_RR class by default, not SCHED_FIFO.
2009-01-29 22:00:26 +00:00
rmind
a487ff992f
sched_pstats: add few checks to catch the problem. OK by <ad>.
2009-01-28 22:59:46 +00:00
reinoud
69f4b23bdc
Don't claim its an ISO partitioning scheme too early in the label. An MBR
...
might me there instead.
2009-01-28 15:26:28 +00:00
njoly
f024404c50
Do not call put_type() but use copyout() when returning the message
...
segments to the user.
ok by rmind.
2009-01-28 00:59:03 +00:00
njoly
122f627e90
Make msgsnd(2)/msgrcv(2) fail with EINVAL for messages larger than
...
SSIZE_MAX. Adjust man pages accordingly.
ok by christos.
2009-01-26 13:08:48 +00:00
pooka
89fa47c428
Tag a few more socket syscalls with RUMP:
...
recvmsg, sendmsg, recvfrom, getpeername, getsockname, sendto,
shutdown, socketpair
2009-01-26 12:20:05 +00:00
yamt
f4fa6bbef9
bump VMEM_HASHSIZE_MAX from 8192 to 65536.
2009-01-25 13:08:56 +00:00
rmind
5a84a46b8c
mutex_vector_enter: few predictions.
2009-01-25 04:45:14 +00:00
rmind
66063c53a6
Set l_psid to PS_NONE for lwp0 (consistency change).
2009-01-24 22:42:32 +00:00
rmind
6d73ddd355
Revert path of modules back to "/stand".
2009-01-24 22:14:44 +00:00
rmind
f0e51651e4
Change path to kernel modules from "/stand" to "/kernel".
...
Needs to go in before 5.0. Proposed on <tech-kern>.
2009-01-24 00:29:12 +00:00
pooka
06abc8c3f9
Remove debug print -- this is what happens when there's several
...
hours between implementation and commit.
2009-01-23 19:29:38 +00:00
pooka
c7e5a8be4e
Remove the "int *error" parameter from rump syscalls. Instead use
...
rumpuser_seterrno() to set the errno for the caller. This makes
the difference between real and rump syscalls way less intrusive
in calling code.
2009-01-23 19:27:18 +00:00
pooka
f6724ea74f
solock() in compat code error branch to avoid panic
2009-01-23 15:40:19 +00:00
rmind
9e43fad609
sys__pset_bind: obviously, sched_takecpu() should take "t" LWP, not "l".
2009-01-23 13:58:08 +00:00
pooka
8b32829eeb
Change VMEM_HASHSIZE_INIT from 1 to 128. This mainly benefits
...
quick-running or non-threaded rump jobs, where the rehash algorithm
does not have a chance to run. For other cases it doesn't make
much difference, since the size will grow or decrease when the
rehash algorithm runs for the first time (t=10*hz currently).
2009-01-23 13:45:06 +00:00
jmmv
f084134ae9
Initialize SYMTAB_SPACE ksyms during ksyms_init. Per PR port-evbarm/40311.
2009-01-23 09:22:25 +00:00
drochner
cf45120117
Avoid deadlock in tty code if a terminal emulation responds to
...
type/status/etc inquiries. (PR kern/37915)
This is clearly a design problem in tty, but we need a cheap fix now.
The problem is that ttyinput() tries to pull a spinlock which
is already held on calls to t_oproc.
The workaround is based on the fact that within wscons code, the
wsdisplay_emulinput() function is only called directly from
wsdisplaystart(). So we can be sure that the tty lock is held,
and use an inofficial entry point in ttc.c which avoids the locking.
These ate certainly more assumptions than needed by the fix
proposed in the PR, but it doesn't affect (and slow down) other
tty drivers.
2009-01-22 20:40:20 +00:00
yamt
cb1e92d5d5
malloc -> kmem_alloc
2009-01-22 14:38:34 +00:00
yamt
812bb0d164
restore the pre socket locking patch signal behaviour.
...
this fixes a busy-loop in nfs_connect.
2009-01-21 06:59:29 +00:00
enami
3d21969dbd
Fix a bug introduced by rev. 1.311. Make the kern.vnode sysctl to expose
...
correct address of each vnode to userland again.
2009-01-21 00:54:05 +00:00
drochner
dc83650fb8
add __gcc__ __format__ __string__ __attributes__ to catch mistakes early
2009-01-20 20:12:41 +00:00
drochner
d767912be3
Change major()/minor() to return 32-bit types again, called
...
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.
2009-01-20 18:20:47 +00:00
yamt
e80f4e9ccb
fix inverted POLL_ directions.
2009-01-20 14:51:43 +00:00
yamt
62bd2e85ef
pipeselwakeup: now POLL_HUP != POLL_ERR. remove unnecessary #if.
2009-01-20 14:50:22 +00:00
rmind
909e7f4259
- Make thread-affinity and processor-set interfaces mutually exlusive.
...
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
2009-01-20 01:57:35 +00:00
njoly
97781244ee
Clear error value on exit for IOC_CPU_OGETSTATE ioctl command.
2009-01-19 23:04:26 +00:00
christos
143e6033a9
Provide compatibility for pre-christos-time_t sysv sysctls.
2009-01-19 19:39:41 +00:00
christos
d610baec20
provide compat_50
2009-01-19 17:39:02 +00:00
yamt
3e196b68ff
malloc -> kmem_alloc
2009-01-19 14:54:28 +00:00
christos
14ba6c67a5
Provide compatibility to the old timeval SCM_TIMESTAMP messages.
2009-01-19 02:27:57 +00:00
rmind
d1efa8f729
- Avoid calling sched_catchlwp() if CPUs have different processor-sets.
...
- sched_takecpu: check for psid earlier (be more strict).
PR/40419.
2009-01-18 05:07:51 +00:00
cegger
cc23319cdd
whitespace nit
2009-01-17 09:00:24 +00:00
yamt
cea19a4d14
malloc -> kmem_alloc.
2009-01-17 07:02:35 +00:00
yamt
ae07703384
cache_prune: use (a - b > 0) rather than (a > b) to compare ticks.
2009-01-16 06:59:21 +00:00
yamt
3e54d28391
use TAILQ_FOREACH where appropriate, rather than rolling their own.
2009-01-16 01:48:09 +00:00
yamt
46b53b5f94
replace clearly broken bufq_priocscan_cancel with
...
something which might work. (hi reinoud)
2009-01-16 01:44:27 +00:00
yamt
b9b9c67db2
bufq_cancel: KNF.
2009-01-15 16:11:19 +00:00
christos
dfcfa95743
check for error in the COMPAT_50 case.
2009-01-15 15:29:10 +00:00
christos
a46d2217e9
reverse the polarity of the use of the error variable. Using a different
...
variable would be cleaner but it would require more ifdefs.
2009-01-15 15:25:37 +00:00
christos
6e8bc6579f
correct previous, fix reversed test, remove memset.
2009-01-14 23:28:23 +00:00
cegger
16f884ca6d
make this compile: fix gcc warning about uninitialized use of tv.sec and tv.usec.
2009-01-14 20:33:19 +00:00
pooka
32713ca49c
Generate local prototypes in rump_syscalls.c and disallow using
...
the rump_syscalls.h interface from inside the rump kernel.
2009-01-14 19:40:30 +00:00
christos
6d87d90fe9
version get/set send/recv timeout setsockopt.
2009-01-14 18:09:00 +00:00
pooka
09ba2d6689
Regen to prove I didn't screw up the conversion: purely RCSID changes.
2009-01-13 22:33:11 +00:00
pooka
a9a2ce837b
Convert the syscalls.master to a format from which it is easier
...
to parse and generate the compat name and basename (e.g. __stat50
and stat). Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().
2009-01-13 22:27:43 +00:00
pooka
71ef2103a7
Print delimiters around expected string in parse error message.
2009-01-13 16:29:19 +00:00
pooka
b2acbf4328
fix error message: expecting (, not )
2009-01-13 16:25:43 +00:00
yamt
70de973662
g/c BUFQ_FOO() macros and use bufq_foo() directly.
2009-01-13 13:33:58 +00:00
christos
3153db9a35
remove !NTP stub.
2009-01-11 21:00:11 +00:00
christos
cbac073161
regen.
2009-01-11 19:41:12 +00:00
christos
87e24cb708
fix lutimes.
2009-01-11 19:40:38 +00:00
christos
e625b403dd
- fix leaked lock, thanks ad@ for noticing.
...
- remove unneeded cast.
2009-01-11 15:57:29 +00:00
tsutsui
427f482fda
Regen to pull proper "created from" revision strings.
2009-01-11 12:22:51 +00:00
cegger
138eec15bb
make kgdb_dev a dev_t
2009-01-11 10:20:53 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
reinoud
a0d3b4c9bf
Fix the mess i made with the iso partitioning reading due to the fact that
...
disk_read_sector() wants DEV_BLKSIZE blkno's BUT sectorsize unit lengths
specified... how `logical'.
Real fixup pending on discussion on tech-kern/source-changes.
2009-01-08 14:06:50 +00:00
pooka
e99d5fab49
Sprinkle comments explaining purpose of kobj_machdep(), per email from ad.
...
no functional change
2009-01-08 01:03:24 +00:00
pooka
150e5cca0b
Missed realloc in previous. Ride 5.99.6 bump.
2009-01-07 21:06:31 +00:00
pooka
80508c50c5
Rename malloc() to kern_malloc() to avoid name conflict with libc.
...
Now it is possible to use the kernel linker with rump.
2009-01-05 21:42:37 +00:00
reinoud
0da18cc3f4
Fix ISO partitioning readin. ISO dictates its descriptors are minimal 2048
...
bytes long independent of the device block size.
2009-01-03 14:35:27 +00:00
yamt
68b6d8786e
remove extra semicolons.
2009-01-03 03:31:23 +00:00
pooka
3c58d5b25f
My clever hack was not enough. Disable DELAY via ifndef _RUMPKERN in
...
subr_prf until I manage to get all archs in line with a proper MI
signature.
2009-01-02 22:03:00 +00:00
pooka
ff1136dede
We use CPU_INFO_FOREACH here -> include sys/cpu.h
2009-01-02 11:08:32 +00:00
pooka
167269d42c
Include kernel printf routines in rump instead of relying on the
...
magic libc symbol. This also allows to bid farewell to subr_prf2.c
and merge the contents back to subr_prf.c. The host kernel bridging
is now done via rumpuser_putchar().
2009-01-02 02:54:13 +00:00
pooka
2577e51e90
revert previous, disabled aliasing in offending build
...
(XXX: two evil casts in the original)
2009-01-01 22:17:55 +00:00
pooka
44a89fbb01
Squelch type-punning warnings with void * casts. We are allowed
...
to do this because the pointers do not have aliases.
2009-01-01 21:35:22 +00:00
pooka
f671460fc0
_KERNEL_OPT
2009-01-01 19:10:17 +00:00
pooka
0e983d35cf
* unexpose kprintf locking internals
...
* migrate from simplelock to kmutex
Don't bother to bump kernel version, since nothing outside of subr_prf
used KPRINTF_MUTEX_ENXIT()
2009-01-01 15:10:20 +00:00
ad
a190625ad7
softint_disestablish: don't pass softint_lock to kpause, it's not held.
2009-01-01 12:26:46 +00:00
reinoud
339f5c5772
Add ISO partition detection enabling auto-detection of iso9660 and UDF
...
partitions on optical media like CD/DVD/BD but also on all other media if
there is no NetBSD disklabel or MBR label.
Also fix cd's readdisklabel arguments so the ioctl's arrive at the right
device (!) and update its default label to make more sense.
2008-12-30 19:38:36 +00:00
pooka
8583cae233
Rename specfs_lock as device_lock and move it from specfs to devsw.
...
Relaxes kernel dependency on vfs.
2008-12-29 17:41:18 +00:00
pooka
3cf15d2f4e
Librate sysctl_setup_func typedef from the clutches of _MODULE and
...
stuff it in kern_sysctl.c where its only sensible use is.
2008-12-29 15:35:02 +00:00
ad
ab21fd5c10
Don't need to hold kernel_lock for most of this (and not into the swapper!).
2008-12-29 13:40:11 +00:00
ad
ed25a64ddf
Don't do KM_NOSLEEP allocations.
2008-12-29 12:52:50 +00:00
reinoud
2b4d7aaa9a
When reusing a directory free space slot and thus finding it on the free space
...
list, do free it back into the pool!
2008-12-28 17:11:26 +00:00
christos
55d90fae57
- Don't autounload modules loaded during boot. In my case, ffs got unloaded
...
because my cdrom takes too long to initialize.
- Consistently print error messages in all error cases.
2008-12-28 03:21:02 +00:00
rmind
d2fec2fc4f
sys_shmat: initialise shmid of shmmap entry earlier. Now error path,
...
i.e. shm_delete_mapping, wont use random value.
2008-12-22 13:49:17 +00:00
cegger
beb4d1e5cc
undo turn malloc flags to enums.
...
Requested by christos.
Keep malloc flag defines in kernel section.
2008-12-21 17:49:55 +00:00
ad
74302d0fab
Redo previous. Don't count deferrals due to raised IPL. It's not that
...
meaningful.
2008-12-21 13:26:58 +00:00
ad
ff0249c394
Prevent a potential deadlock from a multithreaded process doing:
...
t1 dup2(0, 1)
t2 dup2(1, 0)
2008-12-21 10:25:00 +00:00
ad
7ca206492d
Don't try to sync if panicing:
...
- It doesn't work and a dead system that can't be reset from the console is
worse than a system that has painced and rebooted. If you can make it work
reliably please do so.
- If the system is paniced there is every reason to suspect VM structures
and the contents of the buffer cache.
2008-12-21 10:23:10 +00:00
ad
6d599f4e1f
- Fix a bug where we trashed descriptor zero in the old open files array
...
while ironically trying to preserve the same during copy. Would only have
occurred if a multithreaded program expanded the descriptor table and,
within a tiny window of exposure, another thread in the program tried to
access descriptor zero.
- Convert to use kmem_alloc/kmem_free.
2008-12-21 09:58:22 +00:00
ad
82ae73e0b6
Don't increment the 'kpreempt defer: IPL' counter if a preemption is pending
...
and we try to process it from interrupt context. We can't process it, and
will be handled at EOI anyway. Can happen when kernel_lock is released.
2008-12-20 23:06:14 +00:00
cegger
378da548fc
Turn malloc flags into an enum.
...
While here, move the flags definition into _KERNEL section.
2008-12-19 21:22:01 +00:00
pgoyette
81649575af
When checking for "set-up is complete", look for the CTLFLAGS_PERMANENT
...
in the root of the tree being modified, rather than in the system default
tree. This permits module compat_netbsd32 to initialize its shadow tree
at load time.
Discussed on tech-kern, with no objections.
Addresses my PR kern/40167
2008-12-19 17:28:59 +00:00
pgoyette
9c68331911
Store config(1)'s root filesystem type as a text string rather than
...
embedding the address of its xxx_mountroot() in swapnetbsd.c. This
permits booting of kernels with hard-wired filesystem type even if the
filesystem is in a loadable module (ie, not linked into the kernel
image).
Discussed on current-users. Tested on amd64 and i386 with both hard-
wired and '?' filesystem times, and on both modular and monolithic
kernels.
Thanks to pooka@ for code review and suggestions.
Addresses my PR kern/40167
2008-12-19 17:11:57 +00:00
thorpej
4730b27d42
Make condvars really opaque -- hide the wait message member from consumers
...
of the API.
2008-12-19 07:57:28 +00:00
cegger
9b87d582bd
kill MALLOC and FREE macros.
2008-12-17 20:51:31 +00:00
christos
9a5d3f2817
replace bitmask_snprintf(9) with snprintb(3)
2008-12-16 22:35:21 +00:00
ad
7c89190b50
Start percpu allocation at (ALIGNBYTES + 1) to avoid problem with importing
...
offset zero to vmem.
2008-12-15 11:59:22 +00:00
ad
c1ef49a66f
Back VMEM_ADDR_NULL change. It's too invasive.
2008-12-15 11:42:34 +00:00
ad
b8c27c5dfc
Check for VMEM_ADDR_NULL, not NULL.
2008-12-15 11:33:13 +00:00
ad
f9b17a5200
Define VMEM_ADDR_NULL as UINTPTR_MAX, otherwise a vmem that can allocate
...
a block starting at zero will not work.
XXX pool_cache uses NULL to signify failed allocation.
XXX how did the percpu allocator work before?
2008-12-15 11:29:49 +00:00
ad
50f32f7a93
Put vm_lock into its own cache line.
2008-12-15 10:26:10 +00:00
elad
f4f1989ae8
PR/39559: Juan RP: veriexec(4): too easy to cause a NULL dereference
...
through it in kernel
Patch from PR applied with tiny modifications, thanks!
Discussed with blymn@ a while ago.
2008-12-14 23:20:23 +00:00
elad
48949a2a2a
Fix length passed to strlcpy(): we used to get names one character shorter
...
than reality.
Should be pulled up to netbsd-5.
2008-12-14 23:12:58 +00:00
ad
024c36f64b
vclean: be paranoid and set v_tag, v_op while holding v_interlock.
...
FS code could check their values while scrolling through mnt_vnodelist.
2008-12-14 11:15:59 +00:00
ad
31420e7959
- vrelel: fix broken "dead but not clean" assertion. The vnode can be
...
dead and dirty if cleaning is in progress.
- Add an assertion, fix some text.
2008-12-14 11:13:36 +00:00
ad
70a01ab869
softint_disestablish: the soft interrupt could still be running on a CPU
...
somewhere in the system. If it is, wait for it to complete before tearing
it down. The caller commits to not trigger the interrupt again once
disestablish is set in motion.
2008-12-13 21:13:30 +00:00
ad
7a3593355a
Fix a comment.
2008-12-13 20:49:49 +00:00
ad
24da1f6ca4
PR kern/36183 problem with ptrace and multithreaded processes
...
Fix the famous "gdb + threads = panic" problem.
Also, fix another revivesa merge botch.
2008-12-13 20:43:38 +00:00
ad
2e606b7b1b
sigchecktrace: process SIGKILL before everything else.
2008-12-13 18:55:01 +00:00
christos
15e362cca8
fix endif comment
2008-12-10 18:07:30 +00:00
christos
0bff293dd2
disable VMEM_DEBUG by default.
2008-12-10 17:32:32 +00:00
christos
10fdeaec16
vmem_check_sanity is just too expensive for DEBUG. Enable it only for
...
VMEM_DEBUG.
2008-12-10 16:59:12 +00:00
cegger
33d827105a
vmem_check_sanity: refactor overlapping check for better readability.
...
Move use of vmem_check_sanity into locked sections. Pointed out by ad@
2008-12-09 07:54:59 +00:00
cegger
4dfe7b7870
ddb: make show vmem print exact span type
...
vmem_check_sanity: print exact span type
vmem_add1: KASSERT span types
2008-12-07 22:39:01 +00:00
pooka
54b9426187
Move some sysctl node creations away from linksets and into the
...
constructors for subsystems.
XXX: CTLFLAG_PERMANENT is non-sensible.
2008-12-07 20:58:46 +00:00
cegger
f001f650d6
make this compile with MALLOC_DEBUG but w/o DEBUG
2008-12-07 14:24:28 +00:00
cegger
f132fda3fe
vmem_check_sanity: fix check to correctly detect even exactly duplicate spans.
2008-12-07 11:49:51 +00:00
ad
7ab182873b
Add cpu_softintr_p() for assertions
2008-12-07 11:40:53 +00:00
cegger
bb1d17f443
build fix: make i386 build again
2008-12-07 09:40:42 +00:00
cegger
2aa8aa0f8f
Spans may never overlap. Overlapping spans mean memory corruption
...
when used by kmem(9), for example.
Do sanity checks to detect such spans on DEBUG kernels.
2008-12-07 02:21:04 +00:00
cegger
10de0e2b14
ddb: new 'show vmem' and 'show all vmems' commands.
...
Useful to inspect vmem(9) structures.
2008-12-07 00:51:15 +00:00
ad
e91b9bcc27
Make the fake ELF object work with gdb.
...
- Output a .bss section and make all the symbols relative to it, instead
of making them absolute.
- Output a single load section, no need for two.
'gdb /dev/ksyms' still doesn't work because ksyms doesn't do mmap yet.
2008-12-05 21:38:10 +00:00
ad
8ff4eb83a8
Back out revision 1.35 which is no longer necessary and causes the system
...
to try autounloading modules perpetually.
2008-12-05 12:55:09 +00:00
ad
6efc20038a
PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there)
2008-12-05 12:51:17 +00:00
he
3e2feea4e5
Ksyms are optional, so make the call to ksyms_init() dependent
...
on the same conditionals which are defined in sys/conf/files.
2008-12-04 23:18:13 +00:00
christos
579a92f63b
PR/40097: bouyer@antioche.lip6.fr: MODULAR tries to unload non-module subsystems
...
Don't try to unload built-in modules, and if a module is busy don't retry
immediately.
2008-12-03 15:15:01 +00:00
ad
11701b3bf7
Add a couple of sysctls:
...
kern.module.autoload = 1
kern.module.verbose = 0
2008-12-03 12:14:11 +00:00
ad
6cddbf0ca5
Correct error messages added in revision 1.32. In part from drochner@.
2008-12-03 11:23:15 +00:00
ad
7ad98abc71
- Wrap sys/cpu.h contents in _LOCORE.
...
- Add a RESCHED_LAZY flag and use instead of zero.
2008-12-02 17:57:32 +00:00
martin
719a906ef5
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
...
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
2008-11-30 18:21:31 +00:00
elad
67fb7f0d5c
PR/40002: Daniel Horecki: sockstat doesn't work for user with sysctl
...
security.curtain=1
If the kauth call failed, we'd silently continue the loop, but the error
code would remain and eventually "leak" to userspace. Reset the error to
zero when continuing.
Tested by snj@ and myself. Okay snj@.
2008-11-28 18:58:59 +00:00
ad
1a8ada2ed9
exec_add, exec_remove: allow zero entries in case a module provides nothing.
2008-11-28 10:55:10 +00:00
christos
78d77f514f
better error messages, and more messages for DIAGNOSTIC.
2008-11-27 21:36:51 +00:00
pooka
3c61b47d93
RUMP some syscalls required by nfsd.
2008-11-26 15:01:17 +00:00
ad
9d09ecfa96
sigaction1: we need to remember if the sigcontext method may be useable,
...
because libc can use it even if siginfo is available.
Changes are needed in libc to stop this being a performance penalty but
they will come later.
2008-11-25 16:42:44 +00:00
ad
a5a0d68555
Print the size as decimal.
2008-11-25 15:15:28 +00:00
ad
31afc5b6d8
Add some basic DDB stuff for modules.
2008-11-25 15:14:07 +00:00
ad
c90afa3efc
vax uses v3 trampoline.
2008-11-25 15:05:38 +00:00
joerg
6c45130eba
Move the specification of the on-disk journal format into a separate
...
header.
2008-11-24 16:05:21 +00:00
jmcneill
42c69bb1ce
Add poll support for drvctl notification events
2008-11-23 23:59:41 +00:00
pooka
b5321c4efc
document modular. no functional change.
2008-11-21 07:34:46 +00:00
ad
8cd20f56b2
Autoload accept filter modules.
2008-11-20 10:00:54 +00:00
ad
5c14324942
port-amd64/39963 modules/compat_netbsd32: missing symbols on amd64
2008-11-20 09:30:32 +00:00
yamt
bd2755f5a1
pollcommon: use a more appropriate type than char[].
2008-11-20 01:25:28 +00:00
joerg
27024ae7a6
Push functionality to deal with existing inode records into a separate
...
function.
2008-11-20 00:17:08 +00:00
cegger
dd47eeac45
make this compile
2008-11-19 21:29:32 +00:00
ad
e157b99c7c
Regen.
2008-11-19 18:39:43 +00:00
ad
92ce8c6a3d
Make the emulations, exec formats, coredump, NFS, and the NFS server
...
into modules. By and large this commit:
- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
2008-11-19 18:35:57 +00:00
pooka
e10fef6cd2
Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
...
include the file system code. File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
ad
950585e9b4
module_autoload: disallow path seperators and magic symlinks.
2008-11-19 13:07:42 +00:00
joerg
412427525e
Decouple journal operation from replay header by copying the interesting
...
fields into wapbl_replay as opposed to embedding wapbl_wc_header.
2008-11-18 22:21:48 +00:00
macallan
a223e59eb6
don't leak kmem on LP64
2008-11-18 21:20:32 +00:00
joerg
5658187923
#if 0 wapbl_replay_verify.
2008-11-18 19:31:35 +00:00
joerg
2e2e65b3b8
Check for NULL before calling free as the kernel free doesn't handle it.
2008-11-18 18:54:39 +00:00