All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xenguest: Add xsa-25 decompression limit prototypes
@ 2013-01-25 18:04 Andrew Cooper
  2013-01-28  9:25 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2013-01-25 18:04 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson, Ian Campbell

To allow xenguest consumers to also make use of the extra protection added as
a result of xsa-25.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

diff -r 5af4f2ab06f3 -r daec50a41570 tools/libxc/xenguest.h
--- a/tools/libxc/xenguest.h
+++ b/tools/libxc/xenguest.h
@@ -177,6 +177,13 @@ int xc_dom_linux_build(xc_interface *xch
 		       unsigned int console_evtchn,
 		       unsigned long *console_mfn);
 
+#ifndef XC_HAVE_DECOMPRESS_LIMITS
+#define XC_HAVE_DECOMPRESS_LIMITS
+#endif
+
+int xc_dom_kernel_max_size(struct xc_dom_image *dom, size_t sz);
+int xc_dom_ramdisk_max_size(struct xc_dom_image *dom, size_t sz);
+
 /**
  * This function will create a domain for a paravirtualized Linux
  * using buffers for kernel and initrd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-28 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 18:04 [PATCH] xenguest: Add xsa-25 decompression limit prototypes Andrew Cooper
2013-01-28  9:25 ` Ian Campbell
2013-01-28 10:25   ` Andrew Cooper
2013-01-28 10:46     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.