Re: [libvirt] [PATCH] qemu: Forbid slashes in shmem name

2017-02-20 Thread Martin Kletzander
On Fri, Feb 10, 2017 at 02:10:17PM +, Daniel P. Berrange wrote: On Fri, Feb 10, 2017 at 09:07:36AM -0500, John Ferlan wrote: On 02/02/2017 08:14 AM, Martin Kletzander wrote: > With that users could access files outside /dev/shm. That itself > isn't a security problem, but might cause

Re: [libvirt] [PATCH] qemu: Forbid slashes in shmem name

2017-02-10 Thread Daniel P. Berrange
On Fri, Feb 10, 2017 at 09:07:36AM -0500, John Ferlan wrote: > > > On 02/02/2017 08:14 AM, Martin Kletzander wrote: > > With that users could access files outside /dev/shm. That itself > > isn't a security problem, but might cause some errors we want to > > avoid. So let's forbid slashes as we

Re: [libvirt] [PATCH] qemu: Forbid slashes in shmem name

2017-02-10 Thread John Ferlan
On 02/02/2017 08:14 AM, Martin Kletzander wrote: > With that users could access files outside /dev/shm. That itself > isn't a security problem, but might cause some errors we want to > avoid. So let's forbid slashes as we do with domain and volume names > and also mention that in the schema. >

[libvirt] [PATCH] qemu: Forbid slashes in shmem name

2017-02-02 Thread Martin Kletzander
With that users could access files outside /dev/shm. That itself isn't a security problem, but might cause some errors we want to avoid. So let's forbid slashes as we do with domain and volume names and also mention that in the schema. Resolves: