Hello Chia. Sorry, now I understand what you say. I also works on UML source code too. Yes, UML intercepts system calls through ptrace, but instead of calling the host kernel, it calls the UML kernel. Therefore, no host system call is excecuted by the application process running inside UML. Regards. PAP
________________________________ De: TK Chia <[email protected]> Enviado: martes, 2 de marzo de 2021 12:04 Para: [email protected] <[email protected]> Asunto: Re: [Freedos-devel] FreeDOS as a unikernel? Hello Pablo, >> User Mode Linux actually works more like dosemu than it may seem. UML >> runs as a normal application under a host Linux system, of course. But >> when you run, say, /bin/ls within a UML session, UML will indeed >> intercept the syscalls made by the /bin/ls and transform them into the >> correct requests to the underlying host Linux. So effectively /bin/ls's >> syscalls actually go to UML, not directly to the host system. There is > I am not comfused about UML, it is a true and complete Linux system that runs > over a Linux hosts. Instead interfacing with hardware devices, it uses > virtual devices provided by the Linux Host. > The example of "ls" doesn't work as you explain. Containers runs in this way. With all due respect, I have worked with the UML source code before, and I know whereof I speak. The UML home page --- not that hard to find --- also has presentations and papers that discuss how exactly UML virtualizes syscalls, Thank you! -- https://github.com/tkchia :: https://gitlab.com/tkchia _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
_______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
