aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/xenbus
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-17 15:18:38 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-17 15:18:38 +0000
commit9bb7f7e2aca497f8771a5e9a282b222e995e31b2 (patch)
tree6cfc2d15c165045596edbc3a394aff538a95d0f2 /extras/mini-os/xenbus
parentd2477385df5d7896d5df12fef4fd5fedef8b94e1 (diff)
downloadxen-9bb7f7e2aca497f8771a5e9a282b222e995e31b2.tar.gz
xen-9bb7f7e2aca497f8771a5e9a282b222e995e31b2.tar.bz2
xen-9bb7f7e2aca497f8771a5e9a282b222e995e31b2.zip
tools: disable lomount and miniterm by default
lomount is a tool which reads and parses a partition table in a disk image block device and then uses mount -o ...offset=... to mount it. This is not an ideal approach. For example, if the intended filesystem has corrupted metadata the kernel's filesystem driver may start to write outside of the intended region. This might even be exploitable in some perverse circumstances. Nowadays people wanting to do this should use kpartx, which uses devmapper to create appropriate range mappings. So lomount should be disabled. miniterm may well be useful but it is a clone-and-hack of an upstream project and is currently built but not installed by default, partly because it doesn't make sense to install on the dom0 which it might be trying to debug. It is probably useful to retain these two programs in the source tree but IMO they should no longer be built by default. The attached patch does these things: * CONFIG_LOMOUNT and CONFIG_MINITERM in Config.mk can enable and disable these programs * They are disabled by default * If CONFIG_MINITERM=y it is still built but not installed. make -C tools/misc/miniterm install will install it. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/xenbus')
0 files changed, 0 insertions, 0 deletions