summaryrefslogtreecommitdiffstats
path: root/kernel/arch/um/os-Linux/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/um/os-Linux/process.c')
-rw-r--r--kernel/arch/um/os-Linux/process.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/arch/um/os-Linux/process.c b/kernel/arch/um/os-Linux/process.c
index 8408aba91..b3e0d4093 100644
--- a/kernel/arch/um/os-Linux/process.c
+++ b/kernel/arch/um/os-Linux/process.c
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2015 Thomas Meyer (thomas@m3y3r.de)
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
@@ -89,6 +90,11 @@ int os_process_parent(int pid)
return parent;
}
+void os_alarm_process(int pid)
+{
+ kill(pid, SIGALRM);
+}
+
void os_stop_process(int pid)
{
kill(pid, SIGSTOP);