[Netkit.users] I'm tracing myself and I can't get out
Master_PE
debian a masterpe.nl
Sab 24 Apr 2004 13:15:41 CEST
Op za 24-04-2004, om 13:05 schreef Master_PE:
> HI,
>
> I get the message "I'm tracing myself and I can't get out" when i
> starting up. This is becourse im using the 2.6 kernel. There is a patch
> for this uml. So my question is. Do i need to recompile ths uml kernel
> or what mus i do?
>
> regards,
>
> Master_PE
>
To patch it u can use this patch:
--- 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 @@
#include <stdio.h>
#include <errno.h>
#include <signal.h>
+ #include <linux/unistd.h>
#include <sys/mman.h>
#include <sys/wait.h>
#include "os.h"
@@ -87,7 +88,8 @@
void os_usr1_process(int pid)
{
- kill(pid, SIGUSR1);
+ syscall(__NR_tkill, pid, SIGUSR1);
+/* tkill(pid, SIGUSR1);*/
}
int os_getpid(void)
If found it at:
http://usermodelinux.org/modules.php?name=News&file=article&sid=142
Maggiori informazioni sulla lista
Netkit.users