diff options
Diffstat (limited to 'dvz')
-rw-r--r-- | dvz/Android.mk | 6 | ||||
-rw-r--r-- | dvz/dvz.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/dvz/Android.mk b/dvz/Android.mk index 56b7890d4..72b92a005 100644 --- a/dvz/Android.mk +++ b/dvz/Android.mk @@ -9,10 +9,10 @@ LOCAL_SRC_FILES:= \ LOCAL_SHARED_LIBRARIES := \ libcutils -LOCAL_C_INCLUDES := +LOCAL_C_INCLUDES := -LOCAL_CFLAGS := +LOCAL_CFLAGS := -LOCAL_MODULE := dvz +LOCAL_MODULE := dvz include $(BUILD_EXECUTABLE) @@ -45,7 +45,7 @@ static void post_run_func (int pid) { int err; g_pid = pid; - + my_pgid = getpgid(0); if (my_pgid < 0) { perror ("error with getpgid()"); @@ -62,8 +62,8 @@ static void post_run_func (int pid) { // The zygote was unable to move this process into our pgid // We have to forward signals - int forward_signals[] - = {SIGHUP, SIGINT, SIGTERM, SIGWINCH, + int forward_signals[] + = {SIGHUP, SIGINT, SIGTERM, SIGWINCH, SIGTSTP, SIGTTIN, SIGTTOU, SIGCONT}; struct sigaction sa; |