: arch/um/os-Linux/process.c:os_usr1_process()
PATCH 1/1 : arch/um/os-Linux/process.c:os_usr1_process()
Hello,
to compile 2.6.1 UML on the host kernel without tkill (for example, 2.4.21, that I use), I need the following patch (not sure it is right one):
----------------------------------------------------------------------
arch/um/os-Linux/process.c renamed from arch/um/os-Linux/process.c~uml-use-tkill-conditionally.diff +4 -1
@@ -93,8 +93,11 @@ void os_kill_process(int pid, int reap_cvoid os_usr1_process (int pid) { +#if defined(__NR_tkill)syscall (__NR_tkill, pid,SIGUSR1 ); -/* kill(pid, SIGUSR1); */ +#else +kill (pid,SIGUSR1 ); +#endif }int os_getpid (void )
_
----------------------------------------------------------------------
Nikita.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Alle 20:12, venerdì 16 gennaio 2004, Nikita Danilov ha scritto:
Quoted 5 lines
Hello,
to compile 2.6.1 UML on the host kernel without tkill (for example, 2.4.21, that I use), I need the following patch (not sure it is right one):
On Uml 2.4 currently kill is used at that point instead of tkill, so your patch should probably work... however I don't have here any tkill docs so I can't check them.
Also, the Jeff Dike's address on the site is out-of-date: use jdike (at) addtoit (dot) com.
Bye
Signature · 16 lines
cat <<EOSIGN Paolo Giarrusso, aka Blaisorblade Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729 EOSIGN ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel