diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-10-08 17:43:21 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-11-25 22:43:21 +0100 |
commit | bf9f80cf0ccab5f346f7d3cdc445da8fcfe6ce34 (patch) | |
tree | 8172a032992eb1279e8ed81cba7138d126348a6a /arch/um/drivers/Kconfig | |
parent | 7e60746005573a06149cdee7acedf428906f3a59 (diff) |
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>
Diffstat (limited to 'arch/um/drivers/Kconfig')
-rw-r--r-- | arch/um/drivers/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/Kconfig b/arch/um/drivers/Kconfig index fea5a0d522dc..388096fb45a2 100644 --- a/arch/um/drivers/Kconfig +++ b/arch/um/drivers/Kconfig @@ -337,7 +337,7 @@ config UML_NET_SLIRP endmenu config VIRTIO_UML - tristate "UML driver for virtio devices" + bool "UML driver for virtio devices" select VIRTIO help This driver provides support for virtio based paravirtual device |