]> asedeno.scripts.mit.edu Git - linux.git/commit
um: virtio_uml: Disallow modular build
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2019 15:43:21 +0000 (17:43 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 25 Nov 2019 21:43:21 +0000 (22:43 +0100)
commitbf9f80cf0ccab5f346f7d3cdc445da8fcfe6ce34
tree8172a032992eb1279e8ed81cba7138d126348a6a
parent7e60746005573a06149cdee7acedf428906f3a59
um: virtio_uml: Disallow modular build

This driver *can* be a module, but then its parameters (socket path)
are untrusted data from inside the VM, and that isn't allowed. Allow
the code to only be built-in to avoid that.

Fixes: 5d38f324993f ("um: drivers: Add virtio vhost-user driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.co.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/Kconfig
arch/um/drivers/virtio_uml.c