uml: userspace files should call libc directly
[linux-2.6.git] / arch / um / os-Linux / skas / process.c
index 8e96c6dc6c906a59fc572f735f16e7cf97e5a49b..47efe9087eee666d3023cb586a6182cbe81e8b3d 100644 (file)
@@ -28,7 +28,7 @@
 
 int is_skas_winch(int pid, int fd, void *data)
 {
-       if (pid != os_getpgrp())
+       if (pid != getpgrp())
                return 0;
 
        register_winch_irq(-1, fd, -1, data, 0);
@@ -233,7 +233,7 @@ static int userspace_tramp(void *stack)
                              "failed - errno = %d\n", errno);
        }
 
-       os_stop_process(os_getpid());
+       kill(os_getpid(), SIGSTOP);
        return 0;
 }