All of lore.kernel.org
 help / color / mirror / Atom feed
* Is exposing shared_info to user-land secure?
@ 2008-08-01 16:13 Dan Magenheimer
  2008-08-01 17:24 ` Keir Fraser
  2008-08-01 20:31 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Magenheimer @ 2008-08-01 16:13 UTC (permalink / raw)
  To: Xen-Devel (E-mail)

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

Is it "safe" in a paravirtualized guest to expose shared_info
(at least read-only) to user-land?  That is, is there data
in shared_info that could be used by a malicious program to
compromise a guest OS (ignoring very complex side-channel
attacks anyway)?

We have apps that constantly do various time syscalls (e.g.
to gettimeofday()) and I'm thinking if vcpu_info(cpu)->time_info
was directly readable by an enterprise app, it could do
the time calculations itself and save the syscall overhead.

Comments?

Thanks,
Dan

===================================
Thanks... for the memory
I really could use more / My throughput's on the floor
The balloon is flat / My swap disk's fat / I've OOM's in store
Overcommitted so much
(with apologies to the late great Bob Hope)

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2008-08-01 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 16:13 Is exposing shared_info to user-land secure? Dan Magenheimer
2008-08-01 17:24 ` Keir Fraser
2008-08-01 20:35   ` Jeremy Fitzhardinge
2008-08-01 20:31 ` Jeremy Fitzhardinge

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.