diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-22 17:01:20 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-22 17:01:20 +0000 |
commit | fa760cfb01223f333a8553566d845b7a462c459b (patch) | |
tree | 20c7093841e3bf7445fb2c628a4334bc3ead221a /packages/qemu/files/10_signal_jobs.patch | |
parent | e398e9063c713cb73ea3cc19aecc8d9138d6acf9 (diff) | |
parent | 70e5cf9476598fdf441d22adfd166e3ee90ae4c8 (diff) |
merge of '4ceb0ef60a086087bfe7a232b07d6fb71c3ccd04'
and 'eaf6fede3ee9af7cea4d430e426ee09da45e8f21'
Diffstat (limited to 'packages/qemu/files/10_signal_jobs.patch')
-rw-r--r-- | packages/qemu/files/10_signal_jobs.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/qemu/files/10_signal_jobs.patch b/packages/qemu/files/10_signal_jobs.patch new file mode 100644 index 0000000000..794a538676 --- /dev/null +++ b/packages/qemu/files/10_signal_jobs.patch @@ -0,0 +1,26 @@ +#DPATCHLEVEL=0 +--- +# linux-user/signal.c | 7 ++++++- +# 1 file changed, 6 insertions(+), 1 deletion(-) +# +Index: linux-user/signal.c +=================================================================== +--- linux-user/signal.c.orig 2007-06-13 11:51:52.000000000 +0100 ++++ linux-user/signal.c 2007-06-13 11:52:21.000000000 +0100 +@@ -341,10 +341,15 @@ int queue_signal(int sig, target_siginfo + k = &sigact_table[sig - 1]; + handler = k->sa._sa_handler; + if (handler == TARGET_SIG_DFL) { ++ if (sig == TARGET_SIGTSTP || sig == TARGET_SIGTTIN || sig == TARGET_SIGTTOU) { ++ kill(getpid(),SIGSTOP); ++ return 0; ++ } else + /* default handler : ignore some signal. The other are fatal */ + if (sig != TARGET_SIGCHLD && + sig != TARGET_SIGURG && +- sig != TARGET_SIGWINCH) { ++ sig != TARGET_SIGWINCH && ++ sig != TARGET_SIGCONT) { + force_sig(sig); + } else { + return 0; /* indicate ignored */ |