From: Ian Campbell Subject: Re: [RFC] libxc: Add trusted decompressors Date: Tue, 12 Mar 2013 15:21:15 +0000 Message-ID: <1363101675.32410.5.camel@zakaz.uk.xensource.com> References: <1357300593-28685-1-git-send-email-ian.campbell@citrix.com> <20130104123307.GA1202@waldi.eu.org> <1357303220.14291.11.camel@zakaz.uk.xensource.com> <20130226222502.GB27098@waldi.eu.org> <20130226223249.GD27098@waldi.eu.org> <1361967427.26546.368.camel@zakaz.uk.xensource.com> <20130227124443.GA5582@waldi.eu.org> <20130304110223.GB88402@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130304110223.GB88402@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: George Dunlap , Bastian Blank , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2013-03-04 at 11:02 +0000, Tim Deegan wrote: > At 10:33 +0000 on 04 Mar (1362393222), George Dunlap wrote: > > On Wed, Feb 27, 2013 at 12:44 PM, Bastian Blank wrote: > > >> I'm not sure "trusted" is quite the right term though, these aren't > > >> really any more trustworthy than the library supplied ones -- they are > > >> just more suitable for a mini-os environment. > > > > > > I used the term "trusted" because it should not be fed with untrusted > > > input. So it should not be used in the normal libxenguest. In the case > > > of pv-grub, all input is trusted as it runs in the same security domain. > > > > So it's not the decompressors you trust, but the data that you trust? > > > > "Trusted decompressors" definitely means that the decompressors > > themselves are more trustworthy somehow; "trusting decompressors" > > would be a more accurate description. ;-) > > Yeah, I don't think "trusted" is quite the right word here. I would be > inclined to use "unsafe" instead, to make it clear that the caller had > better sanitize the input, or not care about unwanted side-effects. yes, "unsafe" is probably a better word. This is probably almost as simple as running sed on the patch to implement. Ian.