Tux's lil' helper
Joined: 12 May 2003
Location: London, UK
|Posted: Tue Jan 13, 2004 11:22 am Post subject: tracing self patch - 2.6.x Host + 2.4.23-UML
I was having trouble getting the usermode linux to run on my 2.6.1 system. Did a bit of searching and came up with this:
--- 1.5/arch/um/os-Linux/process.c Sat Jan 18 12:29:27 2003
+++ 1.6/arch/um/os-Linux/process.c Thu Oct 2 14:27:57 2003
@@ -7,6 +7,7 @@
@@ -87,7 +88,8 @@
void os_usr1_process(int pid)
- kill(pid, SIGUSR1);
+ syscall(__NR_tkill, pid, SIGUSR1);
+/* tkill(pid, SIGUSR1);*/
Which has been coped from: here.
Now I didnt get around to figuring the patch switches that it wanted, so I just inserted the include and replaced the kill for the syscall. I hope this helps someone else.