Commit Graph

128 Commits

Author SHA1 Message Date
Tomoki Shirasawa
dd8b2a8f15 sigaction returns -EINVAL, when sig == SIGKILL or SIGSTOP 2014-08-21 14:04:38 +09:00
Tomoki Shirasawa
78d10cce80 support process group 2014-08-18 17:08:28 +09:00
Tomoki Shirasawa
663c121308 interrupt syscall sufficient threads 2014-08-18 16:49:49 +09:00
Masamichi Takagi
6dd5407b5f Return error when no core is available
clone returns -EAGAIN when there is no vacant core.
In addition, clone tries to use the next vacant hyper-threading
core instead of trying to use next vacant hyper-threading core
of the next vacant physical core.
2014-07-31 19:50:41 +09:00
Tomoki Shirasawa
8f78b3085c Sending SIGKILL/SIGTERM resulting in SIGSEGV delivered (Redmine#194) 2014-07-29 11:04:46 +09:00
Tomoki Shirasawa
5e6ed852cb Kill child threads when receiving terminating signals(redmine#63)
Create process table (child is missing when sending a signal to a child process just after forking it)(redmine#61)
2014-07-13 12:51:28 +09:00
Tomoki Shirasawa
770eae0186 support sigaltstack 2014-06-25 13:45:33 +09:00
Tomoki Shirasawa
bbb7f77706 interrupt syscall of signal recieved process 2014-06-11 21:06:52 +09:00
Tomoki Shirasawa
2f4f3628f9 support tgkill 2014-06-10 10:42:29 +09:00
Tomoki Shirasawa
3e830521c1 move rt_sigaction to device dependent
fix call kill(getpid(), ) after sigaction aborted
2014-05-16 09:50:06 +09:00
NAKAMURA Gou
55817e9e83 use "struct x86_regs *" to access stack frames
The intention of this fix is to cope with a recent change of
PUSH_ALL_REGS.
2014-04-03 15:33:35 +09:00
NAKAMURA Gou
7eeafb0d85 change parameter types of arch-regs to "void *" 2014-04-03 15:33:34 +09:00
Tomoki Shirasawa
26d68d391d signal part 4 (sigsuspend etc) 2014-01-24 10:14:49 +09:00
Tomoki Shirasawa
0465cc16b9 signal (part 2) sigpending 2014-01-07 19:52:06 +09:00
Tomoki Shirasawa
a8c249ddaf signal (part 1) 2014-01-07 11:57:57 +09:00
Tomoki Shirasawa
96576aaee7 fix general protection fault caused by SIGALARM 2013-12-16 13:45:45 +09:00
NAKAMURA Gou
03521e9c2c add copyrights 2013-11-14 16:49:40 +09:00
Tomoki Shirasawa
98fb5bf091 check cpu_local_var initialized 2013-11-13 23:06:11 +09:00
Tomoki Shirasawa
392357e9d2 catch signal when before kernel init 2013-11-13 15:43:49 +09:00
Tomoki Shirasawa
1d69225532 mcexec forward signal to MIC process. 2013-08-19 12:17:23 +09:00
Tomoki Shirasawa
a4973307bd deliver signum to sighandler 2013-07-26 12:50:32 +09:00
Tomoki Shirasawa
af1c0b1352 correct sighandler breaks registers 2013-07-26 12:24:00 +09:00
Tomoki Shirasawa
221f2c0517 support SIGSEGV(page fault) and SIGILL(general protection error) 2013-07-26 11:53:00 +09:00
Masamichi Takagi m-takagi@ab.jp.nec.com
4214441ac3 Make clone system-call create a new thread on the next available physical core
and skip the physical core with a system process so that
programs using Intel OpenMP bind threads to cores in that manner.
2013-07-05 18:55:03 +09:00
NAKAMURA Gou
cbc37b62a9 return syscall_table[] to the arch-independent part 2013-07-01 12:44:12 +09:00
NAKAMURA Gou
295c2ee5ca Revert "workaround for non-DCFA make"
This reverts commit 15ac1e246a.
2013-07-01 12:44:12 +09:00
NAKAMURA Gou
15ac1e246a workaround for non-DCFA make
suppress the following error:

ihk/ihk.o: In function `generic_common_handlers':
(.data+0x2678): undefined reference to `sys_mod_call'
2013-06-22 15:22:38 +09:00
NAKAMURA Gou
4695b332e2 move syscall_table[] to the architecture-depended part 2013-06-19 16:52:46 +09:00