linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Regarding System call virtualization
@ 2007-03-19  2:38 Krishnappa Abhijith-A21204
  2007-03-19 17:36 ` Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: Krishnappa Abhijith-A21204 @ 2007-03-19  2:38 UTC (permalink / raw)
  To: user-mode-linux-devel


[-- Attachment #1.1: Type: text/plain, Size: 733 bytes --]

Hi,
        Is the below flow correct for UML (TT mode)
 
1. UML process wants to execute a sys call say open().
2. UML TT comes to know this annuls with getpid(), and UML TT executes
open() on behalf of UML process.
3. UML process executes the getpid() and returns and signals TT.
4. By this time UML TT has finished executing the system call open and
has returned back, so TT fills in the registers of UML process.
5. Now UML process executes normally with the open file descriptor.
 
If the above steps are correct, then How does UML protects host kernel.
because even here TT will ask for host kernel services which may corrupt
host kernel ? 
Is there any method by which it is prevented ?
 
Thanks a lot.
Abhi

[-- Attachment #1.2: Type: text/html, Size: 2387 bytes --]

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

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2007-03-19 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19  2:38 [uml-devel] Regarding System call virtualization Krishnappa Abhijith-A21204
2007-03-19 17:36 ` Jeff Dike

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