This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / um / os-Linux / process.c
index cce8631..ec4617b 100644 (file)
@@ -8,7 +8,6 @@
 #include <errno.h>
 #include <signal.h>
 #include <linux/unistd.h>
-#include <sys/ptrace.h>
 #include <sys/mman.h>
 #include <sys/wait.h>
 #include "os.h"
@@ -95,22 +94,11 @@ void os_kill_process(int pid, int reap_child)
                
 }
 
-void os_kill_ptraced_process(int pid, int reap_child)
-{
-       ptrace(PTRACE_KILL, pid);
-       if(reap_child)
-               CATCH_EINTR(waitpid(pid, NULL, 0));
-}
-
 void os_usr1_process(int pid)
 {
        kill(pid, SIGUSR1);
 }
 
-/*Don't use the glibc version, which caches the result in TLS. It misses some
- * syscalls, and also breaks with clone(), which does not unshare the TLS.*/
-inline _syscall0(pid_t, getpid)
-
 int os_getpid(void)
 {
        return(getpid());