Hi all,

I am using UML 2.6.10 to emulate our system in ECGL host, RHEL3, and RHEL4
servers. Recently our server need to upgrade to RHEL5, but unfortunately,
current UML kernel we used doesn't work in RHEL5, it will be blocked by the
ptrace command PTRACE_CONT. I have found that the root cause of this issue.
The ptrace system call has been modified in RHEL5 to utrace, as RedHat said,
utrace is a more security mechanism than ptrace. When the UML kernel calls
PTRACE_CONT command, utrace will check whether the process' flag contains
the flag UTRACE_ACTION_QUIESCE. Old UML kernel process, however, doesn't
contain this flag when the command PTRACE_CONT is called. So I wrote a
kernel module which provides the interface to set the process flag in kernel
space. The UML kernel will call the interface to set the process flag before
executing command PTRACE_CONT. At most time, this solution works well, but
when UML has run for a long term, such as several days, the host server will
crash.

Does any one have suggestion on this issue? Or could you provide more
reasonable solution to support UML 2.6.10 to run in RHEL5?

Any response will be appreciated.

Stanley
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to