linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Kernel access to user memory in SKAS
@ 2007-02-23 18:36 Bryan Parno
  2007-02-23 21:40 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Parno @ 2007-02-23 18:36 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

	I'm interested in mediating accesses by the UML guest kernel to  
memory used by the UML guest processes.  At present, I'm looking at a  
scenario using SKAS3, so the kernel has an address space distinct  
from that of the user processes.  I guess I'm a bit confused as to  
how the guest kernel actually manages to touch guest process memory  
(e.g., for copying system call arguments).  Looking through /arch/um/ 
kernel/skas/uaccess.c, it appears that all of these accesses devolve  
to performing a strncpy or memcpy, but I don't see a translation from  
an address in the user's address space to one in the kernel's address  
space.  Does this happen somewhere else, or am I misunderstanding  
SKAS?  Looking through the documentation on the site, I was unable to  
find any diagrams or explanations for how the guest kernel actually  
lays out memory in its address space.  Any comments or suggestions  
would be greatly appreciated!


                        Bryan




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2007-02-28 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 18:36 [uml-devel] Kernel access to user memory in SKAS Bryan Parno
2007-02-23 21:40 ` Jeff Dike
2007-02-28 21:13   ` Bryan Parno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox