[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] ioemu: Disable format auto-probing in monitor command change
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1214582390 -3600 # Node ID faa7826701560a1d394d54573612441114368e30 # Parent 13884410677b6319b522180d3f2582b1347d5a28 ioemu: Disable format auto-probing in monitor command change Format auto-probing of writable images is a security hole. The last known remaining instance is monitor command change. Disable probing there and use raw. This breaks change for images in all other formats. Signed-off-by: Markus Armbruster <armbru@xxxxxxxxxx> xen-unstable changeset: 17874:9493a853df9ef0c17c6fb12efdcc86c5d67c7e03 xen-unstable date: Wed Jun 18 09:39:14 2008 +0100 --- tools/ioemu/monitor.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 13884410677b -r faa782670156 tools/ioemu/monitor.c --- a/tools/ioemu/monitor.c Fri Jun 27 16:59:11 2008 +0100 +++ b/tools/ioemu/monitor.c Fri Jun 27 16:59:50 2008 +0100 @@ -387,7 +387,7 @@ static void do_change_block(const char * } if (eject_device(bs, 0) < 0) return; - bdrv_open(bs, filename, 0); + bdrv_open2(bs, filename, 0, &bdrv_raw); if (bdrv_is_encrypted(bs)) { term_printf("%s is encrypted.\n", device); for(i = 0; i < 3; i++) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |