diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-21 16:41:05 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:13 +0200 |
commit | 6d4e4c4fca5be806b888d606894d914847e82d78 (patch) | |
tree | dc383e27d812f617d791f48ba1527d70c86b65ba /kernel | |
parent | 76c35c6e99cb46b936b88cc795c9c886e7fe7bd4 (diff) | |
download | linux-6d4e4c4fca5be806b888d606894d914847e82d78.tar.bz2 |
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. |