All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] qemu context
@ 2010-07-27 13:29 Justin P. Mattock
  2010-07-27 15:51 ` Dominick Grift
  0 siblings, 1 reply; 5+ messages in thread
From: Justin P. Mattock @ 2010-07-27 13:29 UTC (permalink / raw)
  To: refpolicy

hello,

probably can just post on iirc for a faster response..but decided
to e-mail instead.. Anyways I've qemu finally running
after some time of not using it and wanted to know what/where
might I look too get info on the file labels for this.

right now i've an .img in my home directory(not in var/lib/*)
the context is
ls -lZ name:name name:object_r:virt_image_t:s0 *.img

is this seem correct?

Justin P. Mattock

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

* [refpolicy] qemu context
  2010-07-27 13:29 [refpolicy] qemu context Justin P. Mattock
@ 2010-07-27 15:51 ` Dominick Grift
  2010-07-27 16:10   ` Justin P. Mattock
  0 siblings, 1 reply; 5+ messages in thread
From: Dominick Grift @ 2010-07-27 15:51 UTC (permalink / raw)
  To: refpolicy

On Tue, Jul 27, 2010 at 06:29:55AM -0700, Justin P. Mattock wrote:
> hello,
> 
> probably can just post on iirc for a faster response..but decided
> to e-mail instead.. Anyways I've qemu finally running
> after some time of not using it and wanted to know what/where
> might I look too get info on the file labels for this.
> 
> right now i've an .img in my home directory(not in var/lib/*)
> the context is
> ls -lZ name:name name:object_r:virt_image_t:s0 *.img
> 
> is this seem correct?

In fedora there is a qemu_image_t type for qemu images.

> 
> Justin P. Mattock
> 
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100727/692bf016/attachment.bin 

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

* [refpolicy] qemu context
  2010-07-27 15:51 ` Dominick Grift
@ 2010-07-27 16:10   ` Justin P. Mattock
  2010-07-27 16:27     ` Dominick Grift
  0 siblings, 1 reply; 5+ messages in thread
From: Justin P. Mattock @ 2010-07-27 16:10 UTC (permalink / raw)
  To: refpolicy

On 07/27/2010 08:51 AM, Dominick Grift wrote:
> On Tue, Jul 27, 2010 at 06:29:55AM -0700, Justin P. Mattock wrote:
>> hello,
>>
>> probably can just post on iirc for a faster response..but decided
>> to e-mail instead.. Anyways I've qemu finally running
>> after some time of not using it and wanted to know what/where
>> might I look too get info on the file labels for this.
>>
>> right now i've an .img in my home directory(not in var/lib/*)
>> the context is
>> ls -lZ name:name name:object_r:virt_image_t:s0 *.img
>>
>> is this seem correct?
>
> In fedora there is a qemu_image_t type for qemu images.
>

cool thanks for the response..
was looking at some wikis and stuff I'll have todo some more reading on 
this.

from what I see so far libvirt plays an important role(I think) but 
still need to look into it.

So far my setup, is a simple build of qemu-kvm, added the udev rule so I 
dont run as root,and my *.img is in the home directory(still debating if 
I need libvirt).

main concern is making the virtual os confined so if it gets 
exploited(sorry winxp) my main system is not touched or exploited(if it 
ever gets to that point)

Justin P. Mattock

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

* [refpolicy] qemu context
  2010-07-27 16:10   ` Justin P. Mattock
@ 2010-07-27 16:27     ` Dominick Grift
  2010-07-27 16:46       ` Justin P. Mattock
  0 siblings, 1 reply; 5+ messages in thread
From: Dominick Grift @ 2010-07-27 16:27 UTC (permalink / raw)
  To: refpolicy

On Tue, Jul 27, 2010 at 09:10:08AM -0700, Justin P. Mattock wrote:
> On 07/27/2010 08:51 AM, Dominick Grift wrote:
> >On Tue, Jul 27, 2010 at 06:29:55AM -0700, Justin P. Mattock wrote:
> >>hello,
> >>
> >>probably can just post on iirc for a faster response..but decided
> >>to e-mail instead.. Anyways I've qemu finally running
> >>after some time of not using it and wanted to know what/where
> >>might I look too get info on the file labels for this.
> >>
> >>right now i've an .img in my home directory(not in var/lib/*)
> >>the context is
> >>ls -lZ name:name name:object_r:virt_image_t:s0 *.img
> >>
> >>is this seem correct?
> >
> >In fedora there is a qemu_image_t type for qemu images.
> >
> 
> cool thanks for the response..
> was looking at some wikis and stuff I'll have todo some more reading
> on this.
> 
> from what I see so far libvirt plays an important role(I think) but
> still need to look into it.
> 
> So far my setup, is a simple build of qemu-kvm, added the udev rule
> so I dont run as root,and my *.img is in the home directory(still
> debating if I need libvirt).
> 
> main concern is making the virtual os confined so if it gets
> exploited(sorry winxp) my main system is not touched or exploited(if
> it ever gets to that point)
> 

if you use kvm its indeed virt_image_t. Readhat distros also have svirt which uses mcs to seperate guests.

> Justin P. Mattock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100727/3e0bda8c/attachment.bin 

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

* [refpolicy] qemu context
  2010-07-27 16:27     ` Dominick Grift
@ 2010-07-27 16:46       ` Justin P. Mattock
  0 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2010-07-27 16:46 UTC (permalink / raw)
  To: refpolicy

On 07/27/2010 09:27 AM, Dominick Grift wrote:
> On Tue, Jul 27, 2010 at 09:10:08AM -0700, Justin P. Mattock wrote:
>> On 07/27/2010 08:51 AM, Dominick Grift wrote:
>>> On Tue, Jul 27, 2010 at 06:29:55AM -0700, Justin P. Mattock wrote:
>>>> hello,
>>>>
>>>> probably can just post on iirc for a faster response..but decided
>>>> to e-mail instead.. Anyways I've qemu finally running
>>>> after some time of not using it and wanted to know what/where
>>>> might I look too get info on the file labels for this.
>>>>
>>>> right now i've an .img in my home directory(not in var/lib/*)
>>>> the context is
>>>> ls -lZ name:name name:object_r:virt_image_t:s0 *.img
>>>>
>>>> is this seem correct?
>>>
>>> In fedora there is a qemu_image_t type for qemu images.
>>>
>>
>> cool thanks for the response..
>> was looking at some wikis and stuff I'll have todo some more reading
>> on this.
>>
>> from what I see so far libvirt plays an important role(I think) but
>> still need to look into it.
>>
>> So far my setup, is a simple build of qemu-kvm, added the udev rule
>> so I dont run as root,and my *.img is in the home directory(still
>> debating if I need libvirt).
>>
>> main concern is making the virtual os confined so if it gets
>> exploited(sorry winxp) my main system is not touched or exploited(if
>> it ever gets to that point)
>>
>
> if you use kvm its indeed virt_image_t. Readhat distros also have svirt which uses mcs to seperate guests.
>

yeah thats what Im seeing.. just need to see if I need libvirt or not..

cheers,

Justin P. Mattock

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

end of thread, other threads:[~2010-07-27 16:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 13:29 [refpolicy] qemu context Justin P. Mattock
2010-07-27 15:51 ` Dominick Grift
2010-07-27 16:10   ` Justin P. Mattock
2010-07-27 16:27     ` Dominick Grift
2010-07-27 16:46       ` Justin P. Mattock

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.