diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-21 15:41:05 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 16:53:13 +0100 |
commit | 6d4e4c4fca5be806b888d606894d914847e82d78 (patch) | |
tree | dc383e27d812f617d791f48ba1527d70c86b65ba /kernel | |
parent | KVM: MMU: Rename 'release_page' (diff) | |
download | linux-6d4e4c4fca5be806b888d606894d914847e82d78.tar.xz linux-6d4e4c4fca5be806b888d606894d914847e82d78.zip |
KVM: Disallow fork() and similar games when using a VM
We don't want the meaning of guest userspace changing under our feet.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 314f5101d2b0..05e0b6f4365b 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -393,6 +393,7 @@ void fastcall __mmdrop(struct mm_struct *mm) destroy_context(mm); free_mm(mm); } +EXPORT_SYMBOL_GPL(__mmdrop); /* * Decrement the use count and release all resources for an mm. |